CN100508031C - Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset - Google Patents

Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset Download PDF

Info

Publication number
CN100508031C
CN100508031C CNB2005100909091A CN200510090909A CN100508031C CN 100508031 C CN100508031 C CN 100508031C CN B2005100909091 A CNB2005100909091 A CN B2005100909091A CN 200510090909 A CN200510090909 A CN 200510090909A CN 100508031 C CN100508031 C CN 100508031C
Authority
CN
China
Prior art keywords
echo
voice
frame
signal
echoes
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.)
Expired - Fee Related
Application number
CNB2005100909091A
Other languages
Chinese (zh)
Other versions
CN1917038A (en
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.)
Beijing Xinwei Telecom Technology Inc
Original Assignee
Beijing Xinwei Telecom Technology Inc
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 Beijing Xinwei Telecom Technology Inc filed Critical Beijing Xinwei Telecom Technology Inc
Priority to CNB2005100909091A priority Critical patent/CN100508031C/en
Publication of CN1917038A publication Critical patent/CN1917038A/en
Application granted granted Critical
Publication of CN100508031C publication Critical patent/CN100508031C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for identifying and eliminating echo generated from far end voice in CDMA mobile phone includes obtaining a frame sampling signal at near end to judge whether there is voice at far end or not according last 5-15 frames at far end, detecting voice echo of said frame if it is and calculating low frequency energy of said frame signal to judge out whether only echo is existed or not then carrying out smooth on echo or replace echo by comfort noise signal if echo is existed and not varying current signal if echo is not existed, or otherwise not requiring to carry out detection on voice of said frame at near end and directly coding and transmitting voice.

Description

