JP4887181B2 - Echo prevention device and program - Google Patents

Echo prevention device and program Download PDF

Info

Publication number
JP4887181B2
JP4887181B2 JP2007050337A JP2007050337A JP4887181B2 JP 4887181 B2 JP4887181 B2 JP 4887181B2 JP 2007050337 A JP2007050337 A JP 2007050337A JP 2007050337 A JP2007050337 A JP 2007050337A JP 4887181 B2 JP4887181 B2 JP 4887181B2
Authority
JP
Japan
Prior art keywords
signal
echo
output
input
input signal
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
JP2007050337A
Other languages
Japanese (ja)
Other versions
JP2008219164A (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.)
On Semiconductor Trading Ltd
Original Assignee
On Semiconductor Trading 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 On Semiconductor Trading Ltd filed Critical On Semiconductor Trading Ltd
Priority to JP2007050337A priority Critical patent/JP4887181B2/en
Priority to TW096143645A priority patent/TW200830706A/en
Priority to US11/968,605 priority patent/US8467544B2/en
Priority to KR1020080003386A priority patent/KR100900659B1/en
Priority to EP08150199.1A priority patent/EP1944956B1/en
Priority to CN2008100028834A priority patent/CN101222243B/en
Publication of JP2008219164A publication Critical patent/JP2008219164A/en
Application granted granted Critical
Publication of JP4887181B2 publication Critical patent/JP4887181B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

本発明は、エコー防止装置及びプログラムに関する。   The present invention relates to an echo prevention device and a program.

近年、例えばイヤホンマイクが接続される携帯電話機やハンズフリー電話機などの通信機器においては、スピーカからマイクに回り込む音響結合や回路上の電気的反射等によって生じるエコーを防止するためのエコー防止装置が組み込まれているものがある。   In recent years, for example, in a communication device such as a mobile phone or a hands-free phone to which an earphone microphone is connected, an echo prevention device for preventing an echo caused by acoustic coupling or electrical reflection on a circuit from a speaker is incorporated. There is something that is.

例えば、特許文献1には、デジタル処理を用いてエコーを高精度にキャンセルするエコー防止装置が開示されている。図6は、DSP100を用いたエコー防止装置の一例を示す図である。図に示すように、携帯電話等で相手側から送信されてきた音声を示すアナログ信号は、ADコンバータ101に入力される。そして、ADコンバータ101によってデジタル変換された信号は、DSP100内のFIRフィルタ102,103で、夫々のフィルタ係数に基づいて畳み込み処理が施されて出力される。FIRフィルタ102から出力される信号は、DAコンバータ104に入力される。そして、DAコンバータ104によってアナログ変換された信号は、入出力端子105を介してイヤホンマイクに出力されるとともに、差動増幅回路106の一方の端子に入力される。また、FIRフィルタ103から出力される信号は、DAコンバータ107に入力される。そして、DAコンバータ107から出力される信号は、差動増幅回路106の他方の端子に入力される。そして、差動増幅回路106から出力される信号は、ADコンバータ108でデジタル信号に変換されてDSP100に入力される。   For example, Patent Document 1 discloses an echo prevention device that cancels echoes with high accuracy using digital processing. FIG. 6 is a diagram illustrating an example of an echo prevention apparatus using the DSP 100. As shown in the figure, an analog signal indicating voice transmitted from the other party using a mobile phone or the like is input to the AD converter 101. The signals digitally converted by the AD converter 101 are subjected to convolution processing by the FIR filters 102 and 103 in the DSP 100 based on the respective filter coefficients, and are output. A signal output from the FIR filter 102 is input to the DA converter 104. The signal analog-converted by the DA converter 104 is output to the earphone microphone via the input / output terminal 105 and is input to one terminal of the differential amplifier circuit 106. A signal output from the FIR filter 103 is input to the DA converter 107. The signal output from the DA converter 107 is input to the other terminal of the differential amplifier circuit 106. The signal output from the differential amplifier circuit 106 is converted into a digital signal by the AD converter 108 and input to the DSP 100.

ここで、DSP100は、DAコンバータ104にインパルスを出力した際のADコンバータ108の出力により、DAコンバータ104からADコンバータ108までのインパルス応答を取得する。また、DSP100は、DAコンバータ107にインパルスを出力した際のADコンバータ108の出力により、DAコンバータ107からADコンバータ108までのインパルス応答を取得する。そして、これらのインパルス応答に基づいてFIRフィルタ102,103のフィルタ係数を適切に設定することにより、ADコンバータ101に入力された信号によるエコーを差動増幅回路106で除去することができる。   Here, the DSP 100 acquires an impulse response from the DA converter 104 to the AD converter 108 based on the output of the AD converter 108 when the impulse is output to the DA converter 104. Further, the DSP 100 acquires an impulse response from the DA converter 107 to the AD converter 108 based on the output of the AD converter 108 when the impulse is output to the DA converter 107. Then, by appropriately setting the filter coefficients of the FIR filters 102 and 103 based on these impulse responses, the echo due to the signal input to the AD converter 101 can be removed by the differential amplifier circuit 106.

ADコンバータ108から出力された信号は、DSP100内の減算部110において適応フィルタ111の出力信号が減算されて出力される。この適応フィルタ111は、相手側から音声信号が送信されてきている状態において減算部110からの出力信号が所定レベル以下となるようにフィルタ係数を適応的に変化させることにより、差動増幅回路106で除去しきれなかったエコーを除去する。そして、減算部110から出力されるデジタル信号は、DSP100から出力された後に、DAコンバータ109でアナログ信号に変換されて、エコー防止装置の出力信号として出力される。
特開2006−304260号公報
The signal output from the AD converter 108 is output by subtracting the output signal of the adaptive filter 111 in the subtracting unit 110 in the DSP 100. The adaptive filter 111 adaptively changes the filter coefficient so that the output signal from the subtracting unit 110 is equal to or lower than a predetermined level in a state in which an audio signal is being transmitted from the other side, whereby the differential amplifier circuit 106. Echoes that could not be removed with are removed. The digital signal output from the subtracting unit 110 is output from the DSP 100, converted to an analog signal by the DA converter 109, and output as an output signal of the echo prevention device.
JP 2006-304260 A

このように、エコー防止装置においては、差動増幅回路106でエコーが除去された後に、DSP100内にて更にエコーの除去が行われる。例えば、電気的ノイズやイヤホンマイク装着者の周囲の騒音等の影響によりインパルス応答を精度良く取得できないと、差動増幅回路106において十分にエコーを除去することができない場合がある。このような場合、DSP100内における減算部110及び適応フィルタ111の動作により、差動増幅回路106で除去できなかったエコーが効果的に除去される。ところが、差動増幅回路106で十分にエコーを除去できている場合、減算部110及び適応フィルタ111の動作により却ってエコーを増加させてしまう場合がある。   Thus, in the echo prevention apparatus, after the echo is removed by the differential amplifier circuit 106, the echo is further removed in the DSP 100. For example, if the impulse response cannot be obtained with high accuracy due to the influence of electrical noise or noise around the earphone / microphone wearer, the differential amplifier circuit 106 may not be able to sufficiently remove the echo. In such a case, echoes that could not be removed by the differential amplifier circuit 106 are effectively removed by the operations of the subtractor 110 and the adaptive filter 111 in the DSP 100. However, when the differential amplifier circuit 106 can sufficiently remove the echo, the echo may be increased by the operations of the subtractor 110 and the adaptive filter 111.

そこで、本発明は、効果的にエコーを除去可能なエコー防止装置及びプログラムを提供することを目的とする。   Therefore, an object of the present invention is to provide an echo prevention apparatus and program capable of effectively removing echoes.

前記課題を解決するための本発明のエコー防止装置は、第1入力信号と、前記第1入力信号によるエコーを含む第2入力信号とが入力され、前記第1入力信号に基づいて、前記第2入力信号に含まれる前記エコーを除去または減衰した信号を出力するエコー除去部と、前記第2入力信号に含まれる前記エコーの信号レベルを検出するエコーレベル検出部と、前記エコーレベル検出部によって検出された前記エコーの前記信号レベルに基づいて、前記信号レベルが所定レベル以上の場合は前記エコー除去部から出力される前記エコーを除去または減衰した信号を出力し、前記信号レベルが前記所定レベル未満の場合は前記第2入力信号を出力する出力制御部と、を備えることとする。   An echo prevention apparatus according to the present invention for solving the above-described problems is provided with a first input signal and a second input signal including an echo generated by the first input signal, and the first input signal is used based on the first input signal. An echo removal unit that outputs a signal obtained by removing or attenuating the echo included in the two input signals, an echo level detection unit that detects a signal level of the echo included in the second input signal, and the echo level detection unit. Based on the signal level of the detected echo, when the signal level is equal to or higher than a predetermined level, a signal obtained by removing or attenuating the echo output from the echo removing unit is output, and the signal level is the predetermined level. If it is less, an output control unit that outputs the second input signal is provided.

また、本発明のプログラムは、CPUに、第1入力信号と、前記第1入力信号によるエコーを含む第2入力信号とが入力され、前記第1入力信号に基づいて、前記第2入力信号に含まれる前記エコーを除去または減衰した信号を出力する機能と、前記第2入力信号に含まれる前記エコーの信号レベルを検出する機能と、検出された前記エコーの前記信号レベルに基づいて、前記信号レベルが所定レベル以上の場合は前記エコーを除去または減衰した信号を出力し、前記信号レベルが前記所定レベル未満の場合は前記第2入力信号を出力する機能と、を実現させるためのものとする。   In the program of the present invention, a first input signal and a second input signal including an echo due to the first input signal are input to the CPU, and the second input signal is input to the CPU based on the first input signal. A function of outputting a signal in which the echo included is removed or attenuated, a function of detecting a signal level of the echo included in the second input signal, and the signal based on the signal level of the detected echo When the level is equal to or higher than a predetermined level, a signal in which the echo is removed or attenuated is output, and when the signal level is lower than the predetermined level, the second input signal is output. .

効果的にエコーを除去可能なエコー防止装置及びプログラムを提供することができる。   It is possible to provide an echo prevention apparatus and program capable of effectively removing echoes.

==全体構成==
まず、本発明の一実施形態であるエコー防止装置の構成について説明する。図1は、本実施形態のエコー防止装置の構成を示すブロック図である。エコー防止装置は、デジタル信号処理回路(DSP:Digital Signal Processor)3、ADコンバータ4,5、DAコンバータ6〜8、増幅回路9〜11、差動増幅回路12、入出力端子13を備えている。そして、エコー防止装置の外部には、入出力端子13に接続されるイヤホンマイク20と、エコー防止装置を統括制御するCPU(Central Processing Unit)25と、CPU25が読み書き可能なメモリ26と、学習ボタン27と、警告ランプ28とが設けられている。
== Overall structure ==
First, the configuration of an echo prevention apparatus according to an embodiment of the present invention will be described. FIG. 1 is a block diagram showing the configuration of the echo prevention apparatus of this embodiment. The echo prevention apparatus includes a digital signal processor (DSP) 3, AD converters 4 and 5, DA converters 6 to 8, amplifier circuits 9 to 11, a differential amplifier circuit 12, and an input / output terminal 13. . Outside the echo prevention device, there are an earphone microphone 20 connected to the input / output terminal 13, a CPU (Central Processing Unit) 25 for overall control of the echo prevention device, a memory 26 that can be read and written by the CPU 25, and a learning button. 27 and a warning lamp 28 are provided.

イヤホンマイク20は、入出力端子13から入力される音声信号に基づいて、振動板(不図示)を振動させることにより音声を発生するスピーカ機能を有する。また、イヤホンマイク20は、当該イヤホンマイク20を装着している者が音声を発したときの鼓膜の振動を振動板の振動に換えることにより音声信号を生成するマイク機能も有するものである。なお、このイヤホンマイク20は周知の技術であり、例えば特開2003−9272等に記載されている。そして、イヤホンマイク20により生成された音声信号が、入出力端子13を介してエコー防止装置に入力される。また、入出力端子13を介してイヤホンマイク20に出力された信号は反射されて入出力端子13からエコー防止装置に入力される。ここで、反射されてくる信号とは、例えば、イヤホンマイク20を通じて戻ってくる信号や、イヤホンマイク20から出力された音が耳の中で反射し、その反射音がイヤホンマイク20によって音声信号に変換された信号等である。なお、入出力端子13は、出力信号と入力信号が排他的に入出力されるものではない。例えば、入出力端子13は、出力信号と入力信号とが同時に入出力される場合もある。   The earphone microphone 20 has a speaker function that generates sound by vibrating a diaphragm (not shown) based on an audio signal input from the input / output terminal 13. The earphone microphone 20 also has a microphone function for generating an audio signal by replacing the vibration of the eardrum when the person wearing the earphone microphone 20 emits sound with the vibration of the diaphragm. The earphone microphone 20 is a well-known technique and is described in, for example, Japanese Patent Application Laid-Open No. 2003-9272. The audio signal generated by the earphone microphone 20 is input to the echo prevention device via the input / output terminal 13. The signal output to the earphone microphone 20 via the input / output terminal 13 is reflected and input from the input / output terminal 13 to the echo prevention device. Here, the reflected signal is, for example, a signal returned through the earphone microphone 20 or a sound output from the earphone microphone 20 reflected in the ear, and the reflected sound is converted into an audio signal by the earphone microphone 20. The converted signal or the like. The input / output terminal 13 does not exclusively input / output output signals and input signals. For example, the input / output terminal 13 may input / output an output signal and an input signal at the same time.

CPU25は、メモリ26に記憶されたプログラムを実行することにより、エコー防止装置を統括制御する。例えば、CPU25は、エコー防止装置を動作させるための電源投入を検出したときに、後述するインパルス応答に基づくフィルタ係数の設定処理を実行させるための指示信号をDSP3に出力する。また、例えば、エコー防止装置をリセットするためのリセット信号が入力されると、CPU25が前述の指示信号をDSP3に出力するようにすることもできる。   The CPU 25 performs overall control of the echo prevention device by executing a program stored in the memory 26. For example, when detecting the power-on for operating the echo prevention device, the CPU 25 outputs to the DSP 3 an instruction signal for executing a filter coefficient setting process based on an impulse response described later. Further, for example, when a reset signal for resetting the echo prevention device is input, the CPU 25 can output the instruction signal to the DSP 3.

メモリ26は、フラッシュメモリ等の不揮発性で書き込み可能な記憶領域であり、CPU25が実行するプログラムの他に、エコー防止装置を制御するために必要となる各種のデータを格納している。
学習ボタン27は、エコー防止装置にインパルス応答を取得させる指示をCPU25に伝えるためのものである。
The memory 26 is a non-volatile writable storage area such as a flash memory, and stores various data necessary for controlling the echo prevention apparatus in addition to the program executed by the CPU 25.
The learning button 27 is for instructing the CPU 25 to instruct the echo prevention apparatus to acquire an impulse response.

警告ランプ28は、LED(Light Emitting Diode)等により構成される発光装置であり、CPU25の制御により点灯または点滅する。例えば、エコー防止装置において精度良くエコーを除去できていない場合は、インパルス応答の再取得を促すために警告ランプ28が点灯されるようにすることができる。なお、警告ランプ28は、インパルス応答が取得されていない場合の警告用に限らず、電話や電子メールの着信の通知等にも兼用することができる。   The warning lamp 28 is a light emitting device configured by an LED (Light Emitting Diode) or the like, and is lit or blinks under the control of the CPU 25. For example, if the echo cannot be accurately removed by the echo prevention device, the warning lamp 28 can be turned on to prompt the reacquisition of the impulse response. The warning lamp 28 can be used not only for warning when an impulse response is not acquired, but also for notification of incoming calls and electronic mails.

DSP3は、入力端子30,31、出力端子32〜34、DSPコア40、RAM(Random Access Memory)41、ROM(Read Only Memory)42を含んで構成されている。また、DSP3は、FIRフィルタ50,51、インパルス応答取得部52、フィルタ係数設定部53、及びエコーキャンセラ(EC)54を備えている。これらのFIRフィルタ50,51、インパルス応答取得部52、フィルタ係数設定部53、及びエコーキャンセラ54は、DSPコア40がRAM41又はROM42に格納されたプログラムを実行することにより実現される。また、FIRフィルタ50,51のフィルタ係数は、RAM41に記憶される。なお、FIRフィルタ50が本発明の第1FIRフィルタに相当し、FIRフィルタ51が本発明の第2FIRフィルタに相当する。   The DSP 3 includes input terminals 30 and 31, output terminals 32 to 34, a DSP core 40, a RAM (Random Access Memory) 41, and a ROM (Read Only Memory) 42. The DSP 3 includes FIR filters 50 and 51, an impulse response acquisition unit 52, a filter coefficient setting unit 53, and an echo canceller (EC) 54. The FIR filters 50 and 51, the impulse response acquisition unit 52, the filter coefficient setting unit 53, and the echo canceller 54 are realized when the DSP core 40 executes a program stored in the RAM 41 or the ROM 42. The filter coefficients of the FIR filters 50 and 51 are stored in the RAM 41. The FIR filter 50 corresponds to the first FIR filter of the present invention, and the FIR filter 51 corresponds to the second FIR filter of the present invention.

ADコンバータ4には、例えば音声信号が入力される。そして、ADコンバータ4は、音声信号に対してアナログ・デジタル変換処理したデジタル信号を、入力端子30を介してDSP3に入力する。   For example, an audio signal is input to the AD converter 4. The AD converter 4 inputs a digital signal obtained by subjecting the audio signal to analog / digital conversion processing to the DSP 3 via the input terminal 30.

DSP3に入力されたデジタル信号は、FIRフィルタ50,51にそれぞれ入力される。FIRフィルタ50は、入力されるデジタル信号(第3入力信号)に対して当該FIRフィルタ50のフィルタ係数に基づいて畳み込み演算処理を施したデジタル信号(第1入力信号)を、エコーキャンセラ54を介して出力端子32に出力する。また同時に、FIRフィルタ51は、入力されるデジタル信号(第3入力信号)に対して当該FIRフィルタ51のフィルタ係数に基づいて畳み込み演算処理を施したデジタル信号(第1出力信号)を出力端子33に出力する。   The digital signal input to the DSP 3 is input to the FIR filters 50 and 51, respectively. The FIR filter 50 passes a digital signal (first input signal) obtained by performing convolution operation processing on the input digital signal (third input signal) based on the filter coefficient of the FIR filter 50 via the echo canceller 54. To output terminal 32. At the same time, the FIR filter 51 outputs a digital signal (first output signal) obtained by performing convolution operation processing on the input digital signal (third input signal) based on the filter coefficient of the FIR filter 51. Output to.

DAコンバータ6には、出力端子32を介して、FIRフィルタ50からの出力信号が入力される。そして、DAコンバータ6は、FIRフィルタ50からの出力信号に対してデジタル・アナログ変換処理したアナログ信号を増幅回路9に出力する。増幅回路9は、所定の増幅率にてアナログ信号を増幅して出力する。   The output signal from the FIR filter 50 is input to the DA converter 6 via the output terminal 32. The DA converter 6 then outputs an analog signal obtained by subjecting the output signal from the FIR filter 50 to digital / analog conversion processing to the amplifier circuit 9. The amplifying circuit 9 amplifies the analog signal with a predetermined amplification factor and outputs it.

DAコンバータ7には、出力端子33を介して、FIRフィルタ51からの出力信号が入力される。そして、DAコンバータ7は、FIRフィルタ51からの出力信号に対してデジタル・アナログ変換処理したアナログ信号を増幅回路11に出力する。増幅回路11は、所定の増幅率にてアナログ信号を増幅して差動増幅回路12の−入力端子に出力する。   An output signal from the FIR filter 51 is input to the DA converter 7 via the output terminal 33. The DA converter 7 then outputs an analog signal obtained by subjecting the output signal from the FIR filter 51 to digital / analog conversion processing to the amplifier circuit 11. The amplifier circuit 11 amplifies the analog signal at a predetermined amplification factor and outputs it to the negative input terminal of the differential amplifier circuit 12.

差動増幅回路12の+入力端子には、増幅回路9から出力されるアナログ信号と、入出力端子13から入力されるアナログ信号とを合わせた信号が入力され、−入力端子には、増幅回路11から出力されるアナログ信号が入力される。そして、差動増幅回路12は、+入力端子に入力されるアナログ信号と、−入力端子に入力されるアナログ信号との差分を増幅した信号を出力する。増幅回路10は、差動増幅回路12の出力信号を所定の増幅率で増幅して出力する。   A signal obtained by combining the analog signal output from the amplifier circuit 9 and the analog signal input from the input / output terminal 13 is input to the + input terminal of the differential amplifier circuit 12, and the amplifier circuit is connected to the − input terminal. The analog signal output from 11 is input. Then, the differential amplifier circuit 12 outputs a signal obtained by amplifying the difference between the analog signal input to the + input terminal and the analog signal input to the − input terminal. The amplifier circuit 10 amplifies the output signal of the differential amplifier circuit 12 with a predetermined amplification factor and outputs the amplified signal.

ADコンバータ5は、増幅回路10からのアナログ信号に対してアナログ・デジタル変換処理したデジタル信号を、入力端子31を介してDSP3に入力する。入力端子31を介して入力された信号は、エコーキャンセラ54でエコー除去処理が施されたうえで、出力端子34から出力される。DAコンバータ8には、出力端子34を介してDSP3から出力されるデジタル信号が入力される。そして、DAコンバータ8は、デジタル信号に対してデジタル・アナログ変換処理したアナログ信号を出力する。   The AD converter 5 inputs a digital signal obtained by performing analog-digital conversion processing on the analog signal from the amplifier circuit 10 to the DSP 3 via the input terminal 31. The signal input through the input terminal 31 is subjected to echo cancellation processing by the echo canceller 54 and then output from the output terminal 34. A digital signal output from the DSP 3 is input to the DA converter 8 via the output terminal 34. The DA converter 8 outputs an analog signal obtained by performing a digital / analog conversion process on the digital signal.

インパルス応答取得部52(信号応答特性取得部)は、FIRフィルタ50の出力にインパルスを発生させた際の入力端子31からのインパルス応答(第1信号応答特性)と、FIRフィルタ51の出力にインパルスを発生させた際の入力端子31からのインパルス応答(第2信号応答特性)とを取得する。フィルタ係数設定部53は、増幅回路9の出力信号と、増幅回路9の出力信号がイヤホンマイク20を介して反射されて戻ってくる信号とを合わせた信号(エコー)が、増幅回路11の出力信号を用いて差動増幅回路12で除去または減衰されるように、インパルス応答取得部52によって取得されたインパルス応答に基づいてFIRフィルタ50,51のフィルタ係数を設定する。   The impulse response acquisition unit 52 (signal response characteristic acquisition unit) outputs an impulse response (first signal response characteristic) from the input terminal 31 when an impulse is generated in the output of the FIR filter 50 and an impulse in the output of the FIR filter 51. The impulse response (second signal response characteristic) from the input terminal 31 at the time of generating is acquired. The filter coefficient setting unit 53 outputs a signal (echo) that combines the output signal of the amplifier circuit 9 and the signal that is returned from the output signal of the amplifier circuit 9 after being reflected through the earphone microphone 20. The filter coefficients of the FIR filters 50 and 51 are set based on the impulse response acquired by the impulse response acquisition unit 52 so that the signal is removed or attenuated by the differential amplifier circuit 12.

このようなエコー防止装置では、ADコンバータ4に入力された音声信号が、入出力端子13を介してイヤホンマイク20に出力され、イヤホンマイク20の振動板が振動して音声が出力される。また、ADコンバータ4に入力された音声信号により発生するエコーは差動増幅回路12及びエコーキャンセラ54によって除去または減衰される。なお、完全にエコーを除去できなかった場合は、減衰されたエコーを含む信号が出力されることとなる。そして、イヤホンマイク20を装着している者が音声を発すると、イヤホンマイク20の振動板が振動して音声信号が生成され、生成された音声信号が入出力端子13を介して入力され、相手側に送信される。なお、インパルス応答の取得およびフィルタ係数の設定については、例えば、特開2006−304260号公報に開示された方法と同様の方法により行うことができる。   In such an echo prevention device, the audio signal input to the AD converter 4 is output to the earphone microphone 20 via the input / output terminal 13, and the diaphragm of the earphone microphone 20 vibrates to output sound. The echo generated by the audio signal input to the AD converter 4 is removed or attenuated by the differential amplifier circuit 12 and the echo canceller 54. If the echo cannot be completely removed, a signal including an attenuated echo is output. When a person wearing the earphone microphone 20 utters a sound, the diaphragm of the earphone microphone 20 vibrates to generate a sound signal, and the generated sound signal is input via the input / output terminal 13, Sent to the side. The acquisition of the impulse response and the setting of the filter coefficient can be performed by a method similar to the method disclosed in Japanese Patent Application Laid-Open No. 2006-304260, for example.

==エコーキャンセラ==
次に、本実施形態のエコーキャンセラ54の詳細について説明する。図2は、本実施形態のエコーキャンセラ54の構成例を示すブロック図である。エコーキャンセラ54は、通話検出部70,71、エコーレベル検出部72、ノイズレベル記憶部73、減算部74、適応フィルタ75、スイッチ76、及び制御部77を含んで構成される。なお、減算部74及び適応フィルタ75が本発明のエコー除去部に相当する。
== Echo canceller ==
Next, details of the echo canceller 54 of the present embodiment will be described. FIG. 2 is a block diagram illustrating a configuration example of the echo canceller 54 according to the present embodiment. The echo canceller 54 includes call detection units 70 and 71, an echo level detection unit 72, a noise level storage unit 73, a subtraction unit 74, an adaptive filter 75, a switch 76, and a control unit 77. The subtracting unit 74 and the adaptive filter 75 correspond to the echo removing unit of the present invention.

通話検出部70には、FIRフィルタ50から出力される信号(第1入力信号)が入力される。通話検出部70は、FIRフィルタ50から出力される信号に基づいて、相手側から音声信号が送信されてきているかどうかを検出する。例えば、通話検出部70は、FIRフィルタ50から出力される信号の信号レベルが所定レベル以上であれば相手側から音声信号が送信されてきていると判定し、所定レベル未満であれば相手側から音声信号が送信されてきていないと判定する。また、FIRフィルタ50から出力される信号は、通話検出部70で検出処理が行われるとともに、出力端子32に出力される。   The call detection unit 70 receives a signal (first input signal) output from the FIR filter 50. The call detection unit 70 detects whether or not a voice signal is transmitted from the other party based on the signal output from the FIR filter 50. For example, if the signal level of the signal output from the FIR filter 50 is equal to or higher than a predetermined level, the call detecting unit 70 determines that a voice signal is being transmitted from the other side, and if the signal level is lower than the predetermined level, the other side. It is determined that no audio signal has been transmitted. The signal output from the FIR filter 50 is subjected to detection processing by the call detection unit 70 and is output to the output terminal 32.

通話検出部71には、減算部74から出力される信号が入力される。通話検出部71は、減算部74から出力される信号に基づいて、イヤホンマイク20装着者の発話状態を検出する。例えば、通話検出部71は、減算部74から出力される信号の信号レベルが所定レベル以上であればイヤホンマイク20の装着者が発話していると判定し、所定レベル未満であればイヤホンマイク20の装着者が発話していないと判定する。また、減算部74から出力される信号は、通話検出部71で検出処理が行われるとともに、出力端子34に出力される。   The call detection unit 71 receives a signal output from the subtraction unit 74. The call detection unit 71 detects the utterance state of the wearer of the earphone microphone 20 based on the signal output from the subtraction unit 74. For example, the call detection unit 71 determines that the wearer of the earphone microphone 20 is speaking if the signal level of the signal output from the subtraction unit 74 is equal to or higher than a predetermined level, and if less than the predetermined level, the earphone microphone 20 It is determined that the wearer is not speaking. The signal output from the subtracting unit 74 is detected by the call detecting unit 71 and output to the output terminal 34.

エコーレベル検出部72は、通話検出部70,71の検出結果に基づいて、音声信号の送受信が行われていない状態において、入力端子31から入力される信号の信号レベルを検出し、ノイズレベル記憶部73に記憶する。この状態において検出される信号レベルは、通話が行われていない状態において発生しているノイズのレベルを示すものとなる。また、エコーレベル検出部72は、通話検出部70,71の検出結果に基づいて、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において入力端子31から入力される信号(第2入力信号)の信号レベルを検出する。この状態において検出される信号レベルは、差動増幅回路12で除去しきれなかったエコーを含む信号のレベルを示すものとなる。そして、エコーレベル検出部72は、ノイズレベル記憶部73に記憶されたノイズレベルと、エコーを含む信号のレベルとの比較結果を制御部77に出力する。   The echo level detection unit 72 detects the signal level of the signal input from the input terminal 31 in a state in which no audio signal is transmitted / received based on the detection results of the call detection units 70 and 71, and stores the noise level. Store in the unit 73. The signal level detected in this state indicates the level of noise occurring in a state where no telephone call is being made. In addition, the echo level detection unit 72 receives an audio signal from the other party based on the detection results of the call detection units 70 and 71, and the input terminal 31 in a state where the wearer of the earphone microphone 20 is not speaking. The signal level of the signal (second input signal) input from is detected. The signal level detected in this state indicates the level of a signal including an echo that could not be removed by the differential amplifier circuit 12. Then, the echo level detection unit 72 outputs a comparison result between the noise level stored in the noise level storage unit 73 and the level of the signal including the echo to the control unit 77.

なお、本実施形態においては、エコーレベル検出部72は入力端子31から入力される信号の所定期間のパワーを信号レベルとして検出することとする。ただし、エコーレベル検出部72において検出される信号レベルはパワーに限らず、例えば、所定期間の最大振幅や所定期間の振幅の絶対値和等、信号のレベルの大小を示すことが可能なものであればよい。   In the present embodiment, the echo level detector 72 detects the power of a signal input from the input terminal 31 for a predetermined period as the signal level. However, the signal level detected by the echo level detection unit 72 is not limited to power, and can indicate the level of the signal level, such as the maximum amplitude of a predetermined period and the sum of absolute values of amplitudes of a predetermined period. I just need it.

減算部74は、入力端子31から入力される信号から、適応フィルタ75から出力される信号を減算して出力する。適応フィルタ75には、FIRフィルタ50から出力される信号と、減算部74の出力信号とが入力されている。そして、適応フィルタ75は、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において、減算部74から出力される信号が所定レベル以下となるようにフィルタ係数を適応的に変化させる。スイッチ76は、適応フィルタ75の出力信号を減算部74に出力するかどうかを制御するためのものである。なお、適応フィルタ75の構成及びフィルタ係数の設定動作については、例えば、特開2006−304260号公報に開示された適応フィルタの構成及び動作と同等とすることができる。   The subtracting unit 74 subtracts the signal output from the adaptive filter 75 from the signal input from the input terminal 31 and outputs the result. A signal output from the FIR filter 50 and an output signal of the subtracting unit 74 are input to the adaptive filter 75. Then, the adaptive filter 75 performs a filter so that the signal output from the subtracting unit 74 is equal to or lower than a predetermined level when a voice signal has been transmitted from the other party and the wearer of the earphone microphone 20 is not speaking. The coefficient is changed adaptively. The switch 76 is for controlling whether or not to output the output signal of the adaptive filter 75 to the subtracting unit 74. Note that the configuration of the adaptive filter 75 and the filter coefficient setting operation can be equivalent to the configuration and operation of the adaptive filter disclosed in, for example, Japanese Patent Application Laid-Open No. 2006-304260.

制御部77(出力制御部)は、通話検出部70,71の検出結果に基づいて、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において、適応フィルタ75にフィルタ係数の適応的な更新処理を実行させる。また、制御部77は、エコーレベル検出部72から出力される比較結果に基づいて、減算部74においてエコー除去を行うかどうかを制御する。具体的には、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において入力端子31から入力される信号に含まれるエコーが所定レベル以上である場合、制御部77は、スイッチ76をオンにすることにより減算部74でエコーの除去を行わせる(エコー除去処理をオンにする)。また、同様の状態において入力端子31から入力される信号に含まれるエコーが所定レベル未満である場合、制御部77は、スイッチ76をオフにすることにより減算部74でエコーの除去を行わせないようにする(エコー除去処理をオフにする)。なお、減算部74でのエコー除去が行われないようにする際に、スイッチ76をオフにするのではなく、適応フィルタ75のフィルタ係数を全てゼロにすることも可能である。また、制御部77は、エコーレベル検出部72から出力される比較結果に基づいて、入力端子31から入力される信号に含まれるエコーが非常に大きい場合には、警告ランプ28を点灯させるための警告信号をCPU25に出力する。   The control unit 77 (output control unit) is adapted in a state where a voice signal has been transmitted from the other party based on the detection results of the call detection units 70 and 71 and the wearer of the earphone microphone 20 is not speaking. The filter 75 is caused to execute an adaptive update process of the filter coefficient. Further, the control unit 77 controls whether or not echo removal is performed in the subtraction unit 74 based on the comparison result output from the echo level detection unit 72. Specifically, when an audio signal has been transmitted from the other party, and the echo included in the signal input from the input terminal 31 in a state where the wearer of the earphone microphone 20 is not speaking, is equal to or higher than a predetermined level, The control unit 77 turns on the switch 76 to cause the subtraction unit 74 to remove echo (turns on echo removal processing). In the same state, when the echo included in the signal input from the input terminal 31 is less than the predetermined level, the control unit 77 does not cause the subtraction unit 74 to remove the echo by turning off the switch 76. (Echo removal processing is turned off). Note that when the echo removal in the subtracting unit 74 is not performed, it is possible not to turn off the switch 76 but to set all the filter coefficients of the adaptive filter 75 to zero. Further, based on the comparison result output from the echo level detection unit 72, the control unit 77 turns on the warning lamp 28 when the echo included in the signal input from the input terminal 31 is very large. A warning signal is output to the CPU 25.

続いて、エコーキャンセラ54におけるエコー除去処理のオンオフ制御の詳細について説明する。図3は、本実施形態のエコーキャンセラ54におけるノイズのパワーを算出する処理の一例を示すフローチャートである。エコーレベル検出部72は、エコー防止装置の電源投入時等、通話検出部70,71の検出結果に基づいて、相手側から音声信号が送信されてきておらず、イヤホンマイク20の装着者が発話していない状態において、入力端子31から入力されるノイズのパワーNpを算出する(S301)。そして、エコーレベル検出部72は、算出されたノイズのパワーNpをノイズレベル記憶部73に記憶する(S302)。   Next, details of the on / off control of the echo removal processing in the echo canceller 54 will be described. FIG. 3 is a flowchart showing an example of processing for calculating the power of noise in the echo canceller 54 of the present embodiment. The echo level detection unit 72 does not transmit an audio signal from the other party based on the detection results of the call detection units 70 and 71 when the echo prevention device is turned on, and the wearer of the earphone microphone 20 speaks. In a state in which it is not performed, the power Np of noise input from the input terminal 31 is calculated (S301). Then, the echo level detection unit 72 stores the calculated noise power Np in the noise level storage unit 73 (S302).

図4は、本実施形態のエコーキャンセラ54におけるエコー除去処理のオンオフを決定する処理の一例を示すフローチャートである。エコーレベル検出部72は、通話検出部70,71の検出結果に基づいて、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において、入力端子31からの入力信号のパワーIpを算出する(S401)。そして、エコーレベル検出部72は、入力信号のパワーIpと、ノイズレベル記憶部73に記憶されているノイズのパワーNpとを比較し、比較結果を示す信号を制御部77に出力する(S402)。本実施形態では、ノイズのパワーNpに係数αを乗じた値と入力信号のパワーIpとの大小比較が行われることとする。なお、係数αは1より大きい数であり、ノイズのパワーNp及び入力信号のパワーIpの実測結果等に基づいて適切な値に設定される。   FIG. 4 is a flowchart showing an example of a process for determining on / off of the echo removal process in the echo canceller 54 of the present embodiment. Based on the detection results of the call detection units 70 and 71, the echo level detection unit 72 transmits an audio signal from the other party, and from the input terminal 31 when the wearer of the earphone microphone 20 is not speaking. The power Ip of the input signal is calculated (S401). Then, the echo level detection unit 72 compares the power Ip of the input signal with the noise power Np stored in the noise level storage unit 73, and outputs a signal indicating the comparison result to the control unit 77 (S402). . In the present embodiment, a value obtained by multiplying the noise power Np by a coefficient α and the power Ip of the input signal are compared. The coefficient α is a number greater than 1, and is set to an appropriate value based on the actual measurement results of the noise power Np and the input signal power Ip.

エコーレベル検出部72での比較結果がIp>αNpである場合、制御部77は、入力端子31からの入力信号に残存するエコーの量が多いと判断し、減算部74でのエコー除去処理をオンにする(S403)。また、エコーレベル検出部72での比較結果がIp≦αNpである場合、制御部77は、入力端子31からの入力信号に残存するエコーの量が少なく、差動増幅回路12で十分にエコーを除去できていると判断し、減算部74でのエコー除去処理をオフにする(S404)。そして、制御部77は、適応フィルタ75のフィルタ係数を全てゼロにすることによりエコー除去処理をオフにする場合は、DSP3における処理量が軽減されるため、DSP3の動作周波数を低下させる信号をCPU25に出力する。なお、適応フィルタ75のフィルタ係数の更新は継続したまたスイッチ76をオフにすることによってエコー除去処理をオフにする場合は、DSP3の動作周波数を低下させるための信号は出力されない。また、制御部77は、適応フィルタ75のフィルタ係数を全てゼロにするのではなく、フィルタ係数の更新を中止するとともにスイッチ76をオフにすることによってエコー除去処理をオフにする場合は、DSP3の動作周波数を低下させる信号をCPU25に出力する。   When the comparison result in the echo level detection unit 72 is Ip> αNp, the control unit 77 determines that the amount of echo remaining in the input signal from the input terminal 31 is large, and performs echo removal processing in the subtraction unit 74. Turn on (S403). Further, when the comparison result in the echo level detection unit 72 is Ip ≦ αNp, the control unit 77 has a small amount of echo remaining in the input signal from the input terminal 31, and the differential amplifier circuit 12 sufficiently echoes. It is determined that it has been removed, and the echo removal processing in the subtraction unit 74 is turned off (S404). When the echo canceling process is turned off by setting all the filter coefficients of the adaptive filter 75 to zero, the control unit 77 reduces the processing amount in the DSP 3, so that a signal for reducing the operating frequency of the DSP 3 is sent to the CPU 25. Output to. Note that the filter coefficient of the adaptive filter 75 has been continuously updated, and when the echo cancellation processing is turned off by turning off the switch 76, a signal for lowering the operating frequency of the DSP 3 is not output. Further, the control unit 77 does not set all the filter coefficients of the adaptive filter 75 to zero, but cancels the update of the filter coefficients and turns off the echo 76 by turning off the switch 76. A signal for lowering the operating frequency is output to the CPU 25.

さらに、エコーレベル検出部72での比較結果がIp≫αNpである場合、制御部77は、入力端子31からの入力信号に残存するエコーの量が非常に多いと判断し、警告ランプ28の点灯を指示する警告信号をCPU25に出力する(S406)。警告ランプ28が点灯することにより、イヤホンマイク20の装着者は、相手側に非常に大きいエコーが送信されていることを検知することができる。   Further, when the comparison result in the echo level detection unit 72 is Ip >> αNp, the control unit 77 determines that the amount of echo remaining in the input signal from the input terminal 31 is very large, and the warning lamp 28 is turned on. Is output to the CPU 25 (S406). When the warning lamp 28 is turned on, the wearer of the earphone microphone 20 can detect that a very large echo is transmitted to the other party.

警告ランプ28の点灯後、イヤホンマイク20の装着者によって学習ボタン27が押下されると(S407:YES)、インパルス応答取得部52がインパルス応答を再取得し(S408)、フィルタ係数設定部53が再取得されたインパルス応答に基づいてFIRフィルタ50,51のフィルタ係数を再設定する(S409)。FIRフィルタ50,51のフィルタ係数が再設定された後に、入力端子31からの入力信号のパワーIpの算出(S401)及びノイズのパワーNpとの比較(S402)が再度行われる。そして、制御部77において前述同様の判定が行われ、Ip>αNpであればエコー除去処理がオンとなり(S403)、Ip≦αNpであればエコー除去処理がオフとなる(S404)。その後、制御部77は警告ランプ28の消灯を指示する信号をCPU25に出力する(S410)。なお、制御部77は、警告ランプ28を点灯させることなく、インパルス応答取得部52にインパルス応答を再取得させ、フィルタ係数設定部53にFIRフィルタ50,51のフィルタ係数を再設定させることとしてもよい。   When the learning button 27 is pressed by the wearer of the earphone microphone 20 after the warning lamp 28 is turned on (S407: YES), the impulse response acquisition unit 52 reacquires the impulse response (S408), and the filter coefficient setting unit 53 Based on the re-acquired impulse response, the filter coefficients of the FIR filters 50 and 51 are reset (S409). After the filter coefficients of the FIR filters 50 and 51 are reset, the calculation of the power Ip of the input signal from the input terminal 31 (S401) and the comparison with the noise power Np (S402) are performed again. Then, the control unit 77 performs the same determination as described above. If Ip> αNp, the echo removal process is turned on (S403), and if Ip ≦ αNp, the echo removal process is turned off (S404). Thereafter, the control unit 77 outputs a signal instructing to turn off the warning lamp 28 to the CPU 25 (S410). The control unit 77 may cause the impulse response acquisition unit 52 to reacquire the impulse response without causing the warning lamp 28 to light, and cause the filter coefficient setting unit 53 to reset the filter coefficients of the FIR filters 50 and 51. Good.

また、警告ランプ28の点灯後、所定時間が経過しても学習ボタン27が押下されない場合(S407:NO)、制御部77は、減算部74でのエコー除去処理をオンにし(S411)、警告ランプ28の消灯を指示する(S410)。   If the learning button 27 is not pressed even after a predetermined time has elapsed after the warning lamp 28 is turned on (S407: NO), the control unit 77 turns on the echo removal processing in the subtraction unit 74 (S411), and the warning is performed. The lamp 28 is instructed to be turned off (S410).

図5は、本実施形態のエコーキャンセラ54の他の構成例を示すブロック図である。エコーキャンセラ54は、図2に示した構成におけるスイッチ76の代わりにスイッチ78を備えている。   FIG. 5 is a block diagram showing another configuration example of the echo canceller 54 of the present embodiment. The echo canceller 54 includes a switch 78 instead of the switch 76 in the configuration shown in FIG.

エコーレベル検出部72は、図2に示した構成の場合と同様に、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において、入力端子31から入力される信号(第2入力信号)の信号レベルIpを検出する。また、エコーレベル検出部72は、通話検出部70,71の検出結果に基づいて、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において、減算部74から出力される信号の信号レベルSpを検出する。そして、エコーレベル検出部72は、入力端子31から入力される信号の信号レベルと、減算部74から出力される信号の信号レベルとの比較結果、すなわち、減算部74でのエコー除去の度合いを示す信号を制御部77に出力する。   As in the case of the configuration shown in FIG. 2, the echo level detector 72 receives an input from the input terminal 31 when a voice signal is transmitted from the other party and the wearer of the earphone microphone 20 is not speaking. The signal level Ip of the signal to be transmitted (second input signal) is detected. The echo level detection unit 72 is a subtraction unit in a state where a voice signal has been transmitted from the other party based on the detection results of the call detection units 70 and 71 and the wearer of the earphone microphone 20 is not speaking. The signal level Sp of the signal output from 74 is detected. Then, the echo level detection unit 72 compares the signal level of the signal input from the input terminal 31 with the signal level of the signal output from the subtraction unit 74, that is, the degree of echo removal in the subtraction unit 74. The signal shown in FIG.

なお、図2に示す構成の場合と同様に、本実施形態においては、エコーレベル検出部72は信号の所定期間のパワーを信号レベルとして検出することとする。ただし、エコーレベル検出部72において検出される信号レベルはパワーに限らず、例えば、所定期間の最大振幅や所定期間の振幅の絶対値和等、信号のレベルの大小を示すことが可能なものであればよい。   As in the case of the configuration shown in FIG. 2, in the present embodiment, the echo level detection unit 72 detects the power of a signal for a predetermined period as a signal level. However, the signal level detected by the echo level detection unit 72 is not limited to power, and can indicate the level of the signal level, such as the maximum amplitude of a predetermined period and the sum of absolute values of amplitudes of a predetermined period. I just need it.

制御部77は、通話検出部70,71の検出結果に基づいて、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において、適応フィルタ75にフィルタ係数の適応的な更新処理を実行させる。また、制御部77は、エコーレベル検出部72から出力されるエコー除去の度合いに基づいて、減算部74においてエコー除去を行うかどうかを制御する。具体的には、相手側から音声信号が送信されてきており、イヤホンマイク20の装着者が発話していない状態において、エコー除去の程度が所定レベルより高い場合(Ip>αSp)、スイッチ78をA側に切り替えることにより、入力端子31から入力された信号が減算部74でエコーが除去または減衰されて出力されることとなる。また、同様の状態においてエコー除去の程度が所定レベルより低い場合(Ip≦αSp)、制御部77は、スイッチ78をB側に切り替えることにより、入力端子31から入力された信号が減算部74でエコーが除去または減衰されることなく出力されることとなる。   Based on the detection results of the call detection units 70 and 71, the control unit 77 transmits a voice signal from the other party and the filter coefficient is applied to the adaptive filter 75 in a state where the wearer of the earphone microphone 20 is not speaking. To perform an adaptive update process. Further, the control unit 77 controls whether or not echo removal is performed in the subtraction unit 74 based on the degree of echo removal output from the echo level detection unit 72. Specifically, when an audio signal has been transmitted from the other party and the wearer of the earphone microphone 20 is not speaking, if the degree of echo removal is higher than a predetermined level (Ip> αSp), the switch 78 is turned on. By switching to the A side, the signal input from the input terminal 31 is output after the echo is removed or attenuated by the subtractor 74. In the same state, when the degree of echo removal is lower than a predetermined level (Ip ≦ αSp), the control unit 77 switches the switch 78 to the B side so that the signal input from the input terminal 31 is output from the subtraction unit 74. The echo is output without being removed or attenuated.

また、スイッチ78がB側に切り替えられる際には、制御部77は、適応フィルタ75のフィルタ係数の適応的な更新を中止することも可能である。また、制御部77は、スイッチ78をA側にしたまま、適応フィルタ75のフィルタ係数を全てゼロとすることにより、減算部74においてエコーが除去または減衰されないようにすることもできる。そして、制御部77は、適応フィルタ75のフィルタ係数の適応的な更新を中止する場合(フィルタ係数を全てゼロとする場合も含む)、DSP3における処理量が軽減されるため、DSP3の動作周波数を低下させる信号をCPU25に出力する。   In addition, when the switch 78 is switched to the B side, the control unit 77 can stop the adaptive update of the filter coefficient of the adaptive filter 75. Further, the control unit 77 can prevent the echo from being removed or attenuated in the subtraction unit 74 by setting all the filter coefficients of the adaptive filter 75 to zero while keeping the switch 78 on the A side. Then, when the adaptive update of the filter coefficient of the adaptive filter 75 is stopped (including the case where all the filter coefficients are zero), the control unit 77 reduces the processing amount in the DSP 3, so that the operating frequency of the DSP 3 is reduced. A signal to be lowered is output to the CPU 25.

なお、スイッチ78がB側に切り替えられる際に、適応フィルタ75のフィルタ係数の適応的な更新を継続することも可能である。この場合、エコーレベル検出部10においてエコー除去の度合いの検出が継続して行われ、エコー除去の度合いが所定レベル以上となるとスイッチ78がA側に切り替えられることとなる。つまり、減算部74におけるエコー除去の度合いが改善されると減算部74でエコーが除去または減衰された信号が出力されることとなり、効果的にエコーを除去することが可能となる。   When the switch 78 is switched to the B side, the adaptive update of the filter coefficient of the adaptive filter 75 can be continued. In this case, the echo level detection unit 10 continuously detects the degree of echo removal, and the switch 78 is switched to the A side when the degree of echo removal exceeds a predetermined level. That is, when the degree of echo removal in the subtraction unit 74 is improved, a signal from which the echo is removed or attenuated in the subtraction unit 74 is output, and the echo can be effectively removed.

以上、本発明の実施形態について説明した。前述したように、本実施形態のエコー防止装置では、入力端子31からの入力信号の信号レベルに基づいて、差動増幅回路12でエコーが十分に除去されていると判定される場合は(Ip≦αNp)、DSP3内のエコー除去処理が行われず、エコーの除去が不十分であると判定される場合は(Ip>αNp)、DSP3内のエコー除去処理が行われる。これにより、差動増幅回路12でエコーの除去が十分に行われている場合は、DSP3内でエコー除去処理が行われることによるエコーの増加が抑制され、効果的にエコーを除去することが可能となる。また、差動増幅回路12でエコーを十分に除去できていない場合は、DSP3内でエコー除去処理が行われることにより、効果的にエコーを除去することが可能となる。   The embodiment of the present invention has been described above. As described above, in the echo preventing apparatus of this embodiment, when it is determined that the echo is sufficiently removed by the differential amplifier circuit 12 based on the signal level of the input signal from the input terminal 31 (Ip ≦ αNp) If the echo removal process in the DSP 3 is not performed and it is determined that the echo removal is insufficient (Ip> αNp), the echo removal process in the DSP 3 is performed. As a result, when the echo is sufficiently removed by the differential amplifier circuit 12, an increase in echo due to the echo removal processing being performed in the DSP 3 is suppressed, and the echo can be effectively removed. It becomes. If the differential amplifier circuit 12 cannot sufficiently remove the echo, the echo can be effectively removed by performing the echo removal processing in the DSP 3.

また、本実施形態のエコー防止装置では、適応フィルタ75のフィルタ係数の適応的な更新を中止するとともに入力端子31から入力される信号を出力端子34に出力することにより、DSP3内でのエコー除去処理が行われないようにすることができる。この場合、減算部74の出力信号に応じて適応的にフィルタ係数を更新する必要がなくなり、エコーキャンセラ54の処理量が軽減され、消費電力を抑えることが可能となる。   Further, in the echo preventing apparatus of the present embodiment, the echo update in the DSP 3 is canceled by stopping the adaptive update of the filter coefficient of the adaptive filter 75 and outputting the signal input from the input terminal 31 to the output terminal 34. Processing can be prevented. In this case, it is not necessary to adaptively update the filter coefficient according to the output signal of the subtracting unit 74, the processing amount of the echo canceller 54 is reduced, and the power consumption can be suppressed.

そして、本実施形態のエコー防止装置では、適応フィルタ75のフィルタ係数を全てゼロにすることにより、DSP3内でのエコー除去処理が行われないようにすることができる。この場合、スイッチ76はオンとしたまま、DSP3内でのエコー除去処理が行われないようにすることができる。   In the echo preventing apparatus of this embodiment, the echo removal processing in the DSP 3 can be prevented from being performed by setting all the filter coefficients of the adaptive filter 75 to zero. In this case, the echo removal processing in the DSP 3 can be prevented from being performed while the switch 76 is kept on.

さらに、適応フィルタ75のフィルタ係数の適応的な更新を中止する際には、処理量の軽減に合わせてDSP3の動作周波数を低下させることにより、さらなる消費電力の抑制が可能となる。 また、本実施形態のエコー防止装置では、適応フィルタ75のフィルタ係数の更新処理は継続させたまま、スイッチ76をオフにすることによってDSP3内でのエコー除去処理をオフにすることもできる。この場合、適応フィルタ75のフィルタ係数の更新処理が継続されているため、スイッチ76がオフからオンに変わるとすぐに効果的にエコーを除去することが可能となる。 また、本実施形態のエコー防止装置では、入力端子31からの入力信号の信号レベルと、減算部74から出力される信号の信号レベルとに基づいて、減算部74におけるエコー除去の程度が所定レベルより高い場合(Ip>αSp)、減算部74でエコーが除去または減衰された信号が出力され、エコー除去の程度が所定レベルより低い場合(Ip≦αSp)、入力端子31からの入力信号がそのまま出力される。つまり、DSP3内でのエコー除去処理にある程度の効果がある場合に限ってDSP3内でのエコー除去処理が有効となり、効果的にエコーを除去することが可能となる。   Furthermore, when the adaptive update of the filter coefficient of the adaptive filter 75 is stopped, the power consumption can be further suppressed by reducing the operating frequency of the DSP 3 in accordance with the reduction of the processing amount. Further, in the echo preventing apparatus of the present embodiment, the echo removal processing in the DSP 3 can be turned off by turning off the switch 76 while the update processing of the filter coefficient of the adaptive filter 75 is continued. In this case, since the filter coefficient updating process of the adaptive filter 75 is continued, the echo can be effectively removed as soon as the switch 76 changes from off to on. Further, in the echo preventing apparatus of the present embodiment, the degree of echo removal in the subtracting unit 74 is a predetermined level based on the signal level of the input signal from the input terminal 31 and the signal level of the signal output from the subtracting unit 74. If higher (Ip> αSp), a signal from which echo is removed or attenuated by the subtractor 74 is output, and if the degree of echo removal is lower than a predetermined level (Ip ≦ αSp), the input signal from the input terminal 31 remains unchanged. Is output. That is, the echo removal processing in the DSP 3 is effective only when the echo removal processing in the DSP 3 has a certain effect, and the echo can be effectively removed.

また、本実施形態のエコー防止装置では、減算部74におけるエコー除去の程度が所定レベルより低い場合に、適応フィルタ75のフィルタ係数の適応的な更新を中止するとともにスイッチ78をB側に切り替えることにより、DSP3内でのエコー除去処理が行われないようにすることができる。この場合、減算部74の出力信号に応じて適応的にフィルタ係数を更新する必要がなくなり、エコーキャンセラ54の処理量が軽減され、消費電力を抑えることが可能となる。   Further, in the echo preventing apparatus of the present embodiment, when the degree of echo removal in the subtracting unit 74 is lower than a predetermined level, the adaptive updating of the filter coefficient of the adaptive filter 75 is stopped and the switch 78 is switched to the B side. Thus, it is possible to prevent the echo removal processing in the DSP 3 from being performed. In this case, it is not necessary to adaptively update the filter coefficient according to the output signal of the subtracting unit 74, the processing amount of the echo canceller 54 is reduced, and the power consumption can be suppressed.

また、本実施形態のエコー防止装置では、減算部74におけるエコー除去の程度が所定レベルより低い場合に、適応フィルタ75のフィルタ係数を全てゼロにすることにより、DSP3内でのエコー除去処理が行われないようにすることができる。この場合、スイッチ78をA側としたまま、DSP3内でのエコー除去処理が行われないようにすることができる。   Further, in the echo prevention apparatus of the present embodiment, when the degree of echo removal in the subtraction unit 74 is lower than a predetermined level, the echo removal processing in the DSP 3 is performed by setting all the filter coefficients of the adaptive filter 75 to zero. You can prevent it from being broken. In this case, the echo removal processing in the DSP 3 can be prevented from being performed while the switch 78 is set to the A side.

さらに、減算部74におけるエコー除去の程度が所定レベルより低く、適応フィルタ75のフィルタ係数の適応的な更新を中止する際には、処理量の軽減に合わせてDSP3の動作周波数を低下させることにより、さらなる消費電力の抑制が可能となる。   Furthermore, when the degree of echo removal in the subtracting unit 74 is lower than a predetermined level and the adaptive update of the filter coefficient of the adaptive filter 75 is stopped, the operating frequency of the DSP 3 is reduced in accordance with the reduction of the processing amount. Further power consumption can be suppressed.

また、本実施形態のエコー防止装置では、減算部74におけるエコー除去の程度が所定レベルより低い場合に、適応フィルタ75のフィルタ係数の更新処理は継続させたまま、スイッチ78をB側に切り替えることによってDSP3内でのエコー除去処理をオフにすることもできる。この場合、適応フィルタ75のフィルタ係数の更新処理が継続されているため、減算部74におけるエコーの除去の度合いが改善されると、減算部74でエコーが除去または減衰された信号が出力されることとなり、効果的にエコーを除去することが可能となる。   Further, in the echo preventing apparatus of the present embodiment, when the degree of echo removal in the subtracting unit 74 is lower than a predetermined level, the switch 78 is switched to the B side while the filter coefficient update processing of the adaptive filter 75 is continued. The echo removal processing in the DSP 3 can also be turned off. In this case, since the filter coefficient updating process of the adaptive filter 75 is continued, if the degree of echo removal in the subtraction unit 74 is improved, a signal in which the echo is removed or attenuated by the subtraction unit 74 is output. As a result, the echo can be effectively removed.

また、本実施形態のエコー防止装置では、入力端子31からの入力信号に含まれるエコーが非常に大きい場合(Ip≫αNp)、インパルス応答の再取得及びFIRフィルタ50,51のフィルタ係数の再設定が行われる。つまり、例えばノイズの影響等により、取得されたインパルス応答の精度が悪く、エコーの除去を効果的に行えていない場合には、インパルス応答の再取得及びフィルタ係数の再設定が行われることとなり、エコーを効果的に除去することが可能となる。   Further, in the echo preventing apparatus of this embodiment, when the echo included in the input signal from the input terminal 31 is very large (Ip >> αNp), the impulse response is reacquired and the filter coefficients of the FIR filters 50 and 51 are reset. Is done. That is, for example, when the accuracy of the acquired impulse response is poor due to the influence of noise or the like and the echo cannot be removed effectively, the impulse response is reacquired and the filter coefficient is reset, Echo can be effectively removed.

また、本実施形態のエコー防止装置では、入力端子31からの入力信号に含まれるエコーが非常に大きい場合(Ip≫αNp)、警告ランプ28を点灯させることができる。これにより、イヤホンマイク20の装着者は相手側に非常に大きなエコーが送信されていることを気づくことができ、学習ボタン27の押下等によるインパルス応答の再取得及びFIRフィルタ50,51のフィルタ係数の再設定を促すことができる。なお、非常に大きなエコーが発生していることをイヤホンマイク20の装着者に検知させるための手段は、警告ランプ28を点灯させることに限られない。例えば、警告ランプ28を点灯状態から点滅状態に変化させることとしてもよいし、警告ランプ28の点灯色を変化させることとしてもよい。また、例えば、警告音を出力することとしてもよい。   Further, in the echo preventing apparatus of the present embodiment, when the echo included in the input signal from the input terminal 31 is very large (Ip >> αNp), the warning lamp 28 can be turned on. As a result, the wearer of the earphone microphone 20 can notice that a very large echo is transmitted to the other party, re-acquisition of the impulse response by pressing the learning button 27, and the filter coefficients of the FIR filters 50 and 51. Can be urged to reset. Note that the means for causing the wearer of the earphone microphone 20 to detect that a very large echo is generated is not limited to lighting the warning lamp 28. For example, the warning lamp 28 may be changed from a lighting state to a blinking state, or the lighting color of the warning lamp 28 may be changed. For example, a warning sound may be output.

なお、前述した実施形態及び適用例は本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物も含まれる。   The embodiments and application examples described above are intended to facilitate understanding of the present invention, and are not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and the present invention includes equivalents thereof.

例えば、本実施形態では、インパルスを発生させることにより得られるインパルス応答をFIRフィルタのフィルタ係数に設定することとしたが、フィルタ係数を設定するために用いる信号はインパルスに限られない。例えば、ステップ信号を発生させた際に得られる応答信号に基づいてFIRフィルタのフィルタ係数を設定することとしてもよい。   For example, in this embodiment, the impulse response obtained by generating the impulse is set as the filter coefficient of the FIR filter, but the signal used for setting the filter coefficient is not limited to the impulse. For example, the filter coefficient of the FIR filter may be set based on the response signal obtained when the step signal is generated.

また、本実施形態では、イヤホンマイク20とともに用いるエコー防止装置について説明したが、エコー防止装置はイヤホンマイク20に限らず、相手側から送信されてくる音声信号によって相手側にエコーが送り返される装置であれば適用可能である。例えば、電話機をハンズフリーモードで使用する場合において、電話機のスピーカから出力される音声が電話機のマイクから入力されることによって相手側にエコーが送信されてしまうような構成においても、エコー防止装置を適用することが可能である。   Moreover, although this embodiment demonstrated the echo prevention apparatus used with the earphone microphone 20, an echo prevention apparatus is not only the earphone microphone 20, but an apparatus in which an echo is sent back to the other party side by an audio signal transmitted from the other party side. Applicable if available. For example, when the telephone is used in the hands-free mode, the echo prevention device can be used even in a configuration in which the sound output from the telephone speaker is input from the telephone microphone and the echo is transmitted to the other party. It is possible to apply.

本実施形態のエコー防止装置の構成を示すブロック図である。It is a block diagram which shows the structure of the echo prevention apparatus of this embodiment. 本実施形態のエコーキャンセラの構成例を示すブロック図である。It is a block diagram which shows the structural example of the echo canceller of this embodiment. 本実施形態のエコーキャンセラにおけるノイズのパワーを算出する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process which calculates the power of the noise in the echo canceller of this embodiment. 本実施形態のエコーキャンセラにおけるエコー除去処理のオンオフを決定する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process which determines ON / OFF of the echo removal process in the echo canceller of this embodiment. 本実施形態のエコーキャンセラの他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of the echo canceller of this embodiment. DSPを用いたエコー防止装置の一例を示す図である。It is a figure which shows an example of the echo prevention apparatus using DSP.

符号の説明Explanation of symbols

3 DSP
4,5 ADコンバータ
6〜8 DAコンバータ
9〜11 増幅回路
12 差動増幅回路
13 入出力端子
20 イヤホンマイク
25 CPU
26 メモリ
27 学習ボタン
28 警告ランプ
30,31 入力端子
32〜34 出力端子
40 DSPコア
41 RAM
42 ROM
50,51 FIRフィルタ
52 インパルス応答取得部
53 フィルタ係数設定部
54 エコーキャンセラ
70,71 通話検出部
72 エコーレベル検出部
73 ノイズレベル記憶部
74 減算部
75 適応フィルタ
76,78 スイッチ
77 制御部
3 DSP
4,5 AD converter 6-8 DA converter 9-11 Amplifier circuit 12 Differential amplifier circuit 13 Input / output terminal 20 Earphone microphone 25 CPU
26 Memory 27 Learning button 28 Warning lamp 30, 31 Input terminal 32-34 Output terminal 40 DSP core 41 RAM
42 ROM
50, 51 FIR filter 52 Impulse response acquisition unit 53 Filter coefficient setting unit 54 Echo canceller 70, 71 Call detection unit 72 Echo level detection unit 73 Noise level storage unit 74 Subtraction unit 75 Adaptive filter 76, 78 Switch 77 Control unit

Claims (9)

第1入力信号と、前記第1入力信号によるエコーを含む第2入力信号とが入力され、前記第1入力信号に基づいて、前記第2入力信号に含まれる前記エコーを除去または減衰した信号を出力するエコー除去部と、
前記第2入力信号に含まれる前記エコーの信号レベルを検出するエコーレベル検出部と、
前記エコーレベル検出部によって検出された前記エコーの前記信号レベルに基づいて、前記信号レベルが所定レベル以上の場合は前記エコー除去部から出力される前記信号を出力し、前記信号レベルが前記所定レベル未満の場合は前記第2入力信号を出力する出力制御部と、
を備えることを特徴とするエコー防止装置。
A first input signal and a second input signal including an echo generated by the first input signal are input, and a signal obtained by removing or attenuating the echo included in the second input signal based on the first input signal. An echo canceler to output,
An echo level detector for detecting a signal level of the echo included in the second input signal;
Based on the signal level of the echo detected by the echo level detection unit, the signal output from the echo removal unit is output when the signal level is equal to or higher than a predetermined level, and the signal level is the predetermined level An output control unit that outputs the second input signal if less than,
An echo prevention apparatus comprising:
請求項1に記載のエコー防止装置であって、
前記エコー除去部は、
前記第1入力信号が入力される適応フィルタと、
前記第2入力信号から前記適応フィルタの出力信号を減算して出力する減算部と、
を備え、
前記適応フィルタは、前記第1入力信号と前記減算部の出力信号とに基づいて、前記減算部の出力信号を前記第2入力信号に含まれる前記エコーを除去または減衰した信号とすべくフィルタ係数を適応的に更新可能であり、
前記出力制御部は、
前記エコーの前記信号レベルが前記所定レベル未満の場合は、前記適応フィルタの前記フィルタ係数の適応的な更新を中止するとともに、前記第2入力信号を出力すること、
を特徴とするエコー防止装置。
The echo prevention device according to claim 1,
The echo removing unit
An adaptive filter to which the first input signal is input;
A subtractor that subtracts and outputs the output signal of the adaptive filter from the second input signal;
With
Based on the first input signal and the output signal of the subtraction unit, the adaptive filter uses a filter coefficient to make the output signal of the subtraction unit a signal obtained by removing or attenuating the echo included in the second input signal. Can be updated adaptively,
The output control unit
If the signal level of the echo is less than the predetermined level, stop the adaptive update of the filter coefficient of the adaptive filter and output the second input signal;
Echo prevention device characterized by.
請求項2に記載のエコー防止装置であって、
前記出力制御部は、
前記エコーの前記信号レベルが前記所定レベル未満の場合は、前記適応フィルタのフィルタ係数をゼロに設定することにより、前記減算部の前記出力信号を前記第2入力信号として出力すること、
を特徴とするエコー防止装置。
The echo prevention device according to claim 2,
The output control unit
When the signal level of the echo is less than the predetermined level, the filter coefficient of the adaptive filter is set to zero, thereby outputting the output signal of the subtractor as the second input signal;
Echo prevention device characterized by.
請求項2又は3に記載のエコー防止装置であって、
前記出力制御部は、
前記エコーの前記信号レベルが前記所定レベル未満の場合は、前記適応フィルタの前記フィルタ係数の適応的な更新を中止するとともに、前記エコー防止装置の動作周波数を低下させること、
を特徴とするエコー防止装置。
The echo prevention device according to claim 2 or 3,
The output control unit
When the signal level of the echo is less than the predetermined level, the adaptive updating of the filter coefficient of the adaptive filter is stopped, and the operating frequency of the echo prevention device is reduced,
Echo prevention device characterized by.
請求項1に記載のエコー防止装置であって、
前記エコー除去部は、
前記第1入力信号が入力される適応フィルタと、
前記第2入力信号から前記適応フィルタの出力信号を減算して出力する減算部と、
を備え、
前記適応フィルタは、前記第1入力信号と前記減算部の出力信号とに基づいて、前記減算部の出力信号を前記第2入力信号に含まれる前記エコーを除去または減衰した信号とすべくフィルタ係数を適応的に更新可能であり、
前記出力制御部は、
前記エコーの前記信号レベルが前記所定レベル未満の場合は、前記適応フィルタに前記フィルタ係数を適応的に更新させるとともに、前記第2入力信号を出力すること、
を特徴とするエコー防止装置。
The echo prevention device according to claim 1,
The echo removing unit
An adaptive filter to which the first input signal is input;
A subtractor that subtracts and outputs the output signal of the adaptive filter from the second input signal;
With
Based on the first input signal and the output signal of the subtraction unit, the adaptive filter uses a filter coefficient to make the output signal of the subtraction unit a signal obtained by removing or attenuating the echo included in the second input signal. Can be updated adaptively,
The output control unit
If the signal level of the echo is less than the predetermined level, the adaptive filter adaptively updates the filter coefficient and outputs the second input signal;
Echo prevention device characterized by.
請求項1に記載のエコー防止装置であって、
前記エコーレベル検出部は、
前記エコー除去部から出力される前記信号に含まれるエコーの信号レベルをさらに検出し、
前記出力制御部は、
前記第2入力信号に含まれる前記エコーの信号レベルと、前記エコー除去部から出力される前記信号に含まれる前記エコーの信号レベルとに基づいて、前記エコー除去部においてエコーが除去または減衰される度合いが所定レベル以上の場合は前記エコー除去部から出力される前記信号を出力し、前記度合いが前記所定レベル未満の場合は前記第2入力信号を出力すること、
を特徴とするエコー防止装置。
The echo prevention device according to claim 1,
The echo level detector is
Further detecting the signal level of the echo included in the signal output from the echo removing unit,
The output control unit
Based on the signal level of the echo included in the second input signal and the signal level of the echo included in the signal output from the echo removal unit, the echo is removed or attenuated in the echo removal unit. When the degree is equal to or higher than a predetermined level, the signal output from the echo removing unit is output, and when the degree is lower than the predetermined level, the second input signal is output.
Echo prevention device characterized by.
請求項6に記載のエコー防止装置であって、
前記エコー除去部は、
前記第1入力信号が入力される適応フィルタと、
前記第2入力信号から前記適応フィルタの出力信号を減算して出力する減算部と、
を備え、
前記適応フィルタは、前記第1入力信号と前記減算部の出力信号とに基づいて、前記減算部の出力信号を前記第2入力信号に含まれる前記エコーを除去または減衰した信号とすべくフィルタ係数を適応的に更新可能であり、
前記出力制御部は、
前記エコー除去部においてエコーが除去または減衰される前記度合いが前記所定レベル未満の場合は、前記適応フィルタの前記フィルタ係数の適応的な更新を中止するとともに、前記第2入力信号を出力すること、
を特徴とするエコー防止装置。
The echo prevention device according to claim 6,
The echo removing unit
An adaptive filter to which the first input signal is input;
A subtractor that subtracts and outputs the output signal of the adaptive filter from the second input signal;
With
Based on the first input signal and the output signal of the subtraction unit, the adaptive filter uses a filter coefficient to make the output signal of the subtraction unit a signal obtained by removing or attenuating the echo included in the second input signal. Can be updated adaptively,
The output control unit
If the degree of echo removal or attenuation in the echo removal unit is less than the predetermined level, stopping the adaptive update of the filter coefficient of the adaptive filter and outputting the second input signal;
Echo prevention device characterized by.
請求項1〜7の何れか一項に記載のエコー防止装置であって、
第3入力信号が入力され、前記第1入力信号を出力する第1FIRフィルタと、
前記第3入力信号が入力され、第1出力信号を出力する第2FIRフィルタと、
前記第1FIRフィルタの出力から前記エコー除去部における前記第2入力信号の入力までの第1信号応答特性と、前記第2FIRフィルタの出力から前記エコー除去部における前記第2入力信号の入力までの第2信号応答特性とを取得する信号応答特性取得部と、
前記信号応答特性取得部によって取得された前記第1及び第2信号応答特性に基づいて、前記第1入力信号から前記第1出力信号を減算する減算装置の出力信号を、前記第1入力信号によるエコーを減衰させた前記第2入力信号とすべく前記第1及び第2FIRフィルタのフィルタ係数を設定するフィルタ係数設定部と、
を更に備え、
前記出力制御部は、
前記エコーの前記信号レベルが所定レベル以上である場合は、前記第1及び第2信号応答特性を再度取得して前記第1及び第2FIRフィルタのフィルタ係数を再設定することを促す警告信号を出力すること、
を特徴とするエコー防止装置。
The echo prevention device according to any one of claims 1 to 7,
A first FIR filter that receives a third input signal and outputs the first input signal;
A second FIR filter that receives the third input signal and outputs a first output signal;
The first signal response characteristic from the output of the first FIR filter to the input of the second input signal in the echo removal unit, and the first signal response characteristic from the output of the second FIR filter to the input of the second input signal in the echo removal unit A signal response characteristic acquisition unit for acquiring two-signal response characteristics;
Based on the first and second signal response characteristics acquired by the signal response characteristic acquisition unit, an output signal of a subtracting device that subtracts the first output signal from the first input signal is determined by the first input signal. A filter coefficient setting unit that sets filter coefficients of the first and second FIR filters so as to be the second input signal in which echo is attenuated;
Further comprising
The output control unit
When the signal level of the echo is equal to or higher than a predetermined level, a warning signal that prompts the user to re-acquire the first and second signal response characteristics and reset the filter coefficients of the first and second FIR filters is output. To do,
Echo prevention device characterized by.
CPUに、
第1入力信号と、前記第1入力信号によるエコーを含む第2入力信号とが入力され、前記第1入力信号に基づいて、前記第2入力信号に含まれる前記エコーを除去または減衰した信号を出力する機能と、
前記第2入力信号の信号レベルを検出する機能と、
検出された前記エコーの前記信号レベルに基づいて、前記信号レベルが所定レベル以上の場合は前記エコーを除去または減衰した信号を出力し、前記信号レベルが前記所定レベル未満の場合は前記第2入力信号を出力する機能と、
を実現させるためのプログラム。
CPU
A first input signal and a second input signal including an echo generated by the first input signal are input, and a signal obtained by removing or attenuating the echo included in the second input signal based on the first input signal. A function to output,
A function of detecting a signal level of the second input signal;
Based on the signal level of the detected echo, a signal in which the echo is removed or attenuated is output when the signal level is equal to or higher than a predetermined level, and the second input when the signal level is lower than the predetermined level. A function to output a signal;
A program to realize
JP2007050337A 2007-01-12 2007-02-28 Echo prevention device and program Expired - Fee Related JP4887181B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2007050337A JP4887181B2 (en) 2007-02-28 2007-02-28 Echo prevention device and program
TW096143645A TW200830706A (en) 2007-01-12 2007-11-19 Filter coefficient setting device and echo prevention device
US11/968,605 US8467544B2 (en) 2007-01-12 2008-01-02 Filter coefficient setting device and echo prevention device
KR1020080003386A KR100900659B1 (en) 2007-01-12 2008-01-11 Filter coefficient setting device and echo preventing device
EP08150199.1A EP1944956B1 (en) 2007-01-12 2008-01-11 Filter coefficient setting device and echo prevention device
CN2008100028834A CN101222243B (en) 2007-01-12 2008-01-11 Filter coefficient setting device and echo prevention device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007050337A JP4887181B2 (en) 2007-02-28 2007-02-28 Echo prevention device and program

Publications (2)

Publication Number Publication Date
JP2008219164A JP2008219164A (en) 2008-09-18
JP4887181B2 true JP4887181B2 (en) 2012-02-29

Family

ID=39838731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007050337A Expired - Fee Related JP4887181B2 (en) 2007-01-12 2007-02-28 Echo prevention device and program

Country Status (1)

Country Link
JP (1) JP4887181B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5950199B2 (en) * 2012-08-03 2016-07-13 パナソニックIpマネジメント株式会社 Loudspeaker
JP5815614B2 (en) * 2013-08-13 2015-11-17 日本電信電話株式会社 Reverberation suppression apparatus and method, program, and recording medium
JP2018186348A (en) 2017-04-24 2018-11-22 オリンパス株式会社 Noise reduction device, method for reducing noise, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06296147A (en) * 1993-04-08 1994-10-21 Matsushita Electric Ind Co Ltd Voice communication equipment
JP3310070B2 (en) * 1993-10-26 2002-07-29 株式会社東芝 Voice communication device with echo canceller
JP3310113B2 (en) * 1994-08-11 2002-07-29 株式会社東芝 Echo canceller
JP3971650B2 (en) * 2002-05-22 2007-09-05 アルパイン株式会社 Hands-free system
JP4734126B2 (en) * 2005-03-23 2011-07-27 三洋電機株式会社 Echo prevention circuit, digital signal processing circuit, filter coefficient setting method for echo prevention circuit, filter coefficient setting method for digital signal processing circuit, program for setting filter coefficient of echo prevention circuit, setting filter coefficient of digital signal processing circuit Program to do

Also Published As

Publication number Publication date
JP2008219164A (en) 2008-09-18

Similar Documents

Publication Publication Date Title
KR100900659B1 (en) Filter coefficient setting device and echo preventing device
JP5685311B2 (en) Active noise cancellation in portable audio devices.
US9099077B2 (en) Active noise cancellation decisions using a degraded reference
JP4036542B2 (en) Echo canceller
US8811602B2 (en) Full duplex speakerphone design using acoustically compensated speaker distortion
US20080112568A1 (en) Echo Canceller and Communication Audio Processing Apparatus
JP4678349B2 (en) Call determination device
JP4765117B2 (en) Echo prevention circuit, filter coefficient setting method, and program
KR20200112863A (en) Active noise cancellation (ANC) system with selectable sample rates
JP2009513054A (en) Acoustic echo canceller
JP4887181B2 (en) Echo prevention device and program
JP4631581B2 (en) Loudspeaker
JP4888262B2 (en) Call state determination device and echo canceller having the call state determination device
JP2013081163A (en) Input/output device and speech terminal
JP4396053B2 (en) Echo suppression device
JP4239993B2 (en) Howling canceller
JP4735419B2 (en) Voice communication device
JP4829816B2 (en) Echo prevention device and program
JP7434845B2 (en) Echo cancellation device, echo cancellation method and program
JP2008172612A (en) Filter coefficient setting device and program
JP5118099B2 (en) Sidetone canceling method and sidetone canceller
JP4534529B2 (en) Howling suppression method and apparatus
JP3968704B2 (en) Hands-free mobile phone terminal
JP2020120154A (en) Signal processing device, headset, program, and computer-readable medium
JP2004266726A (en) Echo canceller, method for calculating filter coefficient for echo canceling processing, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110502

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20110531

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111122

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111212

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141216

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141216

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141216

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees