JP4826463B2 - Gateway device, control method thereof and program thereof - Google Patents

Gateway device, control method thereof and program thereof Download PDF

Info

Publication number
JP4826463B2
JP4826463B2 JP2006342847A JP2006342847A JP4826463B2 JP 4826463 B2 JP4826463 B2 JP 4826463B2 JP 2006342847 A JP2006342847 A JP 2006342847A JP 2006342847 A JP2006342847 A JP 2006342847A JP 4826463 B2 JP4826463 B2 JP 4826463B2
Authority
JP
Japan
Prior art keywords
signal
correction filter
network
voice signal
audio 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.)
Active
Application number
JP2006342847A
Other languages
Japanese (ja)
Other versions
JP2008154180A (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.)
Icom Inc
Original Assignee
Icom Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Icom Inc filed Critical Icom Inc
Priority to JP2006342847A priority Critical patent/JP4826463B2/en
Publication of JP2008154180A publication Critical patent/JP2008154180A/en
Application granted granted Critical
Publication of JP4826463B2 publication Critical patent/JP4826463B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

本発明は、公衆電話交換回線網とIP(Internet Protocol)電話網とを中継するゲートウェイ装置に関する。   The present invention relates to a gateway device that relays between a public switched telephone network and an IP (Internet Protocol) telephone network.

公衆電話交換回線網(PSTN網)とIP(Internet Protocol)電話網とを中継するゲートウェイ装置がある。該ゲートウェイ装置を介して、IP電話網側から公衆電話交換回線網側に音声信号を送信した場合、該ゲートウェイ装置内のハイブリット回路により音声信号の一部が反射され、IP電話網側にエコーが発生するという問題が生じる。
そのため、エコーキャンセラによりエコーを除去する機能を有する通信装置が実現されている(例えば特許文献1)。
特開平07−303069号公報
There is a gateway device that relays between a public switched telephone network (PSTN network) and an IP (Internet Protocol) telephone network. When an audio signal is transmitted from the IP telephone network side to the public switched telephone network via the gateway device, a part of the audio signal is reflected by the hybrid circuit in the gateway device, and an echo is generated on the IP telephone network side. The problem arises.
For this reason, a communication apparatus having a function of removing echoes by an echo canceller has been realized (for example, Patent Document 1).
Japanese Patent Laid-Open No. 07-303069

エコーキャンセラでエコーを迅速に除去するには高い応答性能が求められ、高性能なCPU(Central Processing Unit)やDSP(Digital Signal Processor)等を用いて、高速収束可能なアルゴリズムを持つ高負荷なエコーキャンセラを構成する必要がある。   High response performance is required to quickly remove echoes with an echo canceller, and a high-load echo with an algorithm that can converge at high speed using a high-performance CPU (Central Processing Unit) or DSP (Digital Signal Processor). It is necessary to configure a canceller.

本発明は、上記実情に鑑みてなされたものであり、比較的低負荷で迅速にエコーを除去することが可能なゲートウェイ装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a gateway device capable of quickly removing echoes with a relatively low load.

上記目的を達成するため、本発明の第1の観点に係るゲートウェイ装置は、IP(インターネットプロトコル)ネットワークと公衆電話交換回線ネットワークとの間で音声信号を中継するゲートウェイ装置であって、前記IPネットワークから送話ラインを介して供給される音声信号を、前記公衆電話交換回線ネットワークの通信プロトコルに準拠した音声信号に変換して、前記公衆電話交換回線ネットワークに送出し、前記公衆電話交換回線ネットワークから供給された音声信号を前記IPネットワークの通信プロトコルに準拠した音声信号に変換して受話ラインを介して前記IPネットワークに送信する音声信号送受信手段と、前記送話ライン上の音声信号を入力し、フィルタリングして出力する補正フィルタ手段と、前記受話ライン上に配置され、前記受話ライン上の音声信号から前記補正フィルタ手段の出力信号を減算する減算手段と、疑似音声信号を生成する疑似音声信号生成手段と、前記疑似音声信号生成手段が生成した疑似音声信号を前記送話ラインに供給し、疑似音声信号が前記音声送受信手段で反射することにより前記受話ラインに発生するエコー信号と前記補正フィルタ手段の出力信号が実質的に一致するように前記補正フィルタ手段の特性を設定する補正フィルタ設定手段と、前記減算手段の出力信号に含まれるエコー信号の変化に追従し、該エコー信号をキャンセルするエコーキャンセル手段と、を備え、前記補正フィルタ設定手段は、前記公衆電話交換回線ネットワークに発呼し、該公衆電話交換回線ネットワークからの待ち受け音を停止し、待ち受け音の停止後、前記補正フィルタ手段の特性の設定処理を行う、ことを特徴とする。
前記補正フィルタ設定手段は、前記公衆電話交換回線ネットワーク側の回線種別を判別し、判別した回線種別に合った方式で待ち受け音を停止してもよい。
前記補正フィルタ手段の特性の設定処理が行われている間、前記エコーキャンセル手段に前記疑似音声信号が入力されてもよい。
To achieve the above object, a gateway device according to a first aspect of the present invention is a gateway device that relays a voice signal between an IP (Internet Protocol) network and a public switched telephone network, and the IP network The voice signal supplied via the transmission line is converted into a voice signal conforming to the communication protocol of the public telephone switched network, and is sent to the public switched telephone network. A voice signal transmitting / receiving means for converting the supplied voice signal into a voice signal conforming to the communication protocol of the IP network and transmitting the voice signal to the IP network via a reception line; and inputting the voice signal on the transmission line; Correction filter means for filtering and outputting on the reception line; A subtracting means for subtracting the output signal of the correction filter means from the audio signal on the reception line, a pseudo audio signal generating means for generating a pseudo audio signal, and a pseudo audio signal generated by the pseudo audio signal generating means The correction filter means so that the echo signal generated in the reception line and the output signal of the correction filter means substantially coincide with each other when the pseudo voice signal is reflected by the voice transmission / reception means. Correction filter setting means for setting the characteristics of the subtracting means, and echo cancellation means for following the change of the echo signal included in the output signal of the subtracting means and canceling the echo signal, and the correction filter setting means Call a public switched telephone network, stop the standby sound from the public switched network, After the stop, the setting processing of the characteristics of the correction filter means, characterized in that.
The correction filter setting means may determine the line type on the public switched telephone network side and stop the standby sound by a method suitable for the determined line type.
While the characteristic setting process of the correction filter unit is being performed, the pseudo audio signal may be input to the echo cancellation unit.

音声信号と疑似音声信号とを切り換えて前記補正フィルタ手段及び前記音声信号送受信手段に供給する切り換えスイッチを備え、前記補正フィルタ設定手段は、所定のタイミングで、前記切換スイッチを切り換えて、疑似音声信号を前記補正フィルタ手段及び前記音声信号送受信手段に供給して、前記補正フィルタ手段の特性を調整し、調整終了後、前記切換スイッチを切り換えて、音声信号を前記補正フィルタ手段及び前記音声信号送受信手段に供給し、前記所定のタイミングで、前記減算手段の出力信号を前記補正フィルタ手段に供給し、調整終了後、該供給を停止し、前記補正フィルタ手段は、前記減算手段の出力信号の供給がある間は、前記減算手段の出力信号の信号レベルが所定のレベル以下となるように、自己の特性を調整し、該供給がなくなると、調整された特性を維持する適応フィルタから構成されてもよい。   A switching switch that switches between a sound signal and a pseudo sound signal and supplies the sound signal to the correction filter means and the sound signal transmitting / receiving means; and the correction filter setting means switches the changeover switch at a predetermined timing to switch the pseudo sound signal. To the correction filter means and the audio signal transmission / reception means to adjust the characteristics of the correction filter means, and after the adjustment is completed, the changeover switch is switched to convert the audio signal into the correction filter means and the audio signal transmission / reception means. At the predetermined timing, the output signal of the subtracting means is supplied to the correction filter means, and after the adjustment is completed, the supply is stopped, and the correction filter means supplies the output signal of the subtracting means. While there is, adjust its own characteristics so that the signal level of the output signal of the subtracting means is below a predetermined level, When the supply is exhausted, it may consist adaptive filter to maintain the regulated properties.

前記疑似音声信号生成手段は、人間が発声する音声の周波数帯域と実質的に等しい周波数帯域を有する疑似音声信号を生成してもよい。   The pseudo audio signal generating means may generate a pseudo audio signal having a frequency band substantially equal to a frequency band of a voice uttered by a human.

上記目的を達成するため、本発明の第2の観点に係るゲートウェイ装置の制御方法は、IP(インターネットプロトコル)ネットワークと公衆電話交換回線ネットワークとの間で音声信号を中継するゲートウェイ装置の制御方法であって、前記IPネットワークから送話ラインを介して供給される音声信号を、前記公衆電話交換回線ネットワークの通信プロトコルに準拠した音声信号に変換して、前記公衆電話交換回線ネットワークに送出し、前記公衆電話交換回線ネットワークから供給された音声信号を前記IPネットワークの通信プロトコルに準拠した音声信号に変換して受話ラインを介して前記IPネットワークに送信する音声信号送受信ステップと、前記送話ライン上の音声信号を入力し、フィルタリングして出力する補正フィルタステップと、前記受話ライン上に配置され、前記受話ライン上の音声信号から前記補正フィルタステップの出力信号を減算する減算ステップと、疑似音声信号を生成する疑似音声信号生成ステップと、前記疑似音声信号生成ステップが生成した疑似音声信号を前記送話ラインに供給し、疑似音声信号が前記音声送受信ステップで反射することにより前記受話ラインに発生するエコー信号と前記補正フィルタステップの出力信号が実質的に一致するように前記補正フィルタステップの特性を設定する補正フィルタ設定ステップと、前記減算ステップの出力信号に含まれるエコー信号の変化に追従し、該エコー信号をキャンセルするエコーキャンセルステップと、を備え、前記補正フィルタ設定ステップは、前記公衆電話交換回線ネットワークに発呼し、該公衆電話交換回線ネットワークからの待ち受け音を停止し、待ち受け音の停止後、前記補正フィルタステップの特性の設定処理を行う、ことを特徴とする。 To achieve the above object, a control method of a gateway device according to a second aspect of the present invention, IP control method of a gateway device for relaying the voice signals between the (Internet Protocol) network and a public switched telephone network A voice signal supplied from the IP network via a transmission line is converted into a voice signal conforming to a communication protocol of the public switched telephone network and sent to the public switched telephone network; A voice signal transmission / reception step of converting a voice signal supplied from a public switched telephone network into a voice signal conforming to the communication protocol of the IP network and transmitting the voice signal to the IP network via a reception line; A correction filter that inputs audio signals, filters them, and outputs them A subtraction step that is arranged on the reception line and subtracts the output signal of the correction filter step from the audio signal on the reception line; a pseudo audio signal generation step that generates a pseudo audio signal; and the pseudo audio signal The pseudo audio signal generated in the generation step is supplied to the transmission line, and the echo signal generated in the reception line by the reflection of the pseudo audio signal in the audio transmission / reception step and the output signal of the correction filter step are substantially A correction filter setting step for setting the characteristics of the correction filter step to match, and an echo cancellation step for following the change in the echo signal included in the output signal of the subtraction step and canceling the echo signal , The correction filter setting step is performed on the public switched telephone network. And call, stop listening sound from the public switched telephone network, after stopping the waiting tone, the setting processing of the characteristics of the correction filter step, it is characterized.

上記目的を達成するため、本発明の第3の観点に係るプログラムは、IP(インターネットプロトコル)ネットワークと公衆電話交換回線ネットワークとの間で音声信号を中継するゲートウェイ装置の機能をコンピュータに実現させるプログラムであって、コンピュータを、前記IPネットワークから送話ラインを介して供給される音声信号を、前記公衆電話交換回線ネットワークの通信プロトコルに準拠した音声信号に変換して、前記公衆電話交換回線ネットワークに送出し、前記公衆電話交換回線ネットワークから供給された音声信号を前記IPネットワークの通信プロトコルに準拠した音声信号に変換して受話ラインを介して前記IPネットワークに送信する音声信号送受信手段と、前記送話ライン上の音声信号を入力し、フィルタリングして出力する補正フィルタ手段と、前記受話ライン上に配置され、前記受話ライン上の音声信号から前記補正フィルタ手段の出力信号を減算する減算手段と、疑似音声信号を生成する疑似音声信号生成手段と、前記疑似音声信号生成手段が生成した疑似音声信号を前記送話ラインに供給し、疑似音声信号が前記音声送受信手段で反射することにより前記受話ラインに発生するエコー信号と前記補正フィルタ手段の出力信号が実質的に一致するように前記補正フィルタ手段の特性を設定する補正フィルタ設定手段と、前記減算手段の出力信号に含まれるエコー信号の変化に追従し、該エコー信号をキャンセルするエコーキャンセル手段、として機能させ、前記補正フィルタ設定手段は、前記公衆電話交換回線ネットワークに発呼し、該公衆電話交換回線ネットワークからの待ち受け音を停止し、待ち受け音の停止後、前記補正フィルタ手段の特性の設定処理を行う、ことを特徴とするIn order to achieve the above object, a program according to a third aspect of the present invention is a program that causes a computer to realize a function of a gateway device that relays a voice signal between an IP (Internet Protocol) network and a public switched telephone network. The computer converts a voice signal supplied from the IP network via a transmission line into a voice signal conforming to a communication protocol of the public switched telephone network, and transmits the voice signal to the public switched telephone network. Voice signal transmitting / receiving means for transmitting, converting a voice signal supplied from the public switched telephone network to a voice signal conforming to a communication protocol of the IP network, and transmitting the voice signal to the IP network via a reception line; Input voice signal on talk line and filter Correction filter means for outputting the output signal, subtracting means arranged on the reception line and subtracting the output signal of the correction filter means from the sound signal on the reception line, and pseudo sound signal generation for generating a pseudo sound signal And a pseudo voice signal generated by the pseudo voice signal generating means is supplied to the transmission line, and an echo signal generated in the reception line when the pseudo voice signal is reflected by the voice transmitting / receiving means and the correction filter means Correction filter setting means for setting the characteristics of the correction filter means so that the output signals substantially match, and an echo that follows the change of the echo signal contained in the output signal of the subtraction means and cancels the echo signal canceling means, to function as the correction filter setting unit, a call to the public switched telephone network, the public The waiting sound from talking switched network stopped, after stopping the waiting tone, the setting processing of the characteristics of the correction filter means, characterized in that.

本発明によれば、補正フィルタ手段でエコー信号の少なくとも一部を除去しているので、エコーキャンセラ手段が除去すべきエコー信号は相対的に小さくなり、比較的低負荷で迅速にエコー信号を除去することが可能となる。   According to the present invention, since at least part of the echo signal is removed by the correction filter means, the echo signal to be removed by the echo canceller means becomes relatively small, and the echo signal is quickly removed at a relatively low load. It becomes possible to do.

以下、本発明の実施形態に係るゲートウェイ装置を備える通信システムについて、図面を参照して説明する。   Hereinafter, a communication system including a gateway device according to an embodiment of the present invention will be described with reference to the drawings.

本実施形態の通信システムは、図1に示すように、ゲートウェイ装置(以下、GWと呼称)1と、PSTN(Public Switched Telephone Networks)網2と、電話機3(3〜3)と、IP(Internet Protocol)網4とIP電話機5(5〜5)と、を備える。 As shown in FIG. 1, the communication system of this embodiment includes a gateway device (hereinafter referred to as GW) 1, a PSTN (Public Switched Telephone Networks) network 2, a telephone 3 (3 1 to 3 n ), an IP (Internet Protocol) network 4 and IP telephones 5 (5 1 to 5 n ).

GW1は、PSTN網2とIP網4との間で送受信される音声データの中継を行う。GW1は、図2に示すように、記憶部11と、制御部12と、通信制御部13と、から構成される。   The GW 1 relays voice data transmitted and received between the PSTN network 2 and the IP network 4. As shown in FIG. 2, the GW 1 includes a storage unit 11, a control unit 12, and a communication control unit 13.

記憶部11は、RAM(Random Access Memory)やROM(Read Only Memory)等から構成され、制御部12が実行するための動作プログラム等を記憶する。   The storage unit 11 includes a RAM (Random Access Memory), a ROM (Read Only Memory), and the like, and stores an operation program to be executed by the control unit 12.

制御部12は、CPU(Central Processing Unit)やマイクロプロセッサ等からなり、記憶部11に記憶されている所定の動作プログラムを実行することによって、GW1の動作を制御する。例えば、制御部12は、通信制御部13を制御して、IP網4から送信された音声信号によって発生するエコーを除去するための処理を行う。該処理については後述する。   The control unit 12 includes a CPU (Central Processing Unit), a microprocessor, and the like, and controls the operation of the GW 1 by executing a predetermined operation program stored in the storage unit 11. For example, the control unit 12 controls the communication control unit 13 to perform processing for removing an echo generated by a voice signal transmitted from the IP network 4. This process will be described later.

通信制御部13は、IP網4とPSTN網2との間の音声データの通信を制御する。通信制御部13は、図3に示すように、擬似音声生成器21と、スイッチSW1、SW2と、エコーキャンセラ回路22と、補正フィルタ23と、ハイブリッド回路24と、D/A(Digital to Analog)変換器25と、A/D(Analog to Digital)変換器26と、増幅器27A、27Bと、減算回路28A、28Bと、を備える。
なお、通信制御部13は、その動作状態を示す情報を、制御部12に逐次送信する。
The communication control unit 13 controls voice data communication between the IP network 4 and the PSTN network 2. As shown in FIG. 3, the communication control unit 13 includes a pseudo sound generator 21, switches SW1 and SW2, an echo canceller circuit 22, a correction filter 23, a hybrid circuit 24, and a D / A (Digital to Analog). A converter 25, an A / D (Analog to Digital) converter 26, amplifiers 27A and 27B, and subtraction circuits 28A and 28B are provided.
Note that the communication control unit 13 sequentially transmits information indicating the operation state to the control unit 12.

擬似音声生成器21は、補正フィルタ23のフィルタ係数を設定するための擬似的な音声信号を生成する。なお、人間の発声する平均的な音声信号と周波数帯域や周波数成分が一致するように、擬似音声生成器21が生成する疑似音声信号は設定されている。   The pseudo audio generator 21 generates a pseudo audio signal for setting the filter coefficient of the correction filter 23. The pseudo audio signal generated by the pseudo audio generator 21 is set so that the average audio signal uttered by humans matches the frequency band and frequency components.

スイッチSW1、SW2は、音声信号の経路を切り替えるためのものである。
スイッチSW1は、ハイブリッド回路24の入力信号を、擬似音声生成器21が生成した音声信号と、IP網4から送信された音声信号との間で切り換えるスイッチである。
スイッチSW2は、減算回路28Aの出力信号を、補正フィルタ23にフィードバックさせるか否かを切り換えるスイッチである。
The switches SW1 and SW2 are for switching the path of the audio signal.
The switch SW1 is a switch for switching the input signal of the hybrid circuit 24 between the voice signal generated by the pseudo voice generator 21 and the voice signal transmitted from the IP network 4.
The switch SW2 is a switch for switching whether or not to feed back the output signal of the subtraction circuit 28A to the correction filter 23.

エコーキャンセラ回路22は、送話経路Sa上の音声信号と受話経路Sb上の音声信号とを受けて、所定のアルゴリズムにより、受話経路Sb上を流れる信号に含まれるエコー信号(成分)を求め、求めたエコー信号に相当するエコーキャンセル信号を出力する。
例えば、エコーキャンセラ回路22は、アクティブフィルタなどから構成され、送話経路Sa上の音声信号を所定のアルゴリズムに基づいて処理した信号と減算回路28Bの出力信号との差分のLMS(Least Mean Square)が最小となるように、フィルタ計数を設定し、送話経路Sa上の音声信号をフィルタリングして出力する。
The echo canceller circuit 22 receives the audio signal on the transmission path Sa and the audio signal on the reception path Sb, and obtains an echo signal (component) included in the signal flowing on the reception path Sb by a predetermined algorithm. An echo cancel signal corresponding to the obtained echo signal is output.
For example, the echo canceller circuit 22 is composed of an active filter or the like, and is an LMS (Least Mean Square) of a difference between a signal obtained by processing a voice signal on the transmission path Sa based on a predetermined algorithm and an output signal of the subtraction circuit 28B. The filter count is set so that is minimized, and the audio signal on the transmission path Sa is filtered and output.

補正フィルタ23は、入力された音声信号をフィルタ係数に応じたフィルタ特性でフィルタリングして出力する適応フィルタである。補正フィルタ23には、スイッチSW2が閉成している間、減算回路28Aの出力信号がフィードバックされ、その信号のLMSが最小(基準レベル以下)になるように、自己のフィルタ係数を修正しつつ設定する。一方、スイッチSW2が開成すると、補正フィルタ23には、フィードバック信号が供給されなくなり、補正フィルタ23は、フィルタ係数を維持する。   The correction filter 23 is an adaptive filter that filters and outputs an input audio signal with a filter characteristic corresponding to a filter coefficient. While the switch SW2 is closed, the correction filter 23 feeds back the output signal of the subtraction circuit 28A and corrects its own filter coefficient so that the LMS of the signal becomes minimum (below the reference level). Set. On the other hand, when the switch SW2 is opened, the feedback signal is not supplied to the correction filter 23, and the correction filter 23 maintains the filter coefficient.

