JP2002077874A - Image pickup device and method - Google Patents

Image pickup device and method

Info

Publication number
JP2002077874A
JP2002077874A JP2000263463A JP2000263463A JP2002077874A JP 2002077874 A JP2002077874 A JP 2002077874A JP 2000263463 A JP2000263463 A JP 2000263463A JP 2000263463 A JP2000263463 A JP 2000263463A JP 2002077874 A JP2002077874 A JP 2002077874A
Authority
JP
Japan
Prior art keywords
image
imaging
image signal
storage
line sensor
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
JP2000263463A
Other languages
Japanese (ja)
Inventor
Masayuki Arase
誠之 荒瀬
Takayuki Hatase
貴之 畑瀬
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 JP2000263463A priority Critical patent/JP2002077874A/en
Priority to TW090118762A priority patent/TW526660B/en
Priority to KR1020010047152A priority patent/KR100779126B1/en
Priority to CNB011250720A priority patent/CN1189022C/en
Priority to US09/923,833 priority patent/US6810158B2/en
Publication of JP2002077874A publication Critical patent/JP2002077874A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image pickup device and method for reducing image- reading time and at the same time effectively utilizing storage capacity. SOLUTION: In the method for reading an image to be pickedup up by relatively moving a line sensor 15 where a plurality of pixels are aligned in series with an X direction in a Y direction, a control signal for controlling the write timing of an image signal to an image storage section 27 based on image pickup area information is outputted and at the same time the storage address of the image storage section 27 is set based on the image pickup area information, and the image signal is written into a storage region that is specified by the storage address according to the control signal by monitoring the position information in the Y direction to the line sensor 15 of a transfer head 5 when picking up the image, thus eliminating the need for outputting the image signal from an unneeded range for storage, and reducing image-reading time and at the same time effectively utilizing the storage capacity.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ラインセンサによ
って撮像対象の画像を読み取る撮像装置および撮像方法
に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an imaging apparatus and an imaging method for reading an image of an object to be imaged by a line sensor.

【0002】[0002]

【従来の技術】電子部品実装装置などにおいて電子部品
の位置認識を画像処理により行うための撮像手段とし
て、ラインセンサが知られている。このラインセンサは
受光量に応じた電荷を蓄える光電変換素子を備えた画素
および画素から電荷を受け取って電気信号として出力す
る転送部をライン状に配列したものである。ラインセン
サ上に光学系により撮像対象物の光学画像を結像させる
と、各画素には対象物の光学画像に対応する電荷が蓄え
られる。
2. Description of the Related Art A line sensor is known as an imaging means for performing position recognition of an electronic component by image processing in an electronic component mounting apparatus or the like. This line sensor is configured by linearly arranging a pixel having a photoelectric conversion element for storing an electric charge corresponding to the amount of received light and a transfer unit for receiving an electric charge from the pixel and outputting it as an electric signal. When an optical image of an object to be imaged is formed on a line sensor by an optical system, electric charges corresponding to the optical image of the object are stored in each pixel.

【0003】この各画素の電荷を転送部によって受け取
り、電気信号として順次出力させることにより、光電変
換素子の配列方向、すなわち主走査方向の1次元画像デ
ータを得ることができる。そして電子部品を主走査方向
と直交する副走査方向に相対移動させて得られた複数の
1次元画像データを並列させることにより、所望の2次
元画像データを求めるものである。このラインセンサと
して、従来よりCCDラインセンサが用いられていた。
By receiving the charges of each pixel by the transfer unit and sequentially outputting them as electric signals, one-dimensional image data in the arrangement direction of the photoelectric conversion elements, that is, in the main scanning direction can be obtained. Then, desired two-dimensional image data is obtained by paralleling a plurality of one-dimensional image data obtained by relatively moving the electronic component in a sub-scanning direction orthogonal to the main scanning direction. Conventionally, a CCD line sensor has been used as the line sensor.

【0004】[0004]

【発明が解決しようとする課題】ところで電子部品の種
類やサイズは多様であり、小サイズから大型サイズまで
多種類の電子部品を対象とする多機能タイプの電子部品
実装装置では、同一の画像読み取り装置によって大小異
なる種類の電子部品を撮像する必要がある。このため、
一般にラインセンサを用いた画像読み取り装置は、対象
部品中の最も大きい電子部品のサイズに対応した走査幅
のラインセンサを備える場合が多い。そしてラインセン
サから出力された画像信号は撮像装置に備えられた画像
記憶装置に記憶される。
By the way, the types and sizes of electronic components are diverse, and a multi-function type electronic component mounting apparatus which targets various types of electronic components from small to large sizes has the same image reading capability. It is necessary to image electronic components of different sizes depending on the device. For this reason,
In general, an image reading apparatus using a line sensor often includes a line sensor having a scanning width corresponding to the size of the largest electronic component among the target components. The image signal output from the line sensor is stored in an image storage device provided in the imaging device.

【0005】しかしながら、従来の撮像装置に用いられ
ていたCCDラインセンサでは、画像読み取り対象のサ
イズに拘わらず、画像読み取り時にはラインセンサを構
成する全ての画素から電荷を転送させる必要があった。
このため、必要な情報を全く含んでいないいわば不要範
囲の画素からも電荷が転送されてメモリに記憶されてい
た。
[0005] However, in the CCD line sensor used in the conventional imaging apparatus, it is necessary to transfer charges from all the pixels constituting the line sensor at the time of image reading, regardless of the size of the image reading target.
For this reason, charges have been transferred from the pixels in the unnecessary range, which contain no necessary information at all, and stored in the memory.

【0006】そこで本発明は、画像読み取り時間を短縮
することができる撮像装置および撮像方法を提供するこ
とを目的とする。
Accordingly, an object of the present invention is to provide an image pickup apparatus and an image pickup method capable of reducing an image reading time.

【0007】[0007]

【課題を解決するための手段】請求項1記載の撮像装置
は、撮像対象の光学画像を光電変換素子上に結像させる
ことにより撮像対象の画像を読み取る撮像装置であっ
て、光電変換素子を備えた複数の画素をX方向に直列に
配置したラインセンサと、前記複数の画素の中の1つを
選択することにより選択した画素から画像信号を出力さ
せる画素選択部と、前記ラインセンサと撮像対象を少な
くとも前記X方向に交差するY方向へ相対的に移動させ
る相対移動機構と、前記ラインセンサによる撮像エリア
のサイズに関するX方向の数値及びY方向の数値を記憶
する撮像エリア情報記憶部と、前記ラインセンサから出
力された画像信号を記憶する画像記憶部と、前記X方向
の数値を用いて前記画素選択部による画素の選択を制御
する制御部と、前記Y方向の数値及び前記相対移動機構
の位置情報に基づいて前記画像記憶部への画像信号の書
き込みを制御する書き込み制御部と、前記撮像エリア情
報に基づいて前記画像記憶部の記憶アドレスを設定する
アドレス設定部と、前記書き込み制御部の制御信号に従
って画像記憶部に画像信号の書き込みを行う際に前記記
憶アドレスによって指定される記憶領域に画像信号を書
き込ませるアドレス制御部とを備えた。
According to a first aspect of the present invention, there is provided an imaging apparatus for reading an image of an imaging target by forming an optical image of the imaging target on a photoelectric conversion element. A line sensor in which a plurality of pixels are arranged in series in the X direction; a pixel selection unit that outputs an image signal from the selected pixel by selecting one of the plurality of pixels; A relative movement mechanism that relatively moves the target at least in the Y direction that intersects the X direction, an imaging area information storage unit that stores the X direction numerical value and the Y direction numerical value related to the size of the imaging area by the line sensor, An image storage unit that stores an image signal output from the line sensor, a control unit that controls selection of a pixel by the pixel selection unit using a numerical value in the X direction, A writing control unit that controls writing of an image signal to the image storage unit based on a numerical value of a direction and position information of the relative movement mechanism, and an address that sets a storage address of the image storage unit based on the imaging area information A setting unit; and an address control unit that writes the image signal to a storage area specified by the storage address when writing the image signal to the image storage unit according to the control signal of the writing control unit.

【0008】請求項2記載の撮像方法は、光電変換素子
を備えた複数の画素をX方向に直列に配列したラインセ
ンサを撮像対象に対してX方向と交差するY方向に相対
移動させながらこの撮像対象の画像を読み取る撮像方法
であって、(1)撮像エリアを設定する工程と、(2)
設定された撮像エリアのX方向の幅に基づいて画像信号
を出力する画素を設定する工程と、(3)設定された撮
像エリアのY方向の長さに基づいて、画像記憶部への画
像信号の書き込みを制御する制御信号を出力するととも
に画像記憶部の記憶アドレスを前記撮像エリア情報に基
づいて設定する工程と、(4)画素を周期的に選択する
ことにより画像信号を出力する工程と、(5)撮像対象
と前記ラインセンサとのY方向に関する相対的な位置関
係を監視することにより、前記制御信号に従って前記記
憶アドレスによって指定される記憶領域に前記出力され
た画像信号の書き込みを行わせる工程とを少なくとも含
み、前記(4)の工程は、前記(2)の工程で設定され
た画素に対してのみ行われる。
According to a second aspect of the present invention, a line sensor in which a plurality of pixels each having a photoelectric conversion element are arranged in series in the X direction is moved relative to an object to be imaged in a Y direction intersecting the X direction. An imaging method for reading an image of an imaging target, comprising: (1) setting an imaging area; and (2)
Setting a pixel for outputting an image signal based on the set width of the imaging area in the X direction; and (3) setting an image signal to the image storage unit based on the set length of the imaging area in the Y direction. Outputting a control signal for controlling writing of the image and setting the storage address of the image storage unit based on the imaging area information; and (4) outputting an image signal by periodically selecting pixels. (5) By monitoring a relative positional relationship between the imaging target and the line sensor in the Y direction, the output image signal is written to a storage area specified by the storage address according to the control signal. And step (4) is performed only on the pixels set in step (2).

【0009】本発明によれば、ラインセンサから画像信
号を出力させる際に、撮像視野内での画像信号出力対象
として設定された撮像エリアと対応する画素からのみ画
像信号を選択的に出力させ、撮像対象とラインセンサと
の相対的な位置関係を監視して画像信号の書き込みを制
御して予め撮像エリアに基づいて設定された記憶アドレ
スによって指定される記憶領域に記憶させることによ
り、不要範囲から画像信号を出力させて記憶させる無駄
を排除して画像読み取り時間を短縮することができる。
According to the present invention, when an image signal is output from the line sensor, the image signal is selectively output only from pixels corresponding to an imaging area set as an image signal output target in the imaging field of view, By monitoring the relative positional relationship between the imaging target and the line sensor, controlling the writing of the image signal, and storing the image signal in a storage area designated by a storage address set in advance based on the imaging area, from the unnecessary range The waste of storing and outputting the image signal can be eliminated, and the image reading time can be reduced.

【0010】[0010]

【発明の実施の形態】次に本発明の実施の形態を図面を
参照して説明する。図1は本発明の一実施の形態の電子
部品実装装置の構成を示すブロック図、図2は本発明の
一実施の形態の撮像装置の構成を示すブロック図、図3
は本発明の一実施の形態の撮像装置のラインセンサの構
成図、図4は本発明の一実施の形態の撮像装置の撮像方
法の説明図、図5は本発明の一実施の形態の撮像装置の
撮像エリア設定の説明図、図6は本発明の一実施の形態
の撮像方法における画像データの記憶アドレス設定の説
明図である。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of an electronic component mounting apparatus according to an embodiment of the present invention. FIG. 2 is a block diagram illustrating a configuration of an imaging apparatus according to an embodiment of the present invention.
FIG. 4 is a configuration diagram of a line sensor of the imaging apparatus according to an embodiment of the present invention, FIG. 4 is an explanatory diagram of an imaging method of the imaging apparatus according to an embodiment of the present invention, and FIG. FIG. 6 is an explanatory diagram of an imaging area setting of the apparatus, and FIG. 6 is an explanatory diagram of a storage address setting of image data in an imaging method according to an embodiment of the present invention.

【0011】まず図1を参照して撮像装置が組み込まれ
た電子部品実装装置について説明する。図1において、
部品供給部1は実装対象の電子部品を供給する。基板位
置決めステージ2は、電子部品が実装される基板3を保
持し位置決めする。部品供給部1と基板位置決めステー
ジ2の上方には、移載ヘッド5が移載ヘッド移動機構4
によってY方向に水平移動可能に配設されている。移載
ヘッド移動機構4は位置検出用のエンコーダ4aを備え
ており、移載ヘッド5の位置を示すパルス信号を発生
し、制御装置9の機構制御部12及び画像認識ユニット
11に対して出力する。
First, an electronic component mounting apparatus in which an imaging device is incorporated will be described with reference to FIG. In FIG.
The component supply unit 1 supplies an electronic component to be mounted. The board positioning stage 2 holds and positions a board 3 on which electronic components are mounted. A transfer head 5 is provided above the component supply unit 1 and the substrate positioning stage 2 by a transfer head moving mechanism 4.
Are disposed so as to be horizontally movable in the Y direction. The transfer head moving mechanism 4 includes an encoder 4a for position detection, generates a pulse signal indicating the position of the transfer head 5, and outputs the pulse signal to the mechanism control unit 12 and the image recognition unit 11 of the control device 9. .

【0012】移載ヘッド5は6つ(図4参照。図1では
3つのみ図示。)のピックアップヘッド5aを備えた多
連型の移載ヘッドであり、機構制御部12によって制御
されることにより、各ピックアップヘッド5aによって
部品供給部1から異なる種類の電子部品6A,6B,6
C,6D,6E,6Fを取り出し、基板位置決めステー
ジ2上まで移送して基板3に実装する。
The transfer head 5 is a multiple transfer head having six (see FIG. 4, only three in FIG. 1) pickup heads 5a, and is controlled by the mechanism control unit 12. , Different types of electronic components 6A, 6B, 6 from the component supply unit 1 by the respective pickup heads 5a.
C, 6D, 6E, and 6F are taken out, transported to a position on the substrate positioning stage 2, and mounted on the substrate 3.

【0013】部品供給部1と基板位置決めステージ2の
間の移載ヘッド5の移動経路には、カメラ8が配設され
ている。カメラ8は後述するように、光電変換素子を備
えた複数の画素をX方向に直列に配置したラインセンサ
を備えている。移載ヘッド5に保持された電子部品をカ
メラ8上に位置させて照明部7によって下方から照明す
ることにより(図4参照)、撮像対象であるこれらの電
子部品の光学画像が光電変換素子上に結像され、光学画
像を電気信号に変換した画像信号が画像認識ユニット1
1に対して常時出力されるようになっている。
A camera 8 is provided on a moving path of the transfer head 5 between the component supply unit 1 and the substrate positioning stage 2. As will be described later, the camera 8 includes a line sensor in which a plurality of pixels each having a photoelectric conversion element are arranged in series in the X direction. The electronic components held by the transfer head 5 are positioned on the camera 8 and illuminated from below by the illumination unit 7 (see FIG. 4), so that the optical images of these electronic components to be imaged are converted on the photoelectric conversion element. An image signal formed by converting an optical image into an electric signal is formed in the image recognition unit 1.
1 is always output.

【0014】移載ヘッド移動機構4によって移載ヘッド
5をカメラ8に対してY方向に移動させながらカメラ8
によって上記電子部品の撮像を行うことにより、認識対
象の電子部品の走査画像を取得することができる。移載
ヘッド移動機構4は、カメラ8のラインセンサを、ライ
ンセンサの配列方向(X方向)に交差するY方向に、撮
像対象に対して相対移動させる相対移動機構となってい
る。
The transfer head 5 is moved by the transfer head moving mechanism 4 with respect to the camera 8 in the Y direction.
By performing imaging of the electronic component, a scanned image of the electronic component to be recognized can be obtained. The transfer head moving mechanism 4 is a relative moving mechanism that relatively moves the line sensor of the camera 8 with respect to the imaging target in the Y direction intersecting the arrangement direction (X direction) of the line sensors.

【0015】次に図2、図3を参照してカメラ8および
カメラ8から出力される画像信号を処理して電子部品の
認識処理を行う画像認識ユニット11の構成について説
明する。図2において、カメラ8にはラインセンサ1
5、制御部21、画像補正部23が設けられている。
Next, the configuration of the camera 8 and the image recognition unit 11 that processes the image signal output from the camera 8 and performs the recognition processing of the electronic component will be described with reference to FIGS. In FIG. 2, the camera 8 has a line sensor 1
5, a control unit 21 and an image correction unit 23 are provided.

