JPH1137954A - Method and system for picking up image of object - Google Patents

Method and system for picking up image of object

Info

Publication number
JPH1137954A
JPH1137954A JP9197551A JP19755197A JPH1137954A JP H1137954 A JPH1137954 A JP H1137954A JP 9197551 A JP9197551 A JP 9197551A JP 19755197 A JP19755197 A JP 19755197A JP H1137954 A JPH1137954 A JP H1137954A
Authority
JP
Japan
Prior art keywords
signal
camera
clock
imaging
image
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.)
Granted
Application number
JP9197551A
Other languages
Japanese (ja)
Other versions
JP3458052B2 (en
Inventor
Shoji Tsujimura
昌治 辻村
Eiichi Hachitani
栄一 蜂谷
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP19755197A priority Critical patent/JP3458052B2/en
Publication of JPH1137954A publication Critical patent/JPH1137954A/en
Application granted granted Critical
Publication of JP3458052B2 publication Critical patent/JP3458052B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Supply And Installment Of Electrical Components (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method and a system for picking up the image of an object while selecting a camera optimal for the image picking up state among a plurality of cameras. SOLUTION: In order to pick up the image of a moving object 20 while switching a line sensor camera 2 or an area sensor camera 3, a clock section C, an operating signal generating section 17 and an image signal switching section 12 are selected by a switching signal from a camera switching section E depending on a selected camera. An operating clock is switched in synchronism with the preceding and following clocks so that a pulse noise is not generated and an image pickup signal or a read-out signal is outputted as an operating signal depending on a selected camera. An image signal from the camera is switched selectively and a two-dimensional image is produced from an image memory 14.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子部品を基板に
実装する部品実装装置において、搬送される電子部品の
移動速度やサイズに対応させて複数のカメラを切り換え
て電子部品を撮像することにより、所要の分解能や撮像
範囲で撮像するような認識対象物の撮像方法及びその装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a component mounting apparatus for mounting an electronic component on a substrate by switching a plurality of cameras in accordance with the moving speed and size of the transported electronic component to image the electronic component. More particularly, the present invention relates to a method and an apparatus for imaging a recognition target object, such as an image with a required resolution and an imaging range.

【0002】[0002]

【従来の技術】生産設備において搬送される生産物のよ
うに、一定速度で移動する対象物を検査等のために撮像
するときには、ラインセンサカメラが有効な撮像手段と
なる。
2. Description of the Related Art A line sensor camera is an effective imaging means for imaging an object moving at a constant speed, such as a product conveyed in a production facility, for inspection or the like.

【0003】図5は、移動する認識対象物33を所定位
置で前記ラインセンサカメラ38により撮像する構成を
示している。
FIG. 5 shows a configuration in which a moving recognition target 33 is imaged at a predetermined position by the line sensor camera 38.

【0004】モータ34によって回転駆動されるボール
ネジ35に取り付けられた移動ヘッド36により搬送装
置が構成されており、認識対象物33は前記移動ヘッド
36に保持されて移動する。このような搬送構造では、
認識対象物33の移動距離はモータ34の回転数から知
ることができるので、モータ34にエンコーダ37を取
り付け、このエンコーダ37からの出力パルスをカメラ
インタフェース40に入力し、ラインセンサカメラ38
の撮像動作を制御する。
[0004] A transport device is constituted by a moving head 36 attached to a ball screw 35 rotated and driven by a motor 34, and the object 33 to be recognized is moved while being held by the moving head 36. In such a transport structure,
Since the moving distance of the recognition target 33 can be known from the number of rotations of the motor 34, an encoder 37 is attached to the motor 34, an output pulse from the encoder 37 is input to the camera interface 40, and the line sensor camera 38
Is controlled.

【0005】前記カメラインタフェース40において、
エンコーダ37からの出力パルスをカウントするピッチ
カウンタ41はカウントしたピッチ信号を出力する。水
平カウンタ43は前記動作開始検出器44からの信号及
びピッチ信号によりカウンタ値を0にクリアし、クロッ
ク45からの内部クロックをカウントすることにより、
前記ピッチ信号に同期した読み出し信号と水平同期信号
とを発生させる。この読み出し信号がラインセンサカメ
ラ38に入力されることにより、ラインセンサカメラ3
8は1ライン分の画像信号を出力する。この読み出し信
号は認識対象物33の移動距離に同期して出力されるた
め、認識対象物33が一定距離を移動する毎に画像信号
が出力され、画像の分解能は一定に保たれる。
In the camera interface 40,
A pitch counter 41 that counts output pulses from the encoder 37 outputs a counted pitch signal. The horizontal counter 43 clears the counter value to 0 by the signal from the operation start detector 44 and the pitch signal, and counts the internal clock from the clock 45,
A read signal synchronized with the pitch signal and a horizontal synchronization signal are generated. When the read signal is input to the line sensor camera 38, the line sensor camera 3
Reference numeral 8 outputs an image signal for one line. Since this read signal is output in synchronization with the moving distance of the recognition target 33, an image signal is output every time the recognition target 33 moves a predetermined distance, and the resolution of the image is kept constant.

【0006】前記ラインセンサカメラ38による撮像開
始のタイミングは、所定位置に配置された認識対象物3
3の検出センサ39が検出信号を出力し、この検出信号
が入力される動作開始検出器44は、距離測定カウンタ
42のカウント値が予め設定された所定値と一致したと
き、垂直カウンタ46のカウントを開始させる。垂直カ
ウンタ46は前記水平同期信号をカウントすることによ
り撮像したライン数を求め、ライン数が予め設定された
撮像ライン数と一致したときカウントを停止させ、この
垂直カウンタ46が動作している間だけ垂直同期信号が
出力される。
[0006] The timing of the start of image pickup by the line sensor camera 38 is determined by the recognition target 3 located at a predetermined position.
The detection sensor 39 outputs a detection signal, and the operation start detector 44 to which the detection signal is input is used to count the value of the vertical counter 46 when the count value of the distance measurement counter 42 matches a predetermined value set in advance. To start. The vertical counter 46 obtains the number of imaged lines by counting the horizontal synchronizing signal, and stops counting when the number of lines matches a preset number of imaged lines, and only while the vertical counter 46 is operating. A vertical synchronization signal is output.

【0007】前記ラインセンサカメラ38から出力され
る画像信号は、A/D変換器47によりA/D変換され
て画像記憶装置48に入力されるので、画像記憶装置4
8は水平同期信号及び垂直同期信号に基づいて2次元の
画像信号として画像記憶する。
The image signal output from the line sensor camera 38 is A / D converted by an A / D converter 47 and input to an image storage device 48.
Reference numeral 8 stores an image as a two-dimensional image signal based on the horizontal synchronization signal and the vertical synchronization signal.

【0008】上記ラインセンサカメラ38が認識対象物
33が移動しているか、もしくはラインセンサカメラ3
8を移動させることによって二次元画像を得るのに対し
て、エリアセンサカメラの場合は認識対象物33が静止
していても移動していても移動速度に左右されずに二次
元画像を直接に撮像できるので、ラインセンサカメラ3
8で対応し難い認識対象物33の状態によって有効に利
用できる。図6は、上記認識対象物33の撮像状態にエ
リアセンサカメラを適用した場合の構成である。但し、
上記構成と共通する構成要素の記載は省略している。
The line sensor camera 38 determines whether the recognition target 33 is moving or the line sensor camera 3
In contrast, in the case of an area sensor camera, the two-dimensional image is directly obtained regardless of the moving speed regardless of whether the recognition target 33 is stationary or moving. Since it is possible to take an image,
8 can be effectively used depending on the state of the recognition target 33 that is difficult to handle. FIG. 6 shows a configuration in a case where an area sensor camera is applied to the imaging state of the recognition target 33. However,
The description of the components common to the above configuration is omitted.

【0009】図6において、水平カウンタ53はクロッ
ク52からのクロック信号をカウントし、このカウント
値が予め設定された値と一致したとき水平同期信号を出
力すると共に、出力と同時にカウント値を0にクリアす
る動作を一定の周期で繰り返す。更に、前記水平同期信
号と一定の位相差を与えた読み出し信号を一定の周期で
出力する。また、垂直カウンタ54は撮像開始信号が入
力されることにより動作が開始され、垂直カウンタ54
の動作開始と同時に動作信号発生器55は、前記読み出
し信号と同期した撮像信号を生成する。動作信号発生器
55は読み出し信号をカウントするカウンタを備えてお
り、カウンタの出力を用いて読み出し信号に同期した前
記撮像信号を発生させる。この撮像信号をエリアセンサ
カメラ51に入力することにより、エリアセンサカメラ
51からアナログ画像信号が出力される。
In FIG. 6, a horizontal counter 53 counts a clock signal from a clock 52, outputs a horizontal synchronizing signal when the count value matches a preset value, and sets the count value to 0 simultaneously with the output. The clearing operation is repeated at a constant cycle. Further, a read signal having a predetermined phase difference from the horizontal synchronization signal is output at a constant cycle. The operation of the vertical counter 54 is started by the input of the imaging start signal, and the vertical counter 54
The operation signal generator 55 generates an image signal synchronized with the readout signal at the same time as the operation starts. The operation signal generator 55 includes a counter that counts the readout signal, and uses the output of the counter to generate the imaging signal synchronized with the readout signal. By inputting this imaging signal to the area sensor camera 51, an analog image signal is output from the area sensor camera 51.

【0010】前記アナログ画像信号はA/D変換器56
によりデジタル変換されて画像記憶装置57に入力され
る。画像記憶装置57は水平同期信号に従って1ライン
分の画像信号毎に記憶し、垂直同期信号が入力されてい
る間、これを繰り返すことによって二次元のデジタル画
像信号として記憶する。
The analog image signal is supplied to an A / D converter 56.
Are converted into digital data and input to the image storage device 57. The image storage device 57 stores the image signals for one line in accordance with the horizontal synchronization signal, and stores the image signal as a two-dimensional digital image signal by repeating this while the vertical synchronization signal is being input.

【0011】[0011]

【発明が解決しようとする課題】上記従来構成におい
て、認識対象物が同一またはほぼ同サイズのものである
ときは、1台のラインセンサカメラで撮像することがで
きるが、認識対象物のサイズが著しく異なる場合には、
分解能が異なる複数のラインセンサカメラを用意して、
認識対象物のサイズによって切り換える必要がある。し
かしながら、分解能が異なると、認識対象物の移動速度
を分解能の高いラインセンサカメラに合わせるか、分解
能の高いラインセンサカメラの動作クロックを速くして
分解能の低いラインセンサカメラに合わせる必要があ
る。ところが、分解能の差が大きいと動作クロックの差
も大きく、現実にはラインセンサカメラの動作クロック
の上限はほぼ一定で、認識対象物のサイズが著しく異な
る場合には、複数のラインセンサカメラを切り換えて対
処することは困難である。そこで、ラインセンサカメラ
とエリアセンサカメラとの組み合わせにより撮像装置を
構成することが考えられる。
In the above-mentioned conventional configuration, when the objects to be recognized are of the same size or substantially the same size, an image can be taken by one line sensor camera. If they differ significantly,
Prepare multiple line sensor cameras with different resolutions,
It is necessary to switch according to the size of the recognition target. However, if the resolution is different, it is necessary to match the moving speed of the recognition target with a high-resolution line sensor camera, or to increase the operation clock of the high-resolution line sensor camera to match the low-resolution line sensor camera. However, when the difference in resolution is large, the difference between operation clocks is also large.In practice, the upper limit of the operation clock of the line sensor camera is almost constant, and when the size of the recognition target is significantly different, multiple line sensor cameras are switched. It is difficult to deal with. Therefore, it is conceivable to configure an imaging device by a combination of a line sensor camera and an area sensor camera.

【0012】しかしながら、エリアセンサカメラとライ
ンセンサカメラとでは、動作構造が異なるため、動作ク
ロックやインタフェースをそれぞれ別に用意する必要が
あり、撮像装置の構成が複雑になる問題点があった。
However, since the area sensor camera and the line sensor camera have different operation structures, it is necessary to prepare an operation clock and an interface separately, and there has been a problem that the configuration of the imaging apparatus becomes complicated.

【0013】本発明は、動作構造の異なる複数のカメラ
を共通のインタフェースで制御すると共に、切り換え衝
撃による誤動作なく動作クロックを切り換えることがで
きる認識対象物の撮像方法及びその装置を提供すること
を目的とするものである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a method and an apparatus for capturing an image of an object to be recognized in which a plurality of cameras having different operation structures can be controlled by a common interface and the operation clock can be switched without malfunction due to switching impact. It is assumed that.

【0014】[0014]

【課題を解決するための手段】本願の第1発明は、動作
クロック及び動作信号のタイミングが異なる複数のカメ
ラを切り換え、移動する認識対象物を異なる分解能や撮
像範囲で取り込む認識対象物の撮像方法において、選択
された前記カメラが必要とする動作クロックを、クロッ
ク切り換え前後の各クロックに同期したタイミングで切
り換えると共に、前記認識対象物の移動距離に基づいて
水平同期信号と垂直同期信号と動作開始信号とを発生さ
せ、これらの信号に基づいて選択したカメラに対応する
撮像信号及び読み出し信号に切り換えてカメラに出力
し、複数のカメラから出力される画像信号を選択切り換
えし、前記水平同期信号及び垂直同期信号に同期させて
二次元画像信号に生成することを特徴とする。
According to a first aspect of the present invention, there is provided a method of imaging a recognition target object in which a plurality of cameras having different operation clocks and operation signal timings are switched to capture a moving recognition target object with different resolutions and imaging ranges. In the above, the operation clock required by the selected camera is switched at a timing synchronized with each clock before and after the clock switching, and a horizontal synchronization signal, a vertical synchronization signal, and an operation start signal based on the moving distance of the recognition object. Are generated, and are switched to an imaging signal and a readout signal corresponding to the camera selected based on these signals and output to the camera.Image signals output from a plurality of cameras are selectively switched, and the horizontal synchronization signal and the vertical A two-dimensional image signal is generated in synchronization with a synchronization signal.

【0015】上記撮像方法によれば、複数のカメラの動
作クロック及び動作信号のタイミングに対応させて、動
作クロックを切り換えると共に、共通の制御手段から出
力される水平同期信号と垂直同期信号と動作開始信号と
に基づいて選択されたカメラに応じた撮像信号及び読み
出し信号を出力する。動作クロックの切り換えは単純に
切り換えるとパルス状ノイズの発生により移動距離検出
パルス等に誤動作を与えるが、切り換え前後のクロック
に同期させて切り換えることにより誤動作を生じさせる
ことがない。また、各カメラから出力される画像信号は
選択切り換えされて前記水平同期信号及び垂直同期信号
に従って二次元画像として生成される。
According to the above imaging method, the operation clocks are switched in accordance with the operation clocks and operation signal timings of the plurality of cameras, and the horizontal synchronization signal and the vertical synchronization signal output from the common control means and the operation start. An image pickup signal and a readout signal corresponding to the camera selected based on the signal are output. When the operation clock is simply switched, erroneous operation occurs to the moving distance detection pulse or the like due to generation of pulse noise, but no malfunction occurs by switching in synchronization with the clocks before and after the switching. An image signal output from each camera is selectively switched to generate a two-dimensional image according to the horizontal synchronization signal and the vertical synchronization signal.

【0016】従って、複数のカメラを共通の制御手段で
制御しても誤動作を生じさせず、簡単な構成で認識対象
物を認識する分解能や撮像範囲に応じて複数のカメラを
切り換えることができる撮像方法を提供することができ
る。
Therefore, even if the plurality of cameras are controlled by the common control means, no malfunction occurs, and the imaging can be switched with the simple configuration according to the resolution for recognizing the object to be recognized and the imaging range. A method can be provided.

【0017】また、本願の第2発明は、動作クロック及
び動作信号のタイミングが異なる複数のカメラを切り換
えて移動する認識対象物を異なる分解能や撮像範囲で取
り込む認識対象物の撮像装置において、前記認識対象物
の所定撮像位置への移動を検出する撮像位置検出手段
と、選択された前記カメラが必要とする動作クロックを
クロック切り換え前後の各クロック周期に同期したタイ
ミングで切り換えて出力するクロック出力手段と、選択
された前記カメラが必要とする信号を出力する水平タイ
ミング発生手段と、前記撮像動作開始検出手段からの開
始信号入力から所定撮像期間までに垂直同期信号を出力
する垂直タイミング発生手段と、前記水平同期信号及び
垂直同期信号に基づいて前記画像信号を二次元画像とし
て記憶する画像記憶手段と、前記クロック出力手段及び
前記水平タイミング発生手段を選択したカメラが必要と
する状態に切り換えるカメラ切り換え手段とを具備して
なることを特徴とする。
According to a second aspect of the present invention, there is provided an image pickup apparatus for recognizing an object to be picked up at a different resolution and an image pickup range by switching a plurality of cameras having different operation clocks and operation signal timings. Imaging position detection means for detecting movement of a target object to a predetermined imaging position; and clock output means for switching and outputting an operation clock required by the selected camera at a timing synchronized with each clock cycle before and after clock switching. Horizontal timing generation means for outputting a signal required by the selected camera, vertical timing generation means for outputting a vertical synchronization signal from a start signal input from the imaging operation start detection means to a predetermined imaging period, Image storage for storing the image signal as a two-dimensional image based on a horizontal synchronization signal and a vertical synchronization signal And the step, characterized by comprising comprises a camera switching means for switching the state required by the clock output means and camera selects said horizontal timing generating means.

【0018】上記構成によれば、認識対象物を認識する
分解能や撮像範囲に適したカメラを選択するとき、カメ
ラ切り換え手段によりクロック出力手段、水平タイミン
グ発生手段が選択したカメラに対応する状態に切り換え
られるので、複数のカメラの動作クロック及び動作信号
のタイミングに対応させて、動作クロックを切り換える
と共に、共通の制御手段から出力される水平同期信号と
垂直同期信号と動作開始信号とに基づいて選択されたカ
メラに応じた撮像信号及び読み出し信号を出力すること
ができる。動作クロックの切り換えは単純に切り換える
とパルス状ノイズの発生により移動距離検出パルス等に
誤動作を与えるが、切り換え前後のクロックに同期させ
て切り換えることにより誤動作を生じさせることがな
い。また、各カメラから出力される画像信号は選択切り
換えされて前記水平同期信号及び垂直同期信号に従って
二次元画像として生成される。従って、複数のカメラを
共通の制御手段で制御しても誤動作を生じさせず、簡単
な構成で認識対象物を認識する分解能や撮像範囲に応じ
て複数のカメラを切り換えることができる撮像装置を提
供することができる。
According to the above arrangement, when selecting a camera suitable for the resolution or the imaging range for recognizing the object to be recognized, the camera switching means switches the clock output means and the horizontal timing generation means to a state corresponding to the selected camera. Therefore, the operation clocks are switched in accordance with the operation clocks and operation signal timings of the plurality of cameras, and are selected based on the horizontal synchronization signal, the vertical synchronization signal, and the operation start signal output from the common control means. Image signals and readout signals corresponding to the cameras that have been used. When the operation clock is simply switched, erroneous operation occurs to the moving distance detection pulse or the like due to generation of pulse noise, but no malfunction occurs by switching in synchronization with the clocks before and after the switching. An image signal output from each camera is selectively switched to generate a two-dimensional image according to the horizontal synchronization signal and the vertical synchronization signal. Accordingly, there is provided an imaging apparatus capable of switching between a plurality of cameras according to a resolution and an imaging range for recognizing a recognition target object with a simple configuration without causing a malfunction even when a plurality of cameras are controlled by a common control unit. can do.

【0019】[0019]

【発明の実施の形態】以下、添付図面を参照して本発明
の一実施形態について説明し、本発明の理解に供する。
尚、以下に示す実施形態は本発明を具体化した一例であ
って、本発明の技術的範囲を限定するものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the accompanying drawings to provide an understanding of the present invention.
The embodiment described below is an example embodying the present invention, and does not limit the technical scope of the present invention.

【0020】図1は本発明の一実施形態に係る撮像装置
の構成を示すブロック図、図2は同装置における水平カ
ウンタの構成を示すブロック図、図3はクロック切り換
え構造を示す構成図、図4はクロック切り換えの動作を
説明するクロック切り換えのタイミングチャートであ
る。
FIG. 1 is a block diagram showing a configuration of an imaging apparatus according to an embodiment of the present invention, FIG. 2 is a block diagram showing a configuration of a horizontal counter in the apparatus, and FIG. 3 is a configuration diagram showing a clock switching structure. FIG. 4 is a timing chart of clock switching for explaining the clock switching operation.

【0021】図1において、認識対象物20は、モータ
18によって回転駆動されるボールネジ19に取り付け
られた移動ヘッド21に保持されて一定速度で搬送され
るように構成され、本実施形態になる撮像装置1は、こ
の認識対象物20のサイズや種類に応じてラインセンサ
カメラ2とエリアセンサカメラ3とを切り換えて撮像で
きるように構成されている。
In FIG. 1, an object 20 to be recognized is held at a moving head 21 attached to a ball screw 19 rotated and driven by a motor 18 and is conveyed at a constant speed. The device 1 is configured to be able to switch between the line sensor camera 2 and the area sensor camera 3 according to the size and type of the recognition target object 20 to capture an image.

【0022】撮像装置1は、撮像部Aと、制御部Bと、
クロック部(クロック出力手段)Cと、画像処理部D
と、カメラ切換部(カメラ切換手段)Eとを備えて構成
されている。以下に各部の構成を順を追って説明する。
The imaging apparatus 1 includes an imaging unit A, a control unit B,
A clock section (clock output means) C and an image processing section D
And a camera switching unit (camera switching means) E. The configuration of each unit will be described below in order.

【0023】撮像部Aは、ラインセンサカメラ2及びエ
リアセンサカメラ3の各撮像カメラと、各撮像カメラの
撮像視野を損なうことなく認識対象物20を照明する照
明装置4と、各撮像カメラに対応する撮像信号、読み出
し信号、クロック信号及び照明点灯信号をラインセンサ
カメラ2またはエリアセンサカメラ3の動作に応じて出
力する動作信号発生部(動作信号発生手段)17とを備
えて構成されている。
The image pickup section A includes an image pickup camera of the line sensor camera 2 and the area sensor camera 3, an illuminating device 4 for illuminating the recognition target 20 without impairing the image pickup field of each image pickup camera, and an image pickup camera. And an operation signal generation unit (operation signal generation means) 17 that outputs an imaging signal, a readout signal, a clock signal, and an illumination lighting signal according to the operation of the line sensor camera 2 or the area sensor camera 3.

【0024】前記動作信号発生部17は、ラインセンサ
カメラ2とエリアセンサカメラ3とによって水平同期信
号及び読み出し信号の位相差が異なるので、カメラ切換
部Eからのカメラ切り換え信号(s)により、クロック
部Cから出力されるクロックで動作するカウンタを用い
て、カウント値が予め与えられた所定値になったとき読
み出し信号を発生させる。前記カウント値はラインセン
サカメラ2とエリアセンサカメラ3とに対応する所定値
をそれぞれ予め設定しておき、前記カメラ切り換え信号
(s)によって切り換えられる。また、入力される垂直
同期信号から前記照明装置4の点灯時間を制御する。ラ
インセンサカメラ2を使用するときは、前記垂直同期信
号が入力されている間は照明点灯信号を出力する。エリ
アセンサカメラ3を使用するときは、前記垂直同期信号
が入力された短時間(例えば、水平同期信号の半周期)
だけ照明点灯信号を出力する。照明装置4は、照明点灯
信号が入力したときにのみ点灯して認識対象物20を照
明する。
Since the phase difference between the horizontal synchronizing signal and the readout signal differs between the line sensor camera 2 and the area sensor camera 3, the operation signal generation unit 17 generates a clock by the camera switching signal (s) from the camera switching unit E. A read signal is generated when the count value reaches a predetermined value using a counter that operates with the clock output from the unit C. The count value is set in advance to a predetermined value corresponding to each of the line sensor camera 2 and the area sensor camera 3, and is switched by the camera switching signal (s). Further, the lighting time of the lighting device 4 is controlled from the input vertical synchronization signal. When the line sensor camera 2 is used, an illumination lighting signal is output while the vertical synchronization signal is being input. When the area sensor camera 3 is used, a short time (for example, a half cycle of the horizontal synchronization signal) when the vertical synchronization signal is input is used.
Only the lighting signal is output. The lighting device 4 lights up only when the lighting lighting signal is input, and illuminates the recognition target object 20.

【0025】制御部Bには、認識対象物20を搬送する
搬送部のモータ18の回転数を検出するエンコーダ15
からの出力信号、撮像位置に到達した認識対象物20を
検出する位置検出センサ(撮像位置検出手段)16から
の検出信号、クロック部Cからのクロック信号が入力さ
れる。前記エンコーダ15からの出力信号の周期は、認
識対象物20の移動速度に比例しているので、これをピ
ッチカウンタ(移動距離検出手段)5により移動速度パ
ルスとして検出し、一定距離に相当するピッチ毎にピッ
チ信号を出力する。
The control unit B includes an encoder 15 for detecting the number of rotations of the motor 18 of the transport unit that transports the recognition target 20.
, A detection signal from a position detection sensor (imaging position detecting means) 16 that detects the recognition target 20 that has reached the imaging position, and a clock signal from the clock unit C. Since the period of the output signal from the encoder 15 is proportional to the moving speed of the recognition target 20, this is detected as a moving speed pulse by the pitch counter (moving distance detecting means) 5, and the pitch corresponding to a certain distance is detected. A pitch signal is output every time.

【0026】前記ピッチ信号を距離測定カウンタ6によ
ってカウントすることにより認識対象物20の移動距離
を測定することができ、移動距離測定信号は動作開始検
出部(撮像動作開始検出手段)7に入力される。動作開
始検出部7は前記位置検出センサ16からの検出信号が
入力されたときから、前記距離測定カウンタ6のカウン
ト値が所定値になったときに、垂直カウンタ(垂直タイ
ミング発生手段)9に動作信号を出力するので、垂直カ
ウンタ9は動作開始して垂直同期信号を出力する。前記
ピッチカウンタ5からのピッチ信号は水平カウンタ(水
平タイミング発生手段)8にも入力され、水平カウンタ
8は動作クロックに基づいてピッチ信号をカウントす
る。この水平カウンタ8は、図4に示すように構成され
ており、ラインセンサカメラ2を使用するときはピッチ
カウンタ5からのピッチ信号をクリア信号としてカウン
タ26のカウント値がクリアされる。一方、エリアセン
サカメラ3を使用するときは水平周期比較器28の出力
信号をクリア信号としてカウント値がクリアされる。前
記水平周期比較器28はカウンタ26の出力と予め設定
された値と比較して一致したときにクリア信号を出力す
る。これにより、水平カウンタ8は、ラインセンサカメ
ラ2を使用するときには認識対象物20の移動距離に同
期して動作し、エリアセンサカメラ3を使用するときに
は所定の一定周期で動作する。また、前記水平周期比較
器28の出力信号は、動作信号として撮像部Aの動作信
号発生部17に入力される。更に、水平同期比較器27
はカウンタ26の出力と予め設定された値とを比較して
水平同期信号を出力する。この動作により、動作信号と
水平同期信号とが同期した状態で出力される。
The movement distance of the recognition target 20 can be measured by counting the pitch signal by the distance measurement counter 6, and the movement distance measurement signal is input to the operation start detecting section (imaging operation start detecting means) 7. You. The operation start detecting section 7 operates the vertical counter (vertical timing generation means) 9 when the count value of the distance measurement counter 6 reaches a predetermined value from the time when the detection signal from the position detection sensor 16 is input. Since the signal is output, the vertical counter 9 starts operating and outputs a vertical synchronization signal. The pitch signal from the pitch counter 5 is also input to a horizontal counter (horizontal timing generating means) 8, and the horizontal counter 8 counts the pitch signal based on an operation clock. The horizontal counter 8 is configured as shown in FIG. 4, and when the line sensor camera 2 is used, the count value of the counter 26 is cleared using the pitch signal from the pitch counter 5 as a clear signal. On the other hand, when the area sensor camera 3 is used, the count value is cleared using the output signal of the horizontal period comparator 28 as a clear signal. The horizontal cycle comparator 28 compares the output of the counter 26 with a preset value and outputs a clear signal when they match. Thus, the horizontal counter 8 operates in synchronization with the moving distance of the recognition target object 20 when using the line sensor camera 2, and operates at a predetermined constant cycle when using the area sensor camera 3. The output signal of the horizontal period comparator 28 is input to the operation signal generator 17 of the imaging unit A as an operation signal. Further, the horizontal synchronization comparator 27
Outputs a horizontal synchronization signal by comparing the output of the counter 26 with a preset value. With this operation, the operation signal and the horizontal synchronization signal are output in a synchronized state.

【0027】前記垂直カウンタ9は、前記撮像開始信号
により動作開始したときから前記水平同期信号をカウン
トし、撮像動作が行われている間は垂直同期信号を画像
記憶装置14に出力する。従って、ラインセンサカメラ
2とエリアセンサカメラ3とによって動作クロックが違
っていても、その動作に影響しない。
The vertical counter 9 counts the horizontal synchronizing signal from the start of the operation in response to the imaging start signal, and outputs the vertical synchronizing signal to the image storage device 14 while the imaging operation is being performed. Therefore, even if the operation clock is different between the line sensor camera 2 and the area sensor camera 3, it does not affect the operation.

【0028】クロック部Cは、ラインセンサカメラ2を
使用するときと、エリアセンサカメラ3を使用するとき
とによって異なる動作クロックを切り換え衝撃を与える
ことなく切り換えて出力する。クロック部Cは、エリア
センサカメラ2の動作クロックCLK1を発生させる発
振器10aと、エリアセンサカメラ3の動作クロックC
LK2を発生させる発振器10bとを備え、クロック切
換器11によって動作クロックCLK1と動作クロック
CLK2とを切り換えて出力する。このクロック切換器
11は、図3に示すように構成され、4つのフリップフ
ロップ回路22〜25はDラッチとして構成され、カメ
ラ切換部Eから出力されるクロック切り換え信号(t)
のハイレベル(H)とローレベル(L)とによって動作
クロックCLK1もしくは動作クロックCLK2を出力
する。
The clock section C switches between different operation clocks when the line sensor camera 2 is used and when the area sensor camera 3 is used, and outputs the clocks without giving an impact. The clock unit C includes an oscillator 10a for generating an operation clock CLK1 of the area sensor camera 2, and an operation clock C of the area sensor camera 3.
An oscillator 10b for generating LK2 is provided. The clock switch 11 switches and outputs the operation clock CLK1 and the operation clock CLK2. The clock switch 11 is configured as shown in FIG. 3, and the four flip-flop circuits 22 to 25 are configured as D latches, and a clock switching signal (t) output from the camera switching unit E.
The operation clock CLK1 or the operation clock CLK2 is output in accordance with the high level (H) and the low level (L).

【0029】図3に示すように、フリップフロップ回路
22、23にはクロックCLK1が入力され、フリップ
フロップ回路24、25にはクロックCLK2が入力さ
れ、カメラ切換部Eから出力されたクロック切り換え信
号(t)はフリップフロップ回路22、24に入力さ
れ、フリップフロップ回路23にはフリップフロップ回
路24の出力信号、フリップフロップ回路25にはフリ
ップフロップ回路22の出力信号が入力されるので、図
4に示すように、クロック切り換え信号(t)のローレ
ベルとハイレベルとの切り換えにより、クロックCLK
1またはクロックCLK2の立ち上がりから次の立ち上
がりまでをラッチし、クロックCLK1とクロックCL
K2とは固定期間を介在させて切り換えられる。従っ
て、スイッチ等による切り換えによるパルスノイズの発
生はなく、パルス信号に基づいて動作する制御部Bに誤
動作を生じさせることがない。
As shown in FIG. 3, the clock CLK1 is input to the flip-flop circuits 22 and 23, the clock CLK2 is input to the flip-flop circuits 24 and 25, and the clock switching signal ( t) is input to the flip-flop circuits 22 and 24, and the output signal of the flip-flop circuit 24 is input to the flip-flop circuit 23 and the output signal of the flip-flop circuit 22 is input to the flip-flop circuit 25, and is shown in FIG. As described above, by switching between the low level and the high level of the clock switching signal (t), the clock CLK
1 or from the rising edge of the clock CLK2 to the next rising edge.
It is switched with K2 with a fixed period in between. Therefore, no pulse noise is generated by switching with a switch or the like, and no malfunction occurs in the control unit B that operates based on the pulse signal.

【0030】画像処理部Dは、カメラ切換部Eから出力
される画像信号切り換え信号(i)によりラインセンサ
カメラ2からの画像信号とエリアセンサカメラ3からの
画像信号とのいずれか一方だけを出力する画像信号切換
部12と、アナログ信号である画像信号をデジタル変換
するA/D変換部13と、デジタル画像信号を制御部B
から入力される水平同期信号及び垂直同期信号を用いて
二次元の画像信号にして記憶する画像記憶装置14とを
備えて構成されている。
The image processing unit D outputs only one of the image signal from the line sensor camera 2 and the image signal from the area sensor camera 3 according to the image signal switching signal (i) output from the camera switching unit E. , An A / D converter 13 for converting an image signal, which is an analog signal, into a digital signal, and a controller B
And an image storage device 14 that stores a two-dimensional image signal using the horizontal synchronization signal and the vertical synchronization signal input from the storage device.

【0031】カメラ切換部Eは、認識対象物20のサイ
ズや移動速度等の条件によりカメラを切り換えるとき、
クロック切換器11にクロック切り換え信号(t)、動
作信号発生部17にカメラ切り換え信号(s)、画像信
号切換部12に画像切り換え信号(i)、水平カウンタ
8にクリア切り換え信号(c)を出力する。このカメラ
切り換え信号(s)及び画像切り換え信号(i)は、前
述したクロック切り換え信号(t)のようにハイレベル
信号とローレベル信号との切り換え、または、オン/オ
フ信号でよい。
When the camera switching unit E switches cameras according to conditions such as the size and moving speed of the recognition target 20,
A clock switch signal (t) is output to the clock switch 11, a camera switch signal (s) is output to the operation signal generator 17, an image switch signal (i) is output to the image signal switch 12, and a clear switch signal (c) is output to the horizontal counter 8. I do. The camera switching signal (s) and the image switching signal (i) may be switching between a high-level signal and a low-level signal or an on / off signal like the clock switching signal (t) described above.

【0032】上記のように構成された撮像装置1によ
り、ラインセンサカメラ2及びエリアセンサカメラ3に
よって撮像する場合の、それぞれの動作を順を追って説
明する。
The respective operations of the image pickup apparatus 1 having the above-described configuration when an image is picked up by the line sensor camera 2 and the area sensor camera 3 will be described in order.

【0033】〔ラインセンサカメラ2による撮像動作〕 (1)エンコーダ15からの出力信号をピッチカウンタ
5でカウントして、認識対象物20が一定距離移動する
のに相当するカウント値毎にピッチ信号を出力する。こ
のピッチ信号の間隔がラインセンサカメラ2による認識
対象物20の移動方向分解能となる。
[Imaging Operation by Line Sensor Camera 2] (1) An output signal from the encoder 15 is counted by the pitch counter 5, and a pitch signal is generated for each count value corresponding to the recognition target 20 moving a fixed distance. Output. The pitch signal interval is the resolution in the moving direction of the recognition target 20 by the line sensor camera 2.

【0034】(2)前記ピッチ信号を距離測定カウンタ
6でカウントして、認識対象物20の移動距離を測定す
る。
(2) The pitch signal is counted by the distance measurement counter 6 to measure the moving distance of the recognition target 20.

【0035】(3)位置検出センサ16が撮像位置に認
識対象物20が移動してきたことを検出し、検出信号が
動作開始検出部7に入力されたとき、動作開始検出部7
は垂直カウンタ9を動作開始させ、垂直同期信号が出力
される。
(3) When the position detection sensor 16 detects that the recognition target 20 has moved to the image pickup position, and a detection signal is input to the operation start detection unit 7, the operation start detection unit 7
Starts the vertical counter 9 and outputs a vertical synchronization signal.

【0036】(4)垂直同期信号は動作信号発生部17
に入力され、動作信号発生部17が出力する照明点灯信
号により照明装置4が点灯し、所定位置に移動してきた
認識対象物20を照明する。
(4) The vertical synchronizing signal is supplied to the operation signal generator 17.
The lighting device 4 is turned on by a lighting lighting signal output from the operation signal generating unit 17 and illuminates the recognition target 20 that has moved to a predetermined position.

【0037】(5)ピッチカウンタ5からのピッチ信号
により水平カウンタ8のカウント値がクリアされた後、
動作クロックのカウントを開始して、予め設定された値
とカウント値とが一致したとき、動作開始信号と水平同
期信号とを出力する。この動作によりラインセンサカメ
ラ2が出力するアナログ画像信号と水平同期信号とは常
に一定の位相差を保つ。
(5) After the count value of the horizontal counter 8 is cleared by the pitch signal from the pitch counter 5,
When the count of the operation clock is started and the preset value matches the count value, an operation start signal and a horizontal synchronization signal are output. With this operation, the analog image signal output from the line sensor camera 2 and the horizontal synchronizing signal always keep a constant phase difference.

【0038】(6)動作信号発生部17は動作クロック
により動作開始信号から更に一定の位相差に生成した読
み出し信号をラインセンサカメラ2に入力する。
(6) The operation signal generator 17 inputs the readout signal generated with a certain phase difference from the operation start signal by the operation clock to the line sensor camera 2.

【0039】(7)ラインセンサカメラ2は前記読み出
し信号と動作クロックに従って1ラインのアナログ画像
信号を出力する。
(7) The line sensor camera 2 outputs a one-line analog image signal in accordance with the readout signal and the operation clock.

【0040】(8)画像信号切換部12は入力されたア
ナログ画像信号をA/D変換部13に出力し、A/D変
換部13はアナログ画像信号をデジタル画像信号に変換
して画像記憶装置14に入力する。
(8) The image signal switching unit 12 outputs the input analog image signal to the A / D conversion unit 13, and the A / D conversion unit 13 converts the analog image signal into a digital image signal and converts the analog image signal into a digital image signal. Input to 14.

【0041】(9)画像記憶装置14は水平同期信号に
従って1ライン分のデジタル画像信号を記憶し、この動
作を垂直同期信号が入力されている間繰り返すことによ
って二次元の画像信号を記憶する。
(9) The image storage device 14 stores a digital image signal for one line in accordance with the horizontal synchronizing signal, and repeats this operation while the vertical synchronizing signal is being input, thereby storing a two-dimensional image signal.

【0042】(10)垂直カウンタ9のカウント値が予
め設定された撮像ライン数と一致したとき、垂直同期信
号の出力が停止され、撮像動作が終了する。
(10) When the count value of the vertical counter 9 matches the preset number of imaging lines, the output of the vertical synchronizing signal is stopped, and the imaging operation ends.

【0043】以上のラインセンサカメラ2による撮像か
らエリアセンサカメラ3による撮像に切り換えるとき、
あるいは、その逆の状態に切り換えるときには、カメラ
切換部Eにより、クロック部C、動作信号発生部17、
画像信号切換部12、水平カウンタ8の設定をエリアセ
ンサカメラ3またはラインセンサカメラ2の撮像状態に
切り換える。
When switching from the imaging by the line sensor camera 2 to the imaging by the area sensor camera 3 as described above,
Alternatively, when switching to the opposite state, the camera switching unit E causes the clock unit C, the operation signal generation unit 17,
The setting of the image signal switching unit 12 and the horizontal counter 8 is switched to the imaging state of the area sensor camera 3 or the line sensor camera 2.

【0044】〔エリアセンサカメラ3による撮像動作〕 (1)エンコーダ15からの出力信号をピッチカウンタ
5でカウントして、認識対象物20が一定距離移動する
のに相当するカウント値毎にピッチ信号を出力する。
[Imaging operation by the area sensor camera 3] (1) The output signal from the encoder 15 is counted by the pitch counter 5, and the pitch signal is generated for each count value corresponding to the movement of the recognition target 20 by a fixed distance. Output.

【0045】(2)前記ピッチ信号を距離測定カウンタ
6でカウントして、認識対象物20の移動距離を測定す
る。
(2) The pitch signal is counted by the distance measuring counter 6 to measure the moving distance of the recognition target 20.

【0046】(3)位置検出センサ16が撮像位置に認
識対象物20が移動してきたことを検出し、検出信号が
動作開始検出部7に入力されたとき、動作開始検出部7
は垂直カウンタ9を動作開始させ、垂直同期信号が出力
される。
(3) When the position detection sensor 16 detects that the recognition target 20 has moved to the image pickup position, and a detection signal is input to the operation start detection unit 7, the operation start detection unit 7
Starts the vertical counter 9 and outputs a vertical synchronization signal.

【0047】(4)垂直同期信号は動作信号発生部17
に入力され、動作信号発生部17が出力する照明点灯信
号により照明装置4は1水平同期期間だけ点灯し、所定
位置に移動してきた認識対象物20を照明する。
(4) The vertical synchronizing signal is supplied to the operation signal generator 17.
The illumination device 4 is lit for one horizontal synchronization period by the illumination lighting signal output from the operation signal generation unit 17 and illuminates the recognition target 20 that has moved to a predetermined position.

【0048】(5)ピッチカウンタ5からのピッチ信号
により水平カウンタ8のカウント値がクリアされた後、
動作クロックのカウントを開始して、予め設定された値
とカウント値とが一致したとき、動作開始信号と水平同
期信号とを出力し、カウント値が1水平同期期間分に相
当する値になったとき、水平カウンタ8自身の出力を0
にクリアする。この動作によりラインセンサカメラ2が
出力するアナログ画像信号と水平同期信号とは常に一定
の位相差を保ち、且つ1ライン分の画像信号を読み出す
期間は一定に保たれる。
(5) After the count value of the horizontal counter 8 is cleared by the pitch signal from the pitch counter 5,
When the count of the operation clock is started and the preset value matches the count value, an operation start signal and a horizontal synchronization signal are output, and the count value becomes a value corresponding to one horizontal synchronization period. When the output of the horizontal counter 8 itself is 0,
To clear. By this operation, the analog image signal output from the line sensor camera 2 and the horizontal synchronizing signal always keep a constant phase difference, and the period during which one line of image signal is read is kept constant.

【0049】(6)動作信号発生部17は動作クロック
により動作開始信号から更に一定の位相差に生成した読
み出し信号をエリアセンサカメラ3に入力する。
(6) The operation signal generator 17 inputs the read signal generated with a further constant phase difference from the operation start signal by the operation clock to the area sensor camera 3.

【0050】(7)画像信号切換部12はエリアセンサ
カメラ3が出力するアナログ画像信号をA/D変換部1
3に出力し、A/D変換部13はアナログ画像信号をデ
ジタル画像信号に変換して画像記憶装置14に入力す
る。
(7) The image signal switching unit 12 converts the analog image signal output from the area sensor camera 3 into the A / D converter 1
The A / D converter 13 converts the analog image signal into a digital image signal and inputs the digital image signal to the image storage device 14.

【0051】(8)画像記憶装置14は水平同期信号に
従って1ライン分のデジタル画像信号を記憶し、この動
作を垂直同期信号が入力されている間繰り返すことによ
って二次元の画像信号を記憶する。
(8) The image storage device 14 stores a digital image signal for one line according to the horizontal synchronization signal, and stores a two-dimensional image signal by repeating this operation while the vertical synchronization signal is being input.

【0052】(9)垂直カウンタ9のカウント値が予め
設定された撮像ライン数と一致したとき、垂直同期信号
の出力が停止され、撮像動作が終了する。
(9) When the count value of the vertical counter 9 matches the preset number of imaging lines, the output of the vertical synchronizing signal is stopped, and the imaging operation ends.

【0053】以上説明した撮像装置1により、認識対象
物20を連続して撮像する場合には、認識対象物20の
サイズにより、位置検出センサ16による認識対象物2
0の検出から撮像開始するまでの距離を予め求めてお
き、これを動作開始検出部7に与えておくことによって
実施できる。
When the image of the recognition target 20 is continuously taken by the imaging apparatus 1 described above, the position of the recognition target 2 by the position detection sensor 16 depends on the size of the recognition target 20.
The distance from the detection of 0 to the start of imaging can be obtained in advance, and the distance can be given to the operation start detection unit 7 to implement this.

【0054】動作開始検出部7は、位置検出センサ16
からの検出信号が入力されたから、距離測定カウンタ6
がカウントする距離が予め設定した距離に一致したと
き、垂直カウンタ9の動作を開始させる。
The operation start detecting section 7 includes a position detecting sensor 16.
From the distance measurement counter 6
Starts the operation of the vertical counter 9 when the counted distance matches the preset distance.

【0055】[0055]

【発明の効果】以上の説明の通り本願の第1発明によれ
ば、複数のカメラの動作クロック及び動作信号のタイミ
ングに対応させて、動作クロックを切り換えると共に、
共通の制御手段から出力される水平同期信号と垂直同期
信号と動作開始信号とに基づいて選択されたカメラに応
じた撮像信号もしくは読み出し信号を出力する。動作ク
ロックの切り換えは単純に切り換えるとパルス状ノイズ
の発生により移動距離検出パルス等に誤動作を与える
が、切り換え前後のクロックに同期させて切り換えるこ
とにより誤動作を生じさせることがない。また、各カメ
ラから出力される画像信号は選択切り換えされて前記水
平同期信号及び垂直同期信号に従って二次元画像として
生成される。従って、複数のカメラを共通の制御手段で
制御しても誤動作を生じさせず、簡単な構成で認識対象
物を認識する分解能や撮像範囲に応じて複数のカメラを
切り換えることができる撮像方法を提供することができ
る。
As described above, according to the first aspect of the present invention, the operation clocks are switched in accordance with the operation clocks and operation signal timings of a plurality of cameras.
An image pickup signal or a readout signal corresponding to a camera selected based on the horizontal synchronization signal, the vertical synchronization signal, and the operation start signal output from the common control unit is output. When the operation clock is simply switched, erroneous operation occurs to the moving distance detection pulse or the like due to generation of pulse noise, but no malfunction occurs by switching in synchronization with the clocks before and after the switching. An image signal output from each camera is selectively switched to generate a two-dimensional image according to the horizontal synchronization signal and the vertical synchronization signal. Therefore, there is provided an imaging method capable of switching between a plurality of cameras according to a resolution and an imaging range for recognizing a recognition target object with a simple configuration without causing a malfunction even when a plurality of cameras are controlled by a common control unit. can do.

【0056】また、本願の第2発明によれば、認識対象
物を認識する分解能や撮像範囲に適したカメラを選択す
るとき、カメラ切り換え手段によりクロック出力手段及
び画像信号切り換え手段が選択したカメラに対応する状
態に切り換えられるので、複数のカメラの動作クロック
及び動作信号のタイミングに対応させて、動作クロック
を切り換えると共に、共通の制御手段から出力される水
平同期信号と垂直同期信号と動作開始信号とに基づいて
選択されたカメラに応じた撮像信号もしくは読み出し信
号を出力することができる。動作クロックの切り換えは
単純に切り換えるとパルス状ノイズの発生により移動距
離検出パルス等に誤動作を与えるが、切り換え前後のク
ロックに同期させて切り換えることにより誤動作を生じ
させることがない。また、各カメラから出力される画像
信号は選択切り換えされて前記水平同期信号及び垂直同
期信号に従って二次元画像として生成される。従って、
複数のカメラを共通の制御手段で制御しても誤動作を生
じさせず、簡単な構成で認識対象物を認識する分解能や
撮像範囲に応じて複数のカメラを切り換えることができ
る撮像装置を提供することができる。
Further, according to the second aspect of the present invention, when selecting a camera suitable for the resolution and the imaging range for recognizing the object to be recognized, the camera switching means switches the clock output means and the image signal switching means to the selected camera. Since the state can be switched to the corresponding state, the operation clocks are switched in accordance with the operation clocks and operation signal timings of the plurality of cameras, and the horizontal synchronization signal, the vertical synchronization signal, the operation start signal, and the horizontal synchronization signal output from the common control unit are changed. Can output an image pickup signal or a readout signal corresponding to the camera selected based on the image data. When the operation clock is simply switched, erroneous operation occurs to the moving distance detection pulse or the like due to generation of pulse noise, but no malfunction occurs by switching in synchronization with the clocks before and after the switching. An image signal output from each camera is selectively switched to generate a two-dimensional image according to the horizontal synchronization signal and the vertical synchronization signal. Therefore,
Provided is an imaging apparatus which can switch between a plurality of cameras in accordance with a resolution and an imaging range for recognizing a recognition target object with a simple configuration without causing a malfunction even when a plurality of cameras are controlled by a common control unit. Can be.

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

【図1】本発明の一実施形態に係る撮像装置の構成を示
すブロック図。
FIG. 1 is a block diagram showing a configuration of an imaging device according to an embodiment of the present invention.

【図2】同装置における水平カウンタの構成を示すブロ
ック図。
FIG. 2 is a block diagram showing a configuration of a horizontal counter in the device.

【図3】同装置におけるクロック切り換え器の構成を示
すブロック図。
FIG. 3 is a block diagram showing a configuration of a clock switch in the device.

【図4】同クロック切り換え器の動作を説明するタイミ
ングチャート。
FIG. 4 is a timing chart illustrating the operation of the clock switching device.

【図5】従来例に係るラインセンサカメラによる撮像装
置の構成を示すブロック図。
FIG. 5 is a block diagram showing a configuration of an imaging device using a line sensor camera according to a conventional example.

【図6】従来例に係るエリアセンサカメラによる撮像装
置の構成を示すブロック図。
FIG. 6 is a block diagram showing a configuration of an imaging device using an area sensor camera according to a conventional example.

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

1 撮像装置 2 ラインセンサカメラ 3 エリアセンサカメラ 5 ピッチカウンタ(移動距離検出手段) 7 動作開始検出部(撮像動作開始検出手段) 8 水平カウンタ(水平タイミング発生手段) 9 垂直カウンタ(垂直タイミング発生手段) 11 クロック切換器 12 画像信号切換部(画像信号切換手段) 14 画像記憶装置(画像記憶手段) 15 エンコーダ(移動距離検出手段) 16 位置検出センサ(撮像位置検出手段) 17 動作信号発生部(動作信号発生手段) A 撮像部 B 制御部 C クロック部(クロック出力手段) D 画像処理部 E カメラ切換部(カメラ切換手段) Reference Signs List 1 imaging device 2 line sensor camera 3 area sensor camera 5 pitch counter (moving distance detecting means) 7 operation start detecting section (imaging operation start detecting means) 8 horizontal counter (horizontal timing generating means) 9 vertical counter (vertical timing generating means) REFERENCE SIGNS LIST 11 clock switch 12 image signal switching unit (image signal switching unit) 14 image storage device (image storage unit) 15 encoder (moving distance detection unit) 16 position detection sensor (imaging position detection unit) 17 operation signal generation unit (operation signal) Generating means) A imaging unit B control unit C clock unit (clock output unit) D image processing unit E camera switching unit (camera switching unit)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 動作クロック及び動作信号のタイミング
が異なる複数のカメラを切り換え、移動する認識対象物
を異なる分解能や撮像範囲で取り込む認識対象物の撮像
方法において、 選択された前記カメラが必要とする前記動作クロック
を、クロック切り換え前後の各クロックに同期したタイ
ミングで切り換えると共に、前記認識対象物の移動距離
に基づいて水平同期信号と垂直同期信号と動作開始信号
とを発生させ、これらの信号に基づいて選択したカメラ
に対応する撮像信号及び読み出し信号をカメラに出力
し、複数のカメラから出力される画像信号を前記水平同
期信号及び垂直同期信号に同期させて二次元画像信号に
生成することを特徴とする認識対象物の撮像方法。
1. A method for imaging a recognition target in which a plurality of cameras having different operation clocks and operation signal timings are switched and a moving recognition target is captured with different resolutions and imaging ranges is required by the selected camera. The operation clock is switched at a timing synchronized with each clock before and after the clock switching, and a horizontal synchronization signal, a vertical synchronization signal, and an operation start signal are generated based on the moving distance of the recognition target, and based on these signals, Outputting an imaging signal and a readout signal corresponding to the selected camera to the camera, and synchronizing image signals output from the plurality of cameras with the horizontal synchronization signal and the vertical synchronization signal to generate a two-dimensional image signal. The imaging method of the recognition target object to be described.
【請求項2】 動作クロック及び動作信号のタイミング
が異なる複数のカメラを切り換え、移動する認識対象物
を異なる分解能や撮像範囲で取り込む認識対象物の撮像
装置において、 前記認識対象物の所定撮像位置への移動を検出する撮像
位置検出手段と、選択された前記カメラが必要とする動
作クロックをクロック切り換え前後の各クロック周期に
同期したタイミングで切り換えて出力するクロック出力
手段と、選択された前記カメラが必要とする動作開始信
号を出力する水平タイミング発生手段と、前記撮像動作
開始検出手段からの信号入力から所定撮像期間までに垂
直同期信号を出力する垂直タイミング発生手段と、前記
水平同期信号及び垂直同期信号に基づいて前記画像信号
を二次元画像として記憶する画像記憶手段と、前記クロ
ック出力手段及び前記水平タイミング発生手段を選択し
たカメラが必要とする状態に切り換えるカメラ切り換え
手段とを具備してなることを特徴とする認識対象物の撮
像装置。
2. An imaging device for a recognition target, which switches between a plurality of cameras having different operation clocks and operation signal timings and captures a moving recognition target with different resolutions and imaging ranges. Imaging position detecting means for detecting movement of the selected camera, clock output means for switching and outputting an operation clock required by the selected camera at a timing synchronized with each clock cycle before and after clock switching, and Horizontal timing generation means for outputting a required operation start signal, vertical timing generation means for outputting a vertical synchronization signal from a signal input from the imaging operation start detection means to a predetermined imaging period, and the horizontal synchronization signal and the vertical synchronization Image storage means for storing the image signal as a two-dimensional image based on the signal; Imaging device of the recognition target object, characterized in that the output means and camera selects said horizontal timing generating means is comprises a camera switching means for switching to a state in need.
JP19755197A 1997-07-23 1997-07-23 Method and apparatus for imaging recognition target object and component mounting method and apparatus using the same Expired - Fee Related JP3458052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19755197A JP3458052B2 (en) 1997-07-23 1997-07-23 Method and apparatus for imaging recognition target object and component mounting method and apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19755197A JP3458052B2 (en) 1997-07-23 1997-07-23 Method and apparatus for imaging recognition target object and component mounting method and apparatus using the same

Publications (2)

Publication Number Publication Date
JPH1137954A true JPH1137954A (en) 1999-02-12
JP3458052B2 JP3458052B2 (en) 2003-10-20

Family

ID=16376378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19755197A Expired - Fee Related JP3458052B2 (en) 1997-07-23 1997-07-23 Method and apparatus for imaging recognition target object and component mounting method and apparatus using the same

Country Status (1)

Country Link
JP (1) JP3458052B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165766A (en) * 2009-01-14 2010-07-29 Panasonic Corp Component mounting device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165766A (en) * 2009-01-14 2010-07-29 Panasonic Corp Component mounting device and method

Also Published As

Publication number Publication date
JP3458052B2 (en) 2003-10-20

Similar Documents

Publication Publication Date Title
WO1995007001A1 (en) Solid-state imaging device
EP0379700B1 (en) Exposure compensation for a line scan camera
JPH1141522A (en) Image pickup device
EP0308075A2 (en) Imaging apparatus
JP3458052B2 (en) Method and apparatus for imaging recognition target object and component mounting method and apparatus using the same
JP4334672B2 (en) High-speed visual sensor device
JP3033893B2 (en) Appearance inspection device
JPH05107038A (en) Image sensing apparatus
US5142591A (en) High resolution camera with hardware data compaction
JP2535449B2 (en) Automatic focus signal detection device
JP2002335453A (en) Solid-state imaging apparatus
JP3641994B2 (en) Moving object image processing apparatus
JPH11166904A (en) Image processor of moving object
JP2000125200A (en) Solid-state image pickup unit
JPH0363113B2 (en)
JP2002361840A (en) Printed matter inspecting apparatus
JPS63155368A (en) Image input device
JP2634055B2 (en) Focus position detection device
JPH0783629A (en) Measurement device of three-dimensional shape
US20030020820A1 (en) Method of reading pixel signals from a multiple staggered sensor
JPH08272890A (en) Code reader
SU1399748A2 (en) Data input device
JP2003101883A (en) Image pickup device
JPH05316402A (en) High speed video camera
JP3633031B2 (en) Image processing device for visual inspection

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees