JP2000082980A - Phase inversion detection device - Google Patents

Phase inversion detection device

Info

Publication number
JP2000082980A
JP2000082980A JP10250884A JP25088498A JP2000082980A JP 2000082980 A JP2000082980 A JP 2000082980A JP 10250884 A JP10250884 A JP 10250884A JP 25088498 A JP25088498 A JP 25088498A JP 2000082980 A JP2000082980 A JP 2000082980A
Authority
JP
Japan
Prior art keywords
phase
phase inversion
amplitude
detecting
input signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10250884A
Other languages
Japanese (ja)
Inventor
Kaitaro Morita
快太郎 森田
禎弥 ▲高▼橋
Sadahisa Takahashi
Koichi Kihara
弘一 木原
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10250884A priority Critical patent/JP2000082980A/en
Publication of JP2000082980A publication Critical patent/JP2000082980A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a phase inversion detection device detecting a phase inversion signal whose frequency is not specified and/or whose frequency error is large. SOLUTION: This device is provided with a phase estimation part 8 storing the complex numeric values of continuous three periods, which are given from a discrete Fourier transformation part 2, calculating a phase difference between the first period and the last period in the three periods, adding the calculated phase difference to the phase of the period previous to an estimation period by two so as to estimate the phase of the estimation period and a phase inversion detection part 9 comparing the phase of the complex numeric value from the discrete Fourier transformation part 2 with the estimated phase from the phase estimation part 8 and detecting the inversion of the phase when the phases have the phase difference of a degree that inversion is considered to occur.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は位相反転検出装置
に関し、例えば、エコーキャンセラの動作を停止させる
ディセーブリング信号を検出するシステムに適用して好
適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a phase inversion detecting apparatus, and is suitably applied to, for example, a system for detecting a disabling signal for stopping the operation of an echo canceller.

【0002】[0002]

【従来の技術】例えば、通信回線に挿入されるエコーキ
ャンセラは、音声通信時に動作状態になり、データ通信
時には、通信回線に接続されたモデムからのディセーブ
リング信号によって動作停止状態になる。ここで、ディ
セーブリング信号は、一定時間450±25ms間隔で
位相が反転する特定周波数2100Hzの信号である。
2. Description of the Related Art For example, an echo canceller inserted into a communication line is operated during voice communication, and is stopped during data communication by a disabling signal from a modem connected to the communication line. Here, the disabling signal is a signal of a specific frequency of 2100 Hz whose phase is inverted at an interval of 450 ± 25 ms for a predetermined time.

【0003】従来、このような信号を検出する方法とし
ては、入力信号を2100Hzのバンドパスフィルタを
介して位相同期回路に与え、位相同期回路において、位
相反転に基づいて生じる制御信号の極性反転を検出し、
この極性反転が450±25msで発生するか否かによ
って検出するものであった。
Conventionally, as a method of detecting such a signal, an input signal is supplied to a phase locked loop through a 2100 Hz band-pass filter, and the polarity of the control signal generated on the basis of the phase inverted is inverted in the phase locked loop. Detect
The detection was made based on whether or not this polarity inversion occurred in 450 ± 25 ms.

【0004】[0004]

【発明が解決しようとする課題】ところで、このような
従来の検出方法は、検出手段に位相同期回路を用いるの
で、ディセーブリング信号が特定周波数2100Hzを
有することを前提とし、さらに、その周波数誤差が小さ
い場合に検出可能となるものであった。
However, since such a conventional detection method uses a phase synchronization circuit for the detection means, it is premised that the disabled signal has a specific frequency of 2100 Hz, and further, its frequency error is reduced. It was possible to detect when it was small.

【0005】しかしながら、実際には、検出する信号の
周波数が特定されない場合や、周波数が特定されても、
送信側の装置の精度や伝送路の状況などによって、検出
する信号の周波数誤差が大きくなる場合があり、従来の
検出方法では、これら場合に信号を検出することは困難
であるという課題があった。
However, in practice, when the frequency of the signal to be detected is not specified, or when the frequency is specified,
Depending on the accuracy of the device on the transmission side, the condition of the transmission path, and the like, the frequency error of the signal to be detected may be large, and the conventional detection method has a problem that it is difficult to detect the signal in these cases. .

【0006】さらに、前述の説明では、ディセーブリン
グ信号を検出する場合を前提に説明したが、一般に、不
定期的に位相が反転する信号(以下、「位相反転信号」
という)を検出する場合であっても、検出手段に位相同
期回路を用いるのであれば、同様な課題を有することは
勿論である。
Further, in the above description, the description has been made on the assumption that the disabling signal is detected. However, in general, a signal whose phase is irregularly inverted (hereinafter, referred to as a "phase inverted signal")
In the case where a phase-locked loop is used as the detecting means, the same problem will naturally occur.

【0007】そのため、周波数が特定されない、及び又
は、周波数誤差が大きい位相反転信号を検出できる位相
反転検出装置が求められていた。
For this reason, there has been a demand for a phase inversion detecting device capable of detecting a phase inversion signal whose frequency is not specified and / or whose frequency error is large.

【0008】[0008]

【課題を解決するための手段】かかる課題を解決するた
め、第1の本発明は、位相が反転する信号における位相
反転を検出する位相反転検出装置において、過去に検出
した入力信号の位相情報に基づいて現時点の入力信号の
位相を推定し、この推定した位相と現時点の検出位相と
が所定範囲内の位相差を有する場合に、位相反転を検出
する位相反転検出手段を有することを特徴とする。
According to a first aspect of the present invention, there is provided a phase inversion detecting apparatus for detecting a phase inversion in a signal whose phase is inverted. And a phase inversion detecting means for detecting a phase inversion when the estimated phase and the current detected phase have a phase difference within a predetermined range based on the estimated phase. .

【0009】また、第2の本発明は、位相が反転する信
号における位相反転を検出する位相反転検出装置におい
て、入力信号のレベルが、第1の所定値を上回った時
点、及び又は、第1の所定値よりも小さい第2の所定値
を下回った時点を検出し、この検出した各時点の間隔が
所定範囲外である場合に、位相反転を検出する位相反転
検出手段を有することを特徴とする。
According to a second aspect of the present invention, there is provided a phase inversion detecting device for detecting phase inversion in a signal whose phase is inverted, wherein the level of an input signal exceeds a first predetermined value, and / or A phase inversion detecting means for detecting a time point at which the time falls below a second predetermined value smaller than the predetermined value, and detecting a phase inversion when an interval between the detected time points is out of a predetermined range. I do.

【0010】[0010]

【発明の実施の形態】(A)第1の実施形態 以下、本発明による位相反転検出装置を、位相反転信号
の位相反転を検出する位相反転検出装置に適用した第1
の実施形態について、図面を参照しながら詳述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (A) First Embodiment Hereinafter, a first embodiment in which a phase inversion detecting device according to the present invention is applied to a phase inversion detecting device for detecting phase inversion of a phase inversion signal will be described.
The embodiment will be described in detail with reference to the drawings.

【0011】(A−1)構成の説明 図1は、第1の実施形態の位相反転検出装置の構成を示
すブロック図である。図1において、この位相反転検出
装置は、離散フーリエ変換部(図中「DFT」)2と、
絶対値検出部(図中「ABS」)4及び振幅検出部5を
有する入力信号振幅検出部3と、位相推定部8及び位相
反転検出部9を有する入力信号位相反転検出部7と、振
幅・位相反転検出部11とを有する。
(A-1) Description of Configuration FIG. 1 is a block diagram showing the configuration of the phase inversion detection device according to the first embodiment. In FIG. 1, the phase inversion detecting device includes a discrete Fourier transform unit (“DFT” in the figure) 2,
An input signal amplitude detection unit 3 having an absolute value detection unit (“ABS” in the figure) 4 and an amplitude detection unit 5; an input signal phase inversion detection unit 7 having a phase estimation unit 8 and a phase inversion detection unit 9; And a phase inversion detection unit 11.

【0012】まず、各構成要素の接続対応関係について
説明する。入力信号1は離散フーリエ変換部2に与えら
れ、離散フーリエ変換部2は入力信号振幅検出部3と入
力信号位相反転検出部7に接続される。また、入力信号
振幅検出部3から出力される振幅検出信号6は、入力信
号位相反転検出部7と振幅・位相反転検出部11とに与
えられ、一方、入力信号位相反転検出部7から出力され
る位相反転検出信号10は、振幅・位相反転検出部11
に与えられる。さらに、振幅・位相反転検出部11は出
力信号12を出力する。
First, the connection correspondence between the components will be described. The input signal 1 is provided to a discrete Fourier transform unit 2, which is connected to an input signal amplitude detector 3 and an input signal phase inversion detector 7. The amplitude detection signal 6 output from the input signal amplitude detection unit 3 is provided to the input signal phase inversion detection unit 7 and the amplitude / phase inversion detection unit 11, whereas the amplitude detection signal 6 is output from the input signal phase inversion detection unit 7. The phase inversion detection signal 10 is output from the amplitude / phase inversion detection unit 11.
Given to. Further, the amplitude / phase inversion detecting section 11 outputs an output signal 12.

【0013】次に、各構成要素について説明する。Next, each component will be described.

【0014】離散フーリエ変換部2は、与えられた入力
信号1をフーリエ変換し、その変換した周波数帯域のう
ち注目する周波数(検出する位相反転信号の周波数)の
レベル変化を検出し、さらに、そのレベル変化のある一
定区間毎の振幅及び位相を示す複素数値x+iyを出力
するものである。なお、振幅は (x+y)1/2
位相は arctan(y/x) で算出することができる。ま
た、この出力の複素数値x+iyの表記を説明上わかり
やすくするために、その変換した区間の振幅及び位相を
r及びθとし、以下、reiθと記すこともある。
The discrete Fourier transform unit 2 performs a Fourier transform on the given input signal 1 and detects a level change of a frequency of interest (frequency of a phase-inverted signal to be detected) in the converted frequency band. It outputs a complex value x + iy indicating the amplitude and phase for each certain section in which the level changes. The amplitude is (x 2 + y 2 ) 1/2 ,
The phase can be calculated by arctan (y / x). In addition, in order to make the notation of the complex value x + iy of the output easy to understand for explanation, the amplitude and phase of the converted section are denoted by r and θ, and may be denoted by re .

【0015】入力信号振幅検出部3は、内部に絶対値計
算部4及び振幅検出部5を有し、離散フーリエ変換部2
から与えられた複素数値reiθの振幅rが、所定範囲
内であるか否かの検出を行うものである。その出力であ
る振幅検出信号6は真偽の論理値をとり、ここで、振幅
rが所定範囲内であれば真となり、所定範囲外であれば
偽となる。
The input signal amplitude detecting section 3 includes an absolute value calculating section 4 and an amplitude detecting section 5 therein.
Is to detect whether or not the amplitude r of the complex value re given by is within a predetermined range. The output of the amplitude detection signal 6 takes a true or false logical value. Here, the signal becomes true if the amplitude r is within a predetermined range, and becomes false if the amplitude r is out of the predetermined range.

【0016】絶対値検出部4は、離散フーリエ変換部2
から与えられた複素数値reiθから、その絶対値成分
である振幅rを検出するものである。その出力は振幅r
の大きさを示す実数値となる。
The absolute value detecting section 4 includes a discrete Fourier transform section 2
Is to detect the amplitude r, which is the absolute value component, from the complex value re given by. Its output is the amplitude r
Is a real value indicating the magnitude of.

【0017】振幅検出部5は、絶対値検出部4から与え
られた振幅rが、予め規定された範囲内であるか否かを
検出するものである。その出力は真偽の論理値をとり、
この出力が入力信号振幅検出部3の出力である振幅検出
信号6となる。なお、振幅rが所定範囲内であれば出力
は真となり、所定範囲外であれば出力は偽となる。
The amplitude detector 5 detects whether or not the amplitude r given from the absolute value detector 4 is within a predetermined range. Its output takes a Boolean value,
This output is the amplitude detection signal 6 output from the input signal amplitude detection unit 3. When the amplitude r is within the predetermined range, the output is true, and when the amplitude r is outside the predetermined range, the output is false.