A kind of method of in the SCDMA mobile phone, discerning and eliminating the echo of far-end speech generation
Technical field
The present invention relates in the wireless communications application system, utilize spectral characteristic identification and eliminate a kind of method of mobile phone far-end speech the echo of near-end generation.
Background technology
In mobile phone, be derived from the sound wave of receiver (earphone), reflect into the microphone (microphone) or the speaker-phone of mobile phone by the solid objects that is arranged on the voice path, thereby form acoustic echo, cause that speech quality reduces.
At present, the method of eliminating acoustic echo mainly is based on dual end communication (Double Talk) and detects, double talk detection is the state of detection of handset current talking, be only exist far-end speech (having only receiver sound), only exist near-end speech (having only microphone sound), or there be (dual end communication) simultaneously in the far-end near-end speech.The main method that is used for double talk detection be according to Geigel algorithm-system to the decay of echo signal energy greater than 6dB-design realization.But in many practical applications, for example in the SCDMA mobile phone, echo channel does not satisfy the Geigel algorithm, can not use the Geigel algorithm simply and carry out double talk detection.
Summary of the invention
The purpose of this invention is to provide and a kind ofly realize simply in the SCDMA mobile phone, it is less to take resource, can carry out both-end effectively and detect, and the method for identification far-end echo is to eliminate the acoustic echo that produces in the SCDMA wireless communication system.
The present invention mainly utilizes the echo signal low frequency energy characteristic lower than efficient voice, far-end echo and near-end efficient voice that mobile phone produces is distinguished, to reach the purpose that suppresses acoustic echo.
The present invention includes following steps:
(1) obtains a frame sampling signal at near-end, energy according to far-end 5~15 frames before this frame judges whether far-end exists voice, if have, then need this frame of near-end is carried out voice detection of echoes (VED), if do not have, then do not need this frame of near-end is carried out the voice detection of echoes, forward step (4) to;
(2) carry out the frame of voice detection of echoes for needs, calculate the low frequency energy of this frame signal, if its low frequency energy is less than a thresholding T2 then think and only have echo; Otherwise think to exist efficient voice or echo and efficient voice to exist simultaneously, forward step (4) to;
(3) for judging the situation only there is echo, the result who judges being carried out smoothly, still be echo for the judged result after level and smooth, takes comfort noise signal replacement echo to import speech coder, otherwise does not change the signal of present frame;
(4) comfort noise to voice or replacement echo carries out coding transmission.
The SCDMA terminal V32 mobile phone that has adopted the inventive method is tested, and people's ear can feel more significantly that acoustic echo weakens to some extent, and the effect of sound is improved.
Description of drawings
Fig. 1 is identification and eliminate the processing flow chart of the method for the echo that far-end speech produces in the SCDMA mobile phone of the present invention;
Fig. 2 a~2f shows respectively for the far-end speech source signal, the near end echo signal, near-end efficient voice signal carries out the resultant curve map of frequency-response analysis, wherein Fig. 2 a, Fig. 2 c, Fig. 2 e are 4096 signal waveform curve, and Fig. 2 b, Fig. 2 d, Fig. 2 f are 4096 amplitude-versus-frequency curve;
Fig. 3 a~Fig. 3 c is respectively under the situation that near end signal in microphone place input is quiet, echo and efficient voice, the curve map of the low frequency energy that calculates:
Fig. 4 is a detail flowchart of realizing echo cancellation process in SCDMA V32 mobile phone.
Embodiment
Fig. 1 shows identification and eliminate the base conditioning flow process of the method for the echo that far-end speech produces in the SCDMA mobile phone of the present invention.
Shown in Fig. 2 a~Fig. 2 f, for the far-end speech source signal of on the SCDMA mobile phone, gathering, the near end echo signal, near-end efficient voice signal is done the analysis of frequency characteristic, Fig. 2 a wherein, Fig. 2 c, Fig. 2 e is 4096 a signal waveform curve, and Fig. 2 b, Fig. 2 d, Fig. 2 f is 4096 a amplitude-versus-frequency curve, the energy that can see the efficient voice signal mainly concentrates on low frequency, and the energy of the echo that the process echo channel produces mainly concentrates on high frequency, the full range band energy of echo not necessarily satisfies the Geigle algorithm, but can utilize the size of low frequency energy that echo and efficient voice are distinguished, thereby reach the purpose of eliminating echo.
Fig. 3 a~Fig. 3 c is respectively under the situation that near end signal in SCDMA mobile microphone place input is quiet, echo and efficient voice, the curve of the low frequency energy that use DSP algorithm computation obtains in mobile phone, wherein horizontal ordinate is represented corresponding frame number, the low frequency energy of efficient voice will be higher than quiet and echo as can be seen, is low frequency energy effective as the condition of distinguishing echo and efficient voice.
As shown in Figure 4, use the method for the present invention test that experimentizes in SCDMA terminal V32 mobile phone, concrete steps are as follows:
1, obtains a frame signal from near-end (mobile phone microphone) sampling, whether have more than or equal to a certain thresholding T1 (this numerical value is empirical value) according to the energy of far-end (in the receiver) 5~15 frames before it (thinking that the echo channel time-delay is between 50ms~150ms) and to judge whether far-end exists voice, if there are voice in the judgement far-end then need this frame of near-end is carried out the voice detection of echoes, if judge that there are not voice in far-end, then there is not echo certainly in near-end, do not need this frame of near-end is carried out the voice detection of echoes, forward step 4 to;
2, carry out the frame of voice detection of echoes for needs, calculate the low frequency energy E1 of this frame signal, if E1 is less than thresholding T2 (this numerical value is empirical value), think that then only there is echo in near-end, the voice detection of echoes result of this frame is changed to " 0 (echo) ", otherwise think that near-end exists efficient voice or echo and efficient voice to exist simultaneously, the voice detection of echoes result of this frame is changed to " 1 (voice) ", change step 4 over to;
3, for judging the situation that only has echo, the result who judges is carried out smoothly, if the voice detection of echoes result of a plurality of frames before the present frame has outnumbered T3 (this numerical value empirical value) for " 1 " continuously, think that then efficient voice begins, when even the energy of this frame no longer satisfies greater than T2, if satisfy following two conditions simultaneously:
A) time of occurrence is in after the efficient voice in 10 frames;
B) low frequency energy is greater than another thresholding T4 (this numerical value is empirical value);
Then think to exist efficient voice or echo and efficient voice to exist simultaneously, otherwise think and only have echo;
For the judged result after level and smooth still be echo, takes comfort noise signal replacement echo, otherwise does not change the signal of present frame;
4, the comfort noise to voice or replacement echo carries out coding transmission.
The described method of the application of the invention can be carried out double talk detection effectively, identifies far-end echo, thereby eliminates the acoustic echo that produces in the SCDMA wireless communication system.The SCDMA terminal V32 mobile phone that has adopted the inventive method is tested, and people's ear can feel more significantly that acoustic echo weakens to some extent, and the effect of sound is improved.

Claims (4)

1. identification and eliminate the method for the echo that far-end speech produces in the SCDMA mobile phone, it may further comprise the steps:
(1) obtains a frame sampling signal at near-end, judge according to the energy of a plurality of frames of far-end before this frame whether far-end exists voice, if exist, then need this frame of near-end is carried out the voice detection of echoes, if there is no, then do not need this frame of near-end is carried out the voice detection of echoes, forward step (4) to;
(2) carry out the frame of voice detection of echoes for needs, calculate the low frequency energy of this frame signal, if its low frequency energy is less than a thresholding T2 then think and only have echo; Otherwise think to exist efficient voice or echo and efficient voice to exist simultaneously, forward step (4) to;
(3) for judging the situation only there is echo, the result who judges being carried out smoothly, still is echo for the judged result after level and smooth, takes comfort noise signal replacement echo, otherwise does not change the signal of present frame;
(4) comfort noise to voice or replacement echo carries out coding transmission.
2. a kind of method as claimed in claim 1, it is characterized in that, in the step (1), judge whether far-end exists the foundation of voice to be:, judge that then there are voice in far-end if 5~15 frame remote signaling frame energy before this frame of near-end have more than or equal to a certain thresholding T1.
3. a kind of method as claimed in claim 1 or 2 is characterized in that, in the step (2), when the low frequency energy of described near end signal frame during less than described thresholding T2, the voice detection of echoes result of this signal is changed to 0, otherwise the result is changed to 1 with its voice detection of echoes.
4. a kind of method as claimed in claim 3, it is characterized in that, may further comprise the steps in smoothing process described in the step (3): if the voice detection of echoes result of a plurality of frames before the present frame has outnumbered certain value T3 for " 1 " continuously, think that then efficient voice begins, when even the energy of this frame no longer satisfies greater than thresholding T2 described in the step (2), if it satisfies following two conditions simultaneously:
A) time of occurrence is in after the efficient voice in 10 frames;
B) its low frequency energy is greater than another thresholding T4;
Then think to exist efficient voice or echo and efficient voice to exist simultaneously, otherwise think and only have echo.
CNB2005100909091A 2005-08-19 2005-08-19 Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset Expired - Fee Related CN100508031C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100909091A CN100508031C (en) 2005-08-19 2005-08-19 Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100909091A CN100508031C (en) 2005-08-19 2005-08-19 Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset

Publications (2)

Publication Number Publication Date
CN1917038A CN1917038A (en) 2007-02-21
CN100508031C true CN100508031C (en) 2009-07-01

Family

ID=37738017

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100909091A Expired - Fee Related CN100508031C (en) 2005-08-19 2005-08-19 Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset

Country Status (1)

Country Link
CN (1) CN100508031C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347785B (en) * 2010-07-23 2013-09-11 联芯科技有限公司 Echo elimination method and device
CN102377453B (en) * 2010-08-06 2014-02-26 联芯科技有限公司 Method and device for controlling updating of self-adaptive filter and echo canceller
CN102726034B (en) * 2011-07-25 2014-01-08 华为技术有限公司 A device and method for controlling echo in parameter domain
CN104200810B (en) * 2014-08-29 2017-07-18 无锡中感微电子股份有限公司 Automatic gain control equipment and method
CN106297816B (en) * 2015-05-20 2019-12-13 广州质音通讯技术有限公司 Echo cancellation nonlinear processing method and device and electronic equipment
CN105791611B (en) 2016-02-22 2020-07-07 腾讯科技(深圳)有限公司 Echo cancellation method, device, terminal and storage medium
CN109215672B (en) * 2017-07-05 2021-11-16 苏州谦问万答吧教育科技有限公司 Method, device and equipment for processing sound information
CN108134863B (en) * 2017-12-26 2020-06-19 中山大学花都产业科技研究院 Improved double-end detection device and detection method based on double statistics
CN110956976B (en) * 2019-12-17 2022-09-09 苏州科达科技股份有限公司 Echo cancellation method, device and equipment and readable storage medium
CN111294474B (en) * 2020-02-13 2021-04-16 杭州国芯科技股份有限公司 Double-end call detection method

Also Published As

Publication number Publication date
CN1917038A (en) 2007-02-21

Similar Documents

Publication Publication Date Title
CN100508031C (en) Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset
US6792107B2 (en) Double-talk detector suitable for a telephone-enabled PC
US6574336B1 (en) Echo suppressor and non-linear processor of echo canceller
CN103077726B (en) For pre-service and the aftertreatment of linear acoustic echo cancelling system
CN103391381B (en) Method and device for canceling echo
CN105825864B (en) Both-end based on zero-crossing rate index is spoken detection and echo cancel method
US8861713B2 (en) Clipping based on cepstral distance for acoustic echo canceller
KR101089481B1 (en) Double talk detection method based on spectral acoustic properties
US7558729B1 (en) Music detection for enhancing echo cancellation and speech coding
CN106713570B (en) Echo cancellation method and device
US5390244A (en) Method and apparatus for periodic signal detection
CN110896509A (en) Earphone wearing state determining method, electronic equipment control method and electronic equipment
CN110995951B (en) Echo cancellation method, device and system based on double-end sounding detection
US20090248411A1 (en) Front-End Noise Reduction for Speech Recognition Engine
US9699554B1 (en) Adaptive signal equalization
CN101345787A (en) Signal processor and method for canceling echo in a communication device
CN1249869A (en) Method and apparatus for using state determination to control functional elements
KR20140145108A (en) A method and system for improving voice communication experience in mobile communication devices
CN105657110A (en) Voice communication echo cancellation method and device
CN106657700B (en) hand-free talking device capable of eliminating echo and its control method
CN102185992B (en) Bidirectional active denoising device for mobile phone
CN106849976A (en) Echo cancel method and communication terminal during a kind of hand-free call
CN101175122B (en) Apolegamy method of voice reinforced channel in communication network
KR101035736B1 (en) Apparatus and method for cancelling residual echo in a wireless communication system
CN1780165B (en) Echo eliminator and elimination method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20191121

Granted publication date: 20090701

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20200710

Granted publication date: 20090701

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090701

Termination date: 20190819