JP2005142886A - Signal processor and computer program - Google Patents

Signal processor and computer program Download PDF

Info

Publication number
JP2005142886A
JP2005142886A JP2003377947A JP2003377947A JP2005142886A JP 2005142886 A JP2005142886 A JP 2005142886A JP 2003377947 A JP2003377947 A JP 2003377947A JP 2003377947 A JP2003377947 A JP 2003377947A JP 2005142886 A JP2005142886 A JP 2005142886A
Authority
JP
Japan
Prior art keywords
signal
unit
transmission
synchronization
buffer means
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.)
Granted
Application number
JP2003377947A
Other languages
Japanese (ja)
Other versions
JP4346414B2 (en
Inventor
Takehiko Isaka
岳彦 井阪
Takashi Sudo
隆 須藤
Kimio Miseki
公生 三関
Shinichi Kashimoto
晋一 樫本
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2003377947A priority Critical patent/JP4346414B2/en
Publication of JP2005142886A publication Critical patent/JP2005142886A/en
Application granted granted Critical
Publication of JP4346414B2 publication Critical patent/JP4346414B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To reduce errors in echo suppression processing in a communication device. <P>SOLUTION: The signal processor is used in the communication device using a transmitter and a receiver that are independent each other. The signal processor comprises a synchronous control unit for supplying a synchronous signal; a first buffer means for storing a receiving signal from one's party by a frame unit to output the receiving signal to the receiver, based on the synchronous signal; a second buffer means for storing a transmitting signal from the transmitter including an echo outputted from the receiver by the frame unit to output the transmitting signal, based on the synchronous signal; a pseudo echo signal generating means for generating a pseudo echo signal, based on the transmitting signal to be transmitted to one's party and the receiving signal stored in the first buffer means, and for outputting the pseudo echo signal synchronized with the transmitting signal outputted from the second buffer signal based on the synchronous signal; and a subtraction means for subtracting the pseudo echo signal from the transmitting signal outputted from the second buffer means to output the transmitting signal to be transmitted to one's party. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、例えば通信装置におけるエコーサプレッサやエコーキャンセラなどの信号処理装置、およびコンピュータを当該信号処理装置として機能させるコンピュータプログラムに関する。   The present invention relates to a signal processing device such as an echo suppressor or an echo canceller in a communication device, and a computer program that causes a computer to function as the signal processing device.

近年のインターネットの普及伴い、TCP/IP関連技術の開発が進んでいる。その結果、e-mailやnetnewsなどインターネットの基本的な通信形態に加えて、ストリーミング技術を利用したインターネット放送や、VoIP(Voice over IP)技術を利用したIP電話など新しい通信形態も実用化されてきている。インターネットの新しい通信形態の中でも、VoIP技術によるIP電話は、従来の回線交換型電話網と比較して低コストで柔軟なネットワークを構築することができ、画像通信と組み合わせたテレビ会議システムなどへの応用が期待されている。   With the spread of the Internet in recent years, development of TCP / IP related technologies is progressing. As a result, in addition to basic Internet communication forms such as e-mail and netnews, new communication forms such as Internet broadcasting using streaming technology and IP telephone using VoIP (Voice over IP) technology have been put into practical use. ing. Among the new forms of communication on the Internet, IP telephones using VoIP technology can construct a flexible network at a lower cost than conventional circuit-switched telephone networks. Application is expected.

テレビ会議システムでは、複数のユーザの参加を想定していることから、送受話器(ハンドセット)やヘッドセットを使用せず机上のマイクとスピーカにより音声のやり取りを行なう拡声型電話の形式をとることが多い。このような送受話器を用いない拡声型電話においては、スピーカから流れる相手の音声がマイクに入力されてエコーを生じやすい。エコーは、音声通信において了解度を低下させ通信品質を悪化させるばかりでなく、ハウリングを生じさせて通信不能に陥らせることもある。通常、テレビ会議システムなど拡声型電話のシステムでは、エコーを防止するため、エコーサプレッサやエコーキャンセラが用いられている(例えば特許文献1)。   Since the video conference system assumes the participation of multiple users, it may take the form of a loudspeaker phone that uses a microphone and speaker on the desk to exchange voice without using a handset or headset. Many. In a loudspeaker telephone that does not use such a handset, the other party's voice flowing from the speaker is input to the microphone and is likely to generate an echo. The echo not only lowers the intelligibility and deteriorates the communication quality in voice communication, but also causes howling and makes communication impossible. Usually, in a loudspeaker telephone system such as a video conference system, an echo suppressor or an echo canceller is used to prevent echo (for example, Patent Document 1).

エコーサプレッサは、音声通信においては送話と受話が交互に行なわれることが多いことに着目し、送話または受話のうち信号レベル(強度レベル)の低い方の音声信号をエコーとみなして当該音声信号を抑圧する装置である。また、エコーキャンセラは、受話音声信号と送話音声信号とから擬似エコー信号を生成して送話音声信号から当該擬似エコー信号を減じる装置である。   The echo suppressor pays attention to the fact that transmission and reception are often performed alternately in voice communication, and the voice signal having the lower signal level (intensity level) of transmission or reception is regarded as an echo. It is a device that suppresses signals. The echo canceller is a device that generates a pseudo echo signal from a reception voice signal and a transmission voice signal and subtracts the pseudo echo signal from the transmission voice signal.

特許文献1に開示されたエコーキャンセラは、ATMなどセル単位で送受信されるディジタル通信網上に設置されるエコーキャンセラであって、遠端側のセルと近端側のセルのそれぞれを一旦蓄積し、所定のタイミングに同期させて擬似エコー作成を実行するものである。このような処理をすることで、エコーキャンセル処理過程におけるエコーの発生を防ぐとともに擬似エコー作成時の誤処理を防ぐことができる。   The echo canceller disclosed in Patent Document 1 is an echo canceller installed on a digital communication network such as ATM that is transmitted and received in cell units, and temporarily stores each of the far-end side cell and the near-end side cell. The pseudo echo creation is executed in synchronization with a predetermined timing. By performing such processing, it is possible to prevent the occurrence of echoes during the echo canceling process and to prevent erroneous processing when creating pseudo echoes.

ところで、VoIP技術によるIP電話は、インターネットプロトコル(IP)を利用するシステムであることから、A/D−D/A変換や符号化などの処理をコンピュータ上のソフトウェアによって実現することが多い。このような処理を実行するコンピュータでは、マルチタスク処理の可能なオペレーティングシステム(OS)が用いられることが多いが、それでも各々の信号処理は別個独立のプロセスとして処理されることになる。そうすると、特許文献1に開示されたエコーキャンセラのように遠端側のセルと近端側のセルとを一旦蓄積してタイミングを合わせたとしても、擬似エコー信号生成や減算などの信号処理プロセスが各々独立しているため、処理すべき音声信号(VoIP技術においてはフレーム単位の音声データ)が一致せず誤処理を発生してしまうという問題があった。また、ソフトウェア処理をせずにハードウェアにより信号処理を行う場合でも、擬似エコー信号生成と減算を別個独立したハードウェア素子により実現する場合にも、同様に誤処理を発生してしまうという問題があった。
特許第3123906号公報
By the way, since an IP telephone based on the VoIP technology is a system using the Internet protocol (IP), processing such as A / D-D / A conversion and encoding is often realized by software on a computer. In a computer that performs such processing, an operating system (OS) capable of multitasking is often used, but each signal processing is still processed as an independent process. Then, even if the far-end side cell and the near-end side cell are temporarily accumulated and the timing is adjusted as in the echo canceller disclosed in Patent Document 1, a signal processing process such as pseudo echo signal generation and subtraction is performed. Since they are independent of each other, there is a problem in that the audio signals to be processed (audio data in frame units in the VoIP technology) do not match and erroneous processing occurs. In addition, even when signal processing is performed by hardware without performing software processing, there is a problem that erroneous processing similarly occurs when pseudo-echo signal generation and subtraction are realized by separate hardware elements. there were.
Japanese Patent No. 3123906

このように、従来のエコーキャンセラなどの信号処理装置、コンピュータプログラムでは、処理すべき音声信号や音声データが一致せず誤処理を生ずるという問題がある。
本発明はこのような課題を解決するためになされたもので、ソフトウェア処理であっても誤処理の少ないエコー抑圧を可能とする信号処理装置、コンピュータプログラムを提供することを目的としている。
As described above, a conventional signal processing apparatus such as an echo canceller and a computer program have a problem that an audio signal and audio data to be processed do not match and erroneous processing occurs.
The present invention has been made to solve such a problem, and an object of the present invention is to provide a signal processing apparatus and a computer program that enable echo suppression with less erroneous processing even in software processing.

上記した目的を達成するために、第1の発明の信号処理装置は、互いに独立した送話器および受話器を用いた通信装置における信号処理装置であって、同期信号を供給する同期制御部と、相手方からの受話信号をフレーム単位で記憶し、同期信号に基づいて該受話信号を出力する第1のバッファ手段と、受話器から出力されたエコーを含む送話器からの送話信号をフレーム単位で記憶し、同期信号に基づいて該送話信号を出力する第2のバッファ手段と、相手方へ伝送する送話信号および第1のバッファ手段に記憶された受話信号に基づき擬似エコー信号を生成し、同期信号に基づき第2のバッファ手段から出力される送話信号と同期させて擬似エコー信号を出力する擬似エコー信号生成手段と、第2のバッファ手段から出力される送話信号から擬似エコー信号を減じて相手方へ伝送する送話信号を出力する減算手段とを具備している。   In order to achieve the above object, a signal processing device according to a first aspect of the present invention is a signal processing device in a communication device using a transmitter and a receiver that are independent from each other, and a synchronization control unit that supplies a synchronization signal; A first buffer means for storing the received signal from the other party in units of frames and outputting the received signal based on the synchronization signal; and a transmitted signal from the transmitter including the echo output from the receiver in units of frames A second buffer means for storing and outputting the transmission signal based on the synchronization signal, a pseudo echo signal based on the transmission signal transmitted to the other party and the reception signal stored in the first buffer means, A pseudo echo signal generating means for outputting a pseudo echo signal in synchronization with a transmission signal output from the second buffer means based on the synchronization signal, and a transmission signal output from the second buffer means And it comprises a subtraction means for outputting a transmission signal to be transmitted to the other party by subtracting Luo pseudo echo signal.

第2の発明の信号処理装置は、互いに独立した送話器および受話器を用いた通信装置における信号処理装置であって、同期信号を供給する同期制御部と、相手方からの受話信号をフレーム単位で記憶する記憶部と該受話信号を減衰する減衰部とを備え同期信号に基づいて受話信号を受話器に向けて出力する第1のバッファ手段と、受話器から出力されたエコーを含む送話器からの送話信号をフレーム単位で記憶する記憶部と該送話信号を減衰する減衰部とを備え同期信号に基づいて送話信号を出力する第2のバッファ手段と、第1のバッファ手段に記憶された受話信号と第2のバッファ手段に記憶された送話信号とを比較して第1のバッファ手段における減衰量および第2のバッファ手段における減衰量を決定し、同期信号に基づいて第1のバッファ手段および第2のバッファ手段の各々の減衰部の減衰量を設定するボイススイッチ部とを具備している。   A signal processing device according to a second aspect of the present invention is a signal processing device in a communication device using a transmitter and a receiver that are independent of each other, and includes a synchronization control unit that supplies a synchronization signal, and a reception signal from the other party in units of frames. A first buffer means comprising a storage section for storing and an attenuating section for attenuating the received signal and outputting the received signal to the receiver based on the synchronization signal; and a transmitter including an echo output from the receiver A second buffer means for outputting a transmission signal based on the synchronization signal, a storage section for storing the transmission signal in units of frames and an attenuation section for attenuating the transmission signal; The received signal and the transmission signal stored in the second buffer means are compared to determine the attenuation amount in the first buffer means and the attenuation amount in the second buffer means. And it includes a voice switch unit for setting the attenuation amount of the attenuation of each of Ffa means and the second buffer means.

第3の発明のコンピュータプログラムは、互いに独立した送話器および受話器を用いた通信装置における信号処理装置であって、同期信号を供給する同期制御部と、相手方からの受話信号をフレーム単位で記憶し、同期信号に基づいて該受話信号を出力する第1のバッファ手段と、受話器から出力されたエコーを含む送話器からの送話信号をフレーム単位で記憶し、同期信号に基づいて該送話信号を出力する第2のバッファ手段と、相手方へ伝送する送話信号および第1のバッファ手段に記憶された受話信号に基づき擬似エコー信号を生成し、同期信号に基づき第2のバッファ手段から出力される送話信号と同期させて擬似エコー信号を出力する擬似エコー信号生成手段と、第2のバッファ手段から出力される送話信号から擬似エコー信号を減じて相手方へ伝送する送話信号を出力する減算手段とを具備した信号処理装置としてコンピュータを機能させることを特徴とする。   A computer program according to a third invention is a signal processing device in a communication device using a transmitter and a receiver that are independent from each other, and stores a synchronization control unit that supplies a synchronization signal and a reception signal from the other party in units of frames. The first buffer means for outputting the reception signal based on the synchronization signal and the transmission signal from the transmitter including the echo output from the reception unit are stored in units of frames, and the transmission signal is stored based on the synchronization signal. A second buffer means for outputting a speech signal; a pseudo-echo signal is generated based on the transmission signal transmitted to the other party and the received signal stored in the first buffer means; and from the second buffer means based on the synchronization signal. A pseudo echo signal generating means for outputting a pseudo echo signal in synchronization with an output transmission signal; and a pseudo echo signal from a transmission signal output from the second buffer means. Flip and characterized by causing a computer to function as a signal processing apparatus including a subtraction means for outputting a transmission signal to be transmitted to the other party.

第4の発明のコンピュータプログラムは、互いに独立した送話器および受話器を用いた通信装置における信号処理装置であって、同期信号を供給する同期制御部と、相手方からの受話信号をフレーム単位で記憶する記憶部と該受話信号を減衰する減衰部とを備え同期信号に基づいて受話信号を受話器に向けて出力する第1のバッファ手段と、受話器から出力されたエコーを含む送話器からの送話信号をフレーム単位で記憶する記憶部と該送話信号を減衰する減衰部とを備え同期信号に基づいて送話信号を出力する第2のバッファ手段と、第1のバッファ手段に記憶された受話信号と第2のバッファ手段に記憶された送話信号とを比較して第1のバッファ手段における減衰量および第2のバッファ手段における減衰量を決定し、同期信号に基づいて第1のバッファ手段および第2のバッファ手段の各々の減衰部の減衰量を設定するボイススイッチ部とを具備した信号処理装置としてコンピュータを機能させることを特徴とする。   A computer program according to a fourth aspect of the present invention is a signal processing device in a communication device using a transmitter and a receiver that are independent from each other, and stores a synchronization control unit that supplies a synchronization signal and a reception signal from the other party in units of frames. First buffer means for outputting the received signal to the receiver based on the synchronization signal, and a transmitter from the transmitter including the echo output from the receiver. A second buffer means for outputting the transmission signal based on the synchronization signal, and a storage section for storing the speech signal in units of frames and an attenuation section for attenuating the transmission signal; and stored in the first buffer means The received signal and the transmission signal stored in the second buffer means are compared to determine the attenuation amount in the first buffer means and the attenuation amount in the second buffer means, and based on the synchronization signal. Characterized in that causes a computer to function as Te signal processing apparatus and a voice switch unit for setting the attenuation amount of the attenuation of each of the first buffer means and the second buffer means.

本発明では、同期信号を供給する同期制御部を備えて第1のバッファ手段、第2のバッファ手段および擬似エコー信号生成手段の動作を同期させるとともに、受話信号、送話信号、擬似エコー信号のそれぞれを同期させるので、誤処理の少ないエコーキャンセル処理を可能にする。   In the present invention, a synchronization control unit that supplies a synchronization signal is provided to synchronize the operations of the first buffer means, the second buffer means, and the pseudo echo signal generation means, and the received signal, transmission signal, and pseudo echo signal Since each of them is synchronized, an echo cancellation process with few erroneous processes can be performed.

また、本発明では、同期信号を供給する同期制御部を備えて受話信号および送話信号を同期させるとともに、第1のバッファ手段、第2のバッファ手段およびボイススイッチ部動作を同期させるので、誤処理の少ないエコーサプレス処理を可能にする。   In the present invention, the synchronization control unit for supplying the synchronization signal is provided to synchronize the reception signal and the transmission signal and to synchronize the operations of the first buffer unit, the second buffer unit, and the voice switch unit. Enables echo suppression with less processing.

本発明によれば、誤処理の少ないエコーキャンセル処理、エコーサプレス処理を実現することができる。   According to the present invention, it is possible to realize echo cancellation processing and echo suppression processing with less erroneous processing.

以下、本発明の実施例を図面を参照して詳細に説明する。図1は本発明に係る第1の実施形態の信号処理装置の構成を示す図である。この実施形態に係る信号処理装置は、A/D変換された音声信号を符号化してフレーム単位の音声データとし、VoIP技術によりインターネットプロトコル(IP)によって音声通話を実現するIP電話システムにおいて、ユーザ端末のスピーカ(受話器)から出力される音声がマイク(送話器)に流入することによって生ずるエコーを抑えるためのエコーキャンセラである。以下の説明においては、「近端側」は、エコーを生ずる側(マイクとスピーカとによりエコーを生ずる側)をいい、「遠端側」は、当該エコーが伝送される相手方をいうものとして説明している。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing the configuration of the signal processing apparatus according to the first embodiment of the present invention. A signal processing apparatus according to this embodiment encodes an A / D converted audio signal into audio data in units of frames, and in an IP telephone system that implements a voice call using the Internet Protocol (IP) by VoIP technology, a user terminal This is an echo canceller for suppressing an echo generated when sound output from a speaker (receiver) flows into a microphone (transmitter). In the following description, “near end side” refers to the side that produces echoes (the side that produces echoes from the microphone and speaker), and “far end side” refers to the other party to which the echoes are transmitted. doing.

図1に示すように、この実施形態に係る信号処理装置1は、受話バッファ部11、擬似エコー生成部12、送話バッファ部13、減算部14および同期制御部15を備えている。これらは、コンピュータ上のソフトウェアにより実現される。受話信号入力端子2は、遠端側から伝送されるフレーム単位の音声信号(受話音声データ)を入力する端子であり、受話バッファ部11と接続されている。   As shown in FIG. 1, the signal processing apparatus 1 according to this embodiment includes a reception buffer unit 11, a pseudo echo generation unit 12, a transmission buffer unit 13, a subtraction unit 14, and a synchronization control unit 15. These are realized by software on a computer. The reception signal input terminal 2 is a terminal for inputting a frame unit audio signal (reception audio data) transmitted from the far end side, and is connected to the reception buffer unit 11.

受話バッファ部11は、遠端側から送られる受話音声データを記憶するメモリなどからなる記憶部16と、当該記憶されたデータの読み出しを制御する制御部17とを備えている。そして、受話バッファ部11は、受話音声データを一旦記憶して所定のタイミングで読み出すことで、エコーキャンセル処理におけるフレーム単位の誤処理を防ぐ作用をする。受話バッファ部11は、擬似エコー生成部12、同期制御部15および図示しないD/A変換部等を介してスピーカ4と接続されている。   The reception buffer unit 11 includes a storage unit 16 including a memory that stores received voice data transmitted from the far end side, and a control unit 17 that controls reading of the stored data. Then, the reception buffer unit 11 acts to prevent erroneous processing in units of frames in the echo cancellation processing by temporarily storing the received speech data and reading it at a predetermined timing. The reception buffer unit 11 is connected to the speaker 4 via a pseudo echo generation unit 12, a synchronization control unit 15, a D / A conversion unit (not shown), and the like.

擬似エコー生成部12は、エコーを除去するための擬似エコーを作成するタップ付き遅延線フィルタとしてのFIRフィルタと、例えば学習同定法(NLMS : Normalized Least Mean Square)などの適応アルゴリズムに従って該FIRフィルタのフィルタ係数を算出する適応化フィルタとを備えており、エコーキャンセラとして一般的に用いられる擬似エコー生成手段として作用する。擬似エコー生成部12としては、受話音声データおよび遠端側へ伝送されるフレーム単位の音声信号(送話音声データ)に基づき擬似エコー信号を生成するものであれば、どのような適応アルゴリズムを用いて、どのような遅延線フィルタを用いてもよい。例えば、適応アルゴリズムとしては、学習同定法に代えて最小二乗平均アルゴリズム(LMS : Least Mean Square)、再帰最小二乗アルゴリズム(RLS)や射影法等を用いてもよい。また、FIRフィルタに代えてIIRフィルタ(無限長インパルス応答フィルタ)等を用いてもよい。あるいは、サブバンド型や周波数領域型を用いてもよい。擬似エコー生成部12は、受話バッファ部11、減算部14の一方の入力および出力、ならびに同期制御部15と接続されている。   The pseudo-echo generation unit 12 uses an FIR filter as a tapped delay line filter that creates a pseudo-echo for removing the echo and an adaptive algorithm such as a learning identification method (NLMS: Normalized Least Mean Square). And an adaptive filter that calculates filter coefficients, and acts as a pseudo-echo generating means generally used as an echo canceller. As the pseudo echo generation unit 12, any adaptive algorithm may be used as long as the pseudo echo signal is generated based on the received voice data and the voice signal (transmitted voice data) in units of frames transmitted to the far end side. Any delay line filter may be used. For example, as an adaptive algorithm, a least mean square algorithm (LMS), a recursive least square algorithm (RLS), a projection method, or the like may be used instead of the learning identification method. Further, an IIR filter (infinite length impulse response filter) or the like may be used instead of the FIR filter. Alternatively, a subband type or a frequency domain type may be used. The pseudo echo generation unit 12 is connected to one input and output of the reception buffer unit 11 and the subtraction unit 14 and the synchronization control unit 15.

送話バッファ部13は、近端側から送られる送話音声データを記憶するメモリなどからなる記憶部18と、当該記憶されたデータの読み出しを制御する制御部19とを備えている。そして、送話バッファ部13は、受話バッファ部11と協働してエコーキャンセル処理においてフレーム単位の誤処理を防ぐ作用をする。送話バッファ部13は、減算部14の他方の入力、同期制御部15、ならびに図示しないA/D変換部等を介してマイク5と接続されている。   The transmission buffer unit 13 includes a storage unit 18 including a memory that stores transmission voice data transmitted from the near end side, and a control unit 19 that controls reading of the stored data. The transmission buffer unit 13 works in cooperation with the reception buffer unit 11 to prevent erroneous processing in units of frames in echo cancellation processing. The transmission buffer unit 13 is connected to the microphone 5 via the other input of the subtraction unit 14, the synchronization control unit 15, an A / D conversion unit (not shown), and the like.

減算部14は、例えば減算器などであり、送話バッファ13から出力された送話音声データから擬似エコー生成部12で生成された擬似エコー信号を減算して、エコー信号成分を除去する作用をする。減算部14の減算出力は、送話信号出力端子3および擬似エコー生成部12と接続されている。   The subtracting unit 14 is, for example, a subtractor, and has an action of subtracting the pseudo echo signal generated by the pseudo echo generating unit 12 from the transmission voice data output from the transmission buffer 13 and removing the echo signal component. To do. The subtraction output of the subtraction unit 14 is connected to the transmission signal output terminal 3 and the pseudo echo generation unit 12.

同期制御部15は、例えば基準信号発振器あるいはシステムの内部時間情報取得関数などからなり、処理すべき受話音声データおよび送話音声データの読み出しを制御するとともに、信号処理のタイミングを決定する作用をする。そして、同期制御部15は、受話バッファ部11、擬似エコー生成部12および送話バッファ部13と接続されている。   The synchronization control unit 15 includes, for example, a reference signal oscillator or a function for acquiring internal time information of the system, and controls reading of received voice data and transmitted voice data to be processed and determines signal processing timing. . The synchronization control unit 15 is connected to the reception buffer unit 11, the pseudo echo generation unit 12, and the transmission buffer unit 13.

この信号処理装置1では、同期制御部15は、受話バッファ部11、擬似エコー生成部12および送話バッファ部13に同期信号を供給する。そして、受話バッファ部11、擬似エコー生成部12、送話バッファ部13および減算部14の各信号処理動作を同期させて、受話音声データ、送話音声データおよび擬似エコー信号の各々を処理する処理タイミングを同期させるので、ソフトウェアによりエコーキャンセル処理を実現する場合でも誤処理を少なくすることができる。   In the signal processing device 1, the synchronization control unit 15 supplies a synchronization signal to the reception buffer unit 11, the pseudo echo generation unit 12, and the transmission buffer unit 13. Then, the signal processing operations of the reception buffer unit 11, the pseudo echo generation unit 12, the transmission buffer unit 13, and the subtraction unit 14 are synchronized to process each of the reception voice data, the transmission voice data, and the pseudo echo signal. Since the timing is synchronized, erroneous processing can be reduced even when echo cancellation processing is realized by software.

次に、図1および図2を参照して、この信号処理装置の動作を説明する。図2は、この実施形態に係る信号処理装置の動作を示すフローチャートである。この実施形態の信号処理装置では、フレーム単位の送話音声データについてのエコーキャンセル処理は、ソフトウェアにより実現される。以下、このエコーキャンセル処理の1サイクルについて説明する。   Next, the operation of this signal processing apparatus will be described with reference to FIG. 1 and FIG. FIG. 2 is a flowchart showing the operation of the signal processing apparatus according to this embodiment. In the signal processing apparatus of this embodiment, the echo cancellation processing for the transmission audio data in units of frames is realized by software. Hereinafter, one cycle of this echo cancellation processing will be described.

まず、同期制御部15は、受話音声データ、送話音声データおよび擬似エコー信号の処理タイミングと、受話バッファ部11、擬似エコー生成部12、送話バッファ部13および減算部14の各々の動作タイミングとの基準となる同期信号を生成し、受話バッファ部11、擬似エコー生成部12および送話バッファ部13に供給する(ステップS21。以下「S21」のように略称する。)。同期信号は、この信号処理装置が実現されるコンピュータ上の基準発振器出力を利用して生成してもよいし、外部から基準信号を供給してもよい。   First, the synchronization control unit 15 processes reception voice data, transmission voice data, and pseudo echo signal, and operation timings of the reception buffer unit 11, the pseudo echo generation unit 12, the transmission buffer unit 13, and the subtraction unit 14. And is supplied to the reception buffer unit 11, the pseudo echo generation unit 12, and the transmission buffer unit 13 (step S21; hereinafter abbreviated as "S21"). The synchronization signal may be generated by using a reference oscillator output on a computer in which the signal processing apparatus is realized, or a reference signal may be supplied from the outside.

受話音声信号入力端子2にフレーム単位の受話音声データが入力されると、受話バッファ部11は、当該受話音声データを記憶部16に記憶する。そして、受話バッファ部11の制御部17は、記憶されたデータを読み出し、D/A変換部等を介してスピーカ4に出力する(S22)。   When reception voice data in units of frames is input to the reception voice signal input terminal 2, the reception buffer unit 11 stores the reception voice data in the storage unit 16. And the control part 17 of the reception buffer part 11 reads the memorize | stored data, and outputs it to the speaker 4 via a D / A conversion part etc. (S22).

受話バッファ部11の記憶部16に受話音声データが記憶されると、擬似エコー生成部12は、同期制御部15から送られる同期信号に基づき、記憶部16に記憶された受話音声データに基づき擬似エコー信号を生成する(S23)。具体的には、擬似エコー生成部12に備えられた遅延線フィルタの係数を記憶部16から参照される受話音声データに畳み込むことによって擬似エコー信号を生成する。擬似エコー信号の生成のタイミングは、同期制御部15からの同期信号によって制御される。   When the reception voice data is stored in the storage unit 16 of the reception buffer unit 11, the pseudo echo generation unit 12 is simulated based on the reception voice data stored in the storage unit 16 based on the synchronization signal transmitted from the synchronization control unit 15. An echo signal is generated (S23). Specifically, a pseudo echo signal is generated by convolving the coefficient of the delay line filter provided in the pseudo echo generation unit 12 with the received voice data referred to from the storage unit 16. The generation timing of the pseudo echo signal is controlled by the synchronization signal from the synchronization control unit 15.

スピーカ4から出力される音声の一部は、本来入力されるべき音声とともにエコー成分ECとしてマイク5に入力される。マイク5に入力された音声およびエコー成分ECは、A/D変換部等を介して送話バッファ部13に入力される。送話バッファ部13は、当該音声およびエコー成分ECを記憶部18に記憶する。そして、送話バッファ部13の制御部19は、同期制御部15からの同期信号に基づいて当該記憶されたデータを読み出し、減算部14の一方の入力に出力する(S24)。   A part of the sound output from the speaker 4 is input to the microphone 5 as an echo component EC together with the sound to be input. The voice and echo component EC input to the microphone 5 are input to the transmission buffer unit 13 via an A / D conversion unit or the like. The transmission buffer unit 13 stores the voice and the echo component EC in the storage unit 18. Then, the control unit 19 of the transmission buffer unit 13 reads the stored data based on the synchronization signal from the synchronization control unit 15 and outputs it to one input of the subtraction unit 14 (S24).

同期制御部15は、受話バッファ部11の制御部17、擬似エコー生成部12および送話バッファ部13の制御部19に同期信号を供給し、受話バッファ部11から受話音声データが読み出されるタイミング、擬似エコー生成部12が擬似エコーを生成して減算部14へ出力するタイミング、および送話バッファ部13からエコー成分ECを含む送話音声データが読み出されるタイミングをそれぞれ同期させる。すなわち、同期制御部15は、送話バッファ部13から読み出される送話音声データと、当該送話音声データに対応する擬似エコー信号とが正しく減算部14に入力されるように制御する。このように、送話バッファ部13から読み出されたエコー成分ECを含む送話音声データと、擬似エコー生成部12が生成した擬似エコー信号とが同期されて減算部14に入力されると、減算部14は、送話音声データから擬似エコー信号を減算してエコー成分ECの除去された残差信号を送話音声データとして出力する(S25)。   The synchronization control unit 15 supplies a synchronization signal to the control unit 17 of the reception buffer unit 11, the pseudo echo generation unit 12, and the control unit 19 of the transmission buffer unit 13, and the timing at which the received voice data is read from the reception buffer unit 11, The timing at which the pseudo echo generation unit 12 generates a pseudo echo and outputs it to the subtraction unit 14 is synchronized with the timing at which the transmission voice data including the echo component EC is read from the transmission buffer unit 13. That is, the synchronization control unit 15 controls the transmission voice data read from the transmission buffer unit 13 and the pseudo echo signal corresponding to the transmission voice data to be correctly input to the subtraction unit 14. In this way, when the transmission voice data including the echo component EC read from the transmission buffer unit 13 and the pseudo echo signal generated by the pseudo echo generation unit 12 are synchronized and input to the subtraction unit 14, The subtracting unit 14 subtracts the pseudo echo signal from the transmission voice data and outputs the residual signal from which the echo component EC is removed as the transmission voice data (S25).

エコー成分ECの除去された送話音声データが減算部14から出力されると、擬似エコー生成部12に備えられた適応化フィルタは、当該送話音声データに基づいて擬似エコー生成部12に備えられた遅延線フィルタの係数を更新し、次のフレームのエコーキャンセル処理に備える(S26)。   When the transmission voice data from which the echo component EC is removed is output from the subtraction unit 14, the adaptive filter provided in the pseudo echo generation unit 12 is provided in the pseudo echo generation unit 12 based on the transmission voice data. The coefficient of the obtained delay line filter is updated to prepare for echo cancellation processing of the next frame (S26).

このように、この実施形態の信号処理装置1は、同期制御部15を備えて減算処理する送話音声データと擬似エコー信号とが正しく対応するように制御するので、誤って異なるフレームについてエコーキャンセル処理をすることがなくなり、通信品質を向上することができる。   As described above, the signal processing apparatus 1 according to this embodiment includes the synchronization control unit 15 and performs control so that the transmission voice data to be subtracted and the pseudo echo signal correspond to each other correctly. Processing is eliminated and communication quality can be improved.

次に、図3を参照して、この信号処理装置における信号(データ)の流れを説明する。図3は、この実施形態に係る信号処理装置におけるデータの流れを時系列的に示す図である。   Next, the flow of signals (data) in this signal processing apparatus will be described with reference to FIG. FIG. 3 is a diagram showing the data flow in the signal processing apparatus according to this embodiment in time series.

受話信号入力端子2に受話音声データが入力されると、当該受話音声データは受話バッファ部11の記憶部16に記憶される(図中矢印31。以下「31」のように称する。)。   When reception voice data is input to the reception signal input terminal 2, the reception voice data is stored in the storage unit 16 of the reception buffer unit 11 (arrow 31 in the figure, hereinafter referred to as "31").

受話バッファ部11が受話音声データを受け取ると、同期制御部15は、いつ、どのくらいのフレーム単位で記憶部16から受話音声データを読み出すかについて、制御部17に同期信号を供給して指示する(同期処理A)。制御部17は、同期制御部15からの指示に基づいて、記憶部16から受話音声データを読み出す。この同期処理Aにより、受話音声データの時系列的な時間のゆらぎが吸収される。受話音声データは、D/A変換部等を介して音声信号に変換され、スピーカ4に出力される(32)。   When the reception buffer unit 11 receives the reception voice data, the synchronization control unit 15 supplies a synchronization signal to the control unit 17 to instruct when and how many frames the reception voice data is read from the storage unit 16 ( Synchronous processing A). The control unit 17 reads the received voice data from the storage unit 16 based on an instruction from the synchronization control unit 15. By this synchronization processing A, fluctuations in time series of received voice data are absorbed. The received voice data is converted into a voice signal through a D / A converter or the like and output to the speaker 4 (32).

スピーカ4から出力された音声の一部は、本来の送話音声にエコー成分ECが加わってマイク5に入力される(エコー遅延)。すなわち、エコー成分ECがスピーカ4から出力されてからマイク5に入力されるまでの時間的遅延がエコー遅延として生ずる。エコー成分ECを含む音声信号は、A/D変換部等を介してフレーム単位の送話音声データに変換され、送話バッファ部13に入力される(33)。   A part of the sound output from the speaker 4 is input to the microphone 5 with the echo component EC added to the original transmitted voice (echo delay). That is, a time delay from when the echo component EC is output from the speaker 4 to when it is input to the microphone 5 occurs as an echo delay. The audio signal including the echo component EC is converted into transmission audio data in units of frames via an A / D conversion unit or the like and input to the transmission buffer unit 13 (33).

送話バッファ部13が送話音声データを受け取ると、同期制御部15は、いつ、どのくらいのフレーム単位で記憶部19から送話音声データを読み出すかについて、制御部19に同期信号を供給して指示する(同期処理B)。併せて、同期制御部15は、いつ、どのくらいのフレーム単位の受話音声データを参照して、いつ疑似エコー信号を生成するかについて、擬似エコー生成部12に同期信号を供給して指示する(同期処理C)。この結果、記憶部18から読み出される送話音声データと、それに対応する疑似エコー信号とが互いに同期して減算部14に入力される(35、36)。   When the transmission buffer unit 13 receives the transmission voice data, the synchronization control unit 15 supplies a synchronization signal to the control unit 19 regarding when and how many frames the transmission voice data is read from the storage unit 19. An instruction is given (synchronization process B). At the same time, the synchronization control unit 15 refers to the received voice data in frame units and supplies the synchronization signal to the pseudo echo generation unit 12 to instruct when to generate the pseudo echo signal (synchronization). Process C). As a result, the transmission voice data read from the storage unit 18 and the corresponding pseudo echo signal are input to the subtraction unit 14 in synchronization with each other (35, 36).

それぞれ同期のとれた送話音声データとそれに対応する疑似エコー信号とを受け取ると、減算部14は、送話音声データからエコー成分ECを減算して遠端側へ伝送すべき送話音声データを送話信号出力端子3へ出力する(37)。   When receiving the synchronized transmission voice data and the corresponding pseudo echo signal, the subtracting unit 14 subtracts the echo component EC from the transmission voice data and transmits the transmission voice data to be transmitted to the far end side. Output to the transmission signal output terminal 3 (37).

このように、この実施形態に係る信号処理装置では、同期制御部15が受話バッファ部11、疑似エコー生成部12および送話バッファ部13の動作タイミングを制御するので、送話音声データに正しく対応する疑似エコー信号を用いたエコーキャンセル処理が可能になる。   As described above, in the signal processing apparatus according to this embodiment, the synchronization control unit 15 controls the operation timing of the reception buffer unit 11, the pseudo echo generation unit 12, and the transmission buffer unit 13. It is possible to perform echo cancellation processing using the pseudo echo signal.

次に、図4および図5を参照して、この信号処理装置における擬似エコー生成の初期動作を説明する。図4および図5は、この実施形態に係る信号処理装置の擬似エコー生成部12の初期動作を示す図である。   Next, the initial operation of pseudo echo generation in this signal processing device will be described with reference to FIG. 4 and FIG. 4 and 5 are diagrams showing an initial operation of the pseudo echo generator 12 of the signal processing apparatus according to this embodiment.

この実施形態の信号処理装置では、同期制御部15が受話バッファ部11、擬似エコー生成部12および送話バッファ部13の動作を同期させることで、受話音声データ、擬似エコー信号、送話バッファデータがそれぞれ同期される。同期動作の最初の段階では、受話音声データまたは送話音声データのどちらかを同期の基準とすればよい。図4に示すのは、受話音声データを基準として同期を取る例であり、例えば近端側から送話する前に遠端側から受話音声データが到着したような場合である。   In the signal processing apparatus of this embodiment, the synchronization control unit 15 synchronizes the operations of the reception buffer unit 11, the pseudo echo generation unit 12, and the transmission buffer unit 13, so that the received voice data, the pseudo echo signal, and the transmission buffer data are synchronized. Are synchronized. In the first stage of the synchronization operation, either the received voice data or the transmitted voice data may be used as a reference for synchronization. FIG. 4 shows an example of synchronization based on received voice data. For example, the received voice data arrives from the far end before transmitting from the near end.

遠端側から受話音声データを受け取ると、受話バッファ部11は、当該受話音声データを記憶部16に記憶する。同期制御部15は、受話バッファ部11に同期信号を供給して所定のタイミングで受話音声データを読み出し、擬似エコー生成部12に送る(S41)。スピーカ4に出力された音声信号のうちエコー成分ECは、送出すべき音声と一緒にマイク5に入力される。   When receiving voice data is received from the far end side, the reception buffer unit 11 stores the received voice data in the storage unit 16. The synchronization control unit 15 supplies a synchronization signal to the reception buffer unit 11, reads the received voice data at a predetermined timing, and sends it to the pseudo echo generation unit 12 (S41). The echo component EC of the audio signal output to the speaker 4 is input to the microphone 5 together with the audio to be transmitted.