【0016】ラインセンサ15は、X方向に配列された
複数の画素15aを備えている。図3は、これらの画素
のうちの1つを示すものであり、画素15aは、光電変
換部の光電変換素子18、第1及び第2シフトゲートの
ゲート素子17,19、サンプルホールド部の蓄電素子
20より構成される。そして、各蓄電素子20は、画素
選択回路22と接続されている。
The line sensor 15 has a plurality of pixels 15a arranged in the X direction. FIG. 3 shows one of these pixels. A pixel 15a includes a photoelectric conversion element 18 of the photoelectric conversion unit, gate elements 17 and 19 of the first and second shift gates, and a storage battery of the sample hold unit. It is composed of an element 20. Each storage element 20 is connected to the pixel selection circuit 22.

【0017】ラインセンサ15上に光学画像を結像させ
ることにより、光電変換素子18は感光して電荷を蓄積
する。第2シフトゲートに制御部21から制御信号が伝
達されることにより、光電変換素子18の電荷はゲート
素子19を介してサンプルホールド部の蓄電素子20に
転送される。転送された電荷は、電荷の量に対応する電
圧値として保持される。新たな電荷が転送される前にサ
ンプルホールド部に制御信号が伝達されることにより、
保持している電圧値はリセットされる。また第1シフト
ゲートに制御信号が伝達されることにより、光電変換素
子18の電荷はゲート素子17を介してリセットドレイ
ン16に排出される。これにより、各光電変換素子18
の電位が初期化される。
By forming an optical image on the line sensor 15, the photoelectric conversion element 18 is exposed to light and accumulates electric charges. When the control signal is transmitted from the control unit 21 to the second shift gate, the charge of the photoelectric conversion element 18 is transferred to the storage element 20 of the sample and hold unit via the gate element 19. The transferred charge is held as a voltage value corresponding to the amount of charge. By transmitting the control signal to the sample and hold unit before new charge is transferred,
The held voltage value is reset. When the control signal is transmitted to the first shift gate, the charge of the photoelectric conversion element 18 is discharged to the reset drain 16 via the gate element 17. Thereby, each photoelectric conversion element 18
Is initialized.

【0018】画素選択回路22は、ラインセンサ15の
複数の画素15aの中の1つを選択することにより、選
択した画素15aから画像信号を出力させる。すなわち
サンプルホールド部の各蓄電素子20のうち、後述する
撮像エリア情報記憶部25の撮像エリア情報に基づいて
特定された画素15aからのみ、電圧値を画像信号Vo
utとして出力させる。したがって画素選択回路22は
画素選択部となっており、この画素選択動作は制御部2
1によって画素選択回路22を制御することによって行
われる。
The pixel selection circuit 22 outputs an image signal from the selected pixel 15a by selecting one of the pixels 15a of the line sensor 15. That is, the voltage value is changed from the image signal Vo only from the pixel 15a specified based on the imaging area information of the imaging area information storage section 25 described later among the respective storage elements 20 of the sample and hold section.
ut is output. Therefore, the pixel selection circuit 22 is a pixel selection unit, and this pixel selection operation is performed by the control unit 2.
1 by controlling the pixel selection circuit 22.

【0019】ラインセンサ15の各画素15aから画素
選択動作によって出力された画像信号は画像補正部23
に送られ、ここで黒色レベルや感度について画像信号の
補正処理が行われる。補正処理後の画像データは、A/
D変換されて画像認識ユニット11に送られる。
An image signal output from each pixel 15a of the line sensor 15 by the pixel selection operation is output to an image correction unit 23.
Where the image signal is corrected for the black level and sensitivity. The image data after the correction processing is A /
It is D-converted and sent to the image recognition unit 11.

【0020】図2に示すように、画像認識ユニット11
は、座標出力部24、撮像エリア情報記憶部25、書き
込み制御部26、画像記憶部27、アドレス設定部2
8、アドレス制御部29、操作処理部30および画像処
理部31を備えており、カメラ8のラインセンサ15か
ら出力された画像信号は、画像記憶部27に記憶され
る。
As shown in FIG. 2, the image recognition unit 11
Are a coordinate output unit 24, an imaging area information storage unit 25, a writing control unit 26, an image storage unit 27, an address setting unit 2
8, an address control unit 29, an operation processing unit 30, and an image processing unit 31. An image signal output from the line sensor 15 of the camera 8 is stored in the image storage unit 27.

【0021】座標出力部24は、移載ヘッド移動機構4
のエンコーダ4aから出力されるパルス信号に基づい
て、カメラ8の制御部21及び画像記憶部27、書き込
み制御部26に対して移載ヘッド5のラインセンサ15
に対するY方向の相対位置を示す位置情報を出力する。
制御部21に対して出力された位置情報は、画像信号出
力の対象となる画素を特定する際の選択範囲の設定切り
換えのタイミングとして用いられる。また、画像記憶部
27に対して出力される位置情報は、画像信号をメモリ
上の指定された記憶領域に書き込む際に、対応する画像
信号とリンクされて画像記憶部に書き込まれる。これに
より、画像信号を取り込んだときの移載ヘッド5とライ
ンセンサ15の相対的な位置関係を正確に求めることが
できる。また、書き込み制御部26に対して出力される
位置情報は、画像信号の画像記憶部27への書き込み可
否を制御する制御信号の出力タイミングを示す情報とし
て用いられる。
The coordinate output unit 24 includes a transfer head moving mechanism 4
The line sensor 15 of the transfer head 5 is sent to the control unit 21, the image storage unit 27, and the write control unit 26 of the camera 8 based on the pulse signal output from the encoder 4a of FIG.
And outputs position information indicating the relative position in the Y direction with respect to.
The position information output to the control unit 21 is used as timing for switching the setting of a selection range when specifying a pixel to be an image signal output target. The position information output to the image storage unit 27 is linked to the corresponding image signal and written to the image storage unit when the image signal is written to the specified storage area on the memory. Thereby, the relative positional relationship between the transfer head 5 and the line sensor 15 when the image signal is captured can be accurately obtained. The position information output to the writing control unit 26 is used as information indicating an output timing of a control signal for controlling whether or not the image signal can be written to the image storage unit 27.

【0022】撮像エリア情報記憶部25は、撮像エリア
情報、すなわち撮像視野内で画像取込エリアとして設定
されるエリアについての情報を記憶する。この撮像エリ
ア情報は、後述するように撮像エリアのサイズと位置を
示すX方向の数値およびY方向の数値で構成され、操作
部13からの入力データを操作処理部30でデータ処理
することによって撮像エリア情報記憶部25に記憶され
るほか、既に所定データ形式で撮像エリア情報として設
定されたデータを外部装置から読み込むことによっても
撮像エリア情報記憶部25に記憶される。
The imaging area information storage unit 25 stores imaging area information, that is, information about an area set as an image capturing area within an imaging visual field. The imaging area information includes a numerical value in the X direction and a numerical value in the Y direction indicating the size and position of the imaging area, as will be described later, and the input processing from the operation section 13 is processed by the operation processing section 30 to perform image processing. In addition to being stored in the area information storage unit 25, data already set as the imaging area information in a predetermined data format is read from an external device and stored in the imaging area information storage unit 25.

【0023】書き込み制御部26は、撮像エリア情報記
憶部25に記憶された撮像エリア情報のうちのY方向の
数値と、座標出力部24から出力される前述のY方向の
位置情報に基づいて、画像記憶部27への画像信号の書
き込み可否を制御する制御信号を出力する。
The writing control unit 26 calculates the Y-direction numerical value of the imaging area information stored in the imaging area information storage unit 25 and the aforementioned Y-direction position information output from the coordinate output unit 24. It outputs a control signal for controlling whether or not writing of an image signal to the image storage unit 27 is possible.

【0024】すなわち、カメラ8から常時出力される画
像信号を画像メモリに書き込むことが許可されるタイミ
ングであることを示す書き込み許可信号を画像記憶部2
7に対して出力することにより、予め設定された所定の
タイミングにおいてカメラ8から出力された画像信号の
みを画像記憶部27のメモリに書き込ませ、他のタイミ
ングに出力された画像信号の書き込みを禁止する画像信
号の書き込みタイミング制御を行う。
That is, a write permission signal indicating the timing at which writing of an image signal constantly output from the camera 8 to the image memory is permitted is transmitted to the image storage unit 2.
7, only the image signal output from the camera 8 at a predetermined timing set in advance is written into the memory of the image storage unit 27, and writing of the image signal output at another timing is prohibited. The writing timing of the image signal to be controlled is controlled.

【0025】この書き込み制御は、座標出力部24から
送られる移載ヘッド5とラインセンサとの相対位置を示
す位置情報を監視し、撮像エリア情報記憶部25に記憶
された撮像エリアのY方向のデータと比較して撮像開始
位置を検出することにより行われる。これにより、移載
ヘッド5によって撮像対象の各電子部品がY方向に移動
している途中でカメラ8から出力される画像信号のう
ち、カメラ8の撮像対象に対する相対位置が、各電子部
品について設定された所定の撮像エリアに対応した位置
にあるタイミングで出力された画像信号のみが画像記憶
部27に書き込まれる。
This writing control monitors the position information indicating the relative position between the transfer head 5 and the line sensor sent from the coordinate output unit 24, and stores the position information in the Y direction of the imaging area stored in the imaging area information storage unit 25. This is performed by detecting an imaging start position in comparison with data. Thereby, the relative position of the camera 8 with respect to the imaging target among the image signals output from the camera 8 while each of the electronic components to be imaged is moving in the Y direction by the transfer head 5 is set for each electronic component. Only the image signal output at the timing corresponding to the designated predetermined imaging area is written to the image storage unit 27.

【0026】アドレス設定部28は、撮像エリア情報に
基づいて画像記憶部27に各撮像エリア別の記憶領域を
設定する。すなわち撮像視野内に設定される撮像エリア
から取り込まれる画像信号を、撮像エリア別にまとまっ
た1つのデータとして書き込むための記憶領域を設定す
る。アドレス設定部28はまず撮像エリア情報記憶部2
5に記憶された数値(撮像エリアのサイズを特定できる
数値)より撮像エリアと同じサイズの画像のデータ数を
求める。これにより設定すべき記憶領域の記憶容量が判
明するので、この記憶容量分の記憶領域を定める先頭ア
ドレスと終点アドレスをアドレス設定情報として出力す
る。このとき終点アドレスの代わりにデータ数を出力し
てもよい。
The address setting section 28 sets a storage area for each imaging area in the image storage section 27 based on the imaging area information. That is, a storage area is set for writing an image signal taken from an imaging area set in the imaging field of view as one set of data for each imaging area. The address setting unit 28 first stores the image-capturing area information storage unit 2
The number of data of an image having the same size as the imaging area is obtained from the numerical value stored in 5 (a numerical value that can specify the size of the imaging area). As a result, the storage capacity of the storage area to be set is determined, and the start address and the end point address that determine the storage area for this storage capacity are output as address setting information. At this time, the number of data may be output instead of the end point address.

【0027】アドレス制御部29は、書き込み制御部2
6からの制御信号に従って画像記憶部27に画像信号の
書き込みを行う際に、画像記憶部27に対してアドレス
信号を発生し、上述のアドレス設定情報によって指定さ
れる記憶領域に画像信号を書き込ませるアドレス制御を
行う。これにより、1つのまとまりデータとして括られ
る一連の画像信号は、アドレス設定情報によって指定さ
れる先頭アドレスの記憶領域から順次書き込まれる。
The address control unit 29 includes the write control unit 2
When writing an image signal in the image storage unit 27 according to the control signal from the control unit 6, an address signal is generated in the image storage unit 27, and the image signal is written in the storage area specified by the above-described address setting information. Performs address control. Thus, a series of image signals bundled as one set of data is sequentially written from the storage area of the head address specified by the address setting information.

【0028】換言すれば、カメラ8から出力される画像
信号の画像記憶部27への書き込みに際しては、書き込
み制御部26から出力される書き込み許可信号に従って
書き込みタイミングが指定され、アドレス制御部29に
よるアドレス制御によって当該画像信号を書き込むべき
記憶領域のアドレスが指定される。そしてカメラ8から
の画像信号の出力タイミングと、書き込み制御部26か
らの書き込み許可信号およびアドレス制御部29からの
アドレス信号とを同期させることにより、画像記憶部2
7においては、予め設定された記憶アドレスに従って、
所定の記憶領域に画像信号が書き込まれる。
In other words, when writing the image signal output from the camera 8 to the image storage unit 27, the write timing is specified according to the write permission signal output from the write control unit 26, and the address control unit 29 sets the address. The control specifies the address of the storage area where the image signal is to be written. By synchronizing the output timing of the image signal from the camera 8 with the write permission signal from the write control unit 26 and the address signal from the address control unit 29, the image storage unit 2
7, in accordance with a preset storage address,
An image signal is written to a predetermined storage area.

【0029】書き込まれた画像信号は画像処理部31に
よって読み込まれ、ここでこれらの画像データを画像処
理することにより、各電子部品6A〜6Fが認識され
る。認識結果は機構制御部12に送られ、これらの電子
部品が基板3に実装される際の搭載動作制御に用いられ
るとともに、必要に応じて表示モニタ10に出力され所
定の画面表示が行われる。画像認識ユニット11の各種
操作やデータ入力に必要な操作は、操作部13によって
操作処理部30を介して行われる。
The written image signal is read by the image processing section 31, and image processing is performed on the image data to recognize each of the electronic components 6A to 6F. The recognition result is sent to the mechanism control unit 12 and is used for controlling the mounting operation when these electronic components are mounted on the board 3, and is output to the display monitor 10 as necessary to perform a predetermined screen display. Various operations of the image recognition unit 11 and operations necessary for data input are performed by the operation unit 13 via the operation processing unit 30.

【0030】次に撮像エリア設定処理について説明す
る。これまで述べたように、本実施の形態に示すカメラ
8のラインセンサ15は、従来のCCDラインセンサと
異なり、ラインセンサ15を構成する複数の画素15a
のうち、特定された任意の画素から画像信号を出力させ
ることができるようになっている。したがって、ライン
センサ15による撮像に際しては、撮像対象に応じて画
像信号出力の対象となる画素を特定する必要がある。
Next, the imaging area setting processing will be described. As described above, the line sensor 15 of the camera 8 according to the present embodiment is different from the conventional CCD line sensor in that a plurality of pixels 15 a
Of these, an image signal can be output from any specified pixel. Therefore, when taking an image with the line sensor 15, it is necessary to specify a pixel as an image signal output target according to the imaging target.

【0031】また、ラインセンサ15からは常時画像信
号が出力されるが、撮像対象の走査画像を得るについて
は、走査時に常時出力されている画像信号のうち、設定
された撮像エリアに対応したタイミングで出力された画
像信号のみを画像メモリに書き込めばよい。このため撮
像エリアの設定処理では、ラインセンサ15の出力対象
の画素の特定とともに、画像信号を書き込むべきタイミ
ング設定のためのデータ入力がおこなわれる。
An image signal is always output from the line sensor 15. However, to obtain a scanned image of an object to be imaged, a timing corresponding to a set imaging area of the image signal constantly output during scanning is used. Only the image signal output in step (1) need be written in the image memory. For this reason, in the setting process of the imaging area, data input for setting a timing at which an image signal is to be written is performed while specifying a pixel to be output by the line sensor 15.

【0032】以下、図4、図5を参照して説明する。図
4は、認識対象の6つの電子部品6A〜6Fを移載ヘッ
ド5に保持させて、カメラ8によって同一撮像動作で撮
像する例を示している。すなわち、カメラ8の光学系を
介してラインセンサ15上に光学画像を結像させた状態
で、移載ヘッド5をカメラ8上でY方向に移動させるこ
とにより、各電子部品の走査画像を取得するものであ
る。
Hereinafter, description will be made with reference to FIGS. FIG. 4 shows an example in which six electronic components 6 </ b> A to 6 </ b> F to be recognized are held by the transfer head 5 and imaged by the camera 8 in the same imaging operation. That is, while the optical image is formed on the line sensor 15 through the optical system of the camera 8, the scanning image of each electronic component is obtained by moving the transfer head 5 in the Y direction on the camera 8. Is what you do.

【0033】撮像エリアの設定には、まず移載ヘッド5
の各ノズルに保持された状態の電子部品6A〜6Fの画
像を取り込み、表示部10のモニタ画面上に表示させ
る。これにより、図5に示すように、移載ヘッド5の6
つのノズルにそれぞれ保持された状態での電子部品6A
〜6Fの画像が、ノズルピッチに対応した間隔で表れ
る。そしてこの状態で各電子部品に対応した撮像エリア
が設定される。
To set the imaging area, first, the transfer head 5
The images of the electronic components 6A to 6F held in the respective nozzles are captured and displayed on the monitor screen of the display unit 10. As a result, as shown in FIG.
Electronic component 6A held by three nozzles respectively
Images up to 6F appear at intervals corresponding to the nozzle pitch. In this state, an imaging area corresponding to each electronic component is set.

【0034】電子部品の認識のためには、認識対象の電
子部品を含む領域以外の画像情報は不要であることか
ら、この撮像エリアの設定においては、各電子部品6A
〜6Fを含み座標軸に平行な矩形の領域A〜Fが撮像エ
リアとして設定される。この設定操作は、表示部10の
表示画面上で操作部13によってポインタなどで領域枠
を指定入力することにより行われる。
Since the image information other than the area including the electronic component to be recognized is not necessary for the recognition of the electronic component, in setting the imaging area, each electronic component 6A
Rectangular areas A to F including 66F and parallel to the coordinate axes are set as the imaging areas. This setting operation is performed by designating and inputting an area frame with a pointer or the like on the display screen of the display unit 10 using the operation unit 13.

【0035】そして指定入力された撮像エリアA〜Fの
表示画面上での座標値は、操作処理部30によって読み
取られ、撮像エリア情報として撮像エリア情報記憶部2
5に記憶される。ここでは撮像エリアを特定する撮像エ
リア情報として、各撮像エリア毎にX方向、Y方向につ
いてそれぞれ2つの数値が記憶される。すなわちA〜F
の各撮像エリアに対し、(X1,X2,Y1,Y2)、
(X5,X6,Y5,,Y6)、(X9,X10,Y
9,Y10)、(X3,X4,Y3,Y4)、(X7,
X8,Y7,Y8)、(X11,X12,Y11,Y1
2)の各数値が記憶される。この数値入力は、各撮像エ
リアの対角に位置する各点の位置座標が特定されたこと
と同義である。したがって、これらの数値により各撮像
エリアのX方向、Y方向のサイズと、入力が行われた表
示部10の画像座標系上での各撮像エリアのX方向、Y
方向の位置が特定される。
The coordinate values of the designated imaging areas A to F on the display screen are read by the operation processing unit 30, and are stored as imaging area information in the imaging area information storage unit 2.
5 is stored. Here, as the imaging area information for specifying the imaging area, two numerical values are stored in the X direction and the Y direction for each imaging area. That is, A to F
(X1, X2, Y1, Y2) for each imaging area of
(X5, X6, Y5, Y6), (X9, X10, Y
9, Y10), (X3, X4, Y3, Y4), (X7,
X8, Y7, Y8), (X11, X12, Y11, Y1
Each numerical value of 2) is stored. This numerical input is equivalent to specifying the position coordinates of each point located on the diagonal of each imaging area. Therefore, the size of each imaging area in the X and Y directions and the X direction and Y of each imaging area on the image coordinate system of the display unit 10 on which the input has been performed are obtained from these numerical values.
The position of the direction is specified.

【0036】画像信号の出力に際しては、ラインセンサ
15にX方向に配列された複数の画素15aのうち、図
5(b)に示すように、上記X方向の数値によって特定
される画素15a(幅方向範囲X(i)〜X(i+1)
に属する画素15a)からのみ画像信号が出力される。
すなわち、前述のように制御部21によって画素選択回
路22を制御して画素の選択を行わせる際には、これら
のX方向の数値が用いられる。
At the time of outputting the image signal, as shown in FIG. 5B, of the plurality of pixels 15a arranged in the line sensor 15 in the X direction, the pixel 15a (width) specified by the numerical value in the X direction is used. Direction range X (i) to X (i + 1)
The image signal is output only from the pixel 15a) belonging to.
That is, when the control section 21 controls the pixel selection circuit 22 to select a pixel as described above, these numerical values in the X direction are used.

【0037】X方向の1回の走査では、撮像エリア幅W
(i)(X(i+1)−X(i))に対応した画素数a
(i)の画素15aから画像信号が出力され、そして撮
像エリア長さL(i)(Y(i+1)−Y(i))に対
応した走査回数分(走査データ数b(i))だけ、上記
画像信号の出力が反復される。したがって1つの撮像エ
リアからは、データ数N(i)=a(i)×b(i)×
n(nは整数)の画像信号が出力される。なお、ここで
示すiは、各撮像エリアに対応した1,3,5,7,
9,11の6種類の整数である。
In one scan in the X direction, the imaging area width W
(I) Pixel number a corresponding to (X (i + 1) -X (i))
An image signal is output from the pixel 15a of (i), and only the number of scans (the number of scan data b (i)) corresponding to the imaging area length L (i) (Y (i + 1) -Y (i)) is performed. The output of the image signal is repeated. Therefore, the number of data N (i) = a (i) × b (i) ×
n (n is an integer) image signals are output. Note that i shown here is 1, 3, 5, 7, corresponding to each imaging area.
There are six types of integers, 9 and 11.

【0038】次に図6を参照して記憶アドレスについて
説明する。記憶アドレスは、撮像エリア情報と、画像信
号が書き込まれる画像記憶部27のメモリの記憶領域と
を対応させる情報である。この記憶アドレス設定によ
り、撮像エリアから読み取られた画像信号が書き込まれ
る画像記憶部27の記憶領域が特定される。この記憶ア
ドレスは、各撮像エリアにおける先頭画素のデータを書
き込むべき先頭アドレスおよび各撮像エリアからの画像
信号のデータ数N(i)を特定することによって行われ
る。
Next, the storage address will be described with reference to FIG. The storage address is information for associating the imaging area information with the storage area of the memory of the image storage unit 27 where the image signal is written. By this storage address setting, the storage area of the image storage unit 27 where the image signal read from the imaging area is written is specified. This storage address is performed by specifying a head address to which the data of the head pixel in each imaging area is to be written and the number N (i) of image signal data from each imaging area.

【0039】図6において画像記憶部27の記憶領域3
2には、各撮像エリアA〜Fを撮像して得られた画像デ
ータが書き込まれる記憶領域33A〜33Fが設定され
ている。各記憶領域の先頭アドレス(AD1,AD3,
AD5,AD7,AD9,AD11)および終点アドレ
ス(AD2,AD4,AD6,AD8,AD10,AD
12)には、図5(b)に示す各撮像エリアの先頭画素
および終点画素が書き込まれる。各記憶領域のサイズ
は、上述のデータ数N(i)が書き込み可能なサイズに
設定され、1つの記憶領域の終点アドレスと後続の記憶
領域の先頭アドレスとの間には、所定の空白領域が設定
される。
In FIG. 6, the storage area 3 of the image storage unit 27
2, storage areas 33A to 33F in which image data obtained by imaging the imaging areas A to F are written. Start address of each storage area (AD1, AD3,
AD5, AD7, AD9, AD11) and the end point addresses (AD2, AD4, AD6, AD8, AD10, AD
In 12), the head pixel and the end pixel of each imaging area shown in FIG. 5B are written. The size of each storage area is set to a size in which the number of data N (i) can be written, and a predetermined blank area is provided between the end point address of one storage area and the start address of the subsequent storage area. Is set.

【0040】例えば、電子部品6Aについて設定された
撮像エリアAを対象とした撮像においては、先頭画素か
らの画像信号は記憶領域32のアドレスAD1に書き込
まれ、以下撮像エリアAについて得られたN(1)個の
画像信号が順次記憶領域33Aに書き込まれる。このよ
うに、記憶アドレスは各撮像エリアに対応する先頭アド
レスとデータ数N(i)によって特定され、換言すれば
撮像エリア情報記憶部25に記憶されたX方向の数値お
よびY方向の数値に基づいて設定される。
For example, in imaging for the imaging area A set for the electronic component 6A, the image signal from the first pixel is written to the address AD1 of the storage area 32, and N (N) obtained for the imaging area A is hereinafter obtained. 1) image signals are sequentially written to the storage area 33A. As described above, the storage address is specified by the head address corresponding to each imaging area and the number of data N (i), in other words, based on the numerical value in the X direction and the numerical value in the Y direction stored in the imaging area information storage unit 25. Is set.

【0041】次に上記のように設定された撮像エリアを
対象として行われる撮像動作および出力された画像信号
を上記のように設定された記憶アドレスに従って書き込
む画像信号の書き込み動作について説明する。図5にお
いて、Y1〜Y12で示される数値は、移載ヘッド5を
移動させる移載ヘッド移動機構4の機械座標系上の数値
(例えばエンコーダ4aから出力されるパルス数)と対
応関係にある。
Next, an imaging operation performed on the imaging area set as described above and an image signal writing operation for writing the output image signal in accordance with the storage address set as described above will be described. In FIG. 5, the numerical values indicated by Y1 to Y12 correspond to the numerical values (for example, the number of pulses output from the encoder 4a) on the mechanical coordinate system of the transfer head moving mechanism 4 that moves the transfer head 5.

【0042】すなわち、図5(a)のY軸上に示すY方
向の各数値は、ラインセンサ15と移載ヘッド5とのY
方向の特定の相対位置関係に対応しており、これらの数
値によってラインセンサ15が水平移動中の移載ヘッド
5とどのような位置関係にあるか判別することができ
る。例えば、移載ヘッド移動機構4のエンコーダ4aか
らの位置情報(パルス信号)が、数値Y1と一致したな
らば、移載ヘッド5に保持された電子部品6Aについて
設定された撮像エリアAの撮像開始位置に到達したこと
を示している。
That is, each numerical value in the Y direction shown on the Y axis in FIG. 5A is the Y value between the line sensor 15 and the transfer head 5.
It corresponds to a specific relative positional relationship in the direction, and it is possible to determine the positional relationship between the line sensor 15 and the transfer head 5 that is moving horizontally by using these numerical values. For example, if the position information (pulse signal) from the encoder 4a of the transfer head moving mechanism 4 matches the numerical value Y1, the imaging of the imaging area A set for the electronic component 6A held by the transfer head 5 is started. Indicates that the position has been reached.

【0043】すなわち、エンコーダ4aからの位置情報
を監視し、この位置情報が上述のY方向の各数値に一致
したならば、それぞれの数値に対応した特定の相対位置
関係が実現されたことが検出される。そしてこの検出結
果に応じて、各種の動作制御、例えば移載ヘッド5の動
作制御、画像信号の書き込み制御、ラインセンサ15の
画像信号出力対象画素設定の更新などが行われる。
That is, the position information from the encoder 4a is monitored, and if this position information matches each of the above numerical values in the Y direction, it is detected that a specific relative positional relationship corresponding to each numerical value has been realized. Is done. In accordance with the detection result, various operation controls, for example, operation control of the transfer head 5, writing control of the image signal, update of the image signal output target pixel setting of the line sensor 15, and the like are performed.

【0044】撮像動作に先立ち、まず予め設定された撮
像エリアA〜Fのデータを撮像エリア情報記憶部25か
ら読み取る。すなわち、図5に示す各数値が読み取られ
る。そして読み取られた数値に基づいて、まず最初に撮
像される撮像エリアDの画像取り込みにおいて画像信号
出力の対象となる画素を制御部21によって設定する。
これにより、カメラ8のラインセンサ15の各画素のう
ち、図5に示すX3〜X4の間の画素が出力対象として
設定される。
Prior to the image pickup operation, first, data of the preset image pickup areas A to F are read from the image pickup area information storage unit 25. That is, each numerical value shown in FIG. 5 is read. Then, based on the read numerical value, the control unit 21 first sets a pixel to be an image signal output in capturing an image of the imaging area D to be imaged first.
Thereby, among the pixels of the line sensor 15 of the camera 8, the pixels between X3 and X4 shown in FIG. 5 are set as output targets.

【0045】そして設定された画素から常時画像信号が
出力される。読み取り動作が開始されて撮像対象の電子
部品Aを保持した移載ヘッド5が移動を開始すると、移
載ヘッド移動機構4のエンコーダ4aから出力されるパ
ルスは座標出力部24を介して、位置情報として書き込
み制御部26およびカメラ8の制御部21に送られる。
書き込み制御部26はこの位置情報を監視している。
Then, an image signal is constantly output from the set pixel. When the reading operation is started and the transfer head 5 holding the electronic component A to be imaged starts moving, the pulse output from the encoder 4a of the transfer head moving mechanism 4 is transmitted to the position information via the coordinate output unit 24. Is sent to the writing control unit 26 and the control unit 21 of the camera 8.
The write controller 26 monitors this position information.

【0046】この位置情報が撮像エリアDの撮像開始位
置に対応したY3に一致したならば、書き込み制御部2
6は画像記憶部27に対して書き込み許可信号を出力す
るとともに、アドレス制御部29は画像記憶部27に対
してアドレス信号を発生する。これにより、撮像エリア
Dに対応する画素から出力された画像信号は、画像記憶
部27の記憶領域33Dに書き込まれる。
If this position information matches Y3 corresponding to the imaging start position of the imaging area D, the writing control unit 2
6 outputs a write permission signal to the image storage unit 27, and the address control unit 29 generates an address signal to the image storage unit 27. Thereby, the image signal output from the pixel corresponding to the imaging area D is written to the storage area 33D of the image storage unit 27.

【0047】この後移載ヘッド5が移動して、位置情報
が撮像エリアAの撮像開始位置に対応したY1に一致し
たならば、X3〜X4の範囲の画素に加えて、X1〜X
2の間の画素からも画像信号の出力が開始される。そし
て、位置情報がY1〜Y2の間を指している間は、X1
〜X2、X3〜X4の2つの範囲の画素から画像信号が
出力される。そして、X1〜X2に属する画素からの画
像信号は記憶領域33Aに、またX3〜X4に属する画
素からの画像信号は記憶領域33Dに書き込まれるよ
う、書き込みタイミング制御・アドレス制御が行われ
る。
Thereafter, when the transfer head 5 moves and the position information coincides with Y1 corresponding to the imaging start position of the imaging area A, X1 to X4 are added to the pixels in the range of X3 to X4.
The output of the image signal is also started from the pixels between the two. While the position information points between Y1 and Y2, X1
X2 and X3 to X4 output image signals from pixels in two ranges. Write timing control and address control are performed so that the image signals from the pixels belonging to X1 and X2 are written to the storage area 33A, and the image signals from the pixels belonging to X3 and X4 are written to the storage area 33D.

【0048】すなわち、画素配列幅方向に設定された撮
像エリアA,Dを対象として多数の画像信号を連続して
書き込む動作においては、書き込み制御部26から出力
される書き込み許可信号に従って書き込みタイミングが
指定され、アドレス制御部29からのアドレス信号によ
って書き込むべき記憶領域のアドレスがそれぞれの撮像
エリアに応じて指定され、書き込み動作はこれらのタイ
ミング信号・アドレス信号に従って動的に制御される。
That is, in the operation of continuously writing a large number of image signals for the imaging areas A and D set in the pixel array width direction, the write timing is specified according to the write permission signal output from the write control unit 26. Then, the address of the storage area to be written is specified by the address signal from the address control unit 29 according to each imaging area, and the writing operation is dynamically controlled according to these timing signals and address signals.

【0049】換言すれば、時系列的に順次出力される画
像信号は必ずしも記憶領域の記憶アドレス順に従って書
き込まれるのではなく、予め設定された記憶アドレスに
基づく対応関係に従って飛び飛びの記憶領域33A,3
3Dに書き込まれる。このため、画像信号の出力中に
は、当初より設定された記憶領域に画像信号が書き込ま
れていない領域がまだら状態で存在する。
In other words, the image signals sequentially output in time series are not necessarily written in the order of the storage addresses of the storage areas, but are stored in the storage areas 33A and 33 in a discrete manner according to the correspondence based on the preset storage addresses.
Written to 3D. For this reason, during the output of the image signal, an area where the image signal is not written is present in the storage area set from the beginning in a mottled state.

【0050】この後移載ヘッド5が移動して、撮像エリ
アAの撮像終了位置を示すY2に到達すると、再びX3
〜X4の範囲からのみ画像信号が出力されるようにな
り、この画像信号は引き続き記憶領域33Dに書き込ま
れる。そして、撮像エリアDの撮像終了位置を示すY4
に到達すると、書き込み制御部26は画像記憶部27に
対する書き込み許可信号を停止して、書き込みを禁止す
る。これにより撮像エリアA,Dの画像記憶を終了す
る。この後、後続の各撮像エリアB,E,C,Fを対象
とした画像取り込みおよび画像信号の書き込みが同様に
行われる。これにより、記憶領域32に予め設定された
記憶領域33A〜33Fの全てに画像信号が書き込まれ
る。
Thereafter, when the transfer head 5 moves and reaches Y2 which indicates the imaging end position of the imaging area A, X3 is returned again.
Image signals are output only from the range of ~ X4, and the image signals are continuously written to the storage area 33D. Y4 indicating the imaging end position of the imaging area D
Is reached, the writing control unit 26 stops the writing permission signal to the image storage unit 27 and prohibits writing. Thus, the storage of the images in the imaging areas A and D is completed. Thereafter, image capture and image signal writing for the subsequent imaging areas B, E, C, and F are similarly performed. As a result, the image signal is written to all of the storage areas 33A to 33F preset in the storage area 32.

【0051】上記説明したように、予め撮像エリア情報
に基づいて設定された記憶アドレスによって指定される
記憶領域にラインセンサから出力された画像信号を書き
込む方法を採用することにより、1つのラインセンサの
撮像幅内に複数の撮像エリアを設定した場合において
も、各撮像エリアに対応した画素からの画像信号をまと
めて1くくりとし、この1くくりの画像信号を同一の記
憶領域に書き込むことが可能となる。
As described above, by adopting the method of writing the image signal output from the line sensor to the storage area specified by the storage address set in advance based on the imaging area information, one line sensor Even when a plurality of imaging areas are set within the imaging width, image signals from pixels corresponding to each imaging area can be combined into one unit and the one unit image signal can be written to the same storage area. Become.

【0052】これにより、従来は記憶領域上で画像信号
が書き込まれない空白領域の発生が避けられなかったよ
うな撮像エリアの設定を行った場合においても、記憶領
域の設定を行うことにより、空白領域を最小に抑えるこ
とができ、記憶容量を有効に活用することができる。
Thus, even when an imaging area is set such that a blank area in which an image signal is not written on the storage area is unavoidable in the past, the setting of the storage area allows the blank area to be set. The area can be minimized, and the storage capacity can be used effectively.

【0053】すなわち、上記実施の形態に示す撮像方法
は、複数の画素をX方向に直列に配列したラインセンサ
15を撮像対象に対してY方向に相対移動させながらこ
の撮像対象の画素を読み取るものであり、この撮像にお
いては、(1)まず撮像エリアが設定され、(2)設定
された撮像エリアのX方向の幅に基づいてラインセンサ
15の画素の中で画像信号を出力する画素が設定され、
(3)設定された撮像エリアのY方向の長さに基づい
て、画像記憶部27への画像信号の書き込みを制御する
制御信号を出力するとともに、画像記憶部27の記憶ア
ドレスを撮像エリア情報に基づいて設定し、(4)撮像
においては画素を1個づつ周期的に選択することにより
選択された画素から画像信号が出力され、(5)撮像対
象とラインセンサとのY方向に関する相対的な位置関係
を監視することにより、前記制御信号に従って前記記憶
アドレスによって指定される記憶領域に画像信号を書き
込む。そして(4)の画像信号出力は、(2)で画像出
力対象となる画素として設定された画素に対してのみ行
われる。
That is, the image pickup method described in the above embodiment reads a pixel of an image pickup object while relatively moving a line sensor 15 in which a plurality of pixels are arranged in series in the X direction with respect to the image pickup object in the Y direction. In this imaging, (1) an imaging area is first set, and (2) a pixel for outputting an image signal among the pixels of the line sensor 15 is set based on the set width of the imaging area in the X direction. And
(3) A control signal for controlling writing of an image signal to the image storage unit 27 is output based on the set length of the imaging area in the Y direction, and the storage address of the image storage unit 27 is used as the imaging area information. (4) In imaging, an image signal is output from the selected pixel by periodically selecting one pixel at a time, and (5) the relative position of the imaging target and the line sensor in the Y direction. By monitoring the positional relationship, an image signal is written to a storage area specified by the storage address according to the control signal. Then, the image signal output of (4) is performed only for the pixels set as the pixels to be image output in (2).

【0054】この撮像において、ラインセンサ15から
画像信号を出力させる際に、撮像範囲のうち撮像対象と
して設定された撮像エリアと対応する範囲からのみ画像
信号を選択的に出力させるようにしたので、不要範囲か
ら画像信号を出力させる無駄時間を排除して、撮像時間
を短縮することができる。また、出力された画像信号を
記憶させる際には、予め撮像エリアに関する情報に基づ
いて設定された記憶アドレスに従って書き込むようにし
たので、空白領域を極力排除して記憶容量を有効に活用
することができる。
In this imaging, when outputting the image signal from the line sensor 15, the image signal is selectively output only from the range corresponding to the imaging area set as the imaging target in the imaging range. It is possible to eliminate the useless time for outputting the image signal from the unnecessary range and shorten the imaging time. Further, when storing the output image signal, writing is performed in accordance with a storage address set in advance based on information on the imaging area, so that a blank area can be eliminated as much as possible to effectively utilize the storage capacity. it can.

【0055】そして全ての撮像エリアA〜Dから画像を
取り込むことによって電子部品6A〜6Fの認識を終え
た後、移載ヘッド5は基板位置決めステージ2上に移動
する。移載ヘッド5を基板位置決めステージ2上へ移動
させて基板3上に各電子部品を実装する際には、各電子
部品は認識結果に基づいて検出された位置ずれを補正し
た上で基板3上に搭載される。この実装動作において、
前述のように撮像時間が大幅に短縮されることにより、
高速の画像認識が実現され、実装効率を向上させること
ができる。
After the recognition of the electronic components 6A to 6F is completed by taking in images from all the imaging areas A to D, the transfer head 5 moves onto the substrate positioning stage 2. When mounting the respective electronic components on the substrate 3 by moving the transfer head 5 onto the substrate positioning stage 2, the respective electronic components are corrected on the substrate 3 based on the recognition result, and are then corrected on the substrate 3. Mounted on In this implementation operation,
As mentioned above, the imaging time is greatly reduced,
High-speed image recognition is realized, and mounting efficiency can be improved.

【0056】[0056]

【発明の効果】本発明によれば、ラインセンサから画像
信号を出力させる際に、撮像範囲内での画像信号出力対
象として設定された撮像エリアと対応する光電変換素子
からのみ画像信号を選択的に出力させるとともに、撮像
対象とラインセンサとの相対的な位置関係を監視して画
像信号の書き込みを制御して予め撮像エリアに基づいて
設定された記憶アドレスによって指定される記憶領域に
記憶させるようにしたので、不要範囲から画像信号を出
力させて記憶させる無駄を排除して、画像読み取り時間
を短縮することができる。
According to the present invention, when an image signal is output from a line sensor, an image signal is selectively output only from a photoelectric conversion element corresponding to an imaging area set as an image signal output target within the imaging range. And the relative positional relationship between the imaging target and the line sensor is monitored to control the writing of the image signal so that the image signal is stored in a storage area specified by a storage address set in advance based on the imaging area. Therefore, it is possible to eliminate the waste of outputting and storing the image signal from the unnecessary range, thereby shortening the image reading time.

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

【図1】本発明の一実施の形態の電子部品実装装置の構
成を示すブロック図
FIG. 1 is a block diagram showing a configuration of an electronic component mounting apparatus according to an embodiment of the present invention.

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

【図3】本発明の一実施の形態の撮像装置のラインセン
サの構成図
FIG. 3 is a configuration diagram of a line sensor of the imaging device according to the embodiment of the present invention;

【図4】本発明の一実施の形態の撮像装置の撮像方法の
説明図
FIG. 4 is an explanatory diagram of an imaging method of the imaging device according to the embodiment of the present invention;

【図5】本発明の一実施の形態の撮像装置の撮像エリア
設定の説明図
FIG. 5 is an explanatory diagram of an imaging area setting of the imaging apparatus according to the embodiment of the present invention;

【図6】本発明の一実施の形態の撮像方法における画像
データの記憶アドレス設定の説明図
FIG. 6 is an explanatory diagram of a storage address setting of image data in the imaging method according to the embodiment of the present invention;

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

4 移載ヘッド移動機構 8 カメラ 11 画像認識ユニット 15 ラインセンサ 15a 画素 21 制御部 22 画素選択回路 24 座標出力部 25 撮像エリア情報記憶部 26 書き込み制御部 27 画像記憶部 28 アドレス設定部 29 アドレス制御部 4 Transfer Head Moving Mechanism 8 Camera 11 Image Recognition Unit 15 Line Sensor 15a Pixel 21 Control Unit 22 Pixel Selection Circuit 24 Coordinate Output Unit 25 Imaging Area Information Storage Unit 26 Write Control Unit 27 Image Storage Unit 28 Address Setting Unit 29 Address Control Unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C022 AA01 AC27 AC42 5C024 AX20 BX04 CX00 CY44 EX01 GY01 5C054 AA01 CF07 FC11 FF02 GB02 HA03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C022 AA01 AC27 AC42 5C024 AX20 BX04 CX00 CY44 EX01 GY01 5C054 AA01 CF07 FC11 FF02 GB02 HA03

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】撮像対象の光学画像を光電変換素子上に結
像させることにより撮像対象の画像を読み取る撮像装置
であって、光電変換素子を備えた複数の画素をX方向に
直列に配置したラインセンサと、前記複数の画素の中の
1つを選択することにより選択した画素から画像信号を
出力させる画素選択部と、前記ラインセンサと撮像対象
を少なくとも前記X方向に交差するY方向へ相対的に移
動させる相対移動機構と、前記ラインセンサによる撮像
エリアのサイズに関するX方向の数値及びY方向の数値
を記憶する撮像エリア情報記憶部と、前記ラインセンサ
から出力された画像信号を記憶する画像記憶部と、前記
X方向の数値を用いて前記画素選択部による画素の選択
を制御する制御部と、前記Y方向の数値及び前記相対移
動機構の位置情報に基づいて前記画像記憶部への画像信
号の書き込みを制御する書き込み制御部と、前記撮像エ
リア情報に基づいて前記画像記憶部の記憶アドレスを設
定するアドレス設定部と、前記書き込み制御部の制御信
号に従って画像記憶部に画像信号の書き込みを行う際に
前記記憶アドレスによって指定される記憶領域に画像信
号を書き込ませるアドレス制御部とを備えたことを特徴
とする撮像装置。
An imaging apparatus for reading an image of an imaging target by forming an optical image of the imaging target on a photoelectric conversion element, wherein a plurality of pixels including the photoelectric conversion element are arranged in series in the X direction. A line sensor, a pixel selection unit that outputs an image signal from a pixel selected by selecting one of the plurality of pixels, and a line sensor and an image capturing target that are at least in a Y direction that intersects the X direction. Relative movement mechanism for moving the image sensor, an imaging area information storage unit for storing a numerical value in the X direction and a numerical value in the Y direction regarding the size of the imaging area by the line sensor, and an image for storing an image signal output from the line sensor A storage unit, a control unit that controls selection of a pixel by the pixel selection unit using the numerical value in the X direction, a numerical value in the Y direction, and position information of the relative movement mechanism A writing control unit that controls writing of an image signal to the image storage unit based on the image signal, an address setting unit that sets a storage address of the image storage unit based on the imaging area information, and a control signal of the writing control unit. An image pickup apparatus, comprising: an address control unit that writes an image signal to a storage area specified by the storage address when writing an image signal to the image storage unit.
【請求項2】光電変換素子を備えた複数の画素をX方向
に直列に配列したラインセンサを撮像対象に対してX方
向と交差するY方向に相対移動させながらこの撮像対象
の画像を読み取る撮像方法であって、(1)撮像エリア
を設定する工程と、(2)設定された撮像エリアのX方
向の幅に基づいて画像信号を出力する画素を設定する工
程と、(3)設定された撮像エリアのY方向の長さに基
づいて、画像記憶部への画像信号の書き込みを制御する
制御信号を出力するとともに画像記憶部の記憶アドレス
を前記撮像エリア情報に基づいて設定する工程と、
(4)画素を周期的に選択することにより画像信号を出
力する工程と、(5)撮像対象と前記ラインセンサとの
Y方向に関する相対的な位置関係を監視することによ
り、前記制御信号に従って前記記憶アドレスによって指
定される記憶領域に前記出力された画像信号の書き込み
を行わせる工程とを少なくとも含み、前記(4)の工程
は、前記(2)の工程で設定された画素に対してのみ行
われることを特徴とする撮像方法。
2. An image pickup apparatus for reading an image of an object to be imaged while relatively moving a line sensor having a plurality of pixels having photoelectric conversion elements arranged in series in the X direction in the Y direction intersecting the X direction with respect to the object to be imaged. A method of: (1) setting an imaging area; (2) setting a pixel for outputting an image signal based on the set width of the imaging area in the X direction; and (3) setting the pixel. Outputting a control signal for controlling writing of an image signal to the image storage unit based on the length of the imaging area in the Y direction, and setting a storage address of the image storage unit based on the imaging area information;
(4) outputting an image signal by periodically selecting a pixel; and (5) monitoring a relative positional relationship between an imaging target and the line sensor in the Y direction, thereby obtaining the image signal according to the control signal. Writing the output image signal into a storage area specified by a storage address. The step (4) is performed only for the pixels set in the step (2). An imaging method characterized by being performed.
JP2000263463A 2000-08-07 2000-08-31 Image pickup device and method Pending JP2002077874A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2000263463A JP2002077874A (en) 2000-08-31 2000-08-31 Image pickup device and method
TW090118762A TW526660B (en) 2000-08-07 2001-08-01 Device and method for reading image, and recording medium for image reading program
KR1020010047152A KR100779126B1 (en) 2000-08-07 2001-08-04 image reading device and method, and image reading program storage media
CNB011250720A CN1189022C (en) 2000-08-07 2001-08-06 Image reading-out device and method and recording media for image reading-out program
US09/923,833 US6810158B2 (en) 2000-08-07 2001-08-07 Device and method for reading image, and recording medium for image reading program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000263463A JP2002077874A (en) 2000-08-31 2000-08-31 Image pickup device and method

Publications (1)

Publication Number Publication Date
JP2002077874A true JP2002077874A (en) 2002-03-15

Family

ID=18751009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000263463A Pending JP2002077874A (en) 2000-08-07 2000-08-31 Image pickup device and method

Country Status (1)

Country Link
JP (1) JP2002077874A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007278928A (en) * 2006-04-10 2007-10-25 Olympus Corp Defect inspection device
CN111326455A (en) * 2018-12-13 2020-06-23 三星显示有限公司 Method for manufacturing display device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007278928A (en) * 2006-04-10 2007-10-25 Olympus Corp Defect inspection device
CN111326455A (en) * 2018-12-13 2020-06-23 三星显示有限公司 Method for manufacturing display device
CN111326455B (en) * 2018-12-13 2024-04-16 三星显示有限公司 Method for manufacturing display device

Similar Documents

Publication Publication Date Title
JP2007150643A (en) Solid state imaging element, driving method therefor, and imaging apparatus
JP2006324834A (en) Device and method for imaging
EP1564547B1 (en) Image processing device and image processing method
KR100871132B1 (en) Image reading device and image reading method
JP2006235719A (en) Imaging method and imaging apparatus
JP2002077874A (en) Image pickup device and method
JP3593977B2 (en) Image reading device
JPH0865567A (en) Image pickup device
KR100779126B1 (en) image reading device and method, and image reading program storage media
JP4531294B2 (en) Symbol information reader
JP3607449B2 (en) Image processing alignment device
JP2002051261A (en) Device and method for reading image
KR100661666B1 (en) Imaging apparatus allowing a plurality of regions to be read, and method therefor
JP4049897B2 (en) Image input device
JP2002057841A (en) Image reading system and method for reading the same
JPH1032743A (en) Image adding device
JP2002109524A (en) Image pickup apparatus and image pickup method
JP3641994B2 (en) Moving object image processing apparatus
JPH0818840A (en) Image reader
JP5110116B2 (en) Imaging apparatus and imaging method
JP2002197447A (en) Image reader and image-reading method
JP2004317330A (en) Method and apparatus for inspecting panel for display
JPH05167835A (en) Magnification varying method in image input device
JP2006340406A (en) Solid-state imaging apparatus and system thereof
JPH1098649A (en) Ccd line sensor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040817

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041001

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041026

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070626