JPS609882Y2 - digital correlator - Google Patents
digital correlatorInfo
- Publication number
- JPS609882Y2 JPS609882Y2 JP12611279U JP12611279U JPS609882Y2 JP S609882 Y2 JPS609882 Y2 JP S609882Y2 JP 12611279 U JP12611279 U JP 12611279U JP 12611279 U JP12611279 U JP 12611279U JP S609882 Y2 JPS609882 Y2 JP S609882Y2
- Authority
- JP
- Japan
- Prior art keywords
- output
- adder
- pattern
- signal
- digital
- 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
Landscapes
- Complex Calculations (AREA)
- Character Discrimination (AREA)
- Image Analysis (AREA)
Description
【考案の詳細な説明】
本考案は標準のディジタルパターンと被検査用のディジ
タルパターンの相関距離および相関値をディジタル信号
で検出処理するディジタル相関器に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a digital correlator that detects and processes correlation distances and correlation values between a standard digital pattern and a digital pattern to be tested using digital signals.
第1図は従来一般に使用されている例えばTRW社製T
DCIQQ4J等で構成されたディジタル相関器のブロ
ック図である。Figure 1 shows conventionally commonly used T
FIG. 2 is a block diagram of a digital correlator composed of DCIQQ4J and the like.
同図においてBINは標準のディジタルパターンをB1
. B2・・・B6.で構成された64ビツトのシフト
レジスタに設定するためのデータ入力端子で、BCLO
CKは同シフトレジスタのクロック信号端子を示してい
る。In the same figure, BIN is the standard digital pattern B1
.. B2...B6. This is a data input terminal for setting a 64-bit shift register consisting of
CK indicates a clock signal terminal of the shift register.
同様にAINはA1. A2・・・A64で構成された
64ビツトのシフトレジスタの入力端子である。Similarly, AIN is A1. This is an input terminal of a 64-bit shift register composed of A2...A64.
標準のパターンは”’x* B2・・・B64のシフト
レジスタに設定されるとA1. A2−・・A64のシ
フトレジスタには被検査用パターン(例えば、■TVカ
メラのビデオ信号を2値化信号に変更した信号)が端子
A。The standard pattern is ``x*. When set in the shift register of B2...B64, A1. The signal changed to the signal) is terminal A.
Lo。やに印加されるクロックに同期して走査しながら
設定される。Lo. It is set while scanning in synchronization with the clock applied to the
一方A□、ン、・・・A64のシフトレジスタとE%、
B2゜a、のシフトレジスタの各ビットは排他的論理和
がとられ例えば両方のビットの極性が一致している時は
出力“1゛、不一致の場合は出力“0゛が印加される。On the other hand, A□, N...A64 shift register and E%,
Each bit of the shift register B2a is subjected to an exclusive OR, and for example, when the polarities of both bits match, an output "1" is applied, and when they do not match, an output "0" is applied.
この出力信号は各ビットD/Aコンバータによりアナロ
グ信号に変換され全ビットアナログ信号で加算されて出
力端子C0UTに出力される。This output signal is converted into an analog signal by each bit D/A converter, added to all bit analog signals, and outputted to the output terminal C0UT.
第2図は被検査用パターンをA□9 A2? A64シ
フトレジスタへ流した時の出力端子C0UTに印加され
るアナログ信号の波形を示したものである。Figure 2 shows the pattern to be inspected A□9 A2? This shows the waveform of the analog signal applied to the output terminal C0UT when it is passed to the A64 shift register.
同図において、一定の基準電圧レベル■アで端子C3U
Tに印加されるアナログ信号を比較した場合A。In the same figure, at a constant reference voltage level ■A, terminal C3U
A when comparing the analog signal applied to T.
8間の長さCLが相関距離、ピーク値1点の絶対値CV
が最大相関値(最も標準のパターンと一致した時の値)
を示している。The length CL between 8 is the correlation distance, and the absolute value CV of one peak value
is the maximum correlation value (the value when it matches the most standard pattern)
It shows.
この相関距離および最大相関値を求めるためには端子C
0UTに印加される信号がアナログ信号であるため、超
高速のA/Dコンバータあるいはサンプルホールド回路
等を使用して処理する方法が行なわれており、そのため
アナログ処理部のノイズ・温度特性により精度が悪く、
さらにまた高速で使用するためにA/Dコンバータ等非
常に高価な部品を必要としていた。To find this correlation distance and maximum correlation value, use terminal C.
Since the signal applied to 0UT is an analog signal, it is processed using an ultra-high-speed A/D converter or a sample-hold circuit. Bad,
Furthermore, in order to operate at high speed, very expensive parts such as an A/D converter were required.
本考案の目的は上述の欠点を除くため、各ビットの排他
的論理和をとったあと、ディジタル信号処理することに
より、相関値および相関距離を求めるディジタル相関器
を提供することにある。SUMMARY OF THE INVENTION In order to eliminate the above-mentioned drawbacks, an object of the present invention is to provide a digital correlator that obtains correlation values and correlation distances by performing exclusive OR of each bit and then performing digital signal processing.
第3図は本考案の一実施例を示すブロック図で100は
入力データ端子ATNに印加された信号をクロック信号
A。FIG. 3 is a block diagram showing an embodiment of the present invention, in which reference numeral 100 denotes a clock signal A that is applied to an input data terminal ATN.
Lo。えに同期してデータをシフトするシフトレジスタ
で、入力データとしては例えばITVカメラで映し出さ
れたビデオ信号を2値化した信号が印加される。Lo. This is a shift register that shifts data in synchronization with each other, and input data is, for example, a signal obtained by converting a video signal shown by an ITV camera into a binary value.
101は標準パターンを格納するためのレジスタで、入
力端子BINに印加された信号をB。101 is a register for storing a standard pattern, and the signal applied to the input terminal BIN is stored as B.
LOCKのクロック信号に同期して格納する。Store in synchronization with the LOCK clock signal.
EXは、前記レジスタ100と101の各ビットの排他
的論理和の回路で入力が一致した時出力に論理゛1“を
出力し、不一致の時論理“0パを出力する。EX is an exclusive OR circuit of each bit of the registers 100 and 101, and outputs logic "1" when the inputs match, and outputs logic "0" when they do not match.
102は前記の排他的論理和の回路の出力論理“1′の
個数を計算するフル・アダー回路で構成された加算器で
ある。Reference numeral 102 denotes an adder composed of a full adder circuit for calculating the number of output logic "1's" of the exclusive OR circuit.
この出力信号はあらかじめ定められた第2図に示すV、
に対応した基準値をA側の入力端子とする第1のディジ
タルコンパレータ103の他方の入力端子B側に接続さ
れている。This output signal has a predetermined value of V shown in FIG.
It is connected to the other input terminal B side of the first digital comparator 103 whose A side input terminal is the reference value corresponding to .
第1のディジタルコンパレータ103のA≦Bの出力端
子にはすなわち第2図に示すように相関値が基準値vT
より大きな期間点Aから点Bの期間論理“1パが出力さ
れる。In other words, as shown in FIG.
Logic "1P" is output for the period from point A to point B, which is larger.
一方被検査パターンを走査するクロック信号Ac+。On the other hand, a clock signal Ac+ scans the pattern to be inspected.
。
。えと前記A≦Bの出力信号との論理積をゲート回路1
04でとり、この出力信号をカウンタ105で計数する
。. . Well, the gate circuit 1 performs the AND with the output signal of A≦B.
04, and this output signal is counted by a counter 105.
すなわちカウンタ105には第2図に示す点Aから点3
3 (CL)に比例した相関距離の値が計数される。In other words, the counter 105 has the values from point A to point 3 shown in FIG.
The value of the correlation distance proportional to 3 (CL) is counted.
一方加算器102の出力信号は第2のディジタルコンパ
レータ107(1)B個入力端子および1次バッファ1
06の入力データ端子に接続されている。On the other hand, the output signal of the adder 102 is sent to the second digital comparator 107 (1) B input terminals and the primary buffer 1.
It is connected to the input data terminal of 06.
この第2のディジタルコンパレータ107のA個入力端
子は1次バッファ106の出力データ端子に接続されて
いる。A number of input terminals of this second digital comparator 107 are connected to an output data terminal of the primary buffer 106.
1次バッファ106は初期値Oのレジスタであるため、
第2のディジタルコンパレータ107の出力端子A<B
は相関値の値が0以上になると論理“°1”となり、こ
の信号により1次バッファ106は加算器102の出力
信号値をラッチする。Since the primary buffer 106 is a register with an initial value of O,
Output terminal A<B of second digital comparator 107
becomes logic "°1" when the correlation value becomes 0 or more, and this signal causes the primary buffer 106 to latch the output signal value of the adder 102.
次にシフトレジスタ100の2値化信号が1ビツトシフ
ト”すると第2のディジタルコンパレータ107で前の
値と比較し、A<Bなら新たな相関器を1次バッファ1
06へ格納する。Next, when the binary signal of the shift register 100 is shifted by 1 bit, it is compared with the previous value in the second digital comparator 107, and if A<B, a new correlator is transferred to the primary buffer 1.
Store in 06.
すなわち入力データと以前のデータの値の大小を比較し
、大きければ1次バッファ106の内容が更新されて行
く。That is, the input data and the previous data are compared in magnitude, and if the values are larger, the contents of the primary buffer 106 are updated.
そのため第2図に示すように1次バッファ106には相
関値の最大値CVが検出される。Therefore, as shown in FIG. 2, the maximum value CV of the correlation values is detected in the primary buffer 106.
本考案によれば、相関値をディジタル信号のまま処理す
るため従来問題となっていたグランドノイズ、アナログ
信号に含まれたノイズ等による精度の劣化を考慮する必
要がなくなる。According to the present invention, since correlation values are processed as digital signals, there is no need to consider deterioration of accuracy due to ground noise, noise contained in analog signals, etc., which has been a problem in the past.
また走査スピードが高速の場合に必要となるサンプル・
ホールド回路、A/Dコンバータ等高価な部品を使用す
る必要がなくなる。In addition, when the scanning speed is high, the sample and
There is no need to use expensive parts such as hold circuits and A/D converters.
第1図は従来の相関器の構成を示すブロック図、第2図
は相関値および相関距離を示すための相関器の出力波形
図、第3図は本考案の一実施例を示すブロック図である
。
図において、100はシフトレジスタ、101はレジス
タ、102は加算器、103は第1のディジタルコンパ
レータ、104はゲート回路、105はカウンタ、10
6は1次バッファ、107は第2のディジタルコンパレ
ータ、EXは排他的論理和回路、AIN、BINはデー
タ入力端子、AC,L。
QCにg Bcbocにはクロック信号端子、C0LJ
Tは相関器出力信号端子、CLは相関距離、CVは最大
相関値、■アは基準レベルである。Fig. 1 is a block diagram showing the configuration of a conventional correlator, Fig. 2 is an output waveform diagram of the correlator for indicating correlation values and correlation distances, and Fig. 3 is a block diagram showing an embodiment of the present invention. be. In the figure, 100 is a shift register, 101 is a register, 102 is an adder, 103 is a first digital comparator, 104 is a gate circuit, 105 is a counter, 10
6 is a primary buffer, 107 is a second digital comparator, EX is an exclusive OR circuit, AIN and BIN are data input terminals, AC and L. G to QC Bcboc has clock signal terminal, C0LJ
T is a correlator output signal terminal, CL is a correlation distance, CV is a maximum correlation value, and ①A is a reference level.
Claims (1)
を走査信号に同期してシフトするシフトレジスタと、前
記レジスタとシフトレジスタの各ビットの排他的論理和
をとり前記出力データを計数する加算器と、該加算器の
出力データとあらかじめ設定された基準値とを比較する
第1のディジタルコンパレータと、該コンパレータの出
力信号と被検査用パターンの走査信号との論理積をとり
その出力結果を計数するカウンタと、前記加算器の出力
信号と以前の加算器出力信号の最大値を記憶した1次バ
ッファと、該1次バッファの出力値と前記加算器の出力
信号との大小を比較する第2のディジタルコンパレータ
とで構成され、標準パターンと被検査用パターンの相関
値および相関距離をディジタル計数して求めることを特
徴とするディジタル相関器。a register that stores a standard pattern; a shift register that shifts the pattern to be inspected in synchronization with a scanning signal; an adder that performs an exclusive OR of each bit of the register and the shift register and counts the output data; A first digital comparator that compares the output data of the adder with a preset reference value, and a counter that performs an AND operation between the output signal of the comparator and the scanning signal of the pattern to be inspected and counts the output result. a primary buffer that stores the output signal of the adder and the maximum value of the previous adder output signal; and a second digital buffer that compares the output value of the primary buffer with the output signal of the adder. A digital correlator comprising a comparator and digitally counting and determining correlation values and correlation distances between a standard pattern and a pattern to be inspected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12611279U JPS609882Y2 (en) | 1979-09-12 | 1979-09-12 | digital correlator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12611279U JPS609882Y2 (en) | 1979-09-12 | 1979-09-12 | digital correlator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5645955U JPS5645955U (en) | 1981-04-24 |
| JPS609882Y2 true JPS609882Y2 (en) | 1985-04-05 |
Family
ID=29358005
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12611279U Expired JPS609882Y2 (en) | 1979-09-12 | 1979-09-12 | digital correlator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS609882Y2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0677257B2 (en) * | 1983-09-27 | 1994-09-28 | 三菱電機株式会社 | Digital fast correlator |
| JPH0337314Y2 (en) * | 1985-04-27 | 1991-08-07 | ||
| JP2564306Y2 (en) * | 1989-05-26 | 1998-03-09 | 三菱樹脂株式会社 | Eave gutter support structure |
-
1979
- 1979-09-12 JP JP12611279U patent/JPS609882Y2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5645955U (en) | 1981-04-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4205302A (en) | Word recognizing system | |
| JPS609882Y2 (en) | digital correlator | |
| JPH01131918A (en) | AD converter | |
| CN108551344B (en) | Double-sampling analog-to-digital conversion circuit | |
| US5376915A (en) | Absolute value comparing apparatus for comparing absolute values of data at high speed | |
| US6504500B1 (en) | A/D converter and A/D converting method | |
| US3982240A (en) | Bipolar A/D converter using two comparators | |
| US4843307A (en) | Voltage difference measuring equipment | |
| JP3143117B2 (en) | Signal processing device | |
| JP3312006B2 (en) | Reactive power calculation device and reactive power measurement device | |
| JPS6211816B2 (en) | ||
| RU2061253C1 (en) | Device for measuring characteristics of controlled object | |
| KR100206919B1 (en) | Electrical characteristics testing apparatus of a/d converter | |
| US4924314A (en) | Semiconductor device containing video signal processing circuit | |
| JP3083254B2 (en) | A / D converter | |
| JPS5928294B2 (en) | AD converter | |
| JPS61137429A (en) | Testing circuit of ad converter | |
| JPS59188728A (en) | Digital signal processing circuit | |
| JPH03258025A (en) | Semiconductor integrated circuit | |
| JP2599984B2 (en) | Input data peak value detection circuit | |
| JPS63171369A (en) | Apparatus for measuring potential difference | |
| JPH079046Y2 (en) | Maximum / minimum detection circuit | |
| SU1737751A1 (en) | Digital aperture corrector | |
| KR890003050B1 (en) | Image processing circuit | |
| JPH04109173A (en) | Power meter |