受話音声データが受話バッファ部11から読み出されると、同期制御部15は、疑似エコー生成部12に疑似エコー信号の生成を指示する。初期状態ではサンプルとする送話音声データがないため、疑似エコー生成部12は、受話音声データのみを参照して疑似エコー信号を生成して減算部14へ出力する(S42)。具体的には、例えば予め設定した係数や予め記憶した前回の送話音声データから求めた係数などを擬似エコー生成部12の遅延線フィルタに適用して、擬似エコー信号を生成する。   When the reception voice data is read from the reception buffer unit 11, the synchronization control unit 15 instructs the pseudo echo generation unit 12 to generate a pseudo echo signal. Since there is no transmission voice data as a sample in the initial state, the pseudo echo generation unit 12 generates a pseudo echo signal by referring only to the reception voice data and outputs the pseudo echo signal to the subtraction unit 14 (S42). Specifically, for example, a preset coefficient or a coefficient obtained from previously stored transmitted voice data is applied to the delay line filter of the pseudo echo generation unit 12 to generate a pseudo echo signal.

受話音声データが受話バッファ部11から読み出されると、送話バッファ部13は、マイク5から入力されA/D変換部等により変換された送話音声データを記憶部18に記憶する。同期制御部15は、擬似エコー生成部12における擬似エコー信号生成処理と同期するように同期信号を送話バッファ部13の制御部19に供給し、当該送話音声データを読み出して減算部14へ出力する(S43)。   When the reception voice data is read from the reception buffer unit 11, the transmission buffer unit 13 stores the transmission voice data input from the microphone 5 and converted by the A / D conversion unit or the like in the storage unit 18. The synchronization control unit 15 supplies a synchronization signal to the control unit 19 of the transmission buffer unit 13 so as to synchronize with the pseudo echo signal generation processing in the pseudo echo generation unit 12, reads out the transmission voice data, and sends it to the subtraction unit 14. Output (S43).

互いに同期された送話音声データおよび擬似エコー信号を受け取ると、減算部14は、送話音声データから擬似エコー信号を減算する(S44)。   When the transmission voice data and the pseudo echo signal synchronized with each other are received, the subtracting unit 14 subtracts the pseudo echo signal from the transmission voice data (S44).

擬似エコー生成部12は、減算された送話音声データを参照して、先に生成した擬似エコー信号が適正なものであるかを判定する(S45)。   The pseudo echo generation unit 12 refers to the subtracted transmission voice data and determines whether the previously generated pseudo echo signal is appropriate (S45).

判定の結果、擬似エコー信号が適正でない場合(S45のNo)、擬似エコー生成部12は、新たな擬似エコー信号を生成せず、先に生成した擬似エコー信号を再び減算部14へ出力し、送話バッファ部13は、次のフレームの送話音声データを読み出す(S46)。この結果、減算部14は、先に出力した送話音声データの次のフレームの送話音声データからも同じ擬似エコー信号を減算する(S44)。そして、このループは擬似エコー信号を生成した受話音声データと、それに対応する送話音声データとの対応関係が最適になるまで繰り返される(S45)。   As a result of the determination, if the pseudo echo signal is not appropriate (No in S45), the pseudo echo generation unit 12 does not generate a new pseudo echo signal and outputs the previously generated pseudo echo signal to the subtraction unit 14 again. The transmission buffer unit 13 reads the transmission voice data of the next frame (S46). As a result, the subtracting unit 14 subtracts the same pseudo echo signal from the transmission voice data of the next frame of the transmission voice data output previously (S44). This loop is repeated until the correspondence between the received voice data that generated the pseudo echo signal and the transmitted voice data corresponding thereto is optimized (S45).

判定の結果、擬似エコー信号が適正である場合(S45のYes)、すなわち、最初に処理した受話音声データと減算対象の送話音声データとが正しく対応して最適な状態になると、擬似エコー生成部12は、受話音声データとそれに対応する送話音声データとの組合せを確定して、以後その組合せを元に受話音声データと送話音声データとを同期させて擬似エコー信号を生成する(S47)。   As a result of the determination, if the pseudo echo signal is appropriate (Yes in S45), that is, if the received voice data processed first and the transmission voice data to be subtracted correspond to each other in an optimal state, the pseudo echo is generated. The unit 12 determines a combination of the received voice data and the corresponding transmitted voice data, and thereafter generates a pseudo echo signal by synchronizing the received voice data and the transmitted voice data based on the combination (S47). ).

なお、擬似エコー信号が最適か否かの判定方法としては、フレーム単位の受話音声データおよび送話音声データに付されたシーケンス番号や時間情報を基準に対応関係を判定する方法、送話音声データから擬似エコー信号を減算した結果のレベルが最大のもの(擬似エコー信号が正しくエコー成分を反映しているもの)を選択する方法などが考えられる。また、これらの判定方法は一つに限定されるものではなく、複数の方法を組み合わせて判定してもよい。   In addition, as a method for determining whether or not the pseudo echo signal is optimal, a method for determining a correspondence relationship based on sequence number and time information attached to received voice data and transmitted voice data in frame units, transmitted voice data For example, a method of selecting a signal having the maximum level obtained by subtracting the pseudo echo signal from (a pseudo echo signal correctly reflecting an echo component) can be considered. Moreover, these determination methods are not limited to one, You may determine combining several methods.

続いて、送話音声データを基準として同期を取る例について説明する。図5に示すのは、送話音声データを基準として同期を取る例であり、例えば何らかの原因により受話バッファ部11、擬似エコー生成部12および送話バッファ部13の動作が同期しなくなったような場合である。   Next, an example in which synchronization is performed based on transmitted voice data will be described. FIG. 5 shows an example of synchronization based on transmission voice data. For example, the operations of the reception buffer unit 11, the pseudo echo generation unit 12, and the transmission buffer unit 13 are not synchronized for some reason. Is the case.

マイク5からエコー成分ECを含む音声が入力されると、送話バッファ部13は、A/D変換部等を介してエコー成分ECを含んだ送話音声データを記憶部18に記憶する。同期制御部15は、送話バッファ部13に同期信号を供給して所定のタイミングで送話音声データを読み出す(S51)。   When the voice including the echo component EC is input from the microphone 5, the transmission buffer unit 13 stores the transmission voice data including the echo component EC in the storage unit 18 via the A / D conversion unit or the like. The synchronization control unit 15 supplies a synchronization signal to the transmission buffer unit 13 and reads the transmission voice data at a predetermined timing (S51).

一方、受話バッファ部11は、受話音声データを受け取って記憶部16に記憶している。同期制御部15は、受話バッファ部11に同期信号を供給して所定のタイミングで受話音声データを読み出す(S52)。   On the other hand, the reception buffer unit 11 receives reception voice data and stores it in the storage unit 16. The synchronization control unit 15 supplies a synchronization signal to the reception buffer unit 11 and reads the reception voice data at a predetermined timing (S52).

受話音声データが受話バッファ部11から読み出されると、同期制御部15は、疑似エコー生成部12に疑似エコー信号の生成を指示する。ここでは、同期が取れていない状態なので、疑似エコー生成部12は、前回参照した送話音声データと受話音声データに基づき疑似エコー信号を生成して減算部14へ出力する(S53)。   When the reception voice data is read from the reception buffer unit 11, the synchronization control unit 15 instructs the pseudo echo generation unit 12 to generate a pseudo echo signal. Here, since the state is not synchronized, the pseudo echo generation unit 12 generates a pseudo echo signal based on the previously referred transmission voice data and reception voice data and outputs the pseudo echo signal to the subtraction unit 14 (S53).

読み出された送話音声データおよび擬似エコー信号を受けると、減算部14は、送話音声データから擬似エコー信号を減算する(S54)。   When the read transmission voice data and the pseudo echo signal are received, the subtracting unit 14 subtracts the pseudo echo signal from the transmission voice data (S54).

擬似エコー生成部12は、減算された送話音声データを参照して、先に生成した擬似エコー信号が適正なものであるかを判定する(S55)。   The pseudo echo generation unit 12 refers to the subtracted transmission voice data and determines whether the pseudo echo signal generated previously is appropriate (S55).

判定の結果、擬似エコー信号が適正でない場合(S54のNo)、擬似エコー生成部12は、受話バッファ部11の記憶部16から、次のフレームに対応する受話音声データを参照し(S56)、新たな擬似エコー信号を生成して減算部14へ出力する(S53)。   As a result of the determination, if the pseudo echo signal is not appropriate (No in S54), the pseudo echo generation unit 12 refers to the reception voice data corresponding to the next frame from the storage unit 16 of the reception buffer unit 11 (S56), A new pseudo echo signal is generated and output to the subtracting unit 14 (S53).

新たな擬似エコー信号を受け取ると、減算部14は、ステップS51にて読み出された送話音声データから当該新たな擬似エコー信号を減算する(S54)。   When the new pseudo echo signal is received, the subtracting unit 14 subtracts the new pseudo echo signal from the transmission voice data read in step S51 (S54).

すなわちこのループでは、擬似エコー生成部12は、適応化フィルタにより決定された遅延線フィルタの係数を変更せず、参照する受話音声データをフレーム単位で変更して、新たな擬似エコー信号を生成する。そして、減算部14は先に受け取った送話音声データから当該新たな擬似エコー信号を減算する。このループは、先の送話音声データと擬似エコー信号との対応関係、言い換えれば先の送話音声データと擬似エコー信号を生成した受話音声データとの対応関係が最適になるまで繰り返される(S55)。   That is, in this loop, the pseudo echo generator 12 does not change the coefficient of the delay line filter determined by the adaptive filter, but changes the received voice data to be referred to in units of frames to generate a new pseudo echo signal. . Then, the subtracting unit 14 subtracts the new pseudo echo signal from the previously received transmission voice data. This loop is repeated until the correspondence between the previous transmitted voice data and the pseudo echo signal, in other words, the correspondence between the previous transmitted voice data and the received voice data that generated the pseudo echo signal is optimized (S55). ).

判定の結果、擬似エコー信号が適正である場合(S55のYes)、すなわち、減算対象の送話音声データと擬似エコー信号を生成した受話音声データとが正しく対応して最適な状態になると、擬似エコー生成部12は、送話音声データとそれに対応する受話音声データとの組合せを確定して、以後その組合せを元に送話音声データと受話音声データとを同期させて擬似エコー信号を生成する(S57)。   As a result of the determination, if the pseudo echo signal is appropriate (Yes in S55), that is, if the transmitted voice data to be subtracted and the received voice data that has generated the pseudo echo signal are correctly associated and become an optimal state, The echo generation unit 12 determines a combination of the transmission voice data and the corresponding reception voice data, and generates a pseudo echo signal by synchronizing the transmission voice data and the reception voice data based on the combination thereafter. (S57).

なお、擬似エコー信号が最適か否かの判定方法としては、図4に示した方法と同様に、フレーム単位の受話音声データおよび送話音声データに付されたシーケンス番号や時間情報を基準に対応関係を判定する方法、送話音声データから擬似エコー信号を減算した結果のレベルが最大のもの(擬似エコー信号が正しくエコー成分を反映しているもの)を選択する方法などが考えられる。また、これらの判定方法は一つに限定されるものではなく、複数の方法を組み合わせて判定してもよい。   Note that the method for determining whether or not the pseudo echo signal is optimal corresponds to the sequence number and time information attached to the received voice data and the transmitted voice data in units of frames, as in the method shown in FIG. A method of determining the relationship, a method of selecting the one having the maximum level as a result of subtracting the pseudo echo signal from the transmission voice data (the one in which the pseudo echo signal correctly reflects the echo component), and the like can be considered. Moreover, these determination methods are not limited to one, You may determine combining several methods.

また、図4および図5にて説明した擬似エコー信号が最適か否かの判定は、エコーキャンセル処理の初期状態にのみ行ってもよいし、エコーキャンセル処理の実行中に常時行ってもよい。また、予め定めたフレーム数のみ当該判定を行い、当該フレーム数の分だけ判定した後は判定を停止させてもよい。
さらには、図4および図5のループ中ではフィルタ係数の更新をしないこととして説明したが、フィルタ係数を更新しながら行ってもよい。ただしその場合、擬似エコー生成、減算、係数更新はサンプル単位でループし、擬似エコー信号が最適であるかの判定はフレーム単位で行い、別途フィルタ係数および減算結果の信号を格納するバッファが必要となる。また、図4のステップS45でNoの場合、ステップS42からやり直す必要がある。
Further, the determination of whether or not the pseudo echo signal described with reference to FIGS. 4 and 5 is optimal may be performed only in the initial state of the echo cancellation process, or may be performed constantly during the execution of the echo cancellation process. Alternatively, the determination may be performed only for a predetermined number of frames, and the determination may be stopped after the determination is performed for the number of frames.
Furthermore, although it has been described that the filter coefficient is not updated in the loops of FIGS. 4 and 5, it may be performed while updating the filter coefficient. However, in this case, pseudo echo generation, subtraction, and coefficient update are looped in units of samples, and whether the pseudo echo signal is optimal is determined in units of frames, and a buffer that separately stores the filter coefficients and the subtraction result signal is required. Become. Further, in the case of No in step S45 of FIG. 4, it is necessary to start again from step S42.

このように、この実施形態の信号処理装置では、擬似エコー生成部12が受話音声データと送話音声データとの同期が取れるまで同じ擬似エコー信号を出力し、あるいは同期が取れるまで異なる受話音声データに基づき擬似エコー信号の生成を続けて、同期が取れた以後は、同期の取れた受話音声データおよび送話音声データに基づいて擬似エコー信号を生成して、減算部14の出力信号を送話信号出力端子3へ供給するので、同期が取れていない初期状態でも、一旦同期が取れた後に同期が外れた場合でも最適な擬似エコー信号を生成することができ、エコーキャンセル処理の精度を高めることができる。   As described above, in the signal processing device of this embodiment, the pseudo echo generator 12 outputs the same pseudo echo signal until the reception voice data and the transmission voice data are synchronized, or different reception voice data until the synchronization is established. The pseudo echo signal is continuously generated based on the above, and after synchronization is established, the pseudo echo signal is generated based on the synchronized reception voice data and transmission voice data, and the output signal of the subtracting unit 14 is transmitted. Since the signal is supplied to the signal output terminal 3, an optimal pseudo echo signal can be generated even in the initial state where synchronization is not achieved, or when synchronization is lost after synchronization is achieved, and the accuracy of echo cancellation processing is improved. Can do.

続いて、図6を参照して、本発明に係る第2の実施形態について詳細に説明する。図6は、本発明の第2の実施形態に係る信号処理装置の構成を示す図である。この実施形態に係る信号処理装置は、第1の実施形態と同様のIP電話においてエコーを抑えるためのエコーサプレッサである。なお、図1と同一構成部分については同一の符号を付して示し、重複する説明は省略する。   Next, a second embodiment according to the present invention will be described in detail with reference to FIG. FIG. 6 is a diagram showing a configuration of a signal processing device according to the second embodiment of the present invention. The signal processing apparatus according to this embodiment is an echo suppressor for suppressing echoes in the same IP phone as in the first embodiment. In addition, about the same component as FIG. 1, the same code | symbol is attached | subjected and shown, and the overlapping description is abbreviate | omitted.

図6に示すように、この実施形態に係る信号処理装置6は、受話バッファ部61、送話バッファ部62、ボイススイッチ部63、同期制御部64を備えている。受話信号入力端子2は、フレーム単位の受話音声データを入力する端子であり、受話バッファ部61と接続されている。   As shown in FIG. 6, the signal processing device 6 according to this embodiment includes a reception buffer unit 61, a transmission buffer unit 62, a voice switch unit 63, and a synchronization control unit 64. The reception signal input terminal 2 is a terminal for inputting reception voice data in frame units, and is connected to the reception buffer unit 61.

受話バッファ部61は、遠端側から送られる受話音声データを記憶するメモリなどからなる記憶部65aと、当該受話音声データのレベルを低減させる減衰部66aと、当該記憶されたデータの読出しを制御する制御部67aとを備えている。そして、受話バッファ部61は、受話音声データを一旦記憶することで、エコー抑圧処理におけるフレーム単位の誤処理を防ぐ作用をする。受話バッファ部61は、ボイススイッチ部63、同期制御部64および図示しないD/A変換部等を介してスピーカ4と接続されている。   The reception buffer unit 61 controls a storage unit 65a including a memory for storing received voice data transmitted from the far end side, an attenuation unit 66a for reducing the level of the received voice data, and reading of the stored data. Control unit 67a. The reception buffer unit 61 temporarily stores the reception voice data, thereby preventing an erroneous processing in units of frames in the echo suppression processing. The reception buffer unit 61 is connected to the speaker 4 via a voice switch unit 63, a synchronization control unit 64, a D / A conversion unit (not shown), and the like.

送話バッファ部62は、マイク5からA/D変換部等を介して送られる送話音声データを記憶する記憶部65bと、当該送話音声データのレベルを低減させる減衰部66bと、当該記憶されたデータの読出しを制御する制御部67bとを供えている。そして、送話バッファ部62は、送話音声データを記憶することで、エコー抑圧処理におけるフレーム単位の誤処理を防ぐ作用をする。送話バッファ部62は、ボイススイッチ部63、同期制御部64および送話信号出力端子3と接続されている。   The transmission buffer unit 62 includes a storage unit 65b that stores transmission voice data transmitted from the microphone 5 via an A / D conversion unit, an attenuation unit 66b that reduces the level of the transmission voice data, and the storage. And a control unit 67b for controlling reading of the read data. The transmission buffer unit 62 stores transmission voice data, thereby preventing an erroneous process in units of frames in the echo suppression process. The transmission buffer unit 62 is connected to the voice switch unit 63, the synchronization control unit 64, and the transmission signal output terminal 3.

ボイススイッチ部63は、受話バッファ部61に記憶された受話音声データと送話バッファ部62に記憶された送話音声データとを対比してどちらがエコー成分ECであるかを判定し、エコー成分側のデータについてのレベルの減衰量を決定する作用をする。ボイススイッチ部63は、受話バッファ部61、送話バッファ部62および同期制御部64と接続されている。   The voice switch unit 63 compares the reception voice data stored in the reception buffer unit 61 with the transmission voice data stored in the transmission buffer unit 62 to determine which is the echo component EC, and the echo component side It acts to determine the level attenuation for the data. The voice switch unit 63 is connected to the reception buffer unit 61, the transmission buffer unit 62, and the synchronization control unit 64.

同期制御部64は、例えば基準信号発振器などからなり、処理すべき受話音声データおよび送話音声データの読み出しを制御するとともに、信号処理のタイミングを決定する作用をする。そして、同期制御部64は、受話バッファ部61、送話バッファ部62およびボイススイッチ部63と接続されている。   The synchronization control unit 64 is composed of, for example, a reference signal oscillator and controls the reading of received voice data and transmitted voice data to be processed and determines the timing of signal processing. The synchronization control unit 64 is connected to the reception buffer unit 61, the transmission buffer unit 62, and the voice switch unit 63.

この信号処理装置6は、同期制御部64を備えて同期信号を受話バッファ部61、送話バッファ部62およびボイススイッチ部63に供給する。そして、ボイススイッチ部63が対比する受話音声データおよび送話音声データを同期させるので、エコー抑圧処理をソフトウェアにより実現する場合でも誤処理を少なくすることができる。   The signal processing device 6 includes a synchronization control unit 64 and supplies a synchronization signal to the reception buffer unit 61, the transmission buffer unit 62, and the voice switch unit 63. Since the received voice data and the transmitted voice data to be compared by the voice switch unit 63 are synchronized, erroneous processing can be reduced even when the echo suppression processing is realized by software.

次に、図6および図7を参照して、この実施形態に係る信号処理装置の動作を説明する。図7は、この実施形態に係る信号処理装置の動作を示すフローチャートである。この実施形態の信号処理装置では、フレーム単位の音声データについてエコー抑圧処理を実行する。以下、このエコー抑圧処理の1サイクルについて説明する。   Next, the operation of the signal processing apparatus according to this embodiment will be described with reference to FIG. 6 and FIG. FIG. 7 is a flowchart showing the operation of the signal processing apparatus according to this embodiment. In the signal processing apparatus of this embodiment, echo suppression processing is executed for audio data in units of frames. Hereinafter, one cycle of this echo suppression process will be described.

第2の実施形態に係る信号処理装置においても、第1の実施形態に係る信号処理装置と同様に、まず同期制御部64は、受話音声データ、送話音声データおよび減衰の処理タイミングと、受話バッファ部61、送話バッファ部62およびボイススイッチ部63の各々の処理実行タイミングの基準となる同期信号を生成し、受話バッファ部61、送話バッファ部62およびボイススイッチ部63に供給する(S71)。   Also in the signal processing device according to the second embodiment, as in the signal processing device according to the first embodiment, the synchronization control unit 64 first receives the received voice data, the transmitted voice data, the attenuation processing timing, A synchronization signal serving as a reference for processing execution timing of each of the buffer unit 61, the transmission buffer unit 62, and the voice switch unit 63 is generated and supplied to the reception buffer unit 61, the transmission buffer unit 62, and the voice switch unit 63 (S71). ).

受話音声信号入力端子2にフレーム単位の受話音声データが入力されると、受話バッファ部61は、当該受話音声データを記憶部65aに記憶する。記憶されたデータは、同期制御部64からの同期信号に基づいて読み出されてD/A変換部等を介してスピーカ4に出力される(S72)。   When reception voice data in units of frames is input to the reception voice signal input terminal 2, the reception buffer unit 61 stores the reception voice data in the storage unit 65a. The stored data is read based on the synchronization signal from the synchronization control unit 64 and output to the speaker 4 through the D / A conversion unit or the like (S72).

一方、スピーカ4から出力された音声の一部は、エコー成分ECとして伝送すべき音声と併せてマイク5に入力される。マイク5に入力されたエコー成分を含む音声信号は、A/D変換部等を介してフレーム単位の送話音声データとして送話バッファ部62に入力される。送話音声データが入力されると、送話バッファ部62は、当該送話音声データを記憶部65bに記憶する。記憶されたデータは、同期制御部64からの同期信号に基づいて読み出されて送話信号出力端子3へと出力される(S73)。   On the other hand, a part of the sound output from the speaker 4 is input to the microphone 5 together with the sound to be transmitted as the echo component EC. The audio signal including the echo component input to the microphone 5 is input to the transmission buffer unit 62 as transmission audio data in units of frames via an A / D conversion unit or the like. When the transmission voice data is input, the transmission buffer unit 62 stores the transmission voice data in the storage unit 65b. The stored data is read based on the synchronization signal from the synchronization control unit 64 and output to the transmission signal output terminal 3 (S73).

ここで、ボイススイッチ部63は、同期制御部64からの同期信号に基づいて、受話バッファ部61の記憶部65aに記憶された受話音声データと、当該受話音声データに対応し送話バッファ部62の記憶部65bに記憶されたデータとを参照して、両者の信号レベルを比較する(S74)。比較の結果、信号レベルの低い方の音声データは、非優先側であると判定する。   Here, the voice switch unit 63 receives the received voice data stored in the storage unit 65a of the reception buffer unit 61 based on the synchronization signal from the synchronization control unit 64, and the transmission buffer unit 62 corresponding to the received voice data. With reference to the data stored in the storage unit 65b, the signal levels of the two are compared (S74). As a result of the comparison, it is determined that the audio data with the lower signal level is the non-priority side.

非優先側が判定されると、ボイススイッチ部63は、受話バッファ部61または送話バッファ部62のいずれか減衰すべきバッファ部の減衰部66aまたは66bの減衰量を決定する。減衰量が決定すると、ボイススイッチ部63は、減衰部66aまたは66bに対し音声データのレベルの減衰指示を発する(S75)。この結果、非優先側と判定された受話音声データまたは送話音声データのいずれか一方のデータについて、信号レベルの減衰処理が施されることになる。   When the non-priority side is determined, the voice switch unit 63 determines the attenuation amount of the attenuation unit 66a or 66b of the buffer unit to be attenuated, either the reception buffer unit 61 or the transmission buffer unit 62. When the attenuation amount is determined, the voice switch unit 63 issues a sound data level attenuation instruction to the attenuation unit 66a or 66b (S75). As a result, the signal level attenuation process is performed on either the received voice data or the transmitted voice data determined as the non-priority side.

このように、この実施形態の信号処理装置6では、同期制御部64を備えて減衰量を決定するに当たって参照する受話音声データおよび送話音声データの各々をフレーム単位で同期するので、フレーム単位のエコー抑圧処理を正確に実行することができ、音質の劣化を抑えることができる。   As described above, the signal processing device 6 of this embodiment includes the synchronization control unit 64 and synchronizes each of the received voice data and the transmitted voice data to be referred to when determining the attenuation amount in the frame unit. Echo suppression processing can be executed accurately and deterioration of sound quality can be suppressed.

なお、本発明は上記実施形態のみに限定されるものではない。
上記実施形態では、受話バッファ部、送話バッファ部、擬似エコー生成部、減算部、ボイススイッチ部などの構成部分をソフトウェアにより実現するものとして説明したが、これには限定されない。すなわち、各構成部分をハードウェア部品により構成したり、プログラマブルICなどを用いてハードウェアとソフトウェアを融合させた形態で構成しても同様の効果を得ることができる。
図6では、非優先側を減衰部66aまたは66bで減衰することによってエコー抑圧処理を行うと説明したが、減衰器の代わりにON/OFFのスイッチを用いてもよい。
In addition, this invention is not limited only to the said embodiment.
In the above embodiment, the constituent parts such as the reception buffer unit, the transmission buffer unit, the pseudo echo generation unit, the subtraction unit, and the voice switch unit are described as being implemented by software. However, the present invention is not limited to this. That is, the same effect can be obtained even if each component is configured by hardware parts or configured in a form in which hardware and software are combined using a programmable IC or the like.
In FIG. 6, it has been described that the echo suppression process is performed by attenuating the non-priority side by the attenuation unit 66a or 66b. However, an ON / OFF switch may be used instead of the attenuator.

また、上記実施形態における、受話音声データの読みだし、送話音声データの読みだし、擬似エコー信号の生成などの各処理は、上記したフローの順序に限定されるものではない。すなわち、受話音声データ、送話音声データ、擬似エコー信号または減衰指示の同期信号などが、互いに同期してそれぞれ処理されるように構成されれば、他の順序により実行されてもよい。   In addition, each process such as reading received voice data, reading transmitted voice data, and generating a pseudo echo signal in the above embodiment is not limited to the above-described flow order. That is, the reception voice data, the transmission voice data, the pseudo echo signal, the attenuation instruction synchronization signal, and the like may be executed in another order as long as they are processed in synchronization with each other.

また、上記実施形態においては、近端側のスピーカからマイクに混入するエコー成分を除去または抑圧する信号処理装置として説明したが、これにも限定されない。すなわち、2線−4線変換器などにおいて発生するエコーの除去または抑圧にも適用することができる。この場合、エコーの発生する側を近端側とし、エコーの元となる信号が伝送される側を遠端側とする。   In the above-described embodiment, the signal processing apparatus has been described as removing or suppressing the echo component mixed into the microphone from the near-end speaker, but the present invention is not limited to this. That is, the present invention can also be applied to the removal or suppression of echoes generated in a 2-wire to 4-wire converter or the like. In this case, the side on which the echo is generated is the near end side, and the side on which the signal that is the source of the echo is transmitted is the far end side.

ここで、上記実施形態におけるソフトウェアは、フレキシブルディスクなどのコンピュータが読み出し可能な記憶媒体に記憶されていても良く、また、ソフトウェア(プログラム)単体として伝送されるものでもよい。この場合、記憶媒体に記憶されたソフトウェア(プログラム)をコンピュータが読み出したり、LANやインターネッ上のサイト(サーバ)からダウンロードしてインストールすることにより、各実施形態における処理が可能になる。   Here, the software in the above embodiment may be stored in a computer-readable storage medium such as a flexible disk, or may be transmitted as software (program) alone. In this case, the software (program) stored in the storage medium is read by the computer, or downloaded and installed from a site (server) on the LAN or the Internet, thereby enabling processing in each embodiment.

つまり、本発明におけるソフトウェア(プログラム)は、コンピュータと独立した記憶媒体に記憶されているものだけに限らず、LANやインターネットなどの伝送媒体を介して流通されるものも含まれる。   That is, the software (program) in the present invention is not limited to that stored in a storage medium independent of the computer, but includes software distributed via a transmission medium such as a LAN or the Internet.

また、記憶媒体からコンピュータにインストールされたプログラムの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)や、データベース管理ソフト、ネットワークソフトなどのMW(ミドルウェア)などが本実施形態を実現するための各処理の一部を実行しても良い。   Further, based on an instruction of a program installed in a computer from a storage medium, an OS (operating system) running on the computer, database management software, MW (middleware) such as network software, and the like realize this embodiment. A part of each process may be executed.

なお、コンピュータは、記憶媒体に記憶されたプログラムに基づき、本実施形態における各処理を実行するものであって、パソコンなどの一つからなる装置、複数の装置がネットワーク接続されたシステムなどのいずれの構成であっても良い。   The computer executes each process in the present embodiment based on a program stored in a storage medium, and includes any one device such as a personal computer or a system in which a plurality of devices are connected to a network. It may be configured as follows.

また、コンピュータとは、パソコンに限らず、情報処理機器に含まれる演算処理装置、マイコンなども含み、プログラムによって本発明の機能を実現することが可能な機器、装置を総称している。   The computer is not limited to a personal computer, but includes an arithmetic processing device, a microcomputer, and the like included in an information processing device, and is a generic term for devices and devices that can realize the functions of the present invention by a program.

本発明は、電子機器製造業、通信機器製造業、電気通信業などの用途に適用できる。   The present invention can be applied to uses such as an electronic device manufacturing industry, a communication device manufacturing industry, and a telecommunications industry.

本発明の第1の実施形態の信号処理装置の構成を示す図である。It is a figure which shows the structure of the signal processing apparatus of the 1st Embodiment of this invention. この実施形態の信号処理装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the signal processing apparatus of this embodiment. この実施形態の信号処理装置の信号の流れを示す図である。It is a figure which shows the flow of a signal of the signal processing apparatus of this embodiment. この実施形態の信号処理装置における擬似エコー生成の初期動作を説明する図である。It is a figure explaining the initial operation of pseudo echo generation in the signal processor of this embodiment. この実施形態の信号処理装置における擬似エコー生成の初期動作を説明する図である。It is a figure explaining the initial operation of pseudo echo generation in the signal processor of this embodiment. 本発明の第2の実施形態の信号処理装置の構成を示す図である。It is a figure which shows the structure of the signal processing apparatus of the 2nd Embodiment of this invention. この実施形態の信号処理装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the signal processing apparatus of this embodiment.

符号の説明Explanation of symbols

1…信号処理装置、2…受話信号入力端子、3…送話信号出力端子、4…スピーカ、5…マイク、6…信号処理装置、11…受話バッファ部、12…擬似エコー生成部、13…送話バッファ部、14…減算部、15…同期制御部、16…記憶部、17…制御部、18…記憶部、19…制御部、61…受話バッファ部、62…送話バッファ部、63…ボイススイッチ部、64…同期制御部、65a・b…記憶部、66a・b…減衰部、67a・b…制御部。   DESCRIPTION OF SYMBOLS 1 ... Signal processing apparatus, 2 ... Reception signal input terminal, 3 ... Transmission signal output terminal, 4 ... Speaker, 5 ... Microphone, 6 ... Signal processing apparatus, 11 ... Reception buffer part, 12 ... Pseudo echo generation part, 13 ... Transmission buffer unit, 14 ... Subtraction unit, 15 ... Synchronization control unit, 16 ... Storage unit, 17 ... Control unit, 18 ... Storage unit, 19 ... Control unit, 61 ... Reception buffer unit, 62 ... Transmission buffer unit, 63 ... voice switch part, 64 ... synchronization control part, 65a · b ... storage part, 66a · b ... attenuation part, 67a · b ... control part.

Claims (4)

互いに独立した送話器および受話器を用いた通信装置における信号処理装置であって、
同期信号を供給する同期制御部と、
相手方からの受話信号をフレーム単位で記憶し、前記同期信号に基づいて該受話信号を出力する第1のバッファ手段と、
前記受話器から出力されたエコーを含む前記送話器からの送話信号をフレーム単位で記憶し、前記同期信号に基づいて該送話信号を出力する第2のバッファ手段と、
相手方へ伝送する送話信号および前記第1のバッファ手段に記憶された受話信号に基づき擬似エコー信号を生成し、前記同期信号に基づき前記第2のバッファ手段から出力される送話信号と同期させて前記擬似エコー信号を出力する擬似エコー信号生成手段と、
前記第2のバッファ手段から出力される送話信号から前記擬似エコー信号を減じて前記相手方へ伝送する送話信号を出力する減算手段と
を具備したことを特徴とする信号処理装置。
A signal processing device in a communication device using a transmitter and a receiver independent of each other,
A synchronization control unit for supplying a synchronization signal;
First buffer means for storing a received signal from the other party in units of frames and outputting the received signal based on the synchronization signal;
Second buffer means for storing transmission signals from the transmitter including echoes output from the receiver in units of frames and outputting the transmission signals based on the synchronization signals;
A pseudo echo signal is generated based on the transmission signal transmitted to the other party and the reception signal stored in the first buffer means, and is synchronized with the transmission signal output from the second buffer means based on the synchronization signal. Pseudo echo signal generation means for outputting the pseudo echo signal;
A signal processing apparatus comprising: subtracting means for subtracting the pseudo echo signal from a transmission signal output from the second buffer means and outputting a transmission signal to be transmitted to the other party.
互いに独立した送話器および受話器を用いた通信装置における信号処理装置であって、
同期信号を供給する同期制御部と、
相手方からの受話信号をフレーム単位で記憶する記憶部と該受話信号を減衰する減衰部とを備え前記同期信号に基づいて前記受話信号を前記受話器に向けて出力する第1のバッファ手段と、
前記受話器から出力されたエコーを含む前記送話器からの送話信号をフレーム単位で記憶する記憶部と該送話信号を減衰する減衰部とを備え前記同期信号に基づいて前記送話信号を出力する第2のバッファ手段と、
前記第1のバッファ手段に記憶された受話信号と前記第2のバッファ手段に記憶された送話信号とを比較して前記第1のバッファ手段における減衰量および前記第2のバッファ手段における減衰量を決定し、前記同期信号に基づいて前記第1のバッファ手段および前記第2のバッファ手段の各々の減衰部の減衰量を設定するボイススイッチ部と
を具備したことを特徴とする信号処理装置。
A signal processing device in a communication device using a transmitter and a receiver independent of each other,
A synchronization control unit for supplying a synchronization signal;
A first buffer means for outputting the received signal to the receiver based on the synchronization signal, comprising: a storage unit for storing the received signal from the other party in units of frames; and an attenuation unit for attenuating the received signal;
A storage unit for storing a transmission signal from the transmitter including an echo output from the receiver in units of a frame; and an attenuation unit for attenuating the transmission signal. The transmission signal is determined based on the synchronization signal. Second buffer means for outputting;
The amount of attenuation in the first buffer means and the amount of attenuation in the second buffer means by comparing the received signal stored in the first buffer means with the transmission signal stored in the second buffer means And a voice switch unit for setting an attenuation amount of each attenuation unit of the first buffer unit and the second buffer unit based on the synchronization signal.
互いに独立した送話器および受話器を用いた通信装置における信号処理装置であって、
同期信号を供給する同期制御部と、
相手方からの受話信号をフレーム単位で記憶し、前記同期信号に基づいて該受話信号を出力する第1のバッファ手段と、
前記受話器から出力されたエコーを含む前記送話器からの送話信号をフレーム単位で記憶し、前記同期信号に基づいて該送話信号を出力する第2のバッファ手段と、
相手方へ伝送する送話信号および前記第1のバッファ手段に記憶された受話信号に基づき擬似エコー信号を生成し、前記同期信号に基づき前記第2のバッファ手段から出力される送話信号と同期させて前記擬似エコー信号を出力する擬似エコー信号生成手段と、
前記第2のバッファ手段から出力される送話信号から前記擬似エコー信号を減じて前記相手方へ伝送する送話信号を出力する減算手段とを具備した信号処理装置としてコンピュータを機能させるコンピュータプログラム。
A signal processing device in a communication device using a transmitter and a receiver independent of each other,
A synchronization control unit for supplying a synchronization signal;
First buffer means for storing a received signal from the other party in units of frames and outputting the received signal based on the synchronization signal;
Second buffer means for storing transmission signals from the transmitter including echoes output from the receiver in units of frames and outputting the transmission signals based on the synchronization signals;
A pseudo echo signal is generated based on the transmission signal transmitted to the other party and the reception signal stored in the first buffer means, and is synchronized with the transmission signal output from the second buffer means based on the synchronization signal. Pseudo echo signal generation means for outputting the pseudo echo signal;
A computer program for causing a computer to function as a signal processing apparatus comprising subtracting means for subtracting the pseudo echo signal from a transmission signal output from the second buffer means and outputting a transmission signal to be transmitted to the other party.
互いに独立した送話器および受話器を用いた通信装置における信号処理装置であって、
同期信号を供給する同期制御部と、
相手方からの受話信号をフレーム単位で記憶する記憶部と該受話信号を減衰する減衰部とを備え前記同期信号に基づいて前記受話信号を前記受話器に向けて出力する第1のバッファ手段と、
前記受話器から出力されたエコーを含む前記送話器からの送話信号をフレーム単位で記憶する記憶部と該送話信号を減衰する減衰部とを備え前記同期信号に基づいて前記送話信号を出力する第2のバッファ手段と、
前記第1のバッファ手段に記憶された受話信号と前記第2のバッファ手段に記憶された送話信号とを比較して前記第1のバッファ手段における減衰量および前記第2のバッファ手段における減衰量を決定し、前記同期信号に基づいて前記第1のバッファ手段および前記第2のバッファ手段の各々の減衰部の減衰量を設定するボイススイッチ部とを具備した信号処理装置としてコンピュータを機能させるコンピュータプログラム。
A signal processing device in a communication device using a transmitter and a receiver independent of each other,
A synchronization control unit for supplying a synchronization signal;
A first buffer means for outputting the received signal to the receiver based on the synchronization signal, comprising: a storage unit for storing the received signal from the other party in units of frames; and an attenuation unit for attenuating the received signal;
A storage unit for storing a transmission signal from the transmitter including an echo output from the receiver in units of a frame; and an attenuation unit for attenuating the transmission signal. The transmission signal is determined based on the synchronization signal. Second buffer means for outputting;
The amount of attenuation in the first buffer means and the amount of attenuation in the second buffer means by comparing the received signal stored in the first buffer means with the transmission signal stored in the second buffer means And a computer that causes the computer to function as a signal processing device including a voice switch unit that sets an attenuation amount of each attenuation unit of the first buffer unit and the second buffer unit based on the synchronization signal program.
JP2003377947A 2003-11-07 2003-11-07 Signal processing device, computer program Expired - Fee Related JP4346414B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003377947A JP4346414B2 (en) 2003-11-07 2003-11-07 Signal processing device, computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003377947A JP4346414B2 (en) 2003-11-07 2003-11-07 Signal processing device, computer program

Publications (2)

Publication Number Publication Date
JP2005142886A true JP2005142886A (en) 2005-06-02
JP4346414B2 JP4346414B2 (en) 2009-10-21

Family

ID=34688495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003377947A Expired - Fee Related JP4346414B2 (en) 2003-11-07 2003-11-07 Signal processing device, computer program

Country Status (1)

Country Link
JP (1) JP4346414B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008141507A (en) * 2006-12-01 2008-06-19 Toshiba Corp Information processor and program
US9179217B2 (en) 2012-12-21 2015-11-03 Kabushiki Kaisha Toshiba Signal processing apparatus and signal processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008141507A (en) * 2006-12-01 2008-06-19 Toshiba Corp Information processor and program
US9179217B2 (en) 2012-12-21 2015-11-03 Kabushiki Kaisha Toshiba Signal processing apparatus and signal processing method

Also Published As

Publication number Publication date
JP4346414B2 (en) 2009-10-21

Similar Documents

Publication Publication Date Title
JP5061853B2 (en) Echo canceller and echo cancel program
US8976715B2 (en) System and method for operating a packet voice far-end echo cancellation system
US9794417B2 (en) Packet voice system with far-end echo cancellation
US9294851B2 (en) Hearing assistance devices with echo cancellation
JP5223576B2 (en) Echo canceller, echo cancellation method and program
US8041027B2 (en) Electricity echo cancellation device and method
US8867735B2 (en) Echo cancelling device, communication device, and echo cancelling method having the error signal generating circuit
US7366118B2 (en) Echo cancellation
JP2005142659A (en) Echo canceller
Ogunfunmi et al. Speech over VoIP networks: Advanced signal processing and system implementation
EP1078474A2 (en) Echo cancellation in digital data transmission system
US8582754B2 (en) Method and system for echo cancellation in presence of streamed audio
JP2000151474A (en) Echo canceler
JP2005533427A (en) Echo canceller with model mismatch compensation
JP4346414B2 (en) Signal processing device, computer program
JP2009017029A (en) Device and method for processing sound signal
JP2861888B2 (en) Echo / noise canceller and echo / noise elimination method
JP5367554B2 (en) Network equipment
JP4576847B2 (en) Echo canceller control device and voice communication device
JP6635211B1 (en) Echo canceller and IP telephone
JP2006148375A (en) Echo cancellation method, echo canceller, and telephone repeater
JP2008311747A (en) Residual echo suppression control unit, method, and program
EP1434416B1 (en) Packet voice system with far-end echo cancellation
JP2007243829A (en) Residual echo suppression control apparatus and method, and echo canceler
JP2006033261A (en) Private branch exchange, gateway apparatus, ip phone system, and speech quality control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080422

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080623

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: 20090623

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: 20090714

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

Free format text: PAYMENT UNTIL: 20120724

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130724

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees