[go: up one dir, main page]

CN112037808B - Echo elimination method and device for elevator car - Google Patents

Echo elimination method and device for elevator car Download PDF

Info

Publication number
CN112037808B
CN112037808B CN202010901443.3A CN202010901443A CN112037808B CN 112037808 B CN112037808 B CN 112037808B CN 202010901443 A CN202010901443 A CN 202010901443A CN 112037808 B CN112037808 B CN 112037808B
Authority
CN
China
Prior art keywords
echo
signal
audio
current
microphone
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.)
Active
Application number
CN202010901443.3A
Other languages
Chinese (zh)
Other versions
CN112037808A (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.)
Hangzhou Suifeng Information Technology Co ltd
Original Assignee
Hangzhou Suifeng Information Technology 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 Hangzhou Suifeng Information Technology Co ltd filed Critical Hangzhou Suifeng Information Technology Co ltd
Priority to CN202010901443.3A priority Critical patent/CN112037808B/en
Publication of CN112037808A publication Critical patent/CN112037808A/en
Application granted granted Critical
Publication of CN112037808B publication Critical patent/CN112037808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/02Circuits for transducers, loudspeakers or microphones for preventing acoustic reaction, i.e. acoustic oscillatory feedback
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2203/00Details of circuits for transducers, loudspeakers or microphones covered by H04R3/00 but not provided for in any of its subgroups

Landscapes

  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Indicating And Signalling Devices For Elevators (AREA)

Abstract

本发明涉及一种用于电梯轿厢的回音消除方法,包括以下步骤:S1:远端音频信号通过音频输入接口输入至MCU处理后由扬声器产生当前回音信号;S2:远端音频信号还输入至自适应滤波器,输出当前回音估计信号;S3:麦克风收集近端音频信号、当前回音信号以及上轮回音信号;S4:根据预先设置在MCU中的回音消除算法,麦克风收集到的信号、当前回音估计信号以及上轮回音估计信号进行计算,获得纯净回音信号,由音频输出接口输出;S5:保存当前回音估计信号作为下一轮回音消除信号的参考参数使用。本发明的技术方案在结构上采用扬声器和麦克垂直摆放,能够减少回音的产生,同时扬声器朝向轿厢地面,扬声器与地面距离较远能够减弱回音的产生。

The present invention relates to an echo cancellation method for an elevator car, comprising the following steps: S1: a far-end audio signal is input to an MCU through an audio input interface, and then a current echo signal is generated by a loudspeaker after processing; S2: the far-end audio signal is also input to an adaptive filter, and a current echo estimation signal is output; S3: a microphone collects a near-end audio signal, a current echo signal, and a previous round of echo signals; S4: according to an echo cancellation algorithm pre-set in the MCU, the signal collected by the microphone, the current echo estimation signal, and the previous round of echo estimation signals are calculated to obtain a pure echo signal, which is output by an audio output interface; S5: the current echo estimation signal is saved and used as a reference parameter for the next round of echo cancellation signals. The technical solution of the present invention adopts a structure in which a loudspeaker and a microphone are placed vertically, which can reduce the generation of echoes, and at the same time, the loudspeaker faces the floor of the car, and the distance between the loudspeaker and the floor is far, which can reduce the generation of echoes.

Description

一种用于电梯轿厢的回音消除方法及其装置Echo elimination method and device for elevator car

技术领域Technical Field

本发明属于回音消除技术领域,具体涉及一种用于电梯轿厢的回音消除方法及其装置。The invention belongs to the technical field of echo elimination, and in particular relates to an echo elimination method and device for an elevator car.

背景技术Background technique

在电梯物联网领域中,当电梯发生困人事件时,救援人员将会和被困人员进行语音安抚和沟通。但是由于电梯轿厢是封闭空间,且空间较小,在双向语音的过程中,会造成较大的回音,导致语音效果不好,救援人员与轿厢内部人员沟通起来有较大的阻碍,导致救援实施困难。In the field of elevator IoT, when someone is trapped in an elevator, rescuers will use voice to comfort and communicate with the trapped person. However, since the elevator car is a closed space with a small space, a large echo will be caused during the two-way voice process, resulting in poor voice effect. There are great obstacles for rescuers to communicate with people inside the car, making rescue difficult.

