JPH0340873B2 - - Google Patents
Info
- Publication number
- JPH0340873B2 JPH0340873B2 JP5904382A JP5904382A JPH0340873B2 JP H0340873 B2 JPH0340873 B2 JP H0340873B2 JP 5904382 A JP5904382 A JP 5904382A JP 5904382 A JP5904382 A JP 5904382A JP H0340873 B2 JPH0340873 B2 JP H0340873B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- frequency
- signal
- correlation coefficient
- power spectrum
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/15—Correlation function computation including computation of convolution operations
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computational Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Complex Calculations (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は電力スペクトルの相互相関係数を計
算することにより、入力信号の中から基準となる
電力スペクトルと同等のスペクトルを持つ信号を
検出する相関処理装置に関する。[Detailed Description of the Invention] [Technical Field of the Invention] The present invention is a correlation method for detecting a signal having a spectrum equivalent to a reference power spectrum from an input signal by calculating a cross-correlation coefficient of a power spectrum. It relates to a processing device.
第1図は従来の相関処理装置を示すものであ
る。入力信号fiはアナログ/デイジタル(A/
D)変換回路11に供給され、この変換回路11
において所定周期のサンプリングパルス信号fsに
より、デイジタル時系列信号に変換される。この
サンプルデータは第1の記憶回路12に供給され
記憶される。この記憶されるサンプル数は2N個
とする。この記憶回路12より読出されたサンプ
ルデータは順次電力スペクトル計算回路13に供
給され、例えばFFT(Fast Fourier Transform)
方式によつてN個の電力スペクトルデータxi(i
=0、1、…、N−1)が求められる。この電力
スペクトルデータxiは第2の記憶回路14に供給
され記憶される。
FIG. 1 shows a conventional correlation processing device. The input signal f i is analog/digital (A/
D) is supplied to the conversion circuit 11, and this conversion circuit 11
The signal is converted into a digital time-series signal using a sampling pulse signal f s of a predetermined period. This sample data is supplied to the first storage circuit 12 and stored therein. The number of samples stored is 2N. The sample data read out from the storage circuit 12 is sequentially supplied to the power spectrum calculation circuit 13, and is processed using, for example, FFT (Fast Fourier Transform).
N power spectrum data x i (i
=0, 1,...,N-1) are obtained. This power spectrum data x i is supplied to the second storage circuit 14 and stored therein.
一方、第3の記憶回路15には予じめ検出した
い信号に対応する基準の電力スペクトルデータyi
=(i=0、1、…、M−1;M<N)が記憶さ
れている。この記憶回路15および14に記憶さ
れたデータはそれぞれ順次読出され、相互相関計
算回路16に供給される。この計算回路16では
次の計算が行なわれる。 On the other hand, the third storage circuit 15 stores reference power spectrum data y i corresponding to the signal to be detected in advance.
=(i=0, 1, . . . , M-1; M<N) is stored. The data stored in storage circuits 15 and 14 are read out in sequence and supplied to cross-correlation calculation circuit 16. This calculation circuit 16 performs the following calculation.
但し、
k=0、1、…、N−1
=1/Mk+M-1
〓i=k
xi
=1/MM-1
〓i=0
yi
この計算によつて得られた相関係数r(k)は判定
回路17に供給され、この判定回路17において
相関係数r(k)の最大値r(k)naxが判定される。そ
して、このkの値により基準のスペクトルパター
ンとその電力スペクトルパターンが一致する信号
の中心周波数が求められる。第2図a,b,cは
それぞれxi、yi、r(k)の一例を示すものである。 However, k=0, 1,..., N-1 = 1/M k+M-1 〓 i=k x i = 1/M M-1 〓 i=0 y iThe phase obtained by this calculation The correlation coefficient r(k) is supplied to a determination circuit 17, which determines the maximum value r(k) nax of the correlation coefficient r(k). Then, from this value of k, the center frequency of the signal whose power spectrum pattern matches the reference spectrum pattern is determined. Figures 2a, b, and c show examples of x i , y i , and r(k), respectively.
ところで、入力信号の電力スペクトルxiは周波
数分解能Δf(但し、Δf=fs/2N)毎の離散的なデー
タであるため、第3図a,bに示す如く信号の中
心周波数f0の値によつて本来は同一スペクトルの
筈が、かなり異なつたスペクトルデータとなる可
能性を有している。尚、第3図a,b中点線は連
続スペクトルエンベロープを示し、
第3図aは0=(m+1/2)×Δの場合
第3図bは0=m×Δの場合
(但し、mは正整数)
であり、0の値によつてこの両者を両極端として
その中間のスペクトルパターンをとることにな
る。 By the way, since the power spectrum x i of the input signal is discrete data for each frequency resolution Δf (Δf = f s /2N), the value of the center frequency f 0 of the signal is as shown in Figure 3 a and b. Therefore, what should originally be the same spectrum may end up with considerably different spectrum data. The dotted line between a and b in Figure 3 shows the continuous spectral envelope. (a positive integer), and a value of 0 makes these two extremes and a spectral pattern in between.
このことは、即ち基準のスペクトルパターンが
例えば第3図aの形で記憶されているとすると、
第3図に示すaとbの中間のパターンの場合には
それだけ相関係数の最大値r(k)naxが変動するこ
とになる。このように、従来の装置は信号の中心
周波数と周波数分解能との相対関係によつて相関
係数が大きく変動するという欠点を有している。 This means that if the reference spectral pattern is stored, for example, in the form shown in Figure 3a,
In the case of a pattern between a and b shown in FIG. 3, the maximum value r(k) nax of the correlation coefficient varies accordingly. As described above, the conventional apparatus has the drawback that the correlation coefficient varies greatly depending on the relative relationship between the center frequency of the signal and the frequency resolution.
この発明は上記事情に基づいてなされたもの
で、その目的とするところは入力信号の中心周波
数が如何なる場合であつても所定の相関係数を得
ることが可能な相関処理装置を提供しようとする
ものである。
The present invention has been made based on the above circumstances, and its purpose is to provide a correlation processing device that can obtain a predetermined correlation coefficient no matter what the center frequency of the input signal. It is something.
この発明は入力信号を電力スペクトル計算回路
によつて決まる周波数分解能Δの範囲で変化さ
せ、この変化したそれぞれの信号について基準ス
ペクトルとの相関係数を求め、この中より最大値
を判定することにより基準スペクトルパターンに
最も近似した相関係数を求めるとともに、相関係
数の最大値を用いて相関係数の計算範囲を制御す
るものである。
This invention changes the input signal within a range of frequency resolution Δ determined by the power spectrum calculation circuit, determines the correlation coefficient with the reference spectrum for each of the changed signals, and determines the maximum value among them. This method determines the correlation coefficient that most closely approximates the reference spectrum pattern, and uses the maximum value of the correlation coefficient to control the calculation range of the correlation coefficient.
以下、この発明の一実施例について図面を参照
して説明する。尚、第4図中第1図と同一部分に
は同一符号を付す。
An embodiment of the present invention will be described below with reference to the drawings. Note that the same parts in FIG. 4 as in FIG. 1 are given the same reference numerals.
第4図において、入力信号fiは周波数変換回路
41に供給される。この変換回路41には局部発
振回路42の出力信号が供給され、この信号によ
り前記入力信号fiの周波数が変化される。即ち、
局部発振回路42は出力周波数が所定の範囲変化
可能とされており、この信号により入力信号fiの
周波数は前記周波数分解能Δの範囲内を偏移さ
れるようになつている。この周波数変換された信
号はそれぞれA/D変換回路11〜相互相関計算
回路16、判定回路17に順次供給され、第1図
と同様の動作により相関係数の最大値群が求めら
れる。 In FIG. 4, the input signal fi is supplied to a frequency conversion circuit 41. In FIG. An output signal from a local oscillation circuit 42 is supplied to this conversion circuit 41, and the frequency of the input signal f i is changed by this signal. That is,
The local oscillation circuit 42 is capable of changing its output frequency within a predetermined range, and this signal causes the frequency of the input signal f i to be shifted within the range of the frequency resolution Δ. These frequency-converted signals are sequentially supplied to the A/D conversion circuit 11 to the cross-correlation calculation circuit 16 and the determination circuit 17, respectively, and the maximum value group of correlation coefficients is determined by the same operation as in FIG.
ところで、この装置では先ず最初に周波数変換
回路41の出力周波数が入力信号fiの周波数と等
しくなるよう局部発振回路42の周波数が選択さ
れ、このときの相関係数の最大値が計算される。
この最大値をr1(k1)とし、第2図bに示す如く
基準スペクトルの中心周波数がi=M/2であると
すれば、求める信号の中心周波数はi=k1+M/2
として求められ、且つ、この信号の主要なスペク
トルは第5図に示す如くi=k1〜k1+Mの間に存
在するといえる。 By the way, in this device, the frequency of the local oscillation circuit 42 is first selected so that the output frequency of the frequency conversion circuit 41 is equal to the frequency of the input signal fi , and the maximum value of the correlation coefficient at this time is calculated.
If this maximum value is r 1 (k 1 ) and the center frequency of the reference spectrum is i=M/2 as shown in Figure 2b, then the center frequency of the desired signal is i=k 1 +M/2. It can be said that the main spectrum of the obtained signal exists between i=k 1 and k 1 +M as shown in FIG.
計算範囲制御回路43は前記判定回路17より
出力される相関係数の最大値r1(k1)に応じて相
互相関計算回路16の計算範囲を制御するもので
あり、この場合、相互相関計算回路16は以後の
計算範囲がk1〜k1+Mの範囲に制限され、且つ、
次式の計算を行なうよう制御される。 The calculation range control circuit 43 controls the calculation range of the cross-correlation calculation circuit 16 according to the maximum value r 1 (k 1 ) of the correlation coefficient output from the determination circuit 17, and in this case, the calculation range of the cross-correlation calculation circuit 16 is The circuit 16 has a subsequent calculation range limited to a range of k 1 to k 1 +M, and
It is controlled to calculate the following equation.
但し、
=1/MM-1
〓i=0
xi+ki
=1/MM-1
〓i=0
yi
次に、前記局部発振回路42の出力周波数が変
化され、周波数変換回路41の出力信号周波数が
入力信号fiの周波数よりもΔ/2だけ低くなるよ
うに設定される。そして、前記同様の動作が行な
われ、(2)式の計算が実行される。引続き局部発振
回路42の出力信号周波数がΔ/nずつ順次変
化され、変換回路41の出力周波数が入力信号fi
の周波数よりΔ/2だけ高くなるまで合計n回
(2)式の計算が同様に行なわれる。したがつて、
r1′、r2′、…、ro′なる相関係数が得られる。つま
り、求める信号の中心周波数0は幅Δだけ変化
することになるから、このスペクトルパターンは
第3図a〜同図bの間のn通りのパターンをとる
ことになる。したがつて、判定回路17により、
相互相関計算回路16から出力される相関係数
r1′、r2′、…、ro′より最大値r′nax(k1)を選択す
れ
ば、基準の周波数スペクトルパターンに最も近い
ときの相関係数を得ることができる。即ち、入力
信号fiの中心周波数0がΔの中の如何なる位置に
あつても常に変動の少ない相関係数r′nax(k1)を
得ることが可能である。 However, =1/M M-1 〓 i=0 x i +k i =1/M M-1 〓 i=0 y iNext, the output frequency of the local oscillation circuit 42 is changed, and the output frequency of the frequency conversion circuit 41 is changed. The output signal frequency is set to be lower than the frequency of the input signal fi by Δ/2. Then, the same operation as described above is performed, and the calculation of equation (2) is executed. Subsequently, the output signal frequency of the local oscillation circuit 42 is sequentially changed by Δ/n, and the output frequency of the conversion circuit 41 is changed to the input signal f i
n times in total until the frequency becomes Δ/2 higher than the frequency of
Equation (2) is calculated in the same way. Therefore,
Correlation coefficients r 1 ′, r 2 ′, ..., r o ′ are obtained. In other words, since the center frequency 0 of the desired signal changes by the width Δ, this spectrum pattern takes n patterns between a and b in FIG. 3. Therefore, the determination circuit 17 determines that
Correlation coefficient output from cross-correlation calculation circuit 16
By selecting the maximum value r′ nax (k 1 ) from r 1 ′, r 2 ′, . . . , r o ′, the correlation coefficient closest to the reference frequency spectrum pattern can be obtained. That is, it is possible to always obtain a correlation coefficient r' nax (k 1 ) with little variation no matter where the center frequency 0 of the input signal f i is located within Δ.
以上、詳述したようにこの発明によれば、入力
信号の中心周波数が如何なる場合であつても所定
の相関係数を得ることが可能な相関処理装置を提
供できる。
As described in detail above, according to the present invention, it is possible to provide a correlation processing device that can obtain a predetermined correlation coefficient regardless of the center frequency of the input signal.
第1図は従来の相関処理装置の一例を示す構成
図、第2図a,b,cおよび第3図a,bはそれ
ぞれ従来およびこの発明の動作を説明するために
示す図、第4図はこの発明に係わる相関処理装置
の一実施例を示す構成図、第5図はこの発明の動
作を説明するために示す図である。
11……A/D変換回路、13……電力スペク
トル計算回路、16……相互相関計算回路、17
……判定回路、41……周波数変換回路、42…
…局部発振回路、43……計算範囲制御回路。
FIG. 1 is a block diagram showing an example of a conventional correlation processing device, FIG. 5 is a block diagram showing one embodiment of the correlation processing device according to the present invention, and FIG. 5 is a diagram shown for explaining the operation of the present invention. 11...A/D conversion circuit, 13...Power spectrum calculation circuit, 16...Cross correlation calculation circuit, 17
... Judgment circuit, 41 ... Frequency conversion circuit, 42 ...
...Local oscillation circuit, 43...Calculation range control circuit.
Claims (1)
路と、この発振信号により入力信号の周波数を変
化させる周波数変換回路と、この変換出力信号を
所定のサンプリングパルス信号でA/D変換する
回路と、このサンプリングされた信号より電力ス
ペクトルを求める回路と、この求められた電力ス
ペクトルおよび基準電力スペクトルが供給され相
互相関係数を求める回路と、この求められた相関
係数より最大値を求める判定回路と、前記周波数
変換回路の出力信号周波数が前記入力信号周波数
と等しいときの相互相関係数の最大値に基づき前
記相互相関係数の計算範囲を制御する回路とを具
備し、前記入力信号周波数を中心に前記電力スペ
クトルを求める回路の周波数分解能の範囲内にお
いて、前記発振回路の発振周波数をn段階変化さ
せたとき得られる相互相関係数の中から最大値を
前記判定回路により抽出するようにしたことを特
徴とする相関処理装置。1. An oscillation circuit that can change the oscillation frequency, a frequency conversion circuit that changes the frequency of an input signal using this oscillation signal, a circuit that A/D converts this conversion output signal with a predetermined sampling pulse signal, and a circuit that obtains a power spectrum from a sampled signal; a circuit that is supplied with the obtained power spectrum and a reference power spectrum and obtains a cross-correlation coefficient; and a determination circuit that obtains a maximum value from the obtained correlation coefficient; a circuit that controls a calculation range of the cross-correlation coefficient based on a maximum value of the cross-correlation coefficient when the output signal frequency of the frequency conversion circuit is equal to the input signal frequency, The determination circuit extracts the maximum value from among the cross-correlation coefficients obtained when the oscillation frequency of the oscillation circuit is changed by n steps within the frequency resolution range of the circuit for calculating the power spectrum. Characteristic correlation processing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5904382A JPS58176775A (en) | 1982-04-09 | 1982-04-09 | Correlation processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5904382A JPS58176775A (en) | 1982-04-09 | 1982-04-09 | Correlation processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58176775A JPS58176775A (en) | 1983-10-17 |
| JPH0340873B2 true JPH0340873B2 (en) | 1991-06-20 |
Family
ID=13101880
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5904382A Granted JPS58176775A (en) | 1982-04-09 | 1982-04-09 | Correlation processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58176775A (en) |
-
1982
- 1982-04-09 JP JP5904382A patent/JPS58176775A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58176775A (en) | 1983-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0447330B2 (en) | ||
| JPS6190514A (en) | Music signal processor | |
| EP0177557B1 (en) | Counting apparatus and method for frequency sampling | |
| JP2004528742A (en) | High-speed filter | |
| JPH04230867A (en) | Self-aligning sampling apparatus | |
| US3715509A (en) | Method and means for providing resolution level selection in a spectrum analyzer | |
| IE43171L (en) | Digital device | |
| US3983379A (en) | Random sample statistical function analyzer | |
| EP0191478A2 (en) | Measurement circuit for evaluating a digital-to-analog converter | |
| JP2867769B2 (en) | Sound measurement method and device | |
| JPH09510802A (en) | Method and apparatus for determining mask limits | |
| JPH0340873B2 (en) | ||
| JPH0340875B2 (en) | ||
| US4351032A (en) | Frequency sensing circuit | |
| JPH0340874B2 (en) | ||
| JPH0340876B2 (en) | ||
| JPH10160507A (en) | Peak detector | |
| JPH0340872B2 (en) | ||
| RU2099720C1 (en) | Digital spectrum analyzer | |
| JPH11289254A (en) | Device and method for testing analog digital converter | |
| JP3412552B2 (en) | Waveform storage device | |
| JPH0894681A (en) | Apparatus for analyzing frequency spectrum | |
| JPH0526921A (en) | Spectrum analyzer | |
| JPH0558558B2 (en) | ||
| JPS61157029A (en) | Analog-digital converting circuit device |