ハイブリッド回路24は、IP電話機5から電話機3に音声信号を送信する際に、送話経路Saを通ってIP網4から送信されてきた音声信号を、PSTN網2の通信プロトコルに適合した形式の音声信号に変換して、PSTN網2に出力する。なお、この音声信号の変換は完全ではないために、音声信号の一部が受話経路Sbを通って送信元のIP網4に逆流してエコー信号となる。
また、ハイブリッド回路24は、電話機3からIP電話機5に音声信号を送信する際に、PSTN網2から送信された音声信号を、IP網4の通信プロトコルに適合した音声信号に変換して、受話経路Sbを介してIP網4に出力する。
When the hybrid circuit 24 transmits a voice signal from the IP telephone 5 to the telephone 3, the hybrid circuit 24 converts the voice signal transmitted from the IP network 4 through the transmission path Sa into a format compatible with the communication protocol of the PSTN network 2. The voice signal is converted and output to the PSTN network 2. Since the conversion of the voice signal is not complete, a part of the voice signal flows back to the transmission source IP network 4 through the reception path Sb and becomes an echo signal.
When the hybrid circuit 24 transmits a voice signal from the telephone 3 to the IP telephone 5, the hybrid circuit 24 converts the voice signal transmitted from the PSTN network 2 into a voice signal conforming to the communication protocol of the IP network 4, and receives the voice signal. The data is output to the IP network 4 via the route Sb.

D/A変換器25は、IP網4から送信された音声信号、又は、擬似音声生成器21から送信されたデジタル形式の音声信号をアナログ形式の音声信号に変換する。
A/D変換器26は、ハイブリッド回路24が出力したアナログ形式の音声信号を、デジタル形式の音声信号に変換する。
The D / A converter 25 converts the audio signal transmitted from the IP network 4 or the digital audio signal transmitted from the pseudo audio generator 21 into an analog audio signal.
The A / D converter 26 converts the analog audio signal output from the hybrid circuit 24 into a digital audio signal.

増幅器27Aは、D/A変換器25から出力された音声信号を増幅する。
増幅器27Bは、ハイブリッド回路24が受話経路Sbに出力した音声信号を増幅する。なお、受話経路Sbにはハイブリッド回路24によりエコー信号も出力される。そのため、増幅器27Bはこのエコー信号も増幅する。エコー信号は、増幅されて、より大きなエコー信号となる。
The amplifier 27A amplifies the audio signal output from the D / A converter 25.
The amplifier 27B amplifies the audio signal output from the hybrid circuit 24 to the reception path Sb. Note that an echo signal is also output from the hybrid circuit 24 to the reception path Sb. Therefore, the amplifier 27B also amplifies this echo signal. The echo signal is amplified into a larger echo signal.

減算回路28Aは、A/D変換器26でデジタル形式に変換された音声信号から、補正フィルタ23によってフィルタリングされた音声信号を減算する。補正フィルタ23の出力信号は、疑似音声信号によるエコー信号にほぼ一致する。このため、この減算処理により、受話経路Sb上の音声信号に含まれるエコー信号の大部分は除去される。   The subtracting circuit 28A subtracts the audio signal filtered by the correction filter 23 from the audio signal converted into a digital format by the A / D converter 26. The output signal of the correction filter 23 substantially matches the echo signal generated by the pseudo audio signal. Therefore, most of the echo signal included in the audio signal on the reception path Sb is removed by this subtraction process.

減算回路28Bは、減算回路28Aを通過した後の音声信号から、エコーキャンセラ回路22の出力信号を減算する。この減算処理により、減算回路28Aで除去できなかった残りのエコーも除去される。   The subtraction circuit 28B subtracts the output signal of the echo canceller circuit 22 from the audio signal after passing through the subtraction circuit 28A. By this subtraction processing, the remaining echoes that could not be removed by the subtraction circuit 28A are also removed.

図1に戻り、PSTN網2は、一般の加入電話回線によって構成されるネットワーク網である。PSTN網2には、複数の電話機3(3〜3)が接続されている。
IP網4は、例えば、インターネット等のネットワーク網である。IP網4には、複数のIP電話機5(5〜5)が接続されている。
Returning to FIG. 1, the PSTN network 2 is a network network constituted by general subscriber telephone lines. A plurality of telephones 3 (3 1 to 3 n ) are connected to the PSTN network 2.
The IP network 4 is a network network such as the Internet, for example. A plurality of IP telephones 5 (5 1 to 5 n ) are connected to the IP network 4.

続いて、本実施形態の通信システムのGW1の動作を説明する。
電話機3とIP電話機5とは、GW1を介して交信を行う。この間、GW1は、IP電話機5からのデジタル音声信号を送話経路Saを介してD/A変換器25に供給する。D/A変換器25は、供給されたデジタル音声信号をアナログ音声信号に変換し、増幅器27Aを介してハイブリッド回路24に出力する。
ハイブリッド回路24は、供給されたアナログ音声信号をPSTN網2を介して電話機3に送信する。このとき、PSTN網2とハイブリッド回路24との間のインピーダンス不整合により、送話経路Sa上の音声信号の一部がエコー信号(成分)となって、受話経路Sbに漏れてしまう。PSTN網2のインピーダンスは、回線の距離などにより異なるため、固定回路であるハイブリッド回路24とのインピーダンス不整合の度合いは、どのPSTN網2にハイブリッド回路24が接続されるかによって変化する。このため、受話経路Sbに漏れるエコー信号のレベルも設置環境などによって変化する。
Subsequently, the operation of the GW 1 of the communication system according to the present embodiment will be described.
The telephone 3 and the IP telephone 5 communicate with each other via the GW 1. During this time, the GW 1 supplies the digital audio signal from the IP telephone 5 to the D / A converter 25 via the transmission path Sa. The D / A converter 25 converts the supplied digital audio signal into an analog audio signal and outputs the analog audio signal to the hybrid circuit 24 via the amplifier 27A.
The hybrid circuit 24 transmits the supplied analog audio signal to the telephone 3 via the PSTN network 2. At this time, due to impedance mismatch between the PSTN network 2 and the hybrid circuit 24, a part of the audio signal on the transmission path Sa becomes an echo signal (component) and leaks to the reception path Sb. Since the impedance of the PSTN network 2 varies depending on the line distance and the like, the degree of impedance mismatch with the hybrid circuit 24 that is a fixed circuit varies depending on which PSTN network 2 is connected to the hybrid circuit 24. For this reason, the level of the echo signal leaking to the reception path Sb also changes depending on the installation environment.

一方、GW1は、電話機3からのアナログ音声信号をハイブリッド回路24で受け、増幅器27Bで増幅してA/D変換器26に供給する。このとき、A/D変換器26に供給されるアナログ信号は、PSTN網2からの音声信号(本来の音声信号)とハイブリッド回路24でPSTN網2に出力されなかった音声信号、即ち、エコー成分とを合成したアナログ信号となる。なお、以下では、理解を容易にするため、本来の音声信号とエコー信号との合成信号を単に音声信号と呼ぶ。   On the other hand, the GW 1 receives the analog audio signal from the telephone 3 by the hybrid circuit 24, amplifies it by the amplifier 27 B, and supplies it to the A / D converter 26. At this time, the analog signal supplied to the A / D converter 26 includes a voice signal (original voice signal) from the PSTN network 2 and a voice signal not output to the PSTN network 2 by the hybrid circuit 24, that is, an echo component. Is an analog signal. Hereinafter, in order to facilitate understanding, a synthesized signal of the original audio signal and the echo signal is simply referred to as an audio signal.

A/D変換器26は、アナログ音声信号をディジタル音声信号に変換し出力する。
減算回路28Aは、このディジタル音声信号から補正フィルタ23の出力信号を減算する。補正フィルタ23は、後述する学習動作により、受話経路Sb上の音声信号に含まれるエコー信号にほぼ等しい信号を、送話経路Sa上の音声信号から生成するようにそのフィルタ係数が設定されている。従って、受話経路Sbを通過する音声信号に含まれるエコー信号の大部分が除去される。
The A / D converter 26 converts the analog audio signal into a digital audio signal and outputs it.
The subtraction circuit 28A subtracts the output signal of the correction filter 23 from this digital audio signal. The filter coefficient of the correction filter 23 is set so that a signal substantially equal to the echo signal included in the voice signal on the reception path Sb is generated from the voice signal on the transmission path Sa by a learning operation described later. . Therefore, most of the echo signal included in the audio signal passing through the reception path Sb is removed.

減算回路28Aの出力信号は、減算回路28Bに供給される。減算回路28Bは、この出力信号から、エコーキャンセラ回路22の出力信号を減算する。エコーキャンセラ回路22には、送話経路Sa上の音声信号が供給されると共に減算回路28Bの出力信号が常時フィードバックされており、エコーキャンセラ回路22は、通常のエコーキャンセラ回路と同様に、受話回路Sb上の音声信号に含まれている(残存している)エコー信号にほぼ等しい信号を出力する。このため、減算回路28Bは、減算回路28Aからの音声信号に含まれている(残存している)エコー信号をほぼキャンセルして出力する。この音声信号、即ち、エコー信号のキャンセルされた高品質の音声信号がIP網4を介してIP電話機5に送信される。   The output signal of the subtraction circuit 28A is supplied to the subtraction circuit 28B. The subtraction circuit 28B subtracts the output signal of the echo canceller circuit 22 from this output signal. The echo canceller circuit 22 is supplied with the audio signal on the transmission path Sa and is always fed back with the output signal of the subtracting circuit 28B. The echo canceller circuit 22 is a receiving circuit similar to a normal echo canceller circuit. A signal substantially equal to the echo signal included (remaining) in the audio signal on Sb is output. For this reason, the subtraction circuit 28B substantially cancels and outputs the echo signal included (remaining) in the audio signal from the subtraction circuit 28A. This voice signal, that is, a high-quality voice signal from which the echo signal has been canceled is transmitted to the IP telephone 5 via the IP network 4.

なお、このようなエコーキャンセル処理を効率的に且つ適切に行うためには、補正フィルタ23のフィルタ係数を適切に設定して、補正フィルタ23がエコー信号に近似した信号を生成・出力できるようにする必要がある。
そこで、制御部12は、所定のタイミングで補正フィルタ23に適切なフィルタ係数を設定する補正フィルタ設定処理を行う。
この補正フィルタ設定処理について、図4を参照して詳細に説明する。
本補正フィルタ設定処理は、制御部12が、GW1の電源を立ち上げたことを示す情報や、エコーキャンセル学習処理を行うための指示情報を受信したときに開始される。
In order to perform such echo cancellation processing efficiently and appropriately, the filter coefficient of the correction filter 23 is appropriately set so that the correction filter 23 can generate and output a signal approximate to the echo signal. There is a need to.
Therefore, the control unit 12 performs a correction filter setting process for setting an appropriate filter coefficient in the correction filter 23 at a predetermined timing.
The correction filter setting process will be described in detail with reference to FIG.
This correction filter setting process is started when the control unit 12 receives information indicating that the power of the GW 1 has been turned on or instruction information for performing an echo cancellation learning process.

まず、制御部12は、補正フィルタ設定処理を開始すると、回線をオフフックし、自己に接続されているPSTN網2側の回線の種別(プッシュ回線かダイヤル回線か)を判別する(ステップS11)。例えば、制御部12はDTMF(Dial Tone Multi Frequency)信号を送出してダイヤルトーン検出を行い、ダイヤルトーンが検出されればダイヤル回線、ダイヤルトーンが検出されなければプッシュ回線と判別する。   First, when the correction filter setting process is started, the control unit 12 off-hooks the line and determines the type of line (push line or dial line) on the PSTN network 2 side connected to itself (step S11). For example, the control unit 12 transmits a DTMF (Dial Tone Multi Frequency) signal to detect a dial tone. If a dial tone is detected, the control unit 12 determines a dial line, and if a dial tone is not detected, determines a push line.

次に、制御部12は、ステップS11で判別した回線の種別に合った方式で、PSTN網2に接続されている架空の端末装置にダイヤリングし、オフフック時の待ち受け音(所謂ダイヤルトーン(DT))が発生しないようにする(ステップS12)。なお、この処理はDTが発生しないようにするためのものであり、通話はしなくてもよい。   Next, the control unit 12 dials a fictitious terminal device connected to the PSTN network 2 in a method that matches the type of the line determined in step S11, and waits for an off-hook standby sound (a so-called dial tone (DT). )) Is not generated (step S12). This process is for preventing DT from occurring, and it is not necessary to make a call.

続いて、制御部12は、疑似音声生成器21が生成する疑似音声信号が、ハイブリッド回路24、補正フィルタ23、および、エコーキャンセラ回路22に入力されるように、スイッチSW1を切り換える。また、制御部12は、減算回路28Aの出力する音声信号が補正フィルタ23にフィードバックされるように、スイッチSW2を閉成する(ステップS13)。   Subsequently, the control unit 12 switches the switch SW <b> 1 so that the pseudo sound signal generated by the pseudo sound generator 21 is input to the hybrid circuit 24, the correction filter 23, and the echo canceller circuit 22. In addition, the control unit 12 closes the switch SW2 so that the audio signal output from the subtraction circuit 28A is fed back to the correction filter 23 (step S13).

続いて、制御部12は、擬似音声生成器21を制御して疑似音声信号を出力させ、その疑似音声信号によって、ハイブリッド回路24から発生するエコー信号を、減算回路28Aで打ち消せるように、補正フィルタ23のフィルタ係数を設定する(ステップS14)。具体的には、補正フィルタ23にフィードバックされる減算回路28Aの出力信号のレベル又はLMSが最小(基準レベル以下)になるように、補正フィルタ23は自己のフィルタ係数を設定する。   Subsequently, the control unit 12 controls the pseudo audio generator 21 to output a pseudo audio signal, and corrects the echo signal generated from the hybrid circuit 24 by the pseudo audio signal so that it can be canceled by the subtracting circuit 28A. The filter coefficient of the filter 23 is set (step S14). Specifically, the correction filter 23 sets its own filter coefficient so that the level or LMS of the output signal of the subtraction circuit 28A fed back to the correction filter 23 is minimized (below the reference level).

そして、補正フィルタ23のフィルタ係数を設定するのに十分な所定の時間(例えば20s)が経過すると(ステップS15;Yes)、制御部12は、IP網4からの音声信号が、ハイブリッド回路24、補正フィルタ23、および、エコーキャンセラ回路22に入力されるように、スイッチSW1を切り換える。また、制御部12は、減算回路28Aの出力信号が補正フィルタ23にフィードバックされないように、スイッチSW2を開放する(ステップS16)。この処理により、減算回路28Aの出力信号が補正フィルタ23にフィードバックされなくなるため、補正フィルタ23のフィルタ係数は固定される。
以上で、補正フィルタ設定処理は終了する。
When a predetermined time (for example, 20 s) sufficient to set the filter coefficient of the correction filter 23 has elapsed (step S15; Yes), the control unit 12 determines that the audio signal from the IP network 4 is the hybrid circuit 24, The switch SW1 is switched so as to be input to the correction filter 23 and the echo canceller circuit 22. Further, the control unit 12 opens the switch SW2 so that the output signal of the subtraction circuit 28A is not fed back to the correction filter 23 (step S16). By this processing, the output signal of the subtracting circuit 28A is not fed back to the correction filter 23, so that the filter coefficient of the correction filter 23 is fixed.
This is the end of the correction filter setting process.

この補正フィルタ設定処理により、補正フィルタ23のフィルタ係数は、擬似音声生成器21が出力した音声信号によってハイブリッド回路24から発生されるエコー信号を打ち消すのに最も適した値に設定される。擬似音声生成器21が出力する音声信号は、人間が発声する音声信号の周波数帯域とほぼ等しい周波数帯域を有するように設定されている。このため、補正フィルタ23のフィルタ係数は、人間が発生する音声によって生じるエコーを打ち消すのに最適な値に設定されているともいえる。   With this correction filter setting process, the filter coefficient of the correction filter 23 is set to a value most suitable for canceling the echo signal generated from the hybrid circuit 24 by the sound signal output from the pseudo sound generator 21. The audio signal output from the pseudo audio generator 21 is set to have a frequency band that is substantially equal to the frequency band of the audio signal uttered by a human. For this reason, it can be said that the filter coefficient of the correction filter 23 is set to an optimum value for canceling an echo generated by a voice generated by a human.

このように、上記構成のGW1によれば、予め疑似音声信号を用いて学習した補正フィルタ23により、受話経路Sb上の音声信号に含まれるエコー信号がキャンセルされる。従って、エコーキャンセラ回路22と減算回路28Bにより除去する必要があるエコー信号が小さくなる。従って、エコーキャンセラ回路22の演算能力や速度は比較的小さくても、エコー信号の変化に対して迅速に対応することができる。また、補正フィルタ23は、PSTN網2からの音声信号の無い状態で、時間をかけてそのフィルタ係数を設定することが可能である。従って、補正フィルタ23の処理能力・演算演算能力なども、大きなものは必要無く、所謂応答特性も低いものでかまわない。従って、全体を比較的低演算能力の演算素子を用いて構成することが可能であるにもかかわらず、エコー信号の変動に対して迅速な対応が可能なエコーキャンセラが得られる。   As described above, according to the GW 1 having the above-described configuration, the echo signal included in the audio signal on the reception path Sb is canceled by the correction filter 23 learned in advance using the pseudo audio signal. Therefore, the echo signal that needs to be removed by the echo canceller circuit 22 and the subtractor circuit 28B becomes smaller. Therefore, even if the computation capability and speed of the echo canceller circuit 22 are relatively small, it is possible to respond quickly to changes in the echo signal. Further, the correction filter 23 can set its filter coefficient over time in the absence of the audio signal from the PSTN network 2. Accordingly, the processing capability and arithmetic operation capability of the correction filter 23 are not required to be large, and so-called response characteristics may be low. Therefore, it is possible to obtain an echo canceller capable of promptly responding to fluctuations in the echo signal, although the whole can be configured using a computing element having a relatively low computing capability.

なお、本発明は上記実施形態に限定されず、種々の変形及び応用が可能である。   In addition, this invention is not limited to the said embodiment, A various deformation | transformation and application are possible.

例えば、上記実施の形態では、通信制御部13の構成として、ディスクリート部品で構成された回路を示したが、例えば、補正フィルタ23,エコーキャンセラ回路22,疑似音声生成器21等を、CPU,DSP等の機能の一部として構成してもよい。   For example, in the above-described embodiment, a circuit composed of discrete components is shown as the configuration of the communication control unit 13. However, for example, the correction filter 23, the echo canceller circuit 22, the pseudo sound generator 21, etc. You may comprise as a part of functions, such as.

上記実施の形態においては、エコー信号をキャンセルするために、減算回路28Aで音声信号から補正フィルタ23の出力信号を減算したが、補正フィルタ23の出力信号の極性を反転し、音声信号と加算するなどしてもよい。本明細書においては、これらの実質的に2つのエコー信号の差分を求める(相殺する)ための構成を減算回路と呼ぶこととしたが、その具体的な回路構成自体は任意である。   In the above embodiment, in order to cancel the echo signal, the output signal of the correction filter 23 is subtracted from the audio signal by the subtraction circuit 28A. However, the polarity of the output signal of the correction filter 23 is inverted and added to the audio signal. Etc. In this specification, the configuration for obtaining (cancelling) the difference between these two echo signals is called a subtracting circuit, but the specific circuit configuration itself is arbitrary.

補正フィルタ23が学習(補正フィルタ設定処理)を行うタイミングは上記実施例に限定されず、任意であり、例えば、深夜等に周期的に実行するようにしてもよい。
また、補正フィルタ23の数は1つに限定されず、複数でも良い。エコーキャンセラ回路22の数も任意である。
The timing at which the correction filter 23 performs learning (correction filter setting processing) is not limited to the above embodiment, and is arbitrary, and may be periodically executed at, for example, midnight.
Further, the number of correction filters 23 is not limited to one and may be plural. The number of echo canceller circuits 22 is also arbitrary.

図3に示す回路構成、図4に示すフローチャートなどは一例であり、上記実施の形態で開示した内容と同様の結果が得られるならば、その構成や機能は任意である。   The circuit configuration illustrated in FIG. 3, the flowchart illustrated in FIG. 4, and the like are examples, and the configuration and functions thereof are arbitrary as long as the same results as the contents disclosed in the above embodiments can be obtained.

また、上記実施の形態にかかるGW1の制御部12が行う機能は、汎用のマイクロプロセッサやDSPによって実現することもできる。この場合、プロセッサに上記各処理を実現するためのプログラムを実行させる等してもよい。   Further, the function performed by the control unit 12 of the GW 1 according to the above embodiment can be realized by a general-purpose microprocessor or DSP. In this case, you may make a processor run the program for implement | achieving said each process.

本発明の一実施の形態に係る通信システムの構成を示した図である。It is the figure which showed the structure of the communication system which concerns on one embodiment of this invention. 図1に示した通信システムに含まれるゲートウェイ装置の構成を示したブロック図である。It is the block diagram which showed the structure of the gateway apparatus contained in the communication system shown in FIG. 図2に示したゲートウェイ装置の通信制御部の構成を示した図である。It is the figure which showed the structure of the communication control part of the gateway apparatus shown in FIG. 補正フィルタ設定処理の動作を説明するためのフローチャートである。6 is a flowchart for explaining an operation of a correction filter setting process.

符号の説明Explanation of symbols

13 通信制御部
21 擬似音声生成器
22 エコーキャンセラ回路
23 補正フィルタ
24 ハイブリッド回路
25 D/A変換器
26 A/D変換器
27A,27B 増幅器
28A,28B 減算回路
2 PSTN網
4 IP網
Sa 送話経路
Sb 受話経路
DESCRIPTION OF SYMBOLS 13 Communication control part 21 Pseudo sound generator 22 Echo canceller circuit 23 Correction filter 24 Hybrid circuit 25 D / A converter 26 A / D converter 27A, 27B Amplifier 28A, 28B Subtraction circuit 2 PSTN network 4 IP network Sa Transmission path Sb listening path

Claims (7)

IP(インターネットプロトコル)ネットワークと公衆電話交換回線ネットワークとの間で音声信号を中継するゲートウェイ装置であって、
前記IPネットワークから送話ラインを介して供給される音声信号を、前記公衆電話交換回線ネットワークの通信プロトコルに準拠した音声信号に変換して、前記公衆電話交換回線ネットワークに送出し、前記公衆電話交換回線ネットワークから供給された音声信号を前記IPネットワークの通信プロトコルに準拠した音声信号に変換して受話ラインを介して前記IPネットワークに送信する音声信号送受信手段と、
前記送話ライン上の音声信号を入力し、フィルタリングして出力する補正フィルタ手段と、
前記受話ライン上に配置され、前記受話ライン上の音声信号から前記補正フィルタ手段の出力信号を減算する減算手段と、
疑似音声信号を生成する疑似音声信号生成手段と、
前記疑似音声信号生成手段が生成した疑似音声信号を前記送話ラインに供給し、疑似音声信号が前記音声送受信手段で反射することにより前記受話ラインに発生するエコー信号と前記補正フィルタ手段の出力信号が実質的に一致するように前記補正フィルタ手段の特性を設定する補正フィルタ設定手段と、
前記減算手段の出力信号に含まれるエコー信号の変化に追従し、該エコー信号をキャンセルするエコーキャンセル手段と、
を備え
前記補正フィルタ設定手段は、
前記公衆電話交換回線ネットワークに発呼し、該公衆電話交換回線ネットワークからの待ち受け音を停止し、
待ち受け音の停止後、前記補正フィルタ手段の特性の設定処理を行う、
ことを特徴とするゲートウェイ装置。
A gateway device that relays audio signals between an IP (Internet Protocol) network and a public switched telephone network,
A voice signal supplied from the IP network via a transmission line is converted into a voice signal conforming to a communication protocol of the public telephone switched circuit network, and is sent to the public telephone switched circuit network. Voice signal transmitting / receiving means for converting a voice signal supplied from a line network into a voice signal conforming to a communication protocol of the IP network and transmitting the voice signal to the IP network via a receiving line;
Correction filter means for inputting a voice signal on the transmission line, filtering and outputting, and
A subtracting means arranged on the reception line and subtracting the output signal of the correction filter means from a voice signal on the reception line;
Pseudo audio signal generating means for generating a pseudo audio signal;
The pseudo voice signal generated by the pseudo voice signal generation means is supplied to the transmission line, and the pseudo voice signal is reflected by the voice transmission / reception means, and the echo signal generated in the reception line and the output signal of the correction filter means Correction filter setting means for setting the characteristics of the correction filter means so that substantially matches,
An echo canceling means for following the change of the echo signal contained in the output signal of the subtracting means and canceling the echo signal;
Equipped with a,
The correction filter setting means includes
Making a call to the public switched telephone network, stopping the standby sound from the public switched telephone network,
After the standby sound is stopped, the correction filter means characteristics are set.
A gateway device characterized by that.
前記補正フィルタ設定手段は、前記公衆電話交換回線ネットワーク側の回線種別を判別し、判別した回線種別に合った方式で待ち受け音を停止する、  The correction filter setting means determines the line type on the public switched telephone line network side, and stops the standby sound in a method suitable for the determined line type.
ことを特徴とする請求項1に記載のゲートウェイ装置。  The gateway device according to claim 1.
前記補正フィルタ手段の特性の設定処理が行われている間、前記エコーキャンセル手段に前記疑似音声信号が入力される、While the process for setting the characteristics of the correction filter means is performed, the pseudo audio signal is input to the echo cancellation means.
ことを特徴とする請求項1又は2に記載のゲートウェイ装置。  The gateway device according to claim 1 or 2, wherein
音声信号と疑似音声信号とを切り換えて前記補正フィルタ手段及び前記音声信号送受信手段に供給する切り換えスイッチを備え、
前記補正フィルタ設定手段は、
所定のタイミングで、前記切換スイッチを切り換えて、疑似音声信号を前記補正フィルタ手段及び前記音声信号送受信手段に供給して、前記補正フィルタ手段の特性を調整し、調整終了後、前記切換スイッチを切り換えて、音声信号を前記補正フィルタ手段及び前記音声信号送受信手段に供給し、
前記所定のタイミングで、前記減算手段の出力信号を前記補正フィルタ手段に供給し、調整終了後、該供給を停止し、
前記補正フィルタ手段は、前記減算手段の出力信号の供給がある間は、前記減算手段の出力信号の信号レベルが所定のレベル以下となるように、自己の特性を調整し、該供給がなくなると、調整された特性を維持する適応フィルタから構成される、
ことを特徴とする請求項1乃至3の何れか1項に記載のゲートウェイ装置。
A changeover switch for switching between an audio signal and a pseudo audio signal to supply to the correction filter means and the audio signal transmitting / receiving means
The correction filter setting means includes
At a predetermined timing, the selector switch is switched to supply a pseudo audio signal to the correction filter means and the audio signal transmitting / receiving means to adjust the characteristics of the correction filter means, and after completion of the adjustment, the selector switch is switched. Supplying the audio signal to the correction filter means and the audio signal transmitting / receiving means,
At the predetermined timing, the output signal of the subtracting means is supplied to the correction filter means, and after the adjustment is finished, the supply is stopped,
The correction filter means adjusts its characteristics so that the signal level of the output signal of the subtracting means is below a predetermined level while the output signal of the subtracting means is supplied, and when the supply is lost Consisting of an adaptive filter that maintains the adjusted characteristics,
The gateway apparatus according to any one of claims 1 to 3, wherein
前記疑似音声信号生成手段は、人間が発声する音声の周波数帯域と実質的に等しい周波数帯域を有する疑似音声信号を生成する、
ことを特徴とする、請求項1乃至の何れか1項に記載のゲートウェイ装置。
The pseudo audio signal generating means generates a pseudo audio signal having a frequency band substantially equal to a frequency band of a voice uttered by a human.
The gateway apparatus according to any one of claims 1 to 4 , wherein the gateway apparatus is characterized in that:
IP(インターネットプロトコル)ネットワークと公衆電話交換回線ネットワークとの間で音声信号を中継するゲートウェイ装置の制御方法であって、
前記IPネットワークから送話ラインを介して供給される音声信号を、前記公衆電話交換回線ネットワークの通信プロトコルに準拠した音声信号に変換して、前記公衆電話交換回線ネットワークに送出し、前記公衆電話交換回線ネットワークから供給された音声信号を前記IPネットワークの通信プロトコルに準拠した音声信号に変換して受話ラインを介して前記IPネットワークに送信する音声信号送受信ステップと、
前記送話ライン上の音声信号を入力し、フィルタリングして出力する補正フィルタステップと、
前記受話ライン上に配置され、前記受話ライン上の音声信号から前記補正フィルタステップの出力信号を減算する減算ステップと、
疑似音声信号を生成する疑似音声信号生成ステップと、
前記疑似音声信号生成ステップが生成した疑似音声信号を前記送話ラインに供給し、疑似音声信号が前記音声送受信ステップで反射することにより前記受話ラインに発生するエコー信号と前記補正フィルタステップの出力信号が実質的に一致するように前記補正フィルタステップの特性を設定する補正フィルタ設定ステップと、
前記減算ステップの出力信号に含まれるエコー信号の変化に追従し、該エコー信号をキャンセルするエコーキャンセルステップと、
を備え
前記補正フィルタ設定ステップは、
前記公衆電話交換回線ネットワークに発呼し、該公衆電話交換回線ネットワークからの待ち受け音を停止し、
待ち受け音の停止後、前記補正フィルタステップの特性の設定処理を行う、
ことを特徴とするゲートウェイ装置の制御方法。
A control method for a gateway device that relays an audio signal between an IP (Internet Protocol) network and a public switched telephone network,
A voice signal supplied from the IP network via a transmission line is converted into a voice signal conforming to a communication protocol of the public telephone switched circuit network, and is sent to the public telephone switched circuit network. A voice signal transmitting / receiving step of converting a voice signal supplied from a line network into a voice signal conforming to a communication protocol of the IP network and transmitting the voice signal to the IP network via a reception line;
A correction filter step for inputting, filtering and outputting a voice signal on the transmission line;
A subtracting step disposed on the reception line and subtracting the output signal of the correction filter step from the audio signal on the reception line;
A pseudo audio signal generating step for generating a pseudo audio signal;
The pseudo audio signal generated in the pseudo audio signal generation step is supplied to the transmission line, and the pseudo audio signal is reflected in the audio transmission / reception step, and the echo signal generated in the reception line and the output signal of the correction filter step A correction filter setting step for setting the characteristic of the correction filter step so that substantially matches
An echo canceling step for following the change of the echo signal contained in the output signal of the subtraction step and canceling the echo signal;
Equipped with a,
The correction filter setting step includes:
Making a call to the public switched telephone network, stopping the standby sound from the public switched telephone network,
After the standby sound is stopped, the correction filter step characteristic setting process is performed.
A control method for a gateway device.
IP(インターネットプロトコル)ネットワークと公衆電話交換回線ネットワークとの間で音声信号を中継するゲートウェイ装置の機能をコンピュータに実現させるプログラムであって、コンピュータを、
前記IPネットワークから送話ラインを介して供給される音声信号を、前記公衆電話交換回線ネットワークの通信プロトコルに準拠した音声信号に変換して、前記公衆電話交換回線ネットワークに送出し、前記公衆電話交換回線ネットワークから供給された音声信号を前記IPネットワークの通信プロトコルに準拠した音声信号に変換して受話ラインを介して前記IPネットワークに送信する音声信号送受信手段と、
前記送話ライン上の音声信号を入力し、フィルタリングして出力する補正フィルタ手段と、
前記受話ライン上に配置され、前記受話ライン上の音声信号から前記補正フィルタ手段の出力信号を減算する減算手段と、
疑似音声信号を生成する疑似音声信号生成手段と、
前記疑似音声信号生成手段が生成した疑似音声信号を前記送話ラインに供給し、疑似音声信号が前記音声送受信手段で反射することにより前記受話ラインに発生するエコー信号と前記補正フィルタ手段の出力信号が実質的に一致するように前記補正フィルタ手段の特性を設定する補正フィルタ設定手段と、
前記減算手段の出力信号に含まれるエコー信号の変化に追従し、該エコー信号をキャンセルするエコーキャンセル手段、
として機能させ
前記補正フィルタ設定手段は、
前記公衆電話交換回線ネットワークに発呼し、該公衆電話交換回線ネットワークからの待ち受け音を停止し、
待ち受け音の停止後、前記補正フィルタ手段の特性の設定処理を行う、
ことを特徴とするプログラム。
A program that causes a computer to realize a function of a gateway device that relays an audio signal between an IP (Internet Protocol) network and a public switched telephone network,
A voice signal supplied from the IP network via a transmission line is converted into a voice signal conforming to a communication protocol of the public telephone switched circuit network, and is sent to the public telephone switched circuit network. Voice signal transmitting / receiving means for converting a voice signal supplied from a line network into a voice signal conforming to a communication protocol of the IP network and transmitting the voice signal to the IP network via a receiving line;
Correction filter means for inputting a voice signal on the transmission line, filtering and outputting, and
A subtracting means arranged on the reception line and subtracting the output signal of the correction filter means from a voice signal on the reception line;
Pseudo audio signal generating means for generating a pseudo audio signal;
The pseudo voice signal generated by the pseudo voice signal generation means is supplied to the transmission line, and the pseudo voice signal is reflected by the voice transmission / reception means, and the echo signal generated in the reception line and the output signal of the correction filter means Correction filter setting means for setting the characteristics of the correction filter means so that substantially matches,
An echo canceling means for following the change of the echo signal contained in the output signal of the subtracting means and canceling the echo signal;
To function as,
The correction filter setting means includes
Making a call to the public switched telephone network, stopping the standby sound from the public switched telephone network,
After the standby sound is stopped, the correction filter means characteristics are set.
A program characterized by that.
JP2006342847A 2006-12-20 2006-12-20 Gateway device, control method thereof and program thereof Active JP4826463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006342847A JP4826463B2 (en) 2006-12-20 2006-12-20 Gateway device, control method thereof and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006342847A JP4826463B2 (en) 2006-12-20 2006-12-20 Gateway device, control method thereof and program thereof

Publications (2)

Publication Number Publication Date
JP2008154180A JP2008154180A (en) 2008-07-03
JP4826463B2 true JP4826463B2 (en) 2011-11-30

Family

ID=39655857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006342847A Active JP4826463B2 (en) 2006-12-20 2006-12-20 Gateway device, control method thereof and program thereof

Country Status (1)

Country Link
JP (1) JP4826463B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62110336A (en) * 1985-11-08 1987-05-21 Matsushita Electric Ind Co Ltd Echo canceller
JPH01129623A (en) * 1987-11-16 1989-05-22 Hitachi Ltd Echo canceller
JPH01291531A (en) * 1988-05-18 1989-11-24 Matsushita Electric Ind Co Ltd Echo canceller
JPH04335721A (en) * 1991-05-13 1992-11-24 Matsushita Electric Ind Co Ltd Echo canceller device
JP2005328380A (en) * 2004-05-14 2005-11-24 Mitsubishi Electric Corp Gateway device

Also Published As

Publication number Publication date
JP2008154180A (en) 2008-07-03

Similar Documents

Publication Publication Date Title
JP5394373B2 (en) Apparatus and method for processing audio signals
JP4046197B2 (en) Echo canceller for nonlinear circuits
JP5032669B2 (en) Method and apparatus for echo cancellation of audio signals
CN103077726B (en) For pre-service and the aftertreatment of linear acoustic echo cancelling system
US20020101982A1 (en) Line echo canceller scalable to multiple voice channels/ports
WO2006027868A1 (en) Communication terminal with echo canceller and its echo canceling method
JP2009017029A (en) Device and method for processing sound signal
JP4826463B2 (en) Gateway device, control method thereof and program thereof
JP2002009677A (en) Acoustic echo canceller
EP2074400B1 (en) Base station of a telephone system and telephone system comprising such as a base station to reduce background noise
JP2009153053A (en) Voice estimation method, and mobile terminal using the same
JP4977401B2 (en) Hands-free telephone device
JP4512066B2 (en) Telephone
JP2007336132A (en) Echo suppressor
JP6635211B1 (en) Echo canceller and IP telephone
JP2008124678A (en) Echo processing processor and voice communication apparatus
JP2009094707A (en) Sound signal processor and sound signal processing method
JP2003274481A (en) Voice processing apparatus, computer program, and recording medium
JP2007243829A (en) Residual echo suppression control apparatus and method, and echo canceler
JP5219000B2 (en) Echo canceller and control method of echo canceller
JP2008306446A (en) Voice signal processor, and voice signal processing method
JP4639910B2 (en) Echo canceller controller
JP2009124386A (en) Voice signal processor, and voice signal processing method
JP2009094708A (en) Sound signal processor and sound signal processing method
JP2005142886A (en) Signal processor and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110419

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110620

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

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

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

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4826463

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250