传统的回音消除(Acousticechocancellation,AEC)用以消除免持通话的不想要的回音,通常利用适应性滤波器模型化回音路径脉冲,而将回音自麦克风输出信号中移除。Conventional acoustic echo cancellation (AEC) is used to eliminate unwanted echoes in hands-free calls. An adaptive filter is usually used to model the echo path pulses and remove the echo from the microphone output signal.

而因轿厢的特殊环境,回音中存在当前的回音和上一次的回音的多重回音交杂,回音在被麦克风接收时与扬声器播放的声音的强度有所差别,传统的回音消除技术会因此出现计算不准确导致无法精准的去除回音信号而耽搁电梯救援行动的实行。However, due to the special environment of the elevator car, there are multiple echoes of the current echo and the previous echo. The intensity of the echo when it is received by the microphone is different from the sound played by the speaker. Therefore, traditional echo cancellation technology will have inaccurate calculations, resulting in the inability to accurately remove the echo signal and delay the implementation of the elevator rescue operation.

发明内容Summary of the invention

为了解决上述问题,本发明提供了一种用于电梯轿厢的回音消除方法及其装置,通过装置中麦克和喇叭的特殊摆放位置以及内部继承自主研发的双重消除回音算法,实现回音的消除,改善通话质量,在电梯物联网中得到很好的应用。In order to solve the above problems, the present invention provides an echo elimination method and device for an elevator car. Through the special placement of the microphone and the speaker in the device and the internal inheritance of the independently developed dual echo elimination algorithm, the echo can be eliminated and the call quality can be improved. It is well used in the elevator Internet of Things.

一种用于电梯轿厢的回音消除方法,包括以下步骤:An echo cancellation method for an elevator car comprises the following steps:

S1:远端音频信号通过音频输入接口输入至MCU调制后由扬声器产生当前回音信号;S1: The remote audio signal is input to the MCU through the audio input interface and modulated by the speaker to generate the current echo signal;

S2:远端音频信号还输入至自适应滤波器,并由自适应滤波器计算输出当前回音估计信号;S2: The far-end audio signal is also input into the adaptive filter, and the adaptive filter calculates and outputs a current echo estimation signal;

S3:麦克风收集近端音频信号、步骤S1中扬声器产生的当前回音信号以及上一轮回音消除中的扬声器产生的上轮回音信号;S3: The microphone collects the near-end audio signal, the current echo signal generated by the speaker in step S1, and the previous round of echo signal generated by the speaker in the previous round of echo cancellation;

S4:根据预先设置在MCU中的回音消除算法,对步骤S3中麦克风收集到的信号、步骤S2中的当前回音估计信号以及保存在MCU中的上轮回音估计信号进行计算,获得纯净回音信号,由音频输出接口输出;S4: According to the echo cancellation algorithm pre-set in the MCU, the signal collected by the microphone in step S3, the current echo estimation signal in step S2, and the previous round echo estimation signal stored in the MCU are calculated to obtain a pure echo signal, which is output through the audio output interface;

S5:保存当前回音估计信号作为下一轮回音消除信号的参考参数使用。S5: Save the current echo estimation signal for use as a reference parameter for the next round of echo cancellation signal.

优选的,所述步骤S2中的当前回音估计信号的计算公式为:Preferably, the calculation formula of the current echo estimation signal in step S2 is:

其中r’n为当前回音估计信号,wT n为当前的系数矩阵,yn为远端输入信号。Where r'n is the current echo estimation signal, wTn is the current coefficient matrix, and yn is the far-end input signal.

优选的,所述wT n的获取过程为:Preferably, the process of obtaining w T n is:

计算回音估计误差,计算公式为:en=dn–(λr’n-1+r’n),其中dn=xn+rn+rn-1Calculate the echo estimation error using the following formula: en = dn – (λr'n -1 + r'n ), where dn = xn + rn + rn -1 ;

通过迭代计算得到minJ=en 2,其中迭代步长:迭代方程为Wn+1=wnn*en*ynThrough iterative calculation, minJ = e n 2 is obtained, where the iteration step is: The iteration equation is W n+1 = w n + η n * en * yn ;

当J为最小值时,通过上述迭代计算获得当前的系数矩阵wT nWhen J is the minimum value, the current coefficient matrix w T n is obtained through the above iterative calculation.

其中,en为回音估计误差,dn为步骤S3中麦克风收集的音频信号总和,r’n-1为上轮回音估计信号,r’n为当前回音估计信号,xn为近端输入信号,rn为当前回音信号,rn-1为上轮回音信号,J为值为en 2的指代符号,ηn为迭代步长,yT n为远端输入信号yn的转置矩阵,Wn+1为保存wnn*en*yn的值的指代符号,λ为弱化系数。Among them, en is the echo estimation error, dn is the sum of the audio signals collected by the microphone in step S3, r'n -1 is the previous round of echo estimation signal, r'n is the current echo estimation signal, xn is the near-end input signal, rn is the current echo signal, rn -1 is the previous round of echo signal, J is a reference symbol with a value of e n 2 , ηn is the iteration step size, yTn is the transposed matrix of the far-end input signal yn , Wn +1 is a reference symbol that stores the value of wn + ηn * en * yn , and λ is the weakening coefficient.

优选的,所述步骤S4中的纯净回音信号的计算公式为:un=(xn+rn+rn-1)–(λr’n-1+r’n),其中un为纯净回音信号,r’n-1为上轮回音估计信号,r’n为当前回音估计信号,λ为弱化系数,xn为近端输入信号,rn为当前回音信号,rn-1为上轮回音信号。Preferably, the calculation formula of the pure echo signal in step S4 is: un =( xn + rn +rn -1 )-(λr'n -1 + r'n ), wherein un is the pure echo signal, r'n -1 is the previous round echo estimation signal, r'n is the current echo estimation signal, λ is the weakening coefficient, xn is the near-end input signal, rn is the current echo signal, and rn -1 is the previous round echo signal.

优选的,步骤S5中的当前回音估计信号的保存在算法中表现为令rn=rn-1,将当前回音估计信号作为下一轮中上一轮回音的弱化参数。Preferably, the preservation of the current echo estimation signal in step S5 is expressed in the algorithm as setting r n =r n-1 and using the current echo estimation signal as a weakening parameter of the previous round of echo in the next round.

本发明还提供了一种用于电梯轿厢的回音消除装置,包括:The present invention also provides an echo cancellation device for an elevator car, comprising:

音频输入接口:用于接收远端音频信号;Audio input interface: used to receive remote audio signals;

扬声器:用于产生回音信号;Speaker: used to generate echo signal;

自适应滤波器:用于根据远端音频信号生成回音估计信号;Adaptive filter: used to generate an echo estimation signal based on the far-end audio signal;

麦克风:用于接收回音以及近端音频信号;Microphone: used to receive echo and near-end audio signals;

MCU:用于存储回音消除算法,接收上述设备输出的各项音频信号进行处理,得到纯净回音;MCU: used to store the echo cancellation algorithm, receive and process the audio signals output by the above devices, and obtain pure echo;

音频输出接口:用于输出纯净回音信号。Audio output interface: used to output pure echo signal.

优选的,所述扬声器与轿厢地面垂直,所述扬声器麦克垂直摆放。Preferably, the speaker is perpendicular to the floor of the car, and the speaker microphone is placed vertically.

优选的,还包括音频编码器和音频解码器,所述音频编码器将接收的音频信号解码成数字信号后发送至MCU处理,MCU处理完后的音频信号再由音频解码器解码后输出。Preferably, it also includes an audio encoder and an audio decoder. The audio encoder decodes the received audio signal into a digital signal and sends it to the MCU for processing. The audio signal processed by the MCU is decoded by the audio decoder and then output.

本发明的有益效果为:本发明的技术方案在结构上采用扬声器和麦克垂直摆放,能够减少回音的产生,同时扬声器朝向轿厢地面,扬声器与地面距离较远能够减弱回音的产生。The beneficial effects of the present invention are as follows: the technical solution of the present invention adopts a structure in which the loudspeaker and the microphone are placed vertically, which can reduce the generation of echoes. At the same time, the loudspeaker faces the floor of the car, and the distance between the loudspeaker and the ground is relatively far, which can weaken the generation of echoes.

本发明在算法上采用双重消除回音,由于轿厢的特殊环境,回音中存在当前的回音和上一次的回音的多重回音交杂,本发明使用的算法采用双重消除能够将回音降到最少;同时算法考虑的回音在被麦克风接收时与扬声器播放的声音的强度有所差别,在估计回音路径时加上了回音弱化系数,更好的拟合回音,将最终的回音降到最低。The present invention adopts double echo cancellation in the algorithm. Due to the special environment of the car, there are multiple echoes of the current echo and the previous echo mixed in the echo. The algorithm used in the present invention adopts double cancellation to minimize the echo. At the same time, the algorithm considers that the echo is different in intensity when it is received by the microphone and the sound played by the speaker. The echo weakening coefficient is added when estimating the echo path to better fit the echo and minimize the final echo.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明的提供的方法的流程图。FIG1 is a flow chart of the method provided by the present invention.

图2为本发明提供的装置的内部连接框图。FIG. 2 is an internal connection block diagram of the device provided by the present invention.

图3为本发明提供的装置的外部构造图。FIG. 3 is an external structural diagram of the device provided by the present invention.

其中,1、音频输入接口;2、扬声器;3、麦克风;4、音频输出接口。Among them, 1. Audio input interface; 2. Speaker; 3. Microphone; 4. Audio output interface.

具体实施方式Detailed ways

下面将结合说明书附图对本发明的实施例进行详细说明。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

如图1所示,本发明实施例提供的一种用于电梯轿厢的回音消除方法,包括以下步骤:As shown in FIG1 , an embodiment of the present invention provides a method for eliminating echo in an elevator car, comprising the following steps:

1、远端音频信号通过音频输入接口输入至MCU调制后由扬声器产生当前回音信号。1. The remote audio signal is input to the MCU through the audio input interface and modulated, and then the speaker generates the current echo signal.

2、远端音频信号还输入至自适应滤波器,并由自适应滤波器计算输出当前回音估计信号。当前回音估计信号的计算公式为:2. The far-end audio signal is also input to the adaptive filter, which calculates and outputs the current echo estimation signal. The calculation formula of the current echo estimation signal is:

其中r’n为当前回音估计信号,wT n为当前的系数矩阵,yn为远端输入信号,wn和yn-i代表累计和,wn为n取值0到N-1,yn-i同理。Where r'n is the current echo estimation signal, wTn is the current coefficient matrix, yn is the far-end input signal, wn and yn represent the cumulative sum, wn is n and takes the value from 0 to N-1, and the same is true for yni.

wT n的获取过程为:The process of obtaining w T n is:

计算回音估计误差,计算公式为:en=dn–(λr’n-1+r’n),其中dn=xn+rn+rn-1Calculate the echo estimation error using the following formula: en = dn – (λr'n -1 + r'n ), where dn = xn + rn + rn -1 ;

通过迭代计算得到minJ=en 2,其中迭代步长:迭代方程为:Through iterative calculation, minJ = e n 2 is obtained, where the iteration step is: The iteration equation is:

Wn+1=wnn*en*ynWn +1 = wn + ηn * en * yn ;

当J为最小值时,通过上述迭代计算获得当前的系数矩阵wT nWhen J is the minimum value, the current coefficient matrix w T n is obtained through the above iterative calculation.

其中,en为回音估计误差,dn为步骤S3中麦克风收集的音频信号总和,r’n-1为上轮回音估计信号,r’n为当前回音估计信号,xn为近端输入信号,rn为当前回音信号,rn-1为上轮回音信号,J为值为en 2的指代符号,ηn为迭代步长,yT n为远端输入信号yn的转置矩阵,Wn+1为保存wnn*en*yn的值的指代符号,λ为弱化系数。Among them, en is the echo estimation error, dn is the sum of the audio signals collected by the microphone in step S3, r'n -1 is the previous round of echo estimation signal, r'n is the current echo estimation signal, xn is the near-end input signal, rn is the current echo signal, rn -1 is the previous round of echo signal, J is a reference symbol with a value of e n 2 , ηn is the iteration step size, yTn is the transposed matrix of the far-end input signal yn , Wn +1 is a reference symbol that stores the value of wn + ηn * en * yn , and λ is the weakening coefficient.

3、麦克风收集近端音频信号、步骤S1中扬声器产生的当前回音信号以及上一轮回音消除中的扬声器产生的上轮回音信号。3. The microphone collects the near-end audio signal, the current echo signal generated by the speaker in step S1, and the previous round of echo signal generated by the speaker in the previous round of echo cancellation.

4、根据回音消除算法,对步骤S3中麦克风收集到的信号、步骤S2中的当前回音估计信号以及保存在MCU中的上轮回音估计信号进行计算,获得纯净回音信号,由音频输出接口输出。纯净回音信号的计算公式为:un=(xn+rn+rn-1)–(λr’n-1+r’n),其中un为纯净回音信号,r’n-1为上轮回音估计信号,r’n为当前回音估计信号,λ为弱化系数,xn为近端输入信号,rn为当前回音信号,rn-1为上轮回音信号。4. According to the echo cancellation algorithm, the signal collected by the microphone in step S3, the current echo estimation signal in step S2, and the previous round echo estimation signal stored in the MCU are calculated to obtain a pure echo signal, which is output by the audio output interface. The calculation formula of the pure echo signal is: un = ( xn + rn + rn-1 ) - (λr'n -1 + r'n ), where un is the pure echo signal, r'n -1 is the previous round echo estimation signal, r'n is the current echo estimation signal, λ is the weakening coefficient, xn is the near-end input signal, rn is the current echo signal, and rn -1 is the previous round echo signal.

5、保存当前回音估计信号作为下一轮回音消除信号的参考参数使用。当前回音估计信号的保存在算法中表现为令rn=rn-1,将当前回音估计信号作为下一轮中上一轮回音的弱化参数。5. Save the current echo estimation signal as a reference parameter for the next round of echo cancellation signal. The current echo estimation signal is saved in the algorithm by setting r n = r n-1 and using the current echo estimation signal as a weakening parameter of the previous round of echo in the next round.

如图2和图3所示,本发明实施例还提供了一种用于电梯轿厢的回音消除装置,包括接收远端音频信号的音频输入接口1、产生回音信号的扬声器2、根据远端音频信号生成回音估计信号的自适应滤波器、接收回音以及近端音频信号的麦克风3、用于存储回音消除算法,接收上述设备输出的各项音频信号进行处理,得到纯净回音的MCU、用于输出纯净回音信号的音频输出接口4。As shown in Figures 2 and 3, an embodiment of the present invention also provides an echo cancellation device for an elevator car, including an audio input interface 1 for receiving a far-end audio signal, a speaker 2 for generating an echo signal, an adaptive filter for generating an echo estimation signal according to the far-end audio signal, a microphone 3 for receiving an echo and a near-end audio signal, an MCU for storing an echo cancellation algorithm, receiving various audio signals output by the above devices for processing to obtain a pure echo, and an audio output interface 4 for outputting a pure echo signal.

由于输入的音频不是MCU能直接处理的数据,本装置还包括音频编码器和音频解码器,音频编码器将接收的音频信号解码成数字信号后发送至MCU处理,MCU处理完后的音频信号再由音频解码器解码后输出。Since the input audio is not data that the MCU can directly process, the device also includes an audio encoder and an audio decoder. The audio encoder decodes the received audio signal into a digital signal and sends it to the MCU for processing. The audio signal processed by the MCU is decoded by the audio decoder and output.

作为本发明的的一个实施例,扬声器与轿厢地面垂直,扬声器麦克垂直摆放。As an embodiment of the present invention, the speaker is perpendicular to the floor of the car, and the speaker microphone is placed vertically.

本发明实施例提供的装置的工作原理如上述提供的一种用于电梯轿厢的回音消除方法方法所示。The working principle of the device provided in the embodiment of the present invention is shown in the above-mentioned method for echo elimination of an elevator car.

最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围。都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. They should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (5)

1.一种用于电梯轿厢的回音消除方法,其特征在于,包括以下步骤:1. A method for eliminating echo in an elevator car, comprising the following steps: S1:远端音频信号通过音频输入接口输入至MCU处理后由扬声器产生当前回音信号;S1: The remote audio signal is input to the MCU through the audio input interface and then processed by the speaker to generate the current echo signal; S2:远端音频信号还输入至自适应滤波器,并由自适应滤波器计算输出当前回音估计信号;S2: The far-end audio signal is also input into the adaptive filter, and the adaptive filter calculates and outputs a current echo estimation signal; S3:麦克风收集近端音频信号、步骤S1中扬声器产生的当前回音信号以及上一轮回音消除中的扬声器产生的上轮回音信号;S3: The microphone collects the near-end audio signal, the current echo signal generated by the speaker in step S1, and the previous round of echo signal generated by the speaker in the previous round of echo cancellation; S4:根据预先设置在MCU中的回音消除算法,对步骤S3中麦克风收集到的信号、步骤S2中的当前回音估计信号以及保存在MCU中的上轮回音估计信号进行计算,获得纯净回音信号,由音频输出接口输出;S4: According to the echo cancellation algorithm pre-set in the MCU, the signal collected by the microphone in step S3, the current echo estimation signal in step S2, and the previous round echo estimation signal stored in the MCU are calculated to obtain a pure echo signal, which is output through the audio output interface; S5:保存当前回音估计信号作为下一轮回音消除信号的参考参数使用;S5: Save the current echo estimation signal as a reference parameter for the next round of echo cancellation signal; 所述步骤S2中的当前回音估计信号的计算公式为:The calculation formula of the current echo estimation signal in step S2 is: 其中r’n为当前回音估计信号,wT n为当前的系数矩阵,yn为远端输入信号,wn和yn-i代表累计和,wn为n取值0到N-1,yn-i同理;Where r'n is the current echo estimation signal, wTn is the current coefficient matrix, yn is the far-end input signal, wn and yn represent the cumulative sum, wn is n and takes the value from 0 to N-1, and yni is the same; 所述wT n的获取过程为:The acquisition process of w T n is: 计算回音估计误差,计算公式为:en=dn-(λr’n-1+r’n),其中dn=xn+rn+rn-1;通过迭代计算得到min J=en 2,其中迭代步长:迭代方程为Wn+1=wnn*en*ynThe echo estimation error is calculated using the formula: en = dn - (λr'n -1 + r'n ), where dn = xn + rn + rn -1 ; min J = en2 is obtained through iterative calculation, where the iteration step is: The iteration equation is W n+1 = w n + η n * en * yn ; 当J为最小值时,通过上述迭代计算获得当前的系数矩阵wT nWhen J is the minimum value, the current coefficient matrix w T n is obtained through the above iterative calculation; 其中,en为回音估计误差,dn为步骤S3中麦克风收集的音频信号总和,r’n-1为上轮回音估计信号,r’n为当前回音估计信号,xn为近端输入信号,rn为当前回音信号,rn-1为上轮回音信号,J为值为en 2的指代符号,ηn为迭代步长,yT n为远端输入信号yn的转置矩阵,Wn+1为保存wnn*en*yn的值的指代符号,λ为弱化系数。Among them, en is the echo estimation error, dn is the sum of the audio signals collected by the microphone in step S3, r'n -1 is the previous round of echo estimation signal, r'n is the current echo estimation signal, xn is the near-end input signal, rn is the current echo signal, rn -1 is the previous round of echo signal, J is a reference symbol with a value of e n 2 , ηn is the iteration step size, yTn is the transposed matrix of the far-end input signal yn , Wn +1 is a reference symbol that stores the value of wn + ηn * en * yn , and λ is the weakening coefficient. 2.根据权利要求1所述的用于电梯轿厢的回音消除方法,其特征在于,所述步骤S4中的纯净回音信号的计算公式为:un=(xn+rn+rn-1)-(λr’n-1+r’n),其中un为纯净回音信号,r’n-1为上轮回音估计信号,r’n为当前回音估计信号,λ为弱化系数,xn为近端输入信号,rn为当前回音信号,rn-1为上轮回音信号。2. The echo cancellation method for an elevator car according to claim 1, characterized in that the calculation formula of the pure echo signal in step S4 is: un =( xn + rn +rn -1 )-(λr'n -1 + r'n ), wherein un is the pure echo signal, r'n -1 is the previous round echo estimation signal, r'n is the current echo estimation signal, λ is the weakening coefficient, xn is the near-end input signal, rn is the current echo signal, and rn -1 is the previous round echo signal. 3.根据权利要求2所述的用于电梯轿厢的回音消除方法,其特征在于,步骤S5中的当前回音估计信号的保存在算法中表现为令rn=rn-1,将当前回音估计信号作为下一轮中上一轮回音的弱化参数。3. The method for cancelling the echo of an elevator car according to claim 2, characterized in that the preservation of the current echo estimation signal in step S5 is expressed in the algorithm as setting r n = r n-1 and using the current echo estimation signal as a weakening parameter of the previous round of echo in the next round. 4.一种用于电梯轿厢的回音消除装置,使用如权利要求1所述的回音消除方法,其特征在于,包括:4. An echo cancellation device for an elevator car, using the echo cancellation method according to claim 1, characterized in that it comprises: 音频输入接口:用于接收远端音频信号;Audio input interface: used to receive remote audio signals; 扬声器:用于产生回音信号;Speaker: used to generate echo signal; 自适应滤波器:用于根据远端音频信号生成回音估计信号;Adaptive filter: used to generate an echo estimation signal based on the far-end audio signal; 麦克风:用于接收回音以及近端音频信号;Microphone: used to receive echo and near-end audio signals; MCU:用于存储回音消除算法,接收音频输入接口、扬声器、自适应滤波器和麦克风输出的各项音频信号进行处理,得到纯净回音;MCU: used to store the echo cancellation algorithm, receive and process the audio signals output by the audio input interface, speaker, adaptive filter and microphone to obtain a pure echo; 音频输出接口:用于输出纯净回音信号;Audio output interface: used to output pure echo signal; 所述扬声器与轿厢地面垂直,所述扬声器麦克风垂直摆放。The loudspeaker is perpendicular to the floor of the car, and the loudspeaker microphone is placed vertically. 5.根据权利要求4中所述的用于电梯轿厢的回音消除装置,其特征在于,还包括音频编码器和音频解码器,所述音频编码器将接收的音频信号解码成数字信号后发送至MCU处理,MCU处理完后的音频信号再由音频解码器解码后输出。5. According to the echo cancellation device for an elevator car as described in claim 4, it is characterized in that it also includes an audio encoder and an audio decoder, the audio encoder decodes the received audio signal into a digital signal and sends it to the MCU for processing, and the audio signal processed by the MCU is decoded by the audio decoder and output.
CN202010901443.3A 2020-09-01 2020-09-01 Echo elimination method and device for elevator car Active CN112037808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010901443.3A CN112037808B (en) 2020-09-01 2020-09-01 Echo elimination method and device for elevator car

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010901443.3A CN112037808B (en) 2020-09-01 2020-09-01 Echo elimination method and device for elevator car

Publications (2)

Publication Number Publication Date
CN112037808A CN112037808A (en) 2020-12-04
CN112037808B true CN112037808B (en) 2024-04-19

Family

ID=73587029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010901443.3A Active CN112037808B (en) 2020-09-01 2020-09-01 Echo elimination method and device for elevator car

Country Status (1)

Country Link
CN (1) CN112037808B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1687894A (en) * 2005-04-08 2005-10-26 北京中星微电子有限公司 Method for eliminating echo
CN1798217A (en) * 2004-12-14 2006-07-05 哈曼贝克自动系统-威美科公司 System for limiting receive audio
CN101179296A (en) * 2006-11-10 2008-05-14 索尼株式会社 Echo canceller and audio processing apparatus
CN101227761A (en) * 2006-11-07 2008-07-23 美商富迪科技股份有限公司 Sound processing device and method for automatic eliminating whistle
CN101262530A (en) * 2008-04-29 2008-09-10 中兴通讯股份有限公司 A device for eliminating echo of mobile terminal
CN101370323A (en) * 2007-08-15 2009-02-18 美商富迪科技股份有限公司 Apparatus capable of performing acoustic echo cancellation and a method thereof
CN101877750A (en) * 2009-04-28 2010-11-03 索尼公司 Echo removing apparatus, echo removing method, and communication apparatus
CN103999478A (en) * 2011-12-16 2014-08-20 高通股份有限公司 Optimizing audio processing functions by dynamically compensating for variable distances between speaker(s) and microphone(s) in an accessory device
CN104980601A (en) * 2014-04-02 2015-10-14 想象技术有限公司 Gain Control System And Method For Dynamically Tuning Echo Canceller
CN106297815A (en) * 2016-07-27 2017-01-04 武汉诚迈科技有限公司 A kind of method of echo cancellation in speech recognition scene
CN106657507A (en) * 2015-11-03 2017-05-10 中移(杭州)信息技术有限公司 Acoustic echo cancellation method and device
CN109688284A (en) * 2018-12-28 2019-04-26 广东美电贝尔科技集团股份有限公司 A kind of echo delay detection method
CN110310653A (en) * 2019-07-09 2019-10-08 杭州国芯科技股份有限公司 A Method of Echo Cancellation
CN110769352A (en) * 2018-07-25 2020-02-07 西安中兴新软件有限责任公司 Signal processing method and device and computer storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798217A (en) * 2004-12-14 2006-07-05 哈曼贝克自动系统-威美科公司 System for limiting receive audio
CN1687894A (en) * 2005-04-08 2005-10-26 北京中星微电子有限公司 Method for eliminating echo
CN101227761A (en) * 2006-11-07 2008-07-23 美商富迪科技股份有限公司 Sound processing device and method for automatic eliminating whistle
CN101179296A (en) * 2006-11-10 2008-05-14 索尼株式会社 Echo canceller and audio processing apparatus
CN101370323A (en) * 2007-08-15 2009-02-18 美商富迪科技股份有限公司 Apparatus capable of performing acoustic echo cancellation and a method thereof
CN101262530A (en) * 2008-04-29 2008-09-10 中兴通讯股份有限公司 A device for eliminating echo of mobile terminal
CN101877750A (en) * 2009-04-28 2010-11-03 索尼公司 Echo removing apparatus, echo removing method, and communication apparatus
CN103999478A (en) * 2011-12-16 2014-08-20 高通股份有限公司 Optimizing audio processing functions by dynamically compensating for variable distances between speaker(s) and microphone(s) in an accessory device
CN104980601A (en) * 2014-04-02 2015-10-14 想象技术有限公司 Gain Control System And Method For Dynamically Tuning Echo Canceller
CN110225214A (en) * 2014-04-02 2019-09-10 想象技术有限公司 Control method, attenuation units, system and the medium fed back to sef-adapting filter
CN106657507A (en) * 2015-11-03 2017-05-10 中移(杭州)信息技术有限公司 Acoustic echo cancellation method and device
CN106297815A (en) * 2016-07-27 2017-01-04 武汉诚迈科技有限公司 A kind of method of echo cancellation in speech recognition scene
CN110769352A (en) * 2018-07-25 2020-02-07 西安中兴新软件有限责任公司 Signal processing method and device and computer storage medium
CN109688284A (en) * 2018-12-28 2019-04-26 广东美电贝尔科技集团股份有限公司 A kind of echo delay detection method
CN110310653A (en) * 2019-07-09 2019-10-08 杭州国芯科技股份有限公司 A Method of Echo Cancellation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种计算复杂度低的双端通话检测算法;余力;;计算机工程与应用;20110601(第16期) *

Also Published As

Publication number Publication date
CN112037808A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN104158990B (en) Method and audio receiving circuit for processing audio signal
WO2020042706A1 (en) Deep learning-based acoustic echo cancellation method
CN103730125B (en) A kind of echo cancelltion method and equipment
US20090323924A1 (en) Acoustic echo suppression
CN1084978C (en) Echo canceller having kalman filter for optimal adaptation
CN112581973A (en) Voice enhancement method and system
CN1111973C (en) Improved Echo Canceller for Digital Cellular Applications
TWI506620B (en) Communication apparatus and voice processing method therefor
CN105391879A (en) Echo residue-free double-end communication robust acoustic echo elimination method
CN109273019B (en) Method for double talk detection for echo suppression and echo suppression
CN110191245B (en) An Adaptive Echo Cancellation Method Based on Time-varying Parameters
CN106653043B (en) Adaptive Beamforming Method for Reducing Speech Distortion
CN114302286B (en) A method, device, equipment and storage medium for reducing call noise
CN103369162A (en) Low complexity phone echo self-adaption eliminating method
CN106571147A (en) Method for suppressing acoustic echo of network telephone
CN106448695A (en) Double-end call robust variable-order variable-step-size affine projection method
CN116030823A (en) Voice signal processing method and device, computer equipment and storage medium
JP2010081004A (en) Echo canceler, communication apparatus and echo canceling method
CN111883155A (en) Echo cancellation method, device and storage medium
CN112929506A (en) Audio signal processing method and apparatus, computer storage medium, and electronic device
CN109215672B (en) Method, device and equipment for processing sound information
CN112037808B (en) Echo elimination method and device for elevator car
JP2005533427A (en) Echo canceller with model mismatch compensation
CN117437927A (en) Post-filtering method and system for voice enhancement network
EP4540818A1 (en) Audio signal processing method and system for echo mitigation using an echo reference derived from an internal sensor

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and device for echo cancellation in elevator cars

Granted publication date: 20240419

Pledgee: Zhejiang Hangzhou Yuhang Rural Commercial Bank Co.,Ltd. Science and Technology City Branch

Pledgor: HANGZHOU SUIFENG INFORMATION TECHNOLOGY CO.,LTD.

Registration number: Y2024980047530