JPS58103073A - Pattern reader - Google Patents

Pattern reader

Info

Publication number
JPS58103073A
JPS58103073A JP56202287A JP20228781A JPS58103073A JP S58103073 A JPS58103073 A JP S58103073A JP 56202287 A JP56202287 A JP 56202287A JP 20228781 A JP20228781 A JP 20228781A JP S58103073 A JPS58103073 A JP S58103073A
Authority
JP
Japan
Prior art keywords
pattern
deflection
height
constant
circuit
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
JP56202287A
Other languages
Japanese (ja)
Inventor
Kikuo Mita
三田 喜久夫
Moritoshi Ando
護俊 安藤
Giichi Kakigi
柿木 義一
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56202287A priority Critical patent/JPS58103073A/en
Publication of JPS58103073A publication Critical patent/JPS58103073A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Input (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PURPOSE:To read an input pattern in a high speed with a simple constitution, by measuring the length between an object pattern and an image pickup device and changing the quantity of deflection or the like of the image pickup device on a basis of this information to read always the input pattern with a certain magnification. CONSTITUTION:An object pattern 1 is moved to reach the position just under an image pickup device 2 and is detected. At this time, the height of an object having the pattern 1 is projected by the vertical scanning of a line image sensor 3, and a height signal value is measured by a height measuring circuit 4. This signal value is inputted to a deflection controlling circuit 5, and the deflection speed is changed in accordance with this height to make the magnification of an image picked-up pattern constant. That is, if the object is high, a length L between a magnifying lens 6 and the object is reduced, and the pattern 1 is picked up as a large pattern. In this case, the deflection speed is made high to read the pattern, and the pattern signal is always sampled at a constant time, and thus, the size of the object pattern is made constant apparently. The sampling frequency of the pattern may be changed instead of the deflection speed.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明は、文字パターンなどが検出されるパターン読み
取り装置に関し、特に対象物と撮像器との距離差に関係
なくパターンが検出される読み取シ装置に関する。
Detailed Description of the Invention (1) Technical Field of the Invention The present invention relates to a pattern reading device that detects character patterns, etc., and particularly to a reading system that detects patterns regardless of the distance difference between an object and an image pickup device. Regarding equipment.

(2)技術の背景 C)や抵抗紫子などの電子部品は回路基板に取p付けた
後、同型のu−(1違った品種ではないかどうかの検査
が行われる。又、重要な通信機器では搭載した部品の製
造年月や製造ロット番号がチェックされて、保存される
。しかし、何れの場合でもその検出は作業者が目視で行
なっており、機器の生産が自動化されているにも拘らず
、検査は工数の多くかかる作業となっている。したがっ
てとのような検出作業を自動的に行なわれることが望せ
しいことは言う寸でもない。
(2) Technical Background After electronic components such as C) and resistors are attached to circuit boards, they are inspected to see if they are of the same type (1) or different types.In addition, important communications The manufacturing date and manufacturing lot number of the installed parts are checked and saved in the equipment. However, in all cases, the detection is done visually by the operator, and even if equipment production is automated, Regardless, inspection is a task that requires a large number of man-hours.Therefore, it cannot be overstated that it is desirable to perform such a detection task automatically.

(3)従来技術と問題点 従来、文字パターンなどの像パターンを撮像器例えばT
V右カメラ光学的に走査して、その信号を2値化して検
出するパターン読み取り装置は種々のものが良く知られ
ておシ、電子計算機の端末抄器として使用されているも
のでもある。とれらのうち、印刷文字等の定形パターン
の光学的読み取シをよシ簡単な装置構成で高速に行なう
ためには、パターン読み取り装置は一定した倍率で、−
ハク−ツマノアツク&’L、J+ゐ読+柩9フイ丁なン
の炉有利である。しかるに、前記のような回路基板上に
取り付けた電子部品は大きさが異なるから、検出面と撮
像器との距離が変化して倍率が変動し、上記の方法では
正確なパターンマツチングができない問題がある。その
ため、このような距離の変化に対応はせるために、特別
にズームレンズを用いてその倍率を変化させ常に一定倍
率にする方法、又は撮像器を上下に動かせて常に一定距
離に保つ方式が採られているが、何れも機械的移動を供
なうため、応答速度や装置の耐久性などに問題がある。
(3) Prior art and problems Conventionally, image patterns such as character patterns have been captured using an imager such as T.
V-Right Camera Various pattern reading devices are well known that scan optically and binarize the signal for detection, and some are used as terminals for electronic computers. Among these, in order to optically read regular patterns such as printed characters at high speed with a simple device configuration, the pattern reading device is designed to read at a constant magnification.
Haku-tsumano-Ak &'L, J + Reading + Coffin 9-fitting furnace is advantageous. However, since the electronic components mounted on the circuit board as described above differ in size, the distance between the detection surface and the imager changes and the magnification changes, causing the problem that accurate pattern matching cannot be achieved with the above method. There is. Therefore, in order to deal with such changes in distance, a method is adopted in which a special zoom lens is used to change the magnification so that it always remains at a constant magnification, or a method is adopted in which the image pickup device is moved up and down to always maintain a constant distance. However, since they all involve mechanical movement, there are problems with response speed and device durability.

(4)発明の目的 本発明は前記の問題点を除去し、対象パターンと撮像器
との距離が変化しても、読み取りパターンの倍率が常に
一定になシ、自動的に補正が行なわれるパターン読み取
シ装置を提案する。
(4) Purpose of the Invention The present invention eliminates the above-mentioned problems, and even if the distance between the target pattern and the image pickup device changes, the magnification of the read pattern is always constant, and the correction is automatically performed. We propose a reading device.

(5)発明の構成 本発明の特徴とするところは、対象パターンと撮像器と
の距離を例えばイメージセンサで計測し、七の情報に基
づき撮像器の偏向量、もしく(−Jパターンのサンプリ
ング周波数を変化させて、入カバターンを常時一定倍率
で読み取るような機能が設けられたことにあるパターン
読み取シ装置で、以下図面を参照して詳しく説明する。
(5) Structure of the Invention The present invention is characterized by measuring the distance between the target pattern and the imager using, for example, an image sensor, and determining the amount of deflection of the imager based on the information in item 7 or (-J pattern sampling). The pattern reading device is equipped with a function of constantly reading the input cover pattern at a constant magnification by changing the frequency, and will be described in detail below with reference to the drawings.

(6)発明の実施例 本発明にがかる一実施例のブロック図を第1図に示して
おり、これは偏向量を変えて、撮像されるパターン倍率
を一定化する例である。図では対象パターン1が動いて
、撮像器2の直下に到達し、パターンが検出されるが、
その直前、又はそれと同時にラインイメージセンサ3の
垂直走査により対象パターンlを有する物体の高さが写
されて、高さ測定回路4で高さ信号値が計測される。そ
の高さ信号値を偏向制御回路5に入力し、その高さに応
じて同回路内で偏向速度を変え、撮像パターンの倍率が
一定になるようにする。即ち、対象パターンlを有する
物体の高さが高いと、拡大レンズ6と物体との距離りが
小さく々す、対象パターンlは太き彦パターンとして撮
像される。その時には偏向速度を早くしだ撮像器2でパ
ターンを読み取シ、そのパターン信号を常時一定した時
間でサンプリングすれば、見かけ上、対象パターンの大
きさは一定することになる。そうすればパターン倍率が
同一となったパターンがパターン信号記憶回路に入力さ
れるようになる。第1図において、7は撮像パターンの
2値化回路、8はサンプリングクロック発振回路、9は
パターン信号記憶回路で、パターン信号記憶回路9から
出力したパターン信号と電子計算機(図示していない)
に予め記憶されたパターンとがマツチングされて、パタ
ーンが認識される。
(6) Embodiment of the Invention A block diagram of an embodiment of the present invention is shown in FIG. 1, and this is an example in which the magnification of an imaged pattern is made constant by changing the amount of deflection. In the figure, the target pattern 1 moves and reaches directly below the imager 2, and the pattern is detected.
Immediately before or at the same time, the height of the object having the target pattern l is captured by vertical scanning of the line image sensor 3, and the height signal value is measured by the height measurement circuit 4. The height signal value is input to the deflection control circuit 5, and the deflection speed is changed within the same circuit according to the height, so that the magnification of the imaged pattern is kept constant. That is, when the height of the object having the target pattern l is high, the distance between the magnifying lens 6 and the object becomes small, and the target pattern l is imaged as a thick Hiko pattern. At that time, if the deflection speed is increased, the pattern is read by the imager 2, and the pattern signal is sampled at a constant time, the size of the target pattern will appear to be constant. Then, patterns with the same pattern magnification will be input to the pattern signal storage circuit. In FIG. 1, 7 is a binarization circuit for the imaging pattern, 8 is a sampling clock oscillation circuit, and 9 is a pattern signal storage circuit, in which the pattern signal output from the pattern signal storage circuit 9 and an electronic computer (not shown) are connected.
The pattern is recognized by matching it with a pattern stored in advance.

第2図は高さ測定回路4からの高さ信号値によって変化
させる偏向制御回路の概要を示し、測定された高さ信号
値はDA変換回路10によってアナログ電圧に変えて、
図示のような定電流電源回路11に入力され、それに応
じた一定電流値がコンデンサCに蓄えられる。そしてコ
ンデンサCからの電圧が増巾器12を経て撮像器の偏向
コイル生回路で、トランジヌタTRを通して定電流電源
回路11を同期させ、又第1図のようにサンプリングク
ロック発振回路も同期させる。尚、定電流電源回路11
は電流検知抵抗Rに生じる電圧が一定となるように働い
て、負荷電流が定常化されるものである。
FIG. 2 shows an outline of a deflection control circuit that changes the height signal value from the height measurement circuit 4. The measured height signal value is converted into an analog voltage by the DA conversion circuit 10.
The current is input to a constant current power supply circuit 11 as shown in the figure, and a constant current value corresponding thereto is stored in a capacitor C. Then, the voltage from the capacitor C passes through the amplifier 12 to the deflection coil generating circuit of the imager, and then through the transistor TR to synchronize the constant current power supply circuit 11, and also synchronize the sampling clock oscillation circuit as shown in FIG. In addition, the constant current power supply circuit 11
acts so that the voltage generated across the current detection resistor R becomes constant, and the load current becomes constant.

第8図は本発明にかかる他の実施例を示すブロック図で
、パターンのサンプリング周波数を変化させて一定のパ
ターン倍率とする例である。第1図と同じく、対象パタ
ーンlが動いて、撮像器2の直下でパターンが検出され
、ラインイメージセンサ8で写された高さが高さ測定回
路4で測定され、その高さ信号値が周波数を可変とする
ことができるサンプリングクロック周波数発振器18に
入力される。サンプリングクロック周波数発振器18は
例えば第4図に示すようにDA変換回路20と電圧制御
発振器21で構成され、変化した電圧に応じてサンプリ
ングクロック周波数が変わる。
FIG. 8 is a block diagram showing another embodiment according to the present invention, which is an example in which the pattern sampling frequency is changed to obtain a constant pattern magnification. As in FIG. 1, the target pattern l moves, the pattern is detected directly below the imager 2, the height captured by the line image sensor 8 is measured by the height measurement circuit 4, and the height signal value is A sampling clock frequency oscillator 18 whose frequency can be made variable is inputted. The sampling clock frequency oscillator 18 is composed of a DA converter circuit 20 and a voltage controlled oscillator 21, for example, as shown in FIG. 4, and the sampling clock frequency changes according to the changed voltage.

もし、拡大レンズ6と物体上の対象パターンlとられる
と、ザンプリングクロツク周波数がおそくなって小パタ
ーンとなシ、一定倍率にしたパターンをパターン信号記
憶回路9に入力することかできる方式である。本例では
前記した実施例と異)、偏向制御回路15の偏向速度は
一定していて、偏向量は変えないから、むしろ前記例よ
り装置は簡単になる利点がある。
If the magnifying lens 6 and the target pattern l on the object are taken, the sampling clock frequency will be slow and the pattern will not be small, and the pattern with a constant magnification can be input into the pattern signal storage circuit 9. be. In this example, unlike the previous embodiments, the deflection speed of the deflection control circuit 15 is constant and the amount of deflection does not change, so the device has the advantage of being simpler than the previous example.

尚、何れの場合も、対象パターンlを有する物体の高さ
の変化に対して、レンズ6は充分な焦点深度を有してい
るものとする。
In either case, it is assumed that the lens 6 has a sufficient depth of focus against changes in the height of the object having the target pattern l.

(7)発明の効果 以上の実施例による説明から判るように、本発明は変動
する距離を光学的に検出して、補正回路を付加する方式
であるから、高速応答性であシ、読み取り装置も機械的
な補正法に比べると簡素化されて、安価に製造すること
ができるものである。
(7) Effects of the Invention As can be seen from the explanation of the embodiments above, the present invention is a method of optically detecting a varying distance and adding a correction circuit, so it has a high-speed response and a reading device. It is also simpler and cheaper to manufacture than mechanical correction methods.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明にかかる読み取り装置の一実施例による
ブロック図で、第2図はその部分的回路図、第7図は他
の実施例のブロック図で、第4図はその部分図である。 図中、1は対象パターン、2は撮像器、8はラインイメ
ージセンサ、4は高さ測定回路、5,15は偏向制御回
路、6は拡大レンズ、7は2値化回路、8.18はサン
プリングクロック発振回路、9はパターン信号記憶回路
、10.20はDA変換回路、11は定電流電源回路、
12は増巾器、18は偏向コイル、14は同期信号発生
回路を示す。 11 図 第2図 影 3 タ゛ 第4図 二イfi4(。
FIG. 1 is a block diagram of one embodiment of the reading device according to the present invention, FIG. 2 is a partial circuit diagram thereof, FIG. 7 is a block diagram of another embodiment, and FIG. 4 is a partial diagram thereof. be. In the figure, 1 is the target pattern, 2 is the imager, 8 is the line image sensor, 4 is the height measurement circuit, 5 and 15 are the deflection control circuits, 6 is the magnifying lens, 7 is the binarization circuit, and 8.18 is the a sampling clock oscillation circuit, 9 a pattern signal storage circuit, 10.20 a DA conversion circuit, 11 a constant current power supply circuit,
12 is an amplifier, 18 is a deflection coil, and 14 is a synchronizing signal generating circuit. 11 Figure 2 shadow 3 Figure 4 2 fi4 (.

Claims (1)

【特許請求の範囲】 す 偏向走査する撮像器によ丞パターン信号を読み取シ、2
値化して該パターンが検出されるパターン読み取り装置
において、対象パターンと撮像器との距離を計測し、該
情報に基づき撮像器の偏向量、もしくはパターンのサン
プリング周波数を変化させて、入カバターンを常時一定
倍率で読み取るような機能が設けられたことを特徴とす
るパターン読み取り装置。
[Claims] Reading the general pattern signal with an imager that performs deflection scanning;
A pattern reading device that detects the pattern by converting it into a value measures the distance between the target pattern and the imager, and changes the amount of deflection of the imager or the sampling frequency of the pattern based on this information to constantly detect the input pattern. A pattern reading device characterized by being provided with a function of reading at a constant magnification.
JP56202287A 1981-12-14 1981-12-14 Pattern reader Pending JPS58103073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56202287A JPS58103073A (en) 1981-12-14 1981-12-14 Pattern reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56202287A JPS58103073A (en) 1981-12-14 1981-12-14 Pattern reader

Publications (1)

Publication Number Publication Date
JPS58103073A true JPS58103073A (en) 1983-06-18

Family

ID=16455032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56202287A Pending JPS58103073A (en) 1981-12-14 1981-12-14 Pattern reader

Country Status (1)

Country Link
JP (1) JPS58103073A (en)

Similar Documents

Publication Publication Date Title
JPS6236635B2 (en)
US4989082A (en) Image processing system for comparing a test article with a master article to determine that an object is correctly located on the test article
US4690001A (en) Optical displacement transducer usable as an extensometer
US4243876A (en) Background light intensity compensation circuit for a line scan camera system
JPH04295978A (en) Image reader
US5013154A (en) System for remotely reading an analog meter
EP0496867B1 (en) Apparatus for locating perforation
JPH02231684A (en) Exposure compensation system for linear scan camera
US4186412A (en) Apparatus for detecting the position of fine object
JPS58103073A (en) Pattern reader
CA1320998C (en) Position detecting circuit
JPH05107038A (en) Image sensing apparatus
Harrison et al. High-speed triangulation-based 3-D imaging with orthonormal data projections and error detection
JP2850807B2 (en) Inspection data creation device
JPS5927379A (en) Pattern video signal processing system
KR20030011636A (en) Microscopic size measurement apparatus
JPS624851B2 (en)
JPH10326337A (en) Image processor
Trawick Applications of circular array sensors
JPH0242343A (en) Device for inspecting through-hole
JPH04348210A (en) Inspecting apparatus of mounted printed board
JPH06221834A (en) Inclination measurement method and device
JPH09179979A (en) Defect detecting device
JPS60117699A (en) Device for recognizing electronic part
JPH04309299A (en) Method and apparatus for collecting positioning information of electronic component