【0018】入力信号位相反転検出部7は、内部に位相
推定部8及び位相反転検出部9を有し、入力信号振幅検
出部3からの振幅検出信号6の論理値とに基づき、離散
フーリエ変換部2からの複素数値reiθとの位相が反
転したか否かを検出するものである。ここで、入力信号
位相反転検出部7は、振幅検出信号6の論理値が真の場
合、すなわち、入力信号1の振幅rが所定範囲内である
場合のみ、検出動作を行う。その出力である位相反転検
出信号10は真偽の論理値をとり、ここで、位相の反転
を検出すれば真となり、検出しなければ偽となる。
The input signal phase inversion detecting section 7 has a phase estimating section 8 and a phase inversion detecting section 9 therein, and performs a discrete Fourier transform based on the logical value of the amplitude detection signal 6 from the input signal amplitude detecting section 3. This is to detect whether or not the phase with the complex value re from the section 2 has been inverted. Here, the input signal phase inversion detection unit 7 performs the detection operation only when the logical value of the amplitude detection signal 6 is true, that is, when the amplitude r of the input signal 1 is within a predetermined range. The output of the phase inversion detection signal 10 has a true or false logical value. Here, the phase becomes true if phase inversion is detected, and false if phase inversion is not detected.

【0019】位相推定部8は、離散フーリエ変換部2か
ら与えられる連続した3区間の複素数値を格納し、これ
ら3区間の最初の区間と最後の区間の位相差を算出し、
この算出した位相差を推定する区間の2つ前の区間の位
相に加えることによって、その推定区間の位相を推定
し、この推定した位相を位相反転検出部9に与えるもの
である。
The phase estimating section 8 stores the complex values of three consecutive sections provided from the discrete Fourier transform section 2 and calculates the phase difference between the first section and the last section of the three sections.
By adding the calculated phase difference to the phase of the section immediately before the section to be estimated, the phase of the estimated section is estimated, and the estimated phase is provided to the phase inversion detecting unit 9.

【0020】位相反転検出部9は、離散フーリエ変換部
2からの複素数値の位相と位相推定部8からの推定した
位相とを比較し、これらが反転が起きていると思われる
程度の位相差を有する場合に、位相の反転を検出するも
のである。その出力は真偽の論理値をとり、この出力が
入力信号位相反転検出部7の動作時における出力とな
る。ここで、位相の反転を検出すれば出力は真となり、
検出しなければ出力は偽となる。
The phase inversion detecting section 9 compares the phase of the complex value from the discrete Fourier transform section 2 with the phase estimated from the phase estimating section 8 and finds a phase difference such that inversion is considered to have occurred. Is detected, the phase inversion is detected. Its output takes a true or false logical value, and this output is an output when the input signal phase inversion detection unit 7 operates. Here, if the phase inversion is detected, the output becomes true,
If not detected, the output will be false.

【0021】振幅・位相反転検出部11は、入力信号振
幅検出部3からの振幅検出信号6の論理値と入力信号位
相反転検出部7からの位相反転検出信号10の論理値と
に基づき、継続的にある範囲内の振幅を有し、かつ、継
続的に位相の反転が起きているか否か、すなわち、位相
反転が正常に検出されているか否かを判定するものであ
る。その出力である出力信号12は真偽の論理値とな
り、ここで、このような条件が満たされていれば真とな
り、満たされていなければ偽となる。
The amplitude / phase reversal detection unit 11 continues based on the logic value of the amplitude detection signal 6 from the input signal amplitude detection unit 3 and the logic value of the phase reversal detection signal 10 from the input signal phase reversal detection unit 7. In other words, it is determined whether or not the amplitude is within a certain range and the phase inversion is continuously occurring, that is, whether or not the phase inversion is normally detected. The output signal 12, which is its output, is a true / false logical value. Here, the condition is true if such a condition is satisfied, and false if the condition is not satisfied.

【0022】(A−2)動作の説明 次に、このような構成を有する位相反転検出装置の動作
について、図2〜図4を参照しながら説明する。
(A-2) Description of Operation Next, the operation of the phase inversion detecting device having such a configuration will be described with reference to FIGS.

【0023】(A-2-1) まず、入力信号1から振幅検出信
号6が生成されるまでの動作を説明する。
(A-2-1) First, the operation until the amplitude detection signal 6 is generated from the input signal 1 will be described.

【0024】離散フーリエ変換部2では、与えられた入
力信号1がフーリエ変換され、その変換された周波数帯
域のうち、位相反転信号が有する周波数のレベル変化が
検出され、さらに、そのレベル変化のある一定の区間毎
の振幅及び位相を示す複素数値x+iyが出力される。
In the discrete Fourier transform unit 2, the given input signal 1 is subjected to Fourier transform, and a level change of the frequency of the phase-inverted signal in the converted frequency band is detected. A complex value x + iy indicating the amplitude and phase for each fixed section is output.

【0025】絶対値計算部4では、離散フーリエ変換部
2から与えられた複素数値x+iyから、その絶対値成
分である振幅r(r= (x+y)1/2)が検出さ
れて振幅検出部5に与えられ、振幅検出部5では、与え
られた振幅rがある範囲内、すなわち、th1≦r≦t
h2(但しth1、th2は前もって定められた値)で
あるか否かが検出され、その範囲内であれば真の論理値
が、その範囲外であれば偽の論理値が出力される。その
結果、振幅検出信号6は、入力信号1において、位相反
転信号が有する周波数の振幅がある範囲内にある場合に
真、それ以外の場合に偽という論理値を持つことにな
る。
The absolute value calculation unit 4 detects the amplitude r (r = (x 2 + y 2 ) 1/2 ), which is the absolute value component, from the complex value x + iy given from the discrete Fourier transform unit 2 and detects the amplitude. The given amplitude r is within a certain range, that is, th1 ≦ r ≦ t.
h2 (th1 and th2 are predetermined values) is detected, and a true logical value is output if it is within the range, and a false logical value is output if it is outside the range. As a result, the amplitude detection signal 6 has a logical value of true in the input signal 1 when the amplitude of the frequency of the phase inversion signal is within a certain range, and false in other cases.

【0026】(A-2-2) 次に、入力信号1と振幅検出信号
6とから、位相反転検出信号10が生成されるまでの動
作を説明する。
(A-2-2) Next, the operation until the phase inversion detection signal 10 is generated from the input signal 1 and the amplitude detection signal 6 will be described.

【0027】入力信号位相反転検出部7には、離散フー
リエ変換部2からの複素数値x+iyと入力信号振幅検
出部3からの振幅検出信号6の論理値とが与えられる。
なお、離散フーリエ変換部2からの複素数値は、内蔵す
る位相推定部8と位相反転検出部9とに与えられる。
The input signal phase inversion detecting section 7 is provided with the complex value x + iy from the discrete Fourier transform section 2 and the logical value of the amplitude detection signal 6 from the input signal amplitude detecting section 3.
The complex value from the discrete Fourier transform unit 2 is provided to a built-in phase estimating unit 8 and a phase inversion detecting unit 9.

【0028】ここで、振幅検出信号6の論理値が偽であ
る場合には、入力信号位相反転検出部7から偽の論理値
が出力される。一方、振幅検出信号6の論理値が真であ
る場合には、位相推定部8で、離散フーリエ変換部2か
ら次の区間に与えられる複素数値の位相が推定され、位
相反転検出部9で、その推定された位相と、次の区間に
実際に離散フーリエ変換部2から与えられた位相とが比
較され、位相の反転が検出されれば真の論理値が、検出
されなければ偽の論理値が出力されることになる。な
お、入力信号位相反転検出部7に論理値が真である振幅
検出信号6が初めて与えられた場合には、位相推定部8
では、まず位相推定に必要なパラメータが算出されてか
ら、位相推定が行われることになる。
Here, when the logical value of the amplitude detection signal 6 is false, the input signal phase inversion detecting section 7 outputs a false logical value. On the other hand, if the logical value of the amplitude detection signal 6 is true, the phase estimating unit 8 estimates the phase of the complex value given to the next section from the discrete Fourier transform unit 2, and the phase inversion detecting unit 9 The estimated phase is compared with the phase actually given from the discrete Fourier transform unit 2 in the next section, and if a phase inversion is detected, a true logical value is detected. Is output. When the amplitude detection signal 6 whose logical value is true is given to the input signal phase inversion detection unit 7 for the first time, the phase estimation unit 8
Then, the parameters necessary for the phase estimation are calculated first, and then the phase estimation is performed.

【0029】さらにここで、位相推定部8において、位
相推定に必要なパラメータを算出する方法と、このパラ
メータを用いて位相を推定する方法とについて、より具
体的に説明する。
Here, the method of calculating the parameters required for the phase estimation in the phase estimating section 8 and the method of estimating the phase using the parameters will be described more specifically.

【0030】まず、位相推定に必要なパラメータの算出
方法について、図2を参照しながら説明する。位相推定
部8では、離散フーリエ変換部2において所定区間毎に
変換された複素数値が連続して3区間分保持され、これ
ら3区間における最初の区間と最後の区間の位相差Δθ
が算出され、第1の実施形態においては、この算出され
た位相差Δθが位相推定に必要なパラメータとなる。
First, a method of calculating parameters required for phase estimation will be described with reference to FIG. In the phase estimating unit 8, the complex value converted for each predetermined interval in the discrete Fourier transform unit 2 is continuously held for three intervals, and the phase difference Δθ between the first interval and the last interval in these three intervals is stored.
Is calculated, and in the first embodiment, the calculated phase difference Δθ is a parameter necessary for phase estimation.

【0031】例えば、図2において、連続した3区間
を、区間A、区間B、及び区間Cとし、それぞれの区間
の離散フーリエ変換部2からの複素数値を、xA+iy
A、xB+iyB、xC+iyCとする。なお、それぞ
れの区間の複素数値の振幅は互いに等しいものとする。
ここで、区間A及び区間Cの位相θA及びθCはそれぞ
れ、θA=arctan(yA/xA)、θC=arctan(yC/
xC)から算出でき、さらにθC−θAを算出すれば、
図2における区間Cと区間Aの位相差Δθを求めること
ができる。但し、θA及びθCはそれぞれ、xA<0、
xC<Cの場合、π加算される。
For example, in FIG. 2, three consecutive sections are referred to as section A, section B, and section C, and the complex value from the discrete Fourier transform unit 2 for each section is xA + iy
A, xB + iyB, xC + iyC. It is assumed that the amplitudes of the complex values in each section are equal to each other.
Here, the phases θA and θC of the sections A and C are respectively θA = arctan (yA / xA) and θC = arctan (yC /
xC), and if θC−θA is further calculated,
The phase difference Δθ between the section C and the section A in FIG. 2 can be obtained. Here, θA and θC are respectively xA <0,
When xC <C, π is added.

【0032】次に、この算出されたパラメータΔθを用
いて、位相を推定する方法について、図3を参照しなが
ら説明する。
Next, a method of estimating the phase using the calculated parameter Δθ will be described with reference to FIG.

【0033】図3は、2つ前の区間Dから現在の区間F
の位相を推定する場合の説明図である。ここで、推定す
る区間Fの位相をθ’、2つ前の区間Dの位相をθDと
すると、推定する区間Fの位相θ’は、θD+Δθの算
出結果から推定することができる。なお、θDは、θD
=arctan(yD/xD)から算出できる。但し、xD及び
yDはそれぞれ、区間Dの離散フーリエ変換部2からの
複素数値xD+iyDの実数部及び虚数部の値である。
また、xD<0の場合、上式のθDにπが加算される。
FIG. 3 shows a state in which a section D immediately before the current section F is shifted from a section D immediately before.
FIG. 5 is an explanatory diagram in the case of estimating the phase of the. Here, assuming that the phase of the section F to be estimated is θ ′, and the phase of the section D two immediately before is θD, the phase θ ′ of the section F to be estimated can be estimated from the calculation result of θD + Δθ. Note that θD is θD
= Arctan (yD / xD). Here, xD and yD are the values of the real part and the imaginary part of the complex value xD + iyD from the discrete Fourier transform unit 2 in the section D, respectively.
When xD <0, π is added to θD in the above equation.

【0034】このようにして、位相推定部8では、位相
推定に必要なパラメータが算出されると共に位相が推定
されて、その推定された位相が位相反転検出部9に与え
られることになる。
In this way, the phase estimating section 8 calculates the parameters necessary for the phase estimation and estimates the phase, and supplies the estimated phase to the phase inversion detecting section 9.

【0035】続いて、位相反転検出部9では、位相推定
部8で推定された位相と、離散フーリエ変換部2から与
えられた実際の複素数値の位相とが比較され、これらが
反転がおきていると思われる程度の位相差を有する場合
に、位相の反転が検出されることになる。なお、位相の
反転を検出すれば出力は真となり、検出しなければ出力
は偽となる。
Subsequently, the phase inversion detecting section 9 compares the phase estimated by the phase estimating section 8 with the phase of the actual complex value provided from the discrete Fourier transform section 2, and these are inverted. The phase inversion is detected when the phase difference is considered to be large. The output becomes true if phase inversion is detected, and becomes false if phase inversion is not detected.

【0036】ここで、位相の反転を検出する方法につい
て具体的に説明する。離散フーリエ変換部2からの複素
数値の位相をθ、推定された位相をθ’とすると、θ−
θ’は予想された位相と実際の位相との差分となる。す
なわち、位相の反転が起きていなければ|θ−θ’|≒
0となり、一方、反転が起きていれば、変換した区間に
おける反転が起きた時点にもよるが、|θ−θ’|はπ
に近い値をとるようになる。
Here, a method of detecting phase inversion will be specifically described. Assuming that the phase of the complex value from the discrete Fourier transform unit 2 is θ and the estimated phase is θ ′, θ−
θ ′ is the difference between the expected phase and the actual phase. That is, unless phase inversion occurs, | θ−θ ′ | ≒
0, on the other hand, if inversion has occurred, | θ−θ ′ |
It takes a value close to.

【0037】そのため、位相反転の検出方法は、ある閾
値th3(0<th3<π)を定め、|θ−θ’|>t
h3であれば位相の反転を検出し、逆に、|θ−θ’|
<th3であれば位相の反転を検出しないものである。
ここで、この閾値th3が0に近いほど、その反転した
区間で検出できる確率は高くなるが、ノイズ等によって
誤検出する確率も高くなり、反対に、この閾値th3が
πに近くなると、その反転した区間ではなく次の区間で
反転を検出してしまったり、又は、反転を検出できなく
なる。従って、この閾値th3は適用するシステムに応
じて適切な値にする必要がある。
For this reason, the phase inversion detection method is to determine a certain threshold value th3 (0 <th3 <π) and to set | θ−θ ′ |> t
If h3, the phase inversion is detected, and conversely, | θ−θ ′ |
If <th3, no phase inversion is detected.
Here, as the threshold th3 is closer to 0, the probability of detection in the inverted section is higher, but the probability of erroneous detection due to noise or the like is also higher. Conversely, when the threshold th3 is closer to π, the inversion is smaller. The inversion is detected in the next section instead of the section that has been performed, or the inversion cannot be detected. Therefore, the threshold value th3 needs to be set to an appropriate value according to the system to which the threshold value th3 is applied.

【0038】このようにして、入力信号位相反転検出部
7では、振幅検出信号6の値が偽の論理値のときは、常
に偽の論理値が出力され、一方、振幅検出信号6の値が
真の論理値のときは、検出動作が行われて、位相反転信
号に位相反転が生じた場合に真の論理値が、位相反転が
生じない場合に偽の論理値が出力されることになる。な
お、その出力が位相反転検出信号10である。
In this manner, in the input signal phase inversion detecting section 7, when the value of the amplitude detection signal 6 is a false logical value, a false logical value is always output, while the value of the amplitude detecting signal 6 is In the case of a true logical value, a detection operation is performed, and a true logical value is output when phase inversion occurs in the phase inversion signal, and a false logical value is output when phase inversion does not occur. . The output is the phase inversion detection signal 10.

【0039】(A-2-3) さらに、振幅検出信号6と位相反
転検出信号10とから、出力信号12が生成されるまで
の動作を説明する。
(A-2-3) Further, the operation until the output signal 12 is generated from the amplitude detection signal 6 and the phase inversion detection signal 10 will be described.

【0040】振幅・位相反転検出部11では、入力信号
振幅検出部3からの振幅検出信号6と入力信号位相反転
検出部7からの位相反転検出信号10とが与えられ、振
幅検出信号6がある一定の期間真の値が継続している場
合、かつ、位相反転検出信号10が一定の周期で一定回
数以上の真の値をとっている場合に、真の論理値が出力
され、それ以外の場合に、偽の論理値が出力される。す
なわち、出力信号12は、真の値の場合、入力信号1が
ある一定の期間定まった範囲内の振幅を持ち、かつ、あ
る一定周期で一定回数以上の位相反転が起きていること
を示すものとなる。
The amplitude / phase inversion detecting section 11 receives the amplitude detection signal 6 from the input signal amplitude detection section 3 and the phase inversion detection signal 10 from the input signal phase inversion detection section 7, and the amplitude detection signal 6 is provided. When the true value continues for a certain period, and when the phase inversion detection signal 10 has a certain value or more in a certain cycle, a true logical value is output. In this case, a false logical value is output. That is, when the output signal 12 is a true value, the output signal 12 indicates that the input signal 1 has an amplitude within a predetermined range for a certain period, and that a certain number of phase inversions occur in a certain period. Becomes

【0041】なお、振幅・位相反転検出部11におい
て、入力信号振幅検出部3が一定期間(M回)連続して
真を検出したことを示した場合、その後定められたN回
までは、入力信号振幅検出部3が一時的に偽を検出した
ときでも、連続して真を検出したとみなす連続検出保護
シーケンスの機能を有していれば、ノイズ等による入力
信号振幅検出部3の誤検出のために、出力信号12の論
理値が誤ることが少なくなり好ましい。ここで、図4
は、M=2,N=4の場合の連続検出保護シーケンスの
動作説明図である。
When the amplitude / phase reversal detecting section 11 indicates that the input signal amplitude detecting section 3 has continuously detected the true state for a certain period (M times), the input / amplitude detecting section 11 keeps detecting the input signal until N times. Even if the signal amplitude detecting unit 3 temporarily detects false, if the signal amplitude detecting unit 3 has a function of a continuous detection protection sequence for continuously detecting true, erroneous detection of the input signal amplitude detecting unit 3 due to noise or the like. Therefore, the erroneous logical value of the output signal 12 is reduced, which is preferable. Here, FIG.
FIG. 8 is an explanatory diagram of an operation of a continuous detection protection sequence when M = 2 and N = 4.

【0042】図4において、動作停止状態であるステッ
プ41から電源オンすると、通常動作状態であるステッ
プ42になり、ここで、入力信号位相検出部3から真の
論理値が1区間分与えられればステップ43に移行し、
続けて1区間分真の論理値が与えられれば連続検出保護
状態であるステップ44に移行し、以後、連続して真の
論理値が与えられればステップ44に留まることにな
る。一方、ステップ43において、次の区間に偽の論理
値が与えられれば、通常動作状態であるステップ41に
戻ることになる。
In FIG. 4, when the power is turned on from step 41 in which the operation is stopped, the process goes to step 42 in which the operation is normal. Here, if a true logical value is provided from the input signal phase detector 3 for one section. Go to step 43,
Subsequently, if a true logical value is provided for one section, the process proceeds to step 44 in the continuous detection protection state, and thereafter, if a true logical value is continuously provided, the process remains at step 44. On the other hand, if a false logical value is given to the next section in step 43, the process returns to step 41 in the normal operation state.

【0043】また、連続検出保護状態であるステップ4
4において、1区間分偽の論理値が与えられるとステッ
プ45に移行し、続けて1区間分偽の論理値が与えられ
るとステップ46に移行し、さらに続けて1区間分偽の
論理値が与えられると通常動作状態であるステップ42
に戻ることになる。
Step 4 in the continuous detection protection state
In step 4, when a false logical value for one section is provided, the process proceeds to step 45, and when a false logical value for one section is subsequently provided, the process proceeds to step 46. Step 42 is normal operation state when given
Will return to.

【0044】ここで、ステップ45又はステップ46に
おいて、次の1区間に真の論理値が与えられた場合に
は、連続検出保護状態であるステップ44に戻ることに
なる。
Here, in step 45 or step 46, if a true logical value is given to the next section, the process returns to step 44 in the continuous detection protection state.

【0045】なお、図4においては、M=2、N=4の
場合について示したが、各値は、適用するシステムの仕
様に応じた値であっても良いことは勿論である。
Although FIG. 4 shows the case where M = 2 and N = 4, it goes without saying that each value may be a value according to the specifications of the system to which it is applied.

【0046】また、振幅・位相反転検出部11におい
て、M、Nの各値を適当に設定できる機能を有していれ
ば、適用するシステムに柔軟に適用できて、好ましい。
It is preferable that the amplitude / phase inversion detecting section 11 has a function of appropriately setting the values of M and N, since the function can be flexibly applied to the system to be applied.

【0047】(A−3)効果の説明 以上のように、第1の実施形態によれば、(1)離散フ
ーリエ変換部2から与えられる連続した3区間の複素数
値を格納し、これら3区間の最初の区間と最後の区間の
位相差を算出し、この算出した位相差を推定する区間の
2つ前の区間の位相に加えることによって、その推定区
間の位相を推定する位相推定部8と、(2)離散フーリ
エ変換部2からの複素数値の位相と位相推定部8からの
推定した位相とを比較し、これらが反転が起きていると
思われる程度の位相差を有する場合に位相の反転を検出
する位相反転検出部9とを有するので、入力信号の周波
数に関係なく位相反転を検出することができ、周波数が
特定されない及び又は周波数誤差が大きい位相反転信号
であっても、位相反転を検出することができるようにな
る。
(A-3) Description of Effect As described above, according to the first embodiment, (1) three consecutive complex values provided from the discrete Fourier transform unit 2 are stored, and these three The phase estimator 8 calculates the phase difference between the first section and the last section, and adds the calculated phase difference to the phase of the section immediately before the section to be estimated, thereby estimating the phase of the estimated section. (2) The phase of the complex value from the discrete Fourier transform unit 2 is compared with the phase estimated from the phase estimating unit 8, and if these have a phase difference of such a degree that inversion seems to have occurred, Since it has the phase inversion detection unit 9 for detecting inversion, it is possible to detect phase inversion regardless of the frequency of the input signal, and even if the frequency is not specified and / or the phase inversion signal has a large frequency error, the phase inversion is performed. Detecting Will be able to

【0048】例えば、第1の実施形態は、従来技術でも
簡単に説明したが、ITU−T勧告G.165における
エコーキャンセラのディセーブリング信号の検出に有効
である。なお、G.165におけるエコーキャンセラの
ディセーブリング信号は、周波数が2100±21H
z、振幅が−31dB以上−6dB以下であり、450
±25ms周期に180±25°の範囲で位相反転する
信号である。
For example, although the first embodiment has been briefly described in the prior art, ITU-T Recommendation G. This is effective for detecting the disabling signal of the echo canceller at 165. G. The disabling signal of the echo canceller at 165 has a frequency of 2100 ± 21H.
z, the amplitude is −31 dB or more and −6 dB or less, and 450
It is a signal whose phase is inverted within a range of 180 ± 25 ° in a period of ± 25 ms.

【0049】また、第1の実施形態によれば、振幅・位
相反転検出部11を有するので、検出した位相反転信号
が、仕様通りであるか否かを検出することができるよう
になる。さらにここで、振幅・位相反転検出部11が連
続検出保護シーケンスの機能を有していれば、ノイズ等
による入力信号振幅検出部3の誤検出のために、出力信
号12の論理値が誤ることを少なくすることができる。
According to the first embodiment, the presence of the amplitude / phase reversal detecting section 11 makes it possible to detect whether or not the detected phase reversal signal is as specified. Further, if the amplitude / phase inversion detection unit 11 has a function of a continuous detection protection sequence, the logical value of the output signal 12 may be incorrect due to erroneous detection of the input signal amplitude detection unit 3 due to noise or the like. Can be reduced.

【0050】(B)第2の実施形態 以下、本発明による位相反転検出装置を、位相反転信号
の位相反転を検出する位相反転検出装置に適用した第2
の実施形態について、図面を参照しながら詳述する。
(B) Second Embodiment Hereinafter, a second embodiment in which the phase inversion detection device according to the present invention is applied to a phase inversion detection device for detecting the phase inversion of a phase inversion signal will be described.
The embodiment will be described in detail with reference to the drawings.

【0051】第2の実施形態の位相反転検出装置も、第
1の実施形態と同様の構成を有し、図1を用いて説明す
ると、離散フーリエ変換部(図中「DFT」)2と、絶
対値検出部(図中「ABS」)4及び振幅検出部5を有
する入力信号振幅検出部3と、位相推定部8及び位相反
転検出部9を有する入力信号位相反転検出部7と、振幅
・位相反転検出部11とを有する。
The phase inversion detection device of the second embodiment has the same configuration as that of the first embodiment, and will be described with reference to FIG. 1. A discrete Fourier transform unit (“DFT” in the figure) 2 An input signal amplitude detection unit 3 having an absolute value detection unit (“ABS” in the figure) 4 and an amplitude detection unit 5; an input signal phase inversion detection unit 7 having a phase estimation unit 8 and a phase inversion detection unit 9; And a phase inversion detection unit 11.

【0052】まず、各構成要素の接続対応関係について
説明する。入力信号1は離散フーリエ変換部2に与えら
れ、離散フーリエ変換部2は入力信号振幅検出部3と入
力信号位相反転検出部7に接続される。また、入力信号
振幅検出部3から出力される振幅検出信号6は、入力信
号位相反転検出部7と振幅・位相反転検出部11とに与
えられ、一方、入力信号位相反転検出部7から出力され
る位相反転検出信号10は、振幅・位相反転検出部11
に与えられる。さらに、振幅・位相反転検出部11は出
力信号12を出力する。
First, the connection correspondence of each component will be described. The input signal 1 is provided to a discrete Fourier transform unit 2, which is connected to an input signal amplitude detector 3 and an input signal phase inversion detector 7. The amplitude detection signal 6 output from the input signal amplitude detection unit 3 is provided to the input signal phase inversion detection unit 7 and the amplitude / phase inversion detection unit 11, whereas the amplitude detection signal 6 is output from the input signal phase inversion detection unit 7. The phase inversion detection signal 10 is output from the amplitude / phase inversion detection unit 11.
Given to. Further, the amplitude / phase inversion detecting section 11 outputs an output signal 12.

【0053】ここで、第1の実施形態と異なる点は、位
相推定部8と位相反転検出部9とにおいて、位相推定に
必要なパラメータを算出する方法と、そのパラメータを
用いて位相を推定する方法と、推定した位相と実際の位
相とから位相の反転を検出する方法とが異なる。
Here, the difference from the first embodiment is that the phase estimating unit 8 and the phase inversion detecting unit 9 calculate a parameter necessary for the phase estimation and estimate the phase using the parameter. The method differs from the method of detecting the phase inversion from the estimated phase and the actual phase.

【0054】そのため、以下、これらの異なる点につい
て中心に説明し、同様な点については説明を省略する。
なお、第2の実施形態においても、第1の実施形態の動
作説明で使用した図2及び図3を参照して説明する。
Therefore, hereinafter, the different points will be mainly described, and the description of the same points will be omitted.
Note that the second embodiment will also be described with reference to FIGS. 2 and 3 used in the description of the operation of the first embodiment.

【0055】まず、位相推定に必要なパラメータの算出
方法について、図2を参照しながら説明する。位相推定
部8では、離散フーリエ変換部2において所定区間毎に
変換された複素数値が連続して3区間分保持され、これ
ら3区間における最初の区間と最後の区間の位相差の余
弦値 cosΔθ及び正弦値 sinΔθが算出され、第2の実
施形態においては、この算出された位相差の余弦値 cos
Δθ及び正弦値 sinΔθが位相推定に必要なパラメータ
となる。
First, a method of calculating parameters required for phase estimation will be described with reference to FIG. In the phase estimating unit 8, the complex value converted for each predetermined interval in the discrete Fourier transforming unit 2 is continuously held for three intervals, and the cosine values cosΔθ and cosine of the phase difference between the first interval and the last interval in these three intervals are obtained. The sine value sinΔθ is calculated, and in the second embodiment, the cosine value of the calculated phase difference cos
Δθ and sine value sinΔθ are parameters necessary for phase estimation.

【0056】例えば、図2において、連続した3区間
を、区間A、区間B、及び区間Cとし、それぞれの区間
の離散フーリエ変換を行った複素数値を、xA+iy
A、xB+iyB、xC+iyCとする。なお、それぞ
れの区間の複素数値の振幅は互いに等しいものとする。
ここで、区間A及び区間Cの位相θA及びθCの位相差
の余弦値 cosΔθ及び正弦値 sinΔθはそれぞれ、下記
式1及び式2から算出することができる。 式1: cosΔθ= cos(θC−θA) = cosθC * cosθA + sinθC * sinθA =(xC*xA+yC*yA)/r 式2: sinΔθ= sin(θC−θA) = sinθC * cosθA − cosθC * sinθA =(yC*xA−xC*yA)/r から算出することができる。
For example, in FIG. 2, three consecutive sections are referred to as section A, section B, and section C, and a complex value obtained by performing a discrete Fourier transform on each section is xA + iy
A, xB + iyB, xC + iyC. It is assumed that the amplitudes of the complex values in each section are equal to each other.
Here, the cosine value cosΔθ and the sine value sinΔθ of the phase difference between the phases θA and θC in the sections A and C can be calculated from the following equations 1 and 2, respectively. Equation 1: cosΔθ = cos (θC- θA) = cosθC * cosθA + sinθC * sinθA = (xC * xA + yC * yA) / r 2 Equation 2: sinΔθ = sin (θC- θA) = sinθC * cosθA - cosθC * sinθA = can be calculated from (yC * xA-xC * yA ) / r 2.

【0057】次に、この算出されたパラメータ cosΔθ
及び sinΔθを用いて、位相を推定する方法について図
3を参照しながら説明する。
Next, the calculated parameter cosΔθ
And a method of estimating the phase using sinΔθ will be described with reference to FIG.

【0058】図3は、2つ前の区間Dから現在の区間F
の位相を推定する場合の説明図である。ここで、区間F
の複素数値の実数部を r'cosθ'、虚数部を r'sin
θ'、2つ前の区間Dの複素数値の位相をθ、算出され
たパラメータを cosΔθ及び sinΔθとすると、 r'co
sθ'及び r'sinθ'はそれぞれ、下記式3及び式4から
算出することができる。 式3: r'cosθ'= rcos(θ+Δθ) = rcosθcosΔθ − rsinθsinΔθ = xcosΔθ − ysinΔθ 式4: r'sinθ'= rsin(θ+Δθ) = rsinθcosΔθ + rcosθsinΔθ = ycosΔθ + xsinΔθ から算出することができる。但し、x及びyは、区間D
の離散フーリエ変換の複素数値x+iyの実数部及び虚
数部の値である。
FIG. 3 shows a state in which the current section F is shifted from the section D immediately before the current section F to the current section F.
FIG. 5 is an explanatory diagram in the case of estimating the phase of the. Here, section F
The real part of the complex value of is r'cosθ 'and the imaginary part is r'sin
Assuming that θ ′ is the phase of the complex value of the previous section D and that the calculated parameters are cosΔθ and sinΔθ, r′co
sθ ′ and r′sinθ ′ can be calculated from the following equations 3 and 4, respectively. Equation 3: r′cosθ ′ = rcos (θ + Δθ) = rcosθcosΔθ−rsinθsinΔθ = xcosΔθ−ysinΔθ Equation 4: r′sinθ ′ = rsin (θ + Δθ) = rsinθcosΔθ + rcosθ can be calculated from rsinθcosΔθ + rcosθin Δscosθ. Here, x and y are in the section D
Are the values of the real and imaginary parts of the complex value x + iy of the discrete Fourier transform of

【0059】このようにして、位相推定部8では、位相
推定に必要なパラメータが算出されると共に位相が推定
されて、その推定された位相が位相反転検出部9に与え
られることになる。
In this way, the phase estimating unit 8 calculates the parameters necessary for the phase estimation and estimates the phase, and supplies the estimated phase to the phase inversion detecting unit 9.

【0060】さらに、位相反転検出部9において、位相
の反転を検出する方法について具体的に説明する。離散
フーリエ変換部2からの複素数値をreiθ、位相推定
部8で推定された複素数値をr'eiθ' とし、新たに
複素数値fを導入する。ここで、それぞれの振幅は等し
い (r=r')ことに注意するして、fは下記式5とな
り、 式5: f = reiθ + r'eiθ' = r{(cosθ+cosθ') + i(sinθ+sinθ')} さらに、reiθとr'eiθ' の位相差を求めるため
に、|f|を算出すると、下記式6となる。 式6:|f|= r{(cosθ+cosθ') + (sinθ+sinθ')} = r{2+2(cosθcosθ'+sinθsinθ')} = 2r{1+cos(θ−θ')} ここで、θ−θ’は予想された位相と実際の位相との差
分となる。すなわち、位相の反転が起きていなければ|
θ−θ’|≒0となり、cos(θ−θ')≒1となる。一
方、反転が起きていれば、変換した区間における反転が
起きた時点にもよるが、|θ−θ’|はπに近い値をと
るようになり、cos(θ−θ')は−1に近い値となる。
Further, a method of detecting phase inversion in the phase inversion detecting section 9 will be specifically described. The complex value from the discrete Fourier transform unit 2 is re , the complex value estimated by the phase estimating unit 8 is r′e iθ ′ , and a new complex value f is introduced. Here, each amplitude 'and to note that, f is the following formula 5, and the formula 5: f = re iθ + r'e iθ equal (r = r)' = r {(cosθ + cosθ ') + i (sin θ + sin θ ′)} Further, when | f | 2 is calculated in order to obtain the phase difference between re and r′e iθ ′ , the following equation 6 is obtained. Equation 6: | f | 2 = r 2 {(cos θ + cos θ ′) 2 + (sin θ + sin θ ′) 2 } = r 2 {2 + 2 (cos θcos θ ′ + sin θ sin θ ′)} = 2r 2 {1 + cos (θ−θ ′)} where θ−θ ′ is the difference between the predicted phase and the actual phase. That is, if phase inversion has not occurred |
θ−θ ′ | ≒ 0, and cos (θ−θ ′) ≒ 1. On the other hand, if inversion has occurred, | θ−θ ′ | takes a value close to π, and cos (θ−θ ′) becomes −1, although it depends on when the inversion occurs in the converted section. It is a value close to.

【0061】そのため、位相反転の検出方法は、ある閾
値th4(−1<th4<1)を定め、|f|<2r
{1+th4}であれば位相の反転を検出し、逆に、|
f| >2r{1+th4}であれば位相の反転を検出
しないものである。ここで、この閾値th4が1に近い
ほど、その反転した区間で検出できる確率は高くなる
が、ノイズや検出精度等によって誤検出する確率も高く
なり、反対に、この閾値th4が−1に近くなると、そ
の反転した区間ではなく次の区間で反転を検出してしま
ったり、又は、反転を検出できなくなる。従って、この
閾値th4は適用するシステムに応じて適切な値にする
必要がある。
Therefore, the method of detecting phase inversion requires a certain threshold.
The value th4 (-1 <th4 <1) is determined, and | f |2<2r
2If {1 + th4}, phase inversion is detected, and conversely, |
f | 2> 2r2If {1 + th4}, detect phase inversion
It does not. Here, this threshold th4 is close to 1.
The higher the probability of detection in the inverted section
However, the probability of erroneous detection due to noise and detection accuracy is high.
Conversely, when the threshold value th4 approaches −1,
Is detected in the next section instead of the inverted section of
Or inversion cannot be detected. Therefore, this
The threshold value th4 is set to an appropriate value according to the applied system.
There is a need.

【0062】このようにして、入力信号位相反転検出部
7では、振幅検出信号6の値が偽の論理値のときは、常
に偽の論理値が出力され、一方、振幅検出信号6の値が
真の論理値のときは、検出動作が行われて、入力信号1
の位相反転が生じた場合に真の論理値が、位相反転が生
じない場合に偽の論理値が出力されることになる。な
お、その出力が位相反転検出信号10である。
As described above, in the input signal phase inversion detecting section 7, when the value of the amplitude detection signal 6 is a false logical value, a false logical value is always output, while the value of the amplitude detecting signal 6 is When the logical value is true, a detection operation is performed and the input signal 1
When the phase inversion occurs, a true logical value is output, and when the phase inversion does not occur, a false logical value is output. The output is the phase inversion detection signal 10.

【0063】以上のように、第2の実施形態によれば、
第1の実施形態と同様な効果が得られる。
As described above, according to the second embodiment,
An effect similar to that of the first embodiment can be obtained.

【0064】また、第2の実施形態によれば、位相反転
の検出において四則演算のみで処理を行うことができる
ので、第1の実施形態で用いたアークタンジェントの計
算よりも演算量が少なくなり、第1の実施形態よりも演
算処理量を少なくすることができる。
Further, according to the second embodiment, the process can be performed only by the four arithmetic operations in detecting the phase inversion, so that the operation amount is smaller than the calculation of the arc tangent used in the first embodiment. In addition, the amount of arithmetic processing can be reduced as compared with the first embodiment.

【0065】特に、エコーキャンセラのディセーブリン
グ信号の検出のように、リアルタイムに処理する必要が
ある場合には、演算の処理量が大きな問題となるため、
第2の実施形態の構成を用いることは好ましい。
In particular, when processing must be performed in real time as in the case of detection of a disabling signal of an echo canceller, the amount of computation becomes a serious problem.
It is preferable to use the configuration of the second embodiment.

【0066】(C)第3の実施形態 以下、本発明による位相反転検出装置を、ディセーブリ
ング信号を検出する位相反転検出装置に適用した第3の
実施形態について、図面を参照しながら詳述する。
(C) Third Embodiment Hereinafter, a third embodiment in which the phase inversion detecting device according to the present invention is applied to a phase inversion detecting device for detecting a disabled signal will be described in detail with reference to the drawings. .

【0067】ここで、第3の実施形態では、入力信号と
してディセーブリング信号が与えられたとき、すなわ
ち、入力が8KHzでサンプリングされている特定周波
数約2100Hz帯(2100Hz±21Hz)の正弦
波で、450±25ms周期にて位相反転している信号
が与えられたとき、第1及び第2の実施形態とは異なっ
た方法で、このディセーブリング信号を検出する方法を
示す。
Here, in the third embodiment, when a disable signal is given as an input signal, that is, a sine wave of a specific frequency of about 2100 Hz band (2100 Hz ± 21 Hz) whose input is sampled at 8 KHz, A method of detecting the disabling signal by a method different from the first and second embodiments when a signal whose phase is inverted at a period of 450 ± 25 ms is provided.

【0068】なお、ディセーブリング信号は、この信号
をr(t)とすると、下記式8で与えられるものである。 式8:r(t) = a(t)sin(ωt+θ) a(t):周期900±50msの方形波 ω :2079Hz*2π≦ω≦2121Hz*
2π θ :任意 rad (C−1)構成の説明 図5は、第1の実施形態の位相反転検出装置の構成を示
すブロック図である。図5において、この位相反転検出
装置は、バンドパスフィルタ部(図中「BPF」)51
と、離散フーリエ変換部(図中「DFT」)52と、絶
対値検出部(図中「ABS」)54及び振幅検出部55
を有する入力信号振幅検出部53と、乗積部(図中「Mu
ltiply」)57とローパスフィルタ部(図中「LP
F」)58と波形変換部(図中 「Threshold」)59と
位相反転検出部60とを有する入力信号位相反転検出部
56と、振幅・位相反転検出部61とを有する。
The disabling signal is given by the following equation (8), where r (t) is this signal. Equation 8: r (t) = a (t) sin (ω C t + θ) a (t): square wave with a period of 900 ± 50 ms ω C : 2079 Hz * 2π ≦ ω C ≦ 2121 Hz *
2πθ: Arbitrary rad (C-1) Description of Configuration FIG. 5 is a block diagram illustrating a configuration of the phase inversion detection device according to the first embodiment. In FIG. 5, the phase inversion detecting device includes a band-pass filter (“BPF” in the figure) 51.
, A discrete Fourier transform unit (“DFT” in the figure) 52, an absolute value detecting unit (“ABS” in the figure) 54, and an amplitude detecting unit 55
And an input signal amplitude detection unit 53 having
ltiply ”) 57 and a low-pass filter section (“ LP
F ") 58, a waveform converter (" Threshold "in the figure) 59, and a phase inversion detector 60, and an amplitude / phase inversion detector 61.

【0069】まず、各構成要素の接続対応関係について
説明する。入力信号50はバンドパスフィルタ部51に
与えられ、バンドパスフィルタ部51は、入力信号振幅
検出部53に接続された離散フーリエ変換部52と、入
力信号位相反転検出部56とに接続される。また、入力
信号振幅検出部53は入力信号位相反転検出部56と振
幅・位相反転検出部61とに接続され、一方、入力信号
位相反転検出部56は振幅・位相反転検出部61に接続
される。さらに、振幅・位相反転検出部11は出力信号
62を出力する。
First, the connection correspondence between the components will be described. The input signal 50 is provided to a bandpass filter unit 51, which is connected to a discrete Fourier transform unit 52 connected to an input signal amplitude detection unit 53 and an input signal phase inversion detection unit 56. The input signal amplitude detection unit 53 is connected to the input signal phase inversion detection unit 56 and the amplitude / phase inversion detection unit 61, while the input signal phase inversion detection unit 56 is connected to the amplitude / phase inversion detection unit 61. . Further, the amplitude / phase inversion detecting section 11 outputs an output signal 62.

【0070】ここで、第3の実施形態が、第1及び第2
の実施形態と構成上異なる点は、バンドパスフィルタ部
51を離散フーリエ変換部52にの前段に挿入している
こと、バンドパスフィルタ部51の後段に入力信号位相
反転検出部56が接続されて、入力信号位相反転検出部
56の内部構成が異なることが挙げられる。
Here, the third embodiment is different from the first and second embodiments.
The configuration differs from the embodiment in that the band-pass filter unit 51 is inserted before the discrete Fourier transform unit 52, and the input signal phase inversion detection unit 56 is connected after the band-pass filter unit 51. , The internal configuration of the input signal phase inversion detection unit 56 is different.

【0071】次に、このような第1及び第2の実施形態
とは異なる点を有する、第3の実施形態の各構成要素に
ついて説明する。なお、第1及び第2の実施形態と同様
の構成部分は、極簡単に説明する。
Next, each component of the third embodiment, which is different from the first and second embodiments, will be described. Note that components similar to those of the first and second embodiments will be described only briefly.

【0072】バンドパスフィルタ部51は、入力信号5
0におけるディセーブリング信号の周波数帯域2100
±21Hzのみを通過させるものである。
The band-pass filter 51 receives the input signal 5
Frequency band 2100 of the disabling signal at 0
It passes only ± 21 Hz.

【0073】離散フーリエ変換部52は、第1及び第2
の実施形態の離散フーリエ変換部2と同様のものであ
り、この第3の実施形態では、バンドパスフィルタ部5
1を通過した信号の振幅レベルを、入力信号振幅検出部
53で検出できるように、入力信号振幅検出部53の前
段に設けたものである。
The discrete Fourier transform unit 52 includes first and second
The third embodiment is the same as the discrete Fourier transform unit 2 of the third embodiment.
1 is provided before the input signal amplitude detector 53 so that the amplitude level of the signal passing through 1 can be detected by the input signal amplitude detector 53.

【0074】入力信号振幅検出部53は、内部に絶対値
計算部54及び振幅検出部55を有し、内部に絶対値計
算部4及び振幅検出部5を有する第1及び第2の実施形
態の入力信号振幅検出部3と同様のものである。
The input signal amplitude detecting section 53 has an absolute value calculating section 54 and an amplitude detecting section 55 therein, and has an absolute value calculating section 4 and an amplitude detecting section 5 therein. This is the same as the input signal amplitude detector 3.

【0075】入力信号位相反転検出部56は、内部に乗
積部57とローパスフィルタ部58と波形変換部59と
位相反転検出部60とを有し、入力信号振幅検出部53
からの振幅検出信号の論理値に基づき、バンドパスフィ
ルタ部51を通過した所定帯域信号から、ディセーブリ
ング信号を検出するものである。ここで、入力信号位相
反転検出部56は、振幅検出信号の論理値が真の場合、
すなわち振幅rが所定範囲内である場合のみ、検出動作
を行う。その出力である位相反転検出信号は真偽の論理
値をとり、ここで、ディセーブリング信号を検出すれば
真となり、検出しなければ偽となる。
The input signal phase inversion detecting section 56 has a multiplying section 57, a low-pass filter section 58, a waveform converting section 59, and a phase inversion detecting section 60 therein.
This is for detecting a disabled signal from a predetermined band signal that has passed through the band-pass filter unit 51, based on the logical value of the amplitude detection signal from. Here, when the logical value of the amplitude detection signal is true, the input signal
That is, the detection operation is performed only when the amplitude r is within the predetermined range. The output of the phase inversion detection signal takes a true or false logical value. Here, the detection becomes true if the disabling signal is detected, and false if it is not detected.

【0076】乗積部57は、バンドパスフィルタ部51
を通過した2100±21Hzの信号に、2000Hz
の正弦波信号を乗積することによって、下記式9に示す
ように、この2100±21Hzの信号を、100±2
1Hzの周波数帯域(第1項)と4100±21Hzの
周波数帯域(第2項)とに帯域分離するものである。 式9:r(t) * sin(ωt) =a(t)sin(ωt+θ) * sin(ωt) =a(t){cos((ω−ω)t+θ) − cos((ω+ω)t+θ)}}/2 ローパスフィルタ部58は、乗積部57で帯域分離され
た信号のうち、4100±21Hzの周波数帯域を有す
る部分を遮断し、100±21Hzの周波数帯域を有す
る部分のみを通過させるものである。その結果、その出
力v(t)は、下記式10に示すように、10msの正弦
波と、(もしディセーブリング信号が与えられていれ
ば)周期900msの方形波a(t)とを乗積したもの
となる。 式10:v(t) = {a(t)cos((ω−ω)t+θ)}/
2 波形変換部59は、ローパスフィルタ部58からの信号
v(t)に対して、あるしきい値(+th5、−th5)
を設け、v(t)≧+th5であればs(t)=1、v(t)
≦−th5であればs(t)=−1、−th5<v(t)<
+th5であればs(t)は無変化、という方形波s
(t)に波形を変換するものである。
The multiplying section 57 includes a band-pass filter section 51
2000 Hz to the 2100 ± 21 Hz signal passed through
Is multiplied by the sine wave signal of 2100 ± 21 Hz as shown in the following equation 9,
The band is separated into a frequency band of 1 Hz (first term) and a frequency band of 4100 ± 21 Hz (second term). Equation 9: r (t) * sin (ωt) = a (t) sin (ω C t + θ) * sin (ωt) = a (t) {cos ((ω C -ω) t + θ) - cos ((ω C + Ω) t + θ)}} / 2 The low-pass filter unit 58 cuts off a portion having a frequency band of 4100 ± 21 Hz of the signal band-separated by the multiplying unit 57 and only a portion having a frequency band of 100 ± 21 Hz. Through. As a result, the output v (t) is the product of a 10 ms sine wave and a 900 ms square wave a (t) (if a disabling signal is given), as shown in Equation 10 below. It will be. Formula 10: v (t) = { a (t) cos ((ω C -ω) t + θ)} /
2 The waveform conversion section 59 applies a certain threshold value (+ th5, -th5) to the signal v (t) from the low-pass filter section 58.
S (t) = 1 and v (t) if v (t) ≧ + th5
If ≦ −th5, s (t) = − 1, −th5 <v (t) <
+ Th5, s (t) is unchanged, square wave s
The waveform is converted to (t).

【0077】位相反転検出部60は、波形変換部59か
ら与えられる方形波の立ち上がり周期の間隔を監視し、
間隔に変化を生じ、さらにその間隔の変化が450ms
後に再び検出された場合に、ディセーブリング信号を検
出するものである。ここで、ディセーブリング信号を検
出すれば真の論理値を、検出しなければ偽の論理値を出
力し、この出力が入力信号位相反転検出部56の動作時
の出力となる。
The phase inversion detecting section 60 monitors the interval of the rising cycle of the square wave supplied from the waveform converting section 59,
A change occurs in the interval, and the change in the interval is 450 ms.
If the detection is made again later, the disabling signal is detected. Here, a true logical value is output if the disabled signal is detected, and a false logical value is output if the disabled signal is not detected. This output is an output when the input signal phase inversion detection unit 56 operates.

【0078】振幅・位相反転検出部61は、第1及び第
2の実施形態の振幅・位相反転検出部11と同様のもの
であり、継続的にある範囲内の振幅を有し、かつ、45
0ms周期で継続的に位相の反転が起きるか否か、すな
わち、位相反転が正常に検出されているか否かを判定す
るものである。その出力である出力信号62は真偽の論
理値となり、ここで、このような条件が満たされていれ
ば真となり、満たされていなければ偽となる。
The amplitude / phase inversion detecting section 61 is the same as the amplitude / phase inversion detecting section 11 of the first and second embodiments, has an amplitude continuously within a certain range, and
This is to determine whether or not the phase inversion occurs continuously at a cycle of 0 ms, that is, whether or not the phase inversion is normally detected. The output signal 62, which is its output, is a true or false logical value. Here, the condition is true if such a condition is satisfied, and false if the condition is not satisfied.

【0079】(C−2)動作の説明 さらに、このような構成を有する位相反転検出装置の動
作について、第1及び第2の実施形態と異なる点を中心
に説明する。
(C-2) Description of Operation Further, the operation of the phase inversion detecting device having such a configuration will be described focusing on the differences from the first and second embodiments.

【0080】バンドパスフィルタ部51で、入力信号5
0から周波数帯2100±21Hzのみが取り出された
信号は、離散フーリエ変換部52で、そのレベル変化が
検出され、さらに、そのレベル変化のある一定の区間毎
の振幅及び位相を示す複素数値x+iyが出力され、入
力信号振幅検出部53で、その複素数値の振幅rが、所
定範囲内であれば真の論理値が、その範囲外であれば偽
の論理値が出力される。
In the band-pass filter section 51, the input signal 5
From the signal from which only the frequency band 2100 ± 21 Hz is extracted from 0, its level change is detected by the discrete Fourier transform unit 52, and the complex value x + iy indicating the amplitude and phase of each certain section of the level change is obtained. The input signal amplitude detector 53 outputs a true logical value if the amplitude r of the complex value is within a predetermined range, and outputs a false logical value if the amplitude r is out of the predetermined range.

【0081】一方、バンドパスフィルタ部51で、入力
信号50から周波数帯2100±21Hzのみが取り出
された信号は、入力信号位相変転検出部56に与えら
れ、さらに、入力信号位相変転検出部56には、入力信
号振幅検出部53からの振幅検出信号の論理値が与えら
れる。
On the other hand, the signal obtained by extracting only the frequency band 2100 ± 21 Hz from the input signal 50 by the band-pass filter section 51 is given to the input signal phase change detecting section 56, Is given the logical value of the amplitude detection signal from the input signal amplitude detection unit 53.

【0082】ここで、振幅検出信号の論理値が偽である
場合には、入力信号位相反転検出部7から偽の論理値が
出力される。一方、振幅検出信号の論理値が真である場
合には、乗積部57、ローパスフィルタ部58、波形変
換部59、及び位相反転検出部60でそれぞれ、以下に
説明するディセーブリング信号の検出動作が行われ、デ
ィセーブリング信号が検出されれば真、検出されなけれ
ば偽の論理値を示す位相反転検出信号が出力されること
になる。
Here, when the logical value of the amplitude detection signal is false, the input signal phase inversion detecting section 7 outputs a false logical value. On the other hand, when the logical value of the amplitude detection signal is true, the multiplying unit 57, the low-pass filter unit 58, the waveform conversion unit 59, and the phase inversion detection unit 60 detect the disabled ringing signal described below. Is performed, a true signal is output if the disabling signal is detected, and a phase inversion detection signal indicating a false logical value is output if the disabled signal is not detected.

【0083】乗積部57では、2000Hzの正弦波信
号を、バンドパスフィルタ部51からの信号に乗積し、
その結果、上記式9に示したように、このバンドパスフ
ィルタ部51からの信号が、100±21Hzの周波数
帯域(第1項)と4100±21Hzの周波数帯域(第
2項)とに帯域分離される。
The multiplication unit 57 multiplies the sine wave signal of 2000 Hz by the signal from the band-pass filter unit 51,
As a result, as shown in Equation 9, the signal from the band-pass filter unit 51 is separated into a frequency band of 100 ± 21 Hz (first term) and a frequency band of 4100 ± 21 Hz (second term). Is done.

【0084】ローパスフィルタ部58では、乗積部57
で帯域分離された信号のうち、4100±21Hzの周
波数帯域を有する部分が遮断され、100±21Hzの
周波数帯域を有する部分のみが通過する。その結果、そ
の出力v(t)は、上記式10に示したように、10ms
の正弦波と、周期900msの方形波a(t)とを乗積
したものとなる。
In the low-pass filter section 58, the product section 57
A portion having a frequency band of 4100 ± 21 Hz is cut off in the signal separated in the band, and only a portion having a frequency band of 100 ± 21 Hz passes. As a result, the output v (t) becomes 10 ms as shown in the above equation (10).
And a square wave a (t) having a period of 900 ms.

【0085】ここでもし、入力信号がディセーブリング
信号でなければ、この出力v(t)には、周期900ms
程度の信号成分は含まれず、周期は10ms程度で連続
した位相をもつ信号が検出されることになる。しかしな
がら、ディセーブリング信号であれば、周期900ms
程度の信号成分が含まれることになり、その結果、ディ
セーブリング信号の半周期である450msごとに、位
相がπ程度のずれることになる。
If the input signal is not a disabling signal, the output v (t) has a period of 900 ms.
A signal component having a continuous phase with a period of about 10 ms is not detected. However, if the signal is a disabling signal, the period is 900 ms.
A signal component of a degree is included, and as a result, the phase shifts by about π every 450 ms, which is a half cycle of the disabling signal.

【0086】そこで、位相のずれが生じているか否かを
検出するために、波形変換部59では、ローパスフィル
タ部58からの信号v(t)に対して、あるしきい値(+
th5、−th5)を設け、v(t)≧+th5であれば
s(t)=1、v(t)≦−th5であればs(t)=−、−
th5<v(t)<+th5であればs(t)は無変化、と
いう方形波s(t)に波形が変換される。
Therefore, in order to detect whether or not a phase shift has occurred, the waveform converter 59 applies a certain threshold (+) to the signal v (t) from the low-pass filter 58.
th5, −th5), s (t) = 1 if v (t) ≧ + th5, s (t) = −, − if v (t) ≦ −th5
If th5 <v (t) <+ th5, the waveform is converted to a square wave s (t) that s (t) does not change.

【0087】ここで、位相反転が行われていなければ
(ディセーブリング信号でなければ)、方形波の立ち上
がり周期は常に一定となる。逆に、位相反転が行われて
いれば(ディセーブリング信号であれば)、方形波の立
ち上がり周期にズレを生じることになる。
Here, if the phase inversion is not performed (not the disabled signal), the rising cycle of the square wave is always constant. Conversely, if the phase inversion is performed (if it is a disabled signal), a deviation occurs in the rising cycle of the square wave.

【0088】従って、位相反転検出部60では、この方
形波の立ち上がり周期の間隔が監視され、間隔に変化が
生じ、さらにその間隔の変化が450ms後に再び検出
された場合に、ディセーブリング信号が検出されること
になる。なお、位相反転検出部60において、この方形
波の立ち下がり周期の間隔を監視するものであっても、
同様な検出をすることができることは勿論である。
Therefore, the phase inversion detecting section 60 monitors the interval of the rising cycle of the square wave, and changes the interval. If the change of the interval is detected again after 450 ms, the disabling ring signal is detected. Will be done. Note that even if the phase inversion detection unit 60 monitors the interval of the falling cycle of this square wave,
Needless to say, similar detection can be performed.

【0089】このようにして、入力信号位相反転検出部
56では、振幅検出信号の値が偽の論理値のときは、常
に偽の論理値が出力され、一方、振幅検出信号の値が真
の論理値のときは、ディセーブリング信号の検出動作が
行われて、ディセーブリング信号が検出されれば真、検
出されなければ偽の論理値を示す位相反転検出信号が出
力されることになる。
As described above, in the input signal phase inversion detecting section 56, when the value of the amplitude detection signal is a false logical value, a false logical value is always output, while the value of the amplitude detecting signal is true. In the case of the logical value, the detection operation of the disable signal is performed. If the disable signal is detected, a true signal is detected, and if not, a phase inversion detection signal indicating a false logical value is output.

【0090】振幅・位相反転検出部61では、入力信号
振幅検出部53からの振幅検出信号と入力信号位相反転
検出部56からの位相反転検出信号とが与えられ、振幅
検出信号がある一定の期間真の値が継続している場合、
かつ、位相反転検出信号が900msの周期で真の値を
とっている場合に真の論理値、それ以外の場合に偽の論
理値を示す出力信号62が出力されることになる。
The amplitude / phase inversion detecting section 61 receives the amplitude detection signal from the input signal amplitude detection section 53 and the phase inversion detection signal from the input signal phase inversion detection section 56, and outputs the amplitude detection signal for a certain period. If the true value continues,
In addition, when the phase inversion detection signal takes a true value in a cycle of 900 ms, an output signal 62 indicating a true logical value is output. Otherwise, an output signal 62 indicating a false logical value is output.

【0091】なお、振幅・位相反転検出部61も、第1
及び第2の実施形態の振幅・位相反転検出部11と同様
に、連続検出保護シーケンスの機能を有していれば、ノ
イズ等による入力信号振幅検出部53の誤検出のため
に、出力信号12の論理値が誤ることが少なくなり好ま
しい。
Note that the amplitude / phase inversion detecting section 61 also
Similarly to the amplitude / phase inversion detecting unit 11 of the second embodiment, if the input signal amplitude detecting unit 53 has the function of the continuous detection protection sequence, the output signal 12 Is less likely to cause a mistake in the logical value of.

【0092】(C−3)効果の説明 以上のように、第3の実施形態によれば、(1)入力信
号50から、ディセーブリング信号の周波数帯2100
±21Hzのみを通過させるバンドパスフィルタ部51
と、(2)バンドパスフィルタ部51を通過した210
0±21Hzの信号に、2000Hzの正弦波信号を乗
積し、その結果、下記式9に示すように、第1項の10
0Hz程度の周波数を有する部分と第2項の4100H
z程度の周波数を有する部分とからなる信号を生成する
乗積部57と、(3)乗積部57から与えられる信号か
ら、上記第2項の4100Hz程度の周波数を有する部
分を遮断し、第1項の100Hz程度の周波数を有する
部分のみを通過させるローパスフィルタ部58と、
(4)ローパスフィルタ部58からの信号に対してある
しきい値を設け、この与えられた信号を方形波に整形す
る波形変換部59と、(5)波形変換部59から与えら
れる方形波の立ち上がり周期の間隔を監視し、間隔に変
化を生じ、さらにその間隔の変化が450ms程度後に
再び検出された場合に、ディセーブリング信号を検出す
る位相反転検出部60を有するので、ディセーブリング
信号の周波数誤差が大きい場合でも、方形波の立ち上が
り周期間隔の変化を検出する450ms程度の幅を適当
に設定することにより、位相反転を検出することができ
るようになる。
(C-3) Description of Effect As described above, according to the third embodiment, (1) the frequency band 2100 of the disabling signal is obtained from the input signal 50.
Bandpass filter section 51 that passes only ± 21 Hz
And (2) 210 that has passed through the band-pass filter unit 51
A signal of 0 ± 21 Hz is multiplied by a sine wave signal of 2000 Hz, and as a result, as shown in the following equation 9, 10
A part having a frequency of about 0 Hz and the second term 4100H
a product section 57 for generating a signal consisting of a portion having a frequency of about z, and (3) a section having a frequency of about 4100 Hz of the second term is cut off from the signal given from the product section 57, A low-pass filter section 58 that passes only a portion having a frequency of about 100 Hz of item 1;
(4) A certain threshold value is provided for the signal from the low-pass filter unit 58, and the given signal is shaped into a square wave, and (5) the square wave Since the interval of the rising cycle is monitored and a change occurs in the interval, and when the change in the interval is detected again after about 450 ms, the phase inversion detecting unit 60 for detecting the disabling signal is provided. Even if the error is large, the phase inversion can be detected by appropriately setting the width of about 450 ms for detecting the change in the rising cycle interval of the square wave.

【0093】また、第3の実施形態によれば、振幅・位
相反転検出部61を有するので、検出したディセーブリ
ング信号が、仕様通りであるか否かを検出することがで
きるようになる。さらにここで、振幅・位相反転検出部
61が連続検出保護シーケンスの機能を有していれば、
ノイズ等による入力信号振幅検出部3の誤検出のため
に、出力信号12の論理値が誤ることを少なくすること
ができる。
Further, according to the third embodiment, the provision of the amplitude / phase inversion detecting section 61 makes it possible to detect whether or not the detected disabling signal is as specified. Further, if the amplitude / phase inversion detecting unit 61 has a function of a continuous detection protection sequence,
It is possible to reduce the possibility that the logical value of the output signal 12 is erroneous due to erroneous detection of the input signal amplitude detector 3 due to noise or the like.

【0094】さらに、第3の実施形態によれば、位相反
転の検出において加算及び乗算の演算のみで処理を行う
ことができるので、第1の実施形態で用いたアークタン
ジェントの計算よりも演算量が少なくなり、第2の実施
形態と同様に、第1の実施形態よりも演算処理量を少な
くすることができる。
Further, according to the third embodiment, the processing can be performed only by the addition and multiplication operations in the detection of the phase inversion, so that the calculation amount is smaller than the calculation of the arc tangent used in the first embodiment. And the amount of arithmetic processing can be smaller than in the first embodiment, as in the second embodiment.

【0095】特に、8KHzでサンプリングされた入力
信号のとき、2000Hzの周波数を持った信号を入力
信号と乗算するならば、−1、0、1の単純な定数値を
乗算するだけで、周波数分解を行うことができるように
なる。
In particular, in the case of an input signal sampled at 8 KHz, if a signal having a frequency of 2000 Hz is multiplied by the input signal, frequency multiplication is performed simply by multiplying by a simple constant value of -1, 0 and 1. Will be able to do.

【0096】(D)他の実施形態 なお、第3の実施形態では、本発明を、ディセーブリン
グ信号を検出するものに適用した場合を示したが、ディ
セーブリング信号に限ることなく、ITU−T勧告V.
25で示されるアンサトーンを検出するもの、音声とフ
ァックス/モデムの制御信号との識別信号を検出するも
の、又は、n相のPSK(Phase ShiftKeying:位相変
調)を検出するものにも同様に適用でき、さらに、一般
的に不定期的に位相が反転する位相反転信号を検出する
ものにも同様に適用できることは勿論である。
(D) Other Embodiments In the third embodiment, the case where the present invention is applied to a method for detecting a disabling signal has been described. Recommendation V.
The same applies to those detecting an answer tone indicated by reference numeral 25, detecting an identification signal between voice and a fax / modem control signal, or detecting n-phase PSK (Phase Shift Keying). Of course, it goes without saying that the present invention can be similarly applied to the detection of a phase inversion signal in which the phase is generally irregularly inverted.

【0097】また、上記各実施形態では、入力信号振幅
検出部から真の論理値が与えられている場合のみ、入力
信号位相反転検出部において位相反転を検出するものを
示したが、入力信号位相振幅検出部からの論理値に関係
なく(すなわち入力信号位相振幅検出部を設けることな
く)、入力信号位相反転検出部において位相反転を検出
するものであっても良い。なお、この場合には、振幅・
位相反転検出部も構成要素から除かれることになる。
In each of the above embodiments, the input signal phase inversion detecting section detects the phase inversion only when a true logical value is given from the input signal amplitude detecting section. Regardless of the logical value from the amplitude detector (ie, without providing the input signal phase amplitude detector), the input signal phase inversion detector may detect the phase inversion. In this case, the amplitude
The phase inversion detection unit is also eliminated from the components.

【0098】さらに、第1及び第2の実施形態では、位
相判定部8において、位相推定するパラメータを算出後
は、このパラメータを用いて常に位相推定するものを示
したが、位相推定するパラメータを算出後において、入
力信号の位相が反転しない所定期間内に、位相推定する
パラメータを再算出して、この再算出したパラメータに
更新するものであっても良い。
Further, in the first and second embodiments, after calculating the parameter for which the phase is to be estimated in the phase determination unit 8, the phase is always estimated using this parameter. After the calculation, within a predetermined period during which the phase of the input signal is not inverted, the parameter for phase estimation may be recalculated and updated to the recalculated parameter.

【0099】さらにまた、第1及び第2の実施形態で
は、離散フーリエ変換部2が、ある一定の区間で入力信
号1をフーリエ変換するために、ある一定の区間で振幅
及び位相を示す複素数値を出力するものであったが、こ
の離散フーリエ変換部2が瞬時に処理して出力するもの
であれば、ある一定区間内のある時点において周期的に
複素数値を出力するものとなる。
Furthermore, in the first and second embodiments, the discrete Fourier transform unit 2 performs a Fourier transform of the input signal 1 in a certain section, so that a complex value indicating an amplitude and a phase in a certain section is used. However, if the discrete Fourier transform unit 2 instantaneously processes and outputs a complex value, a complex value is periodically output at a certain point in a certain section.

【0100】また、第1及び第2の実施形態では、位相
推定部8において、連続した3区間の複素数値を格納
し、これら3区間の最初の区間と最後の区間から位相差
を算出し、この算出した位相差を推定する区間の2つ前
の区間の位相に加えることによって位相を推定するもの
を示したが、上述したように、離散フーリエ変換部2の
処理区間を前提としなければ、過去に検出した入力信号
の2つの時点の位相間の位相差を算出し、現時点からこ
れら2つの時点間分前の時点の位相に、この算出した位
相差を加えることによって、現時点の位相を推定するも
のとなる。
In the first and second embodiments, the phase estimating unit 8 stores complex values of three consecutive sections and calculates a phase difference from the first and last sections of the three sections. Although the phase is estimated by adding the calculated phase difference to the phase of the section immediately before the section to be estimated, as described above, unless the processing section of the discrete Fourier transform unit 2 is assumed, A phase difference between two phases of the input signal detected in the past is calculated, and the calculated phase difference is added to a phase at a time point before the two time points from the current time to estimate the current phase. Will do.

【0101】さらに、第3の実施形態では、波形変換部
59において、ローパスフィルタ部58からの信号に対
し、あるしきい値(+th5、−th5)を設け、v
(t)≧+th5であればs(t)=1、v(t)≦−th5
であればs(t)=−1、−th5<v(t)<+th5で
あればs(t)は無変化、という方形波s(t)に波形変
換するものを示したが、しきい値を正負同値に限定する
ことなく、又は、しきい値を2つ設けることなく、入力
信号のレベルが、所定値を上回った又は下回った時点を
検出し、この検出した各時点の前後で異なる論理値をと
るパルス信号を出力するものであっても良い。
Further, in the third embodiment, a certain threshold value (+ th5, -th5) is provided for the signal from the low-pass filter unit 58 in the waveform conversion unit 59, and v
If (t) ≧ + th5, s (t) = 1, v (t) ≦ −th5
If s (t) = − 1, −th5 <v (t) <+ th5, s (t) is unchanged, and the waveform is converted to a square wave s (t). Without limiting the value to the same value, or without providing two thresholds, a point in time when the level of the input signal exceeds or falls below a predetermined value is detected. It may output a pulse signal having a logical value.

【0102】[0102]

【発明の効果】以上のように、第1の本発明によれば、
位相が反転する信号における位相反転を検出する位相反
転検出装置において、過去に検出した入力信号の位相情
報に基づいて現時点の入力信号の位相を推定し、この推
定した位相と現時点の検出位相とが所定範囲内の位相差
を有する場合に、位相反転を検出する位相反転検出手段
を有するので、入力信号の周波数に関係なく位相反転を
検出することができ、周波数が特定されない、及び又
は、周波数誤差が大きい位相反転信号であっても、その
位相反転を検出することができるようになる。
As described above, according to the first aspect of the present invention,
In a phase inversion detection device that detects a phase inversion in a signal whose phase is inverted, a phase of a current input signal is estimated based on phase information of an input signal detected in the past, and the estimated phase and a current detection phase are calculated. When there is a phase difference within a predetermined range, since the phase inversion detecting means for detecting the phase inversion is provided, the phase inversion can be detected regardless of the frequency of the input signal, the frequency is not specified, and / or the frequency error Is large, the phase inversion can be detected.

【0103】また、第2の本発明によれば、位相が反転
する信号における位相反転を検出する位相反転検出装置
において、入力信号のレベルが、第1の所定値を上回っ
た時点、及び又は、第1の所定値よりも小さい第2の所
定値を下回った時点を検出し、この検出した各時点の間
隔が所定範囲外である場合に、位相反転を検出する位相
反転検出手段を有するので、第1の本発明と同様に、入
力信号の周波数に関係なく位相反転を検出することがで
き、周波数が特定されない、及び又は、周波数誤差が大
きい位相反転信号であっても、その位相反転を検出する
ことができるようになる。
According to the second aspect of the present invention, there is provided a phase inversion detecting device for detecting phase inversion in a signal whose phase is inverted, wherein the level of the input signal exceeds a first predetermined value, and / or Since there is a phase inversion detecting means for detecting a time point when the time falls below a second predetermined value smaller than the first predetermined value and detecting a phase inversion when an interval between the detected time points is out of a predetermined range, As in the first aspect of the present invention, phase inversion can be detected irrespective of the frequency of the input signal, and even if the frequency is not specified and / or the phase inversion signal has a large frequency error, the phase inversion is detected. Will be able to

【図面の簡単な説明】[Brief description of the drawings]

【図1】第1の実施形態の位相反転検出装置の構成を示
すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a phase inversion detection device according to a first embodiment.

【図2】第1の実施形態において、位相推定に必要なパ
ラメータを算出する説明図である。
FIG. 2 is an explanatory diagram for calculating parameters necessary for phase estimation in the first embodiment.

【図3】第1の実施形態において、パラメータを用いて
推定する位相を算出する説明図である。
FIG. 3 is an explanatory diagram for calculating a phase to be estimated using parameters in the first embodiment.

【図4】第1の実施形態において、連続検出保護シーケ
ンスの機能説明図である。
FIG. 4 is a functional explanatory diagram of a continuous detection protection sequence in the first embodiment.

【図5】第3の実施形態の位相反転検出装置の構成を示
すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a phase inversion detection device according to a third embodiment.

【符号の説明】[Explanation of symbols]

2…離散フーリエ変換部、8…位相推定部、9…位相反
転検出部。
2. Discrete Fourier transform unit, 8: Phase estimation unit, 9: Phase inversion detection unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 木原 弘一 東京都港区虎ノ門1丁目7番12号 沖電気 工業株式会社内 Fターム(参考) 5K046 AA01 HH13 HH14 HH37 HH72 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Koichi Kihara 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. F-term (reference) 5K046 AA01 HH13 HH14 HH37 HH72

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 位相が反転する信号における位相反転を
検出する位相反転検出装置において、 過去に検出した入力信号の位相情報に基づいて現時点の
入力信号の位相を推定し、この推定した位相と現時点の
検出位相とが所定範囲内の位相差を有する場合に、位相
反転を検出する位相反転検出手段を有することを特徴と
する位相反転検出装置。
1. A phase inversion detecting apparatus for detecting phase inversion in a signal whose phase is inverted, comprising: estimating a current phase of an input signal based on phase information of an input signal detected in the past; A phase inversion detecting means for detecting phase inversion when the detected phase has a phase difference within a predetermined range.
【請求項2】 入力信号の振幅が所定範囲内であるか否
かを検出する振幅検出手段を有し、 上記位相反転検出手段は、上記振幅検出手段が所定範囲
外の振幅を検出した場合に、位相反転の検出動作を停止
することを特徴とする請求項1に記載の位相反転検出装
置。
2. An apparatus according to claim 1, further comprising an amplitude detector for detecting whether an amplitude of the input signal is within a predetermined range, wherein said phase inversion detector detects an amplitude outside said predetermined range. 2. The phase inversion detecting apparatus according to claim 1, wherein the phase inversion detecting operation is stopped.
【請求項3】 上記振幅検出手段が所定範囲内の振幅を
継続して検出し、さらに、上記位相反転検出手段が位相
反転を所定規則で検出した場合に、位相反転が正常に検
出されたことを判定する振幅・位相反転検出手段を有す
ることを特徴とする請求項2に記載の位相反転検出装
置。
3. When the amplitude detecting means continuously detects an amplitude within a predetermined range, and when the phase inversion detecting means detects the phase inversion according to a predetermined rule, the phase inversion is normally detected. 3. The phase inversion detecting apparatus according to claim 2, further comprising an amplitude / phase inversion detecting means for judging the phase inversion.
【請求項4】 上記振幅・位相反転検出手段は、上記振
幅検出手段が、第1の所定時間以上の所定範囲内の振幅
を検出し、その後、第2の所定時間以内の所定範囲外の
振幅を検出して、再び所定範囲内の振幅を検出した場合
には、その所定範囲外の振幅を検出したことを無視し
て、所定範囲内の振幅を継続して検出したことにするこ
とを特徴とする請求項3に記載の位相反転検出装置。
4. The amplitude / phase inversion detecting means, wherein the amplitude detecting means detects an amplitude within a predetermined range of a first predetermined time or more, and thereafter, an amplitude outside a predetermined range within a second predetermined time. Is detected, and if the amplitude within the predetermined range is detected again, the fact that the amplitude outside the predetermined range is detected is ignored, and the amplitude within the predetermined range is continuously detected. The phase inversion detecting device according to claim 3, wherein
【請求項5】 上記位相反転検出手段は、 過去に検出した入力信号の2つの時点の位相間の位相差
である推定用位相差を算出し、現時点からこれら2つの
時点間分前の時点の位相に、この推定用位相差を加算す
ることによって、現時点の位相を推定する位相推定部
と、 上記位相推定部が推定した位相と、現時点の入力信号の
検出位相とを比較し、これらの位相差が所定範囲内の位
相差を有するか否かを検出し、所定範囲内の位相差を有
する場合に、位相反転を検出する位相反転検出部とでな
ることを特徴とする請求項1〜4のいずれかに記載の位
相反転検出装置。
5. The phase inversion detecting means calculates an estimation phase difference which is a phase difference between two phases of the input signal detected in the past, and calculates a phase difference between the current time and the time immediately before these two time points. By adding this estimation phase difference to the phase, a phase estimator for estimating the current phase is compared with the phase estimated by the phase estimator and the detected phase of the input signal at the current time. 5. A phase inversion detecting section for detecting whether or not the phase difference has a phase difference within a predetermined range, and detecting a phase inversion when the phase difference has a phase difference within a predetermined range. The phase inversion detecting device according to any one of the above.
【請求項6】 上記位相推定部は、位相が反転しない所
定期間内に、上記推定用位相差を更新することを特徴と
する請求項5に記載の位相反転検出装置。
6. The phase inversion detecting device according to claim 5, wherein the phase estimating unit updates the estimation phase difference within a predetermined period during which the phase is not inverted.
【請求項7】 所定周期で、入力信号を複素数表記化し
た値に変換する変換手段を有し、 上記変換手段が変換した複素数値列を、上記位相反転検
出手段及び又は上記振幅検出手段に与えることを特徴と
する請求項1〜6のいずれかに記載の位相反転検出装
置。
7. A conversion means for converting an input signal into a value represented by a complex number in a predetermined cycle, and providing the complex value sequence converted by the conversion means to the phase inversion detection means and / or the amplitude detection means. The phase inversion detecting device according to claim 1, wherein:
【請求項8】 上記位相反転検出手段は、各時点の位相
の算出を、上記変換手段が変換した複素数値の実数部と
虚数部とから、arctan(虚数部/実数部)で算出すること
を特徴とする請求項7に記載の位相反転検出装置。
8. The phase inversion detecting means calculates the phase at each time point as arctan (imaginary part / real part) from a real part and an imaginary part of the complex value converted by the converting means. The phase inversion detecting device according to claim 7, wherein
【請求項9】 上記位相反転検出手段は、現時点の位相
の推定値を、上記変換手段が変換した過去の2つの時点
の複素数値の実数部と虚数部とから、四則演算で算出す
ることを特徴とする請求項7に記載の位相反転検出装
置。
9. The phase inversion detecting means calculates the estimated value of the current phase by the four arithmetic operations from the real part and the imaginary part of the complex value at the two past times converted by the converting means. The phase inversion detecting device according to claim 7, wherein
【請求項10】 位相が反転する信号における位相反転
を検出する位相反転検出装置において、 入力信号のレベルが、第1の所定値を上回った時点、及
び又は、第1の所定値よりも小さい第2の所定値を下回
った時点を検出し、この検出した各時点の間隔が所定範
囲外である場合に、位相反転を検出する位相反転検出手
段を有することを特徴とする位相反転検出装置。
10. A phase inversion detecting device for detecting phase inversion in a signal whose phase is inverted, wherein the level of the input signal exceeds a first predetermined value and / or a signal having a level smaller than the first predetermined value. 2. A phase inversion detecting device, comprising: a phase inversion detecting means for detecting a time point when the time falls below a predetermined value of 2 and detecting a phase inversion when an interval between the detected time points is outside a predetermined range.
【請求項11】 入力信号の振幅が所定範囲内であるか
否かを検出する振幅検出手段を有し、 上記位相反転検出手段は、上記振幅検出手段が所定範囲
外の振幅を検出した場合に、位相反転の検出動作を停止
することを特徴とする請求項10に記載の位相反転検出
装置。
11. An amplitude detecting means for detecting whether or not an amplitude of an input signal is within a predetermined range, wherein said phase inversion detecting means is provided when said amplitude detecting means detects an amplitude outside the predetermined range. The phase inversion detecting apparatus according to claim 10, wherein the detecting operation of the phase inversion is stopped.
【請求項12】 上記振幅検出手段が所定範囲内の振幅
を継続して検出し、さらに、上記位相反転検出手段が位
相反転を所定規則で検出した場合に、位相反転が正常に
検出されたことを判定する振幅・位相反転検出手段を有
することを特徴とする請求項11に記載の位相反転検出
装置。
12. When the amplitude detecting means continuously detects an amplitude within a predetermined range, and when the phase inversion detecting means detects the phase inversion according to a predetermined rule, the phase inversion is normally detected. 12. The phase inversion detecting apparatus according to claim 11, further comprising an amplitude / phase inversion detecting means for judging the phase inversion.
【請求項13】 上記振幅・位相反転検出手段は、上記
振幅検出手段が、第1の所定時間以上の所定範囲内の振
幅を検出し、その後、第2の所定時間以内の所定範囲外
の振幅を検出して、再び所定範囲内の振幅を検出した場
合には、その所定範囲外の振幅を検出したことを無視し
て、所定範囲内の振幅を継続して検出したことにするこ
とを特徴とする請求項12に記載の位相反転検出装置。
13. The amplitude / phase inversion detecting means, wherein the amplitude detecting means detects an amplitude within a predetermined range of a first predetermined time or more, and thereafter, an amplitude outside a predetermined range within a second predetermined time. Is detected, and if the amplitude within the predetermined range is detected again, the fact that the amplitude outside the predetermined range is detected is ignored, and the amplitude within the predetermined range is continuously detected. The phase inversion detecting device according to claim 12, wherein
【請求項14】 入力信号の所定周波数帯域のみを通過
させるて上記位相反転検出手段に与えるバンドパスフィ
ルタ手段を有することを特徴とする請求項10〜13の
いずれかに記載の位相反転検出装置。
14. The phase inversion detecting apparatus according to claim 10, further comprising a band pass filter means for passing only a predetermined frequency band of the input signal and applying the input signal to said phase inversion detecting means.
【請求項15】 上記位相反転検出手段は、 入力信号のレベルが、第1の所定値を上回った時点、及
び又は、第1の所定値よりも小さい第2の所定値を下回
った時点を検出し、この検出した各時点の前後で異なる
論理値をとるパルス信号を出力するパルス信号出力部
と、 上記パルス信号出力部が出力するパルス信号の同一の論
理値の間隔が、所定範囲外の間隔である場合に、位相反
転を検出する位相反転検出部とを有することを特徴とす
る請求項10〜14のいずれかに記載の位相反転検出装
置。
15. The phase inversion detecting means detects a point in time when the level of the input signal exceeds a first predetermined value and / or a point in time when the level falls below a second predetermined value smaller than the first predetermined value. A pulse signal output unit that outputs a pulse signal having a different logical value before and after each of the detected time points; and an interval of the same logical value of the pulse signal output by the pulse signal output unit is an interval outside a predetermined range. The phase inversion detecting device according to claim 10, further comprising: a phase inversion detecting unit that detects a phase inversion.
【請求項16】 上記位相反転検出手段は、 入力信号の周波数帯域を、この周波数帯域よりも低い周
波数帯域に変換して上記パルス信号出力部に与える帯域
変換部を有することを特徴とする請求項15に記載の位
相反転検出装置。
16. The phase inversion detecting means includes a band conversion unit that converts a frequency band of an input signal into a frequency band lower than the frequency band and provides the frequency band to the pulse signal output unit. 16. The phase inversion detecting device according to 15.
【請求項17】 上記帯域変換部は、 入力信号に所定周波数を有する波を乗積することによっ
て、入力信号の周波数帯域を、上記所定周波数帯域より
も低い周波数帯域と、上記所定周波数帯域よりも高い周
波数帯域とに分離する帯域分離部と、 上記帯域分離部が分離した高い周波数帯域部分を取り除
くローパスフィルタ部とを有することを特徴とする請求
項16に記載の位相反転検出装置。
17. The band conversion unit multiplies an input signal by a wave having a predetermined frequency, thereby changing a frequency band of the input signal to a frequency band lower than the predetermined frequency band and a frequency band lower than the predetermined frequency band. 17. The phase inversion detection device according to claim 16, further comprising: a band separation unit configured to separate the high frequency band into a high frequency band; and a low-pass filter unit configured to remove a high frequency band part separated by the band separation unit.
JP10250884A 1998-09-04 1998-09-04 Phase inversion detection device Pending JP2000082980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10250884A JP2000082980A (en) 1998-09-04 1998-09-04 Phase inversion detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10250884A JP2000082980A (en) 1998-09-04 1998-09-04 Phase inversion detection device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006340232A Division JP2007104721A (en) 2006-12-18 2006-12-18 Phase inversion detecting apparatus

Publications (1)

Publication Number Publication Date
JP2000082980A true JP2000082980A (en) 2000-03-21

Family

ID=17214460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10250884A Pending JP2000082980A (en) 1998-09-04 1998-09-04 Phase inversion detection device

Country Status (1)

Country Link
JP (1) JP2000082980A (en)

Similar Documents

Publication Publication Date Title
JP3614362B2 (en) Interference wave canceller for radar equipment
US4534043A (en) Test tone detector apparatus and method modem using same
JP2000082980A (en) Phase inversion detection device
JPWO2011111103A1 (en) Ham noise detector
JP6970307B2 (en) Methods and equipment for correcting radar signals and radar equipment
JP2007104721A (en) Phase inversion detecting apparatus
EP0903884B1 (en) Phase estimating circuit and demodulating circuit
JP2001296360A (en) Active signal detecting apparatus
JP3761887B2 (en) Known signal section detection circuit
JP7216520B2 (en) UNDERWATER COMMUNICATION SYSTEM AND UNDERWATER COMMUNICATION METHOD
JP4537221B2 (en) Unique word detection circuit
JP3881590B2 (en) Phase detection circuit and phase detection method
JP2004045234A (en) Method and detector for detecting modulated carrier frequency
KR100556494B1 (en) Method for detecting conversation disconnection signal
JPH09281168A (en) Method for detecting carrier noise
JPH0548973B2 (en)
JP2000321349A (en) Marine radar device
JP2001349940A (en) Pulse sound detecting system
JP3199218B2 (en) Disable tone detector
US5661752A (en) Circuit for detecting word sequences in a modem
KR100585489B1 (en) Apparatus for detecting timing
EP1184976B1 (en) Noise peak detection in AM reception
KR100199188B1 (en) Training sequence detector
JPH0265331A (en) Spread spectrum receiver
KR20000057637A (en) Symbol lock detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061017

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061218

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071002