Movatterモバイル変換


[0]ホーム

URL:


CN100508031C - A Method for Recognizing and Eliminating the Echo Produced by Far-End Speech in SCDMA Mobile Phone - Google Patents

A Method for Recognizing and Eliminating the Echo Produced by Far-End Speech in SCDMA Mobile Phone
Download PDF

Info

Publication number
CN100508031C
CN100508031CCNB2005100909091ACN200510090909ACN100508031CCN 100508031 CCN100508031 CCN 100508031CCN B2005100909091 ACNB2005100909091 ACN B2005100909091ACN 200510090909 ACN200510090909 ACN 200510090909ACN 100508031 CCN100508031 CCN 100508031C
Authority
CN
China
Prior art keywords
echo
voice
frame
signal
far
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 IncfiledCriticalBeijing Xinwei Telecom Technology Inc
Priority to CNB2005100909091ApriorityCriticalpatent/CN100508031C/en
Publication of CN1917038ApublicationCriticalpatent/CN1917038A/en
Application grantedgrantedCritical
Publication of CN100508031CpublicationCriticalpatent/CN100508031C/en
Anticipated expirationlegal-statusCritical
Expired - Fee Relatedlegal-statusCriticalCurrent

Links

Images

Landscapes

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) ", changestep 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)

Translated fromChinese
1.一种在SCDMA手机中识别并消除远端语音产生的回声的方法,其包括以下步骤:1. a method for identifying and eliminating the echo produced by far-end voice in SCDMA mobile phone, it may further comprise the steps:(1)在近端获取一帧采样信号,根据该帧之前远端多个帧的能量判断远端是否存在语音,如果存在,则需要对近端该帧进行语音回声检测,如果不存在,则不需要对近端该帧进行语音回声检测,转到步骤(4);(1) Obtain a frame of sampling signal at the near end, and judge whether there is voice at the far end according to the energy of multiple frames at the far end before the frame. If it exists, it is necessary to perform voice echo detection on the near end frame. Do not need to carry out speech echo detection to this near-end frame, go to step (4);(2)对于需要进行语音回声检测的帧,计算该帧信号的低频能量,如果其低频能量小于一门限T2则认为只存在回声;否则认为存在有效语音或者回声和有效语音同时存在,转到步骤(4);(2) For the frame that needs to carry out voice echo detection, calculate the low-frequency energy of the frame signal, if its low-frequency energy is less than a threshold T2 then think that there is only echo; otherwise think that there is effective voice or echo and effective voice exist simultaneously, go to step (4);(3)对于判断只存在回声的情况,对判断的结果进行平滑,对于平滑之后的判断结果仍然为回声的,采取舒适噪声信号代替回声,否则不改变当前帧的信号;(3) For judging that there is only echo, the result of judging is smoothed, and if the judging result after smoothing is still echo, the comfort noise signal is used instead of echo, otherwise the signal of the current frame is not changed;(4)对语音或者代替回声的舒适噪声进行编码传输。(4) Coding and transmitting speech or comfort noise instead of echo.2.如权利要求1所述的一种方法,其特征在于,步骤(1)中,判断远端是否存在语音的依据是:如果近端该帧之前的5~15帧远端信号帧能量有大于等于某一门限T1的,则判断远端存在语音。2. A kind of method as claimed in claim 1, it is characterized in that, in step (1), the basis for judging whether there is voice at the far end is: if the 5~15 frames of far-end signal frame energy before this frame of near-end have If it is greater than or equal to a certain threshold T1, it is judged that there is voice at the far end.3.如权利要求1或2所述的一种方法,其特征在于,步骤(2)中,当所述近端信号帧的低频能量小于所述门限T2时,将该信号的语音回声检测结果置为0,否则,将其语音回声检测结果置为1。3. A kind of method as claimed in claim 1 or 2, it is characterized in that, in step (2), when the low-frequency energy of described near-end signal frame is less than described threshold T2, the voice echo detection result of this signal Set to 0, otherwise, set the voice echo detection result to 1.4.如权利要求3所述的一种方法,其特征在于,在步骤(3)中所述平滑过程包括以下步骤:如果当前帧之前的多个帧的语音回声检测结果连续为“1”的数目超过了一定值T3,则认为有效语音已经开始,即使该帧的能量不再满足大于步骤(2)中所述门限T2时,如果其同时满足以下两个条件:4. a kind of method as claimed in claim 3 is characterized in that, in step (3), described smooth process comprises the following steps: if the voice echo detection result of a plurality of frames before current frame is " 1 " continuously Number surpasses certain value T3, then thinks that effective speech has begun, even if the energy of this frame no longer satisfies when greater than the threshold T2 described in step (2), if it satisfies the following two conditions simultaneously:a)出现时间处于有效语音之后10帧以内;a) The appearance time is within 10 frames after the effective speech;b)其低频能量大于另一门限T4;b) its low-frequency energy is greater than another threshold T4;则认为存在有效语音或者回声和有效语音同时存在,否则认为只存在回声。Then it is considered that there is effective speech or echo and effective speech exist at the same time, otherwise it is considered that there is only echo.
CNB2005100909091A2005-08-192005-08-19 A Method for Recognizing and Eliminating the Echo Produced by Far-End Speech in SCDMA Mobile PhoneExpired - Fee RelatedCN100508031C (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CNB2005100909091ACN100508031C (en)2005-08-192005-08-19 A Method for Recognizing and Eliminating the Echo Produced by Far-End Speech in SCDMA Mobile Phone

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CNB2005100909091ACN100508031C (en)2005-08-192005-08-19 A Method for Recognizing and Eliminating the Echo Produced by Far-End Speech in SCDMA Mobile Phone

Publications (2)

Publication NumberPublication Date
CN1917038A CN1917038A (en)2007-02-21
CN100508031Ctrue CN100508031C (en)2009-07-01

Family

ID=37738017

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CNB2005100909091AExpired - Fee RelatedCN100508031C (en)2005-08-192005-08-19 A Method for Recognizing and Eliminating the Echo Produced by Far-End Speech in SCDMA Mobile Phone

Country Status (1)

CountryLink
CN (1)CN100508031C (en)

Families Citing this family (10)

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

Also Published As

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

Similar Documents

PublicationPublication DateTitle
US6792107B2 (en)Double-talk detector suitable for a telephone-enabled PC
KR100989266B1 (en) Double talk detection method based on spectral acoustic characteristics
CN103077726B (en)For pre-service and the aftertreatment of linear acoustic echo cancelling system
US9100756B2 (en)Microphone occlusion detector
CN102160296B (en) Double-ended call detection method and device
CN110995951B (en)Echo cancellation method, device and system based on double-end sounding detection
CN108712703A (en)The high-efficient noise-reducing earphone and noise reduction system of low-power consumption
US9699554B1 (en)Adaptive signal equalization
CN110896509A (en)Earphone wearing state determining method, electronic equipment control method and electronic equipment
CN101345787A (en)Signal processor and method for canceling echo in a communication device
CN103391381A (en)Method and device for canceling echo
CN103534942B (en)Process audio signal
KR20140145108A (en)A method and system for improving voice communication experience in mobile communication devices
CN106101351A (en) A multi-MIC noise reduction method for mobile terminals
US7558729B1 (en)Music detection for enhancing echo cancellation and speech coding
CN100508031C (en) A Method for Recognizing and Eliminating the Echo Produced by Far-End Speech in SCDMA Mobile Phone
WO2021077599A1 (en)Double-talk detection method and apparatus, computer device and storage medium
CN103370741B (en)Process audio signal
KR101035736B1 (en) Echo cancellation device and method in terminal device of mobile communication system
CN113921029A (en)Double-end sounding detection method applied to echo cancellation
CN1167213C (en) A Test Method for Echo Cancellation Function
CN1925346A (en)Detecting method for double speaking state in echo wave counteract
US10937409B2 (en)Predictive acoustic echo cancellation
LeeseEcho cancellation
CN113808609B (en)Echo detection method and device, computer readable storage medium and terminal equipment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
PP01Preservation of patent right

Effective date of registration:20191121

Granted publication date:20090701

PP01Preservation of patent right
PD01Discharge of preservation of patent

Date of cancellation:20200710

Granted publication date:20090701

PD01Discharge of preservation of patent
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20090701

Termination date:20190819

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp