JP2005093623A - Method and apparatus for recognizing substrate mark - Google Patents

Method and apparatus for recognizing substrate mark Download PDF

Info

Publication number
JP2005093623A
JP2005093623A JP2003323811A JP2003323811A JP2005093623A JP 2005093623 A JP2005093623 A JP 2005093623A JP 2003323811 A JP2003323811 A JP 2003323811A JP 2003323811 A JP2003323811 A JP 2003323811A JP 2005093623 A JP2005093623 A JP 2005093623A
Authority
JP
Japan
Prior art keywords
detection frame
substrate
mark
image data
board
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
JP2003323811A
Other languages
Japanese (ja)
Inventor
Naoki Kurita
直樹 栗田
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.)
Juki Corp
Original Assignee
Juki Corp
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 Juki Corp filed Critical Juki Corp
Priority to JP2003323811A priority Critical patent/JP2005093623A/en
Publication of JP2005093623A publication Critical patent/JP2005093623A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Supply And Installment Of Electrical Components (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To quickly recognize a substrate marks, even if the substrate mark sticks out of a detection frame due to variations in the dimensional precision of a substrate and positions, when transferring the substrate. <P>SOLUTION: Image data positioned in the detection frame 31 are subjected to arithmetic processings, to recognize whether the substrate mark 20a sticks out of the detection frame 31, and the detection frame 31 is enlarged toward the sticking-out direction, when the substrate mark 20a sticks out of the detection frame 31. Then, image data positioned in the enlarged detection frame are subjected to arithmetic processings, and the center-of-gravity position of the substrate mark 20a is transmitted to a main control unit 28, if the substrate mark 20a does not stick out of the enlarged detection frame. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、基板に設けられた基板マークを撮像して得られた画像により、基板マークの位置を画像認識する基板マーク認識方法及び装置に関するものである。 The present invention relates to a substrate mark recognition method and apparatus for recognizing the position of a substrate mark from an image obtained by imaging a substrate mark provided on a substrate.

電子部品製造分野において、電子部品や基板を精度よく位置決めする方法として、画像認識を応用する方法が広く用いられている。この方法は、基板や電子部品を撮像して得られた画像を認識することにより、基板の基板マークや電子部品の電極あるいはエッジ部などの位置を検出するものである。 In the electronic component manufacturing field, a method of applying image recognition is widely used as a method for accurately positioning an electronic component or a substrate. In this method, the position of a substrate mark, an electrode of an electronic component, an edge portion, or the like is detected by recognizing an image obtained by imaging the substrate or the electronic component.

この画像認識による基板マークの位置検出では、CCDカメラを基板マークの上方に移動させて撮像を行うが、このときCCDカメラを移動させる目標位置を予め設定しておく必要がある。従来は、正規位置にセットされた基板の基板マークを撮像して得られた画像内の基板マークにCCDカメラの撮像視野の中心を合わせることにより、基板マークの位置を求めて撮像基準位置として教示し、この教示した位置を目標としてCCDカメラを移動させていた。 In the detection of the position of the substrate mark by this image recognition, the CCD camera is moved above the substrate mark to perform imaging. At this time, it is necessary to set a target position for moving the CCD camera in advance. Conventionally, by aligning the center of the imaging field of the CCD camera with the substrate mark in the image obtained by imaging the substrate mark of the substrate set at the normal position, the position of the substrate mark is obtained and taught as the imaging reference position However, the CCD camera is moved with the taught position as a target.

ところで、認識を行うには撮像した画面内に検出枠を設定し画像処理範囲を限定して認識に要する時間を短縮することが行われる。ところで、基板の寸法精度や基板搬送時の位置のばらつきのため、基板マークが検出枠から食み出ることがある。この場合には、正確な画像認識が行われず基板の位置決めを行うことができない。そこで、予め大小2つの検出枠すなわちサーチエリアを設定し、まず小さなサーチエリア内でパターンマッチングを行い、マッチング率が設定しきい値以下ならば大きなサーチエリアに拡大する方法がある(例えば、特許文献1参照)。
特開平10−261898号公報
By the way, in order to perform recognition, a detection frame is set in an imaged screen and an image processing range is limited to shorten the time required for recognition. By the way, the substrate mark may protrude from the detection frame due to variations in the dimensional accuracy of the substrate and the position of the substrate during transportation. In this case, accurate image recognition is not performed and the substrate cannot be positioned. Therefore, there is a method in which two large and small detection frames, that is, search areas are set in advance, pattern matching is first performed within the small search area, and if the matching rate is equal to or less than a set threshold value, the search area is expanded to a large search area (for example, Patent Literature 1).
Japanese Patent Laid-Open No. 10-261898

しかしながら、検出枠の外に基板マークが飛び出すほどずれるのは基板搬送装置に何らかの問題点がある場合であり、基板の寸法精度や基板搬送時の位置のばらつきのために起こるずれは、基板マークが検出枠から食み出ること、すなわち基板マークが検出枠の上下左右の辺に掛かる程のずれである。小さな検出枠で認識できなかった場合に、あらかじめ用意した大きな拡大した検出枠を用いて認識するということは認識のための時間がかかるという問題点があった。   However, the substrate mark is displaced so that it jumps out of the detection frame when there is a problem with the substrate transfer device. The deviation caused by the dimensional accuracy of the substrate and the variation in position during substrate transfer is It is a deviation that protrudes from the detection frame, that is, the substrate mark is placed on the upper, lower, left and right sides of the detection frame. When recognition is not possible with a small detection frame, recognizing using a large enlarged detection frame prepared in advance has a problem that it takes time for recognition.

そこで本発明は、デフォルト(初期設定)の検出枠で基板マークを認識出来なかった場合は、必要最小限に拡大した検出枠を設定して基板マークの認識を短時間で行うことができ、しかも認識ミスの発生を低減することができる基板の基板マーク認識方法及び装置を提供することを目的とする。   Therefore, in the present invention, when the substrate mark cannot be recognized with the default (initial setting) detection frame, the detection frame enlarged to the minimum necessary can be set and the substrate mark can be recognized in a short time. It is an object of the present invention to provide a substrate mark recognition method and apparatus for a substrate that can reduce the occurrence of recognition errors.

請求項1記載の発明では、電子部品が実装される基板を撮像装置で撮像して基板上の位置決め用の基板マークを認識する電子部品実装機の基板マーク認識方法において、画像データの画面の中に検出枠を設定し、前記検出枠内の基板マークを認識し、前記検出枠の各辺ごとに前記基板マークが前記検出枠から食み出していないか認識し、前記基板マークが前記検出枠から食み出していれば食み出している方向へ拡大した検出枠を前記画像データの画面の中に設定し、前記拡大した検出枠を使用して前記基板マークを認識する方法を採って、前記課題を解決している。 According to the first aspect of the present invention, there is provided a substrate mark recognition method for an electronic component mounting machine for recognizing a substrate mark for positioning on a substrate by imaging a substrate on which the electronic component is mounted with an imaging device. Detecting frame, recognizing a substrate mark in the detection frame, recognizing whether or not the substrate mark protrudes from the detection frame for each side of the detection frame, If the detection frame that has protruded from the set, the detection frame expanded in the protruding direction is set in the screen of the image data, and the method of recognizing the substrate mark using the expanded detection frame, The said subject is solved.

そして請求項2に記載の発明では、請求項1に記載の電子部品実装機の基板マーク認識方法において、前記画像データの画面の中で検出枠を拡大できない場合、前記基板マークが前記検出枠から食み出している方向へ前記撮像装置を移動し、移動した位置で再び前記基板を前記撮像装置で再び撮像し、前記再び撮像した画像データを用いて前記基板マークを認識することを特徴としている。 And in invention of Claim 2, in the board | substrate mark recognition method of the electronic component mounting machine of Claim 1, when the detection frame cannot be expanded in the screen of the said image data, the said board mark is from the said detection frame. The image pickup device is moved in a protruding direction, the substrate is picked up again by the image pickup device at the moved position, and the substrate mark is recognized using the image data picked up again. .

更に、請求項3記載の発明では、 電子部品が実装される基板を撮像装置で撮像して基板上の位置決め用の基板マークを認識する電子部品実装機の基板マーク認識装置において、撮像した画像データを記憶する画像データ記憶部と、前記画像データの画面の中に検出枠を設定する検出枠設定部と、前記検出枠内の画像データを抽出する位置を指定する抽出データ位置指定部と、前記抽出データ位置指定部の指定する画像データの位置から画像データを抽出して記憶する抽出データ記憶部と、前記抽出データ記憶部の記憶データから基板マークの重心位置の演算と基板マークが検出枠から食み出しているか否かを演算する基板マーク位置演算部とから構成して、前記課題を解決している。 Furthermore, in the invention described in claim 3, the image data captured by the substrate mark recognition device of the electronic component mounting machine that images the substrate on which the electronic component is mounted by the imaging device and recognizes the positioning substrate mark on the substrate. An image data storage unit, a detection frame setting unit for setting a detection frame in the image data screen, an extraction data position designating unit for designating a position for extracting image data in the detection frame, An extraction data storage unit that extracts and stores image data from the position of the image data specified by the extraction data position specification unit, the calculation of the center of gravity position of the substrate mark from the storage data of the extraction data storage unit, and the substrate mark from the detection frame The above-mentioned problem is solved by comprising a substrate mark position calculation unit for calculating whether or not it is protruding.

そして請求項3に記載の発明では、請求項3記載の電子部品実装機の基板マーク認識装置において、前記画像データの画面の中で検出枠を拡大できない場合、前記基板マークが前記検出枠から食み出している方向へ前記撮像装置を移動し、移動した位置で再び前記基板を前記撮像装置で再び撮像し、前記再び撮像した画像データを用いて前記基板マークを認識することを特徴としている。
According to a third aspect of the present invention, in the board mark recognition apparatus for an electronic component mounting machine according to the third aspect, when the detection frame cannot be enlarged in the screen of the image data, the board mark is removed from the detection frame. The imaging device is moved in the protruding direction, the substrate is again picked up by the imaging device at the moved position, and the substrate mark is recognized using the image data picked up again.

本発明の電子部品実装機における基板マーク認識方法及び装置によれば、撮像した基板マークの画像において検出枠の中の画像データに対して画像処理をして、基板マークが検出枠から食み出しているかいないかを認識する。そして食み出していれば食み出している方に検出枠を拡大して、拡大した検出枠の範囲に該当する画像データに対して画像処理を行うようにしたので基板マークの認識不良をなくすとともに検出枠の拡大は必要最小限に行われるのであるから画像処理に要する時間を大幅に短縮させることができる。   According to the substrate mark recognition method and apparatus in the electronic component mounting machine of the present invention, image processing is performed on the image data in the detection frame in the captured image of the board mark, and the substrate mark protrudes from the detection frame. Recognize whether or not And if it is sticking out, the detection frame is enlarged to the sticking out side, and image processing is performed on the image data corresponding to the range of the enlarged detection frame, so that the recognition failure of the substrate mark is eliminated. At the same time, since the detection frame is expanded to the minimum necessary, the time required for image processing can be greatly reduced.

更に、基板マークが検出枠と画面から食み出していれば、食み出している方に撮像装置を移動させて再び基板マークを撮像して画像処理を行うようにしたから基板マークを認識できないと言う不具合をなくすことができる。   Furthermore, if the substrate mark protrudes from the detection frame and the screen, the image processing is performed again by moving the imaging device to the protruding area, and image processing is performed again so that the substrate mark cannot be recognized. Can eliminate the problem.

以下、本発明の一実施の形態を図面を参照して説明する。図1は本発明の一実施の形態である基板マーク認識装置が組み込まれた電子部品実装装置の斜視図である。図2はシステム構成を示すブロック図、図3は検出枠を示す画像図、図4は検出枠を拡大できない場合の画像図、図5は画像処理を利用した位置認識の動作を示すフローチャートである。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a perspective view of an electronic component mounting apparatus in which a board mark recognition apparatus according to an embodiment of the present invention is incorporated. 2 is a block diagram showing a system configuration, FIG. 3 is an image diagram showing a detection frame, FIG. 4 is an image diagram when the detection frame cannot be enlarged, and FIG. 5 is a flowchart showing an operation of position recognition using image processing. .

まず、図1を参照して基板マーク認識装置1の全体構造を説明する。図1において、15は基板範走路である。基板範走路15の中央部付近には、基板範走路15によって搬送された基板20が保持されている。基板20の上面には、基板マーク20aが設けられている。装着ヘッド部13はXY移送部14に支持されており水平移動可能である。装着ヘッド部13には基板マーク20aを撮像する撮像装置としてのCCDカメラ17が配設され、基板マーク20の撮像時にはCCDカメラ17が基板マーク20aの上方に位置するように移動される。そして基板マーク20aを撮像して画像認識により基板マーク20aの重心位置を求め、重心位置の撮像画面の中心位置に対するずれ量(画面内でのXY座標位置ずれ)を算出する。CCDカメラ17の撮像画面中心位置と電子部品搭載機1のXY座標位置関係は既知であるから、基板20の電子部品搭載機1のXY座標に対する位置を割り出す。また装着ヘッド部13には、ノズル13aが配設されている。装着ヘッド部13はそのノズル13aの下端部にフィーダ12のリール11に巻かれたテープ11aによって供給されるチップ部品を真空吸着して正規基板位置に対する位置補正を行って基板20に搭載する。   First, the overall structure of the substrate mark recognition apparatus 1 will be described with reference to FIG. In FIG. 1, reference numeral 15 denotes a substrate standard runway. A substrate 20 transported by the substrate running path 15 is held near the central portion of the substrate running path 15. A substrate mark 20 a is provided on the upper surface of the substrate 20. The mounting head unit 13 is supported by the XY transfer unit 14 and can move horizontally. The mounting head unit 13 is provided with a CCD camera 17 as an imaging device for imaging the substrate mark 20a. When the substrate mark 20 is imaged, the CCD camera 17 is moved so as to be positioned above the substrate mark 20a. Then, the substrate mark 20a is imaged, and the center of gravity position of the substrate mark 20a is obtained by image recognition, and the amount of deviation of the center of gravity position from the center position of the imaging screen (XY coordinate position deviation in the screen) is calculated. Since the relationship between the center position of the imaging screen of the CCD camera 17 and the XY coordinate position of the electronic component mounting machine 1 is known, the position of the substrate 20 relative to the XY coordinates of the electronic component mounting machine 1 is determined. Further, the mounting head portion 13 is provided with a nozzle 13a. The mounting head unit 13 vacuum-sucks the chip component supplied by the tape 11a wound on the reel 11 of the feeder 12 to the lower end of the nozzle 13a, corrects the position relative to the normal substrate position, and mounts it on the substrate 20.

次に、図2を参照して、基板マーク認識装置の制御系の構成を説明する。図2において、CCDカメラ17基板マーク20aを撮像し、画像データをA/D変換部22を経て画像記憶部23に送る。画像記憶部23は、A/D変換された画像データを記憶する。検出枠設定部26はデフォルトの検出枠のサイズを抽出データ位置指定部27に指定する。抽出データ位置指定部27は抽出枠のサイズに従って、画像記憶部23から抽出する画像データのアドレスを算出する。抽出データ記憶部24は抽出データ位置指定部27の示すアドレスに従って、画像記憶部23から画像データを抽出し記憶する。 Next, the configuration of the control system of the substrate mark recognition apparatus will be described with reference to FIG. In FIG. 2, the CCD camera 17 substrate mark 20 a is imaged, and the image data is sent to the image storage unit 23 via the A / D conversion unit 22. The image storage unit 23 stores the A / D converted image data. The detection frame setting unit 26 specifies the default detection frame size in the extracted data position specifying unit 27. The extracted data position specifying unit 27 calculates the address of the image data extracted from the image storage unit 23 according to the size of the extraction frame. The extracted data storage unit 24 extracts and stores image data from the image storage unit 23 according to the address indicated by the extracted data position specifying unit 27.

基板マーク位置演算部25は基板マーク20aの重心位置の演算と基板マーク20aが検出枠から食み出していないか(基板マーク20aが検出枠の辺と重なっていないか)確認する(図3参照)。食み出していなければ基板マーク20aの重心位置を主制御部28に送信し、食み出していれば検出枠設定部26に検出枠拡大命令と拡大方向を送出する。検出枠拡大が出来ない場合は主制御部28にCCDカメラ17の移動要求コマンドと移動方向を送信する。   The board mark position calculation unit 25 calculates the position of the center of gravity of the board mark 20a and checks whether the board mark 20a protrudes from the detection frame (whether the board mark 20a does not overlap the side of the detection frame) (see FIG. 3). ). If not protruding, the center of gravity position of the substrate mark 20a is transmitted to the main control unit 28, and if it is protruding, a detection frame enlargement command and an enlargement direction are sent to the detection frame setting unit 26. When the detection frame cannot be enlarged, a movement request command and movement direction of the CCD camera 17 are transmitted to the main control unit 28.

基板マーク20aは、一般には基板の4隅のうちの2箇所または3箇所に付される。これらの基板マーク20aを撮像して基板マーク20aの重心位置を演算することにより、電子部品搭載装置1における基板の位置(XY座標位置)が演算される。複数の基板マーク20aを認識することによりXY座標に対する基板20の傾きも演算される。この結果に基づいてチップ部品の搭載位置(XY座標位置)を計算して装着ヘッド13をXY移送部14により移動させ、さらにノズル13aをθ回転して基板の傾きに対する補正を行ってチップ部品を基板20に搭載する。   The substrate mark 20a is generally attached to two or three of the four corners of the substrate. By imaging these board marks 20a and calculating the position of the center of gravity of the board marks 20a, the board position (XY coordinate position) in the electronic component mounting apparatus 1 is calculated. By recognizing the plurality of substrate marks 20a, the inclination of the substrate 20 with respect to the XY coordinates is also calculated. Based on this result, the mounting position (XY coordinate position) of the chip component is calculated, the mounting head 13 is moved by the XY transfer unit 14, and the nozzle 13a is rotated by θ to correct the tilt of the substrate, thereby correcting the chip component. Mounted on the substrate 20.

ここで、検出枠31について図3と図4を参照して説明する。図3において30はCCDカメラ17で撮像された画面の範囲を示す画面枠であり、この範囲内に基板マーク20aが撮像される。画面枠内の小さい実線枠で囲まれた範囲が検出枠31である。基板マーク20aは検出枠31から食み出した状態(基板マーク20aが検出枠31の右辺と重なった状態)で撮像されている。32は検出枠31を拡大する拡大位置を示す。拡大は基板マーク20aの半径より少し大きい距離だけ拡大する。図3においては検出枠31の右辺を右方向に点線の拡大位置32まで、基板マーク20aの半径より少し大きい距離まで拡大する。 Here, the detection frame 31 will be described with reference to FIGS. 3 and 4. In FIG. 3, reference numeral 30 denotes a screen frame indicating the range of the screen imaged by the CCD camera 17, and the substrate mark 20a is imaged within this range. A range surrounded by a small solid line frame in the screen frame is the detection frame 31. The substrate mark 20a is imaged in a state of protruding from the detection frame 31 (a state in which the substrate mark 20a overlaps the right side of the detection frame 31). Reference numeral 32 denotes an enlargement position where the detection frame 31 is enlarged. The enlargement is performed by a distance slightly larger than the radius of the substrate mark 20a. In FIG. 3, the right side of the detection frame 31 is expanded rightward to a dotted line expansion position 32 to a distance slightly larger than the radius of the substrate mark 20a.

基板マーク位置演算部25は主に基板マーク20aを認識する部分である。基板マーク20aを認識して基板マーク20aの重心位置を演算することにより基板マーク20aの位置認識を行う。画像認識による重心位置演算はパターンマッチングによる方法と2値化による方法が選択できる。基板マーク20aが鮮明に撮像できる場合は画像データを直ちに2値化して重心演算するほうが画像データから基板マーク20aの重心位置を演算する時間が短いから、撮像した画像の状態に応じて選択できるようになっている。   The board mark position calculation unit 25 is a part that mainly recognizes the board mark 20a. The position of the substrate mark 20a is recognized by recognizing the substrate mark 20a and calculating the position of the center of gravity of the substrate mark 20a. For the gravity center position calculation by image recognition, a pattern matching method or a binarization method can be selected. When the board mark 20a can be clearly picked up, it is possible to select according to the state of the picked-up image because it takes less time to calculate the center of gravity of the board mark 20a from the image data by immediately binarizing the image data and calculating the center of gravity. It has become.

次に、基板マーク20aの重心位置から検出枠31の上辺、下辺、右辺、左辺までの距離を演算し、前記の距離が基板マーク20aの半径より短ければ基板マーク20aが検出枠31から食み出していると判定して検出枠31の拡大要求と拡大する辺を検出枠設定部26に送出する。そして抽出データ記憶部24に拡大要求に基づいて抽出された画像データを再び演算処理して、基板マーク20aが検出位置32まで拡大した検出枠から食み出していなければ基板マーク20aの重心位置を主制御部に送信する。なお、拡大前よりも拡大した分だけ演算の時間がかかる。   Next, the distances from the center of gravity of the substrate mark 20a to the upper side, the lower side, the right side, and the left side of the detection frame 31 are calculated. If the distance is shorter than the radius of the substrate mark 20a, the substrate mark 20a bites away from the detection frame 31. It is determined that the image has been extracted, and the enlargement request for the detection frame 31 and the side to be enlarged are sent to the detection frame setting unit 26. Then, the image data extracted based on the enlargement request in the extraction data storage unit 24 is processed again, and if the substrate mark 20a does not protrude from the detection frame enlarged to the detection position 32, the center of gravity position of the substrate mark 20a is determined. Sent to the main control unit. Note that the calculation takes longer than before the enlargement.

図4において、32aは検出枠31を拡大する拡大位置を示す。拡大位置32aは画面枠30から食み出して画面枠30の外側となり、検出枠31を拡大する事が出来ない。この場合はCCDカメラ17を食み出した方に移動して再び基板マーク20aを撮像する。 In FIG. 4, 32 a indicates an enlargement position where the detection frame 31 is enlarged. The enlargement position 32a protrudes from the screen frame 30 to the outside of the screen frame 30, and the detection frame 31 cannot be enlarged. In this case, the CCD camera 17 is moved out and the substrate mark 20a is imaged again.

基板マーク位置演算部25の拡大要求により検出枠設定部26が検出枠31を拡大しようとしたが、拡大位置32aが画像枠30の外側となって拡大できないと判定された時、検出枠拡大設定部24は拡大不可(False)と拡大できない辺を基板マーク位置演算部25に送出する。そして基板マーク位置演算部25は主制御部28にCCDカメラ17の移動要求コマンドと移動方向を送信する。   When the detection frame setting unit 26 attempts to enlarge the detection frame 31 in response to an enlargement request from the board mark position calculation unit 25, but it is determined that the enlargement position 32a is outside the image frame 30 and cannot be enlarged, the detection frame enlargement setting is performed. The unit 24 sends to the substrate mark position calculation unit 25 the sides that cannot be enlarged (False) and cannot be enlarged. Then, the substrate mark position calculation unit 25 transmits a movement request command and a movement direction of the CCD camera 17 to the main control unit 28.

基板マーク20aが検出枠31から食み出しいるかいないかの判定は、上記の重心位置から検出枠31の各辺までの距離を演算して判定する方法のほかに、しきい値によって判定する方法がある。これは、検出枠31の上辺、下辺、右辺、左辺に位置する画像データ(ピクセル)において、ピクセル値が指定したしきい値よりも大きなピクセルが指定する数以上存在するか算出し、指定する数よりも多く存在すれば基板マーク20aはその辺から食み出していると判定する。例えば、上辺に指定したしきい値より大きなピクセル値のピクセルが指定した数よりも多く存在し、右辺にも指定したしきい値より大きなピクセル値のピクセルが指定した数よりも多く存在すれば基板マーク20aは検出枠31の上辺と右辺から食み出していると判定する。   Whether the board mark 20a protrudes from the detection frame 31 is determined by a threshold value in addition to the method of calculating and determining the distance from the center of gravity position to each side of the detection frame 31. There is. This is calculated by calculating whether there are more pixels than the threshold value specified by the pixel value in the image data (pixels) located on the upper side, the lower side, the right side, and the left side of the detection frame 31. If there are more, it is determined that the substrate mark 20a protrudes from the side. For example, if there are more pixels with a pixel value larger than the specified threshold value on the upper side, and there are more pixels with a pixel value larger than the specified threshold value on the right side than the specified number, the board It is determined that the mark 20a protrudes from the upper side and the right side of the detection frame 31.

基板マーク認識装置の構成は上記のように成り、以下その動作について説明する。まず基板20を基板搬送路15の中央部に位置するように搬送する。図5において、XY移送部14により装着ヘッド部13を水平移動して、装着ヘッド部13に搭載されたCCDカメラ17が基板マーク20aの上に位置するようにする(ST1)。次いで、CCDカメラ17により基板マーク20aを撮像する(ST2)。画像記憶部23から検出枠内に相当する画像データ(各ピクセルの値)を抽出して記憶する(ST3)。   The configuration of the substrate mark recognition apparatus is as described above, and the operation thereof will be described below. First, the substrate 20 is transferred so as to be positioned at the center of the substrate transfer path 15. In FIG. 5, the mounting head unit 13 is horizontally moved by the XY transfer unit 14 so that the CCD camera 17 mounted on the mounting head unit 13 is positioned on the substrate mark 20a (ST1). Next, the substrate mark 20a is imaged by the CCD camera 17 (ST2). Image data (value of each pixel) corresponding to the detection frame is extracted from the image storage unit 23 and stored (ST3).

次いで基板マーク20aの重心位置を演算して重心位置から検出枠31の各辺までの距離により食み出しの有無を調べる選択されているかどうかの分岐を行う。なおフローチャートには特に記載していないが、重心演算はパターンマッチングによる方法と2値化による方法が選択可能である(ST4)。重心から辺までの距離によるほうが選択されていれば抽出した画像データを演算して基板マーク20aの重心位置を算出する(ST5)。そして重心位置から各辺(上辺、下辺、右辺、左辺)までの各距離を算出する(ST6).   Next, the position of the center of gravity of the substrate mark 20a is calculated, and a branch is made as to whether or not it is selected to check whether or not the protrusion is detected based on the distance from the position of the center of gravity to each side of the detection frame 31. Although not particularly described in the flowchart, the center of gravity calculation can be selected from a pattern matching method and a binarization method (ST4). If the distance from the center of gravity to the side is selected, the extracted image data is calculated to calculate the position of the center of gravity of the substrate mark 20a (ST5). Then, each distance from the barycentric position to each side (upper side, lower side, right side, left side) is calculated (ST6).

前記各距離が基板マークの半径より小さければ食み出し有り、全て大きければ食み出し無しの判断がされる(ST7)。食み出し無しであれば基板マーク20aの重心位置を主制御部28に送信する(ST13)。食み出し有りであれば食み出している方に検出枠31の拡大を行う。拡大する量は基板マーク20aの半径より少し大きな値、あるいはあらかじめ指定された値である(ST8).   If each distance is smaller than the radius of the substrate mark, it is judged that there is protrusion, and if all the distances are large, it is judged that there is no protrusion (ST7). If there is no protrusion, the position of the center of gravity of the substrate mark 20a is transmitted to the main controller 28 (ST13). If there is protrusion, the detection frame 31 is enlarged toward the protrusion. The amount to be enlarged is a value slightly larger than the radius of the substrate mark 20a or a value designated in advance (ST8).

次いで検出枠の拡大が画面枠30の中に行われたか、拡大すると検出枠が画面枠30から飛び出してしまい拡大できないかの判断がされる(ST9)。拡大できなければ主制御部28に移動要求コマンドと移動方向を送信する(ST14)。ST14の後はXY移送部14によりCCDカメラ17の位置を変えて再び基板マーク20aを撮像する。画面枠30の中で検出枠31を拡大できた場合は、ST3にもどって拡大した検出枠の中に該当する画像データを抽出する。   Next, it is determined whether the detection frame has been enlarged within the screen frame 30 or whether the detection frame has popped out of the screen frame 30 and cannot be enlarged (ST9). If it cannot be enlarged, a movement request command and a movement direction are transmitted to the main control unit 28 (ST14). After ST14, the position of the CCD camera 17 is changed by the XY transfer unit 14, and the substrate mark 20a is imaged again. When the detection frame 31 can be enlarged in the screen frame 30, the corresponding image data is extracted in the enlarged detection frame by returning to ST3.

以上ではST4において重心位置で食み出しチェックを選択したばあいであったが、選択しなかった場合について説明する。この場合、検出枠31の各辺に該当する画像データ、すなわち各辺に該当する位置のピクセルのピクセル値を抽出する(ST10)。次いで抽出したピクセル値に対して、辺ごとにしきい値より大きな値のピクセル値は指定した数より多く存在するかの判断がされる(ST11)。しきい値より大きな値のピクセル値は指定した数より多く存在する辺があれば、その辺から基板マーク20aが食み出しているのであるから、ST8に進んで検出枠31の拡大を行う。しきい値より大きな値のピクセル値は指定した数より多く存在する辺がなければ、ST3で抽出した画像データを演算して基板マーク20aの重心位置を算出する(ST12)。そして主制御部28へ基板マーク位置を送信する(ST13)。   The case where the protrusion check is selected at the center of gravity position in ST4 will be described. In this case, the image data corresponding to each side of the detection frame 31, that is, the pixel value of the pixel at the position corresponding to each side is extracted (ST10). Next, it is determined whether or not there are more pixel values than the specified number for each side with respect to the extracted pixel values (ST11). If there are more sides than the specified number of pixel values greater than the threshold value, the substrate mark 20a protrudes from the sides, so that the process proceeds to ST8 and the detection frame 31 is enlarged. If there are no sides where there are more pixel values than the specified number, the image data extracted in ST3 is calculated to calculate the position of the center of gravity of the substrate mark 20a (ST12). Then, the substrate mark position is transmitted to the main control unit 28 (ST13).

基板マークは円で説明したが、プラス、三角、四角などの記号でも良い。そして記述した基板マークの半径とはこれらの記号を囲むことの出来る最小の円の半径である。   Although the substrate mark is described as a circle, it may be a symbol such as plus, triangle or square. The radius of the described substrate mark is the radius of the smallest circle that can enclose these symbols.

他の利用分野として、サブマウントの位置決めのためのマーク認識を行い、サブマウントにレーザダイオードチップを搭載するダイボンダーへの利用が可能である。   As another application field, mark recognition for positioning the submount can be performed, and it can be used for a die bonder in which a laser diode chip is mounted on the submount.

基板マーク認識装置が組み込まれた電子部品実装装置の斜視図である。It is a perspective view of the electronic component mounting apparatus with which the board | substrate mark recognition apparatus was integrated. システム構成を示すブロック図である。It is a block diagram which shows a system configuration. 検出枠を示す画像図である。It is an image figure which shows a detection frame. 検出枠を拡大できない場合の画像図である。It is an image figure when a detection frame cannot be expanded. 画像処理を利用した位置認識の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of position recognition using an image process.

符号の説明Explanation of symbols

1 電子部品搭載機
13 装着ヘッド部
13a ノズル
14 XY移送部
15 基板搬送路
17 CCDカメラ(撮像装置)
20 基板
20a 基板マーク
22 A/D変換部
23 画像記憶部
24 抽出データ記憶部
25 基板マーク位置演算部
26 検出枠設定部
27 抽出データ位置指定部
28 主制御部
30 画面枠
31 検出枠
32 拡大位置
32a 拡大位置

DESCRIPTION OF SYMBOLS 1 Electronic component mounting machine 13 Mounting head part 13a Nozzle 14 XY transfer part 15 Substrate conveyance path 17 CCD camera (imaging device)
20 Substrate 20a Substrate mark 22 A / D conversion unit 23 Image storage unit 24 Extracted data storage unit 25 Substrate mark position calculation unit 26 Detection frame setting unit 27 Extracted data position designation unit 28 Main control unit 30 Screen frame 31 Detection frame 32 Enlarged position 32a Enlarged position

Claims (4)

電子部品が実装される基板を撮像装置で撮像して基板上の位置決め用の基板マークを認識する電子部品実装機の基板マーク認識方法において、画像データの画面の中に検出枠を設定し、前記検出枠内の基板マークを認識し、前記検出枠の各辺ごとに前記基板マークが前記検出枠から食み出していないか認識し、前記基板マークが前記検出枠から食み出していれば食み出している方向へ拡大した検出枠を前記画像データの画面の中に設定し、前記拡大した検出枠を使用して前記基板マークを認識することを特徴とする電子部品実装機の基板マーク認識方法。   In the board mark recognition method for an electronic component mounter that recognizes a board mark for positioning on a board by imaging a board on which an electronic component is mounted with an imaging device, a detection frame is set in a screen of image data, and Recognize the substrate mark in the detection frame, recognize if the substrate mark protrudes from the detection frame for each side of the detection frame, and if the substrate mark protrudes from the detection frame A detection mark enlarged in a protruding direction is set in the screen of the image data, and the board mark is recognized using the enlarged detection frame. Method. 前記画像データの画面の中で検出枠を拡大できない場合、前記基板マークが前記検出枠から食み出している方向へ前記撮像装置を移動し、移動した位置で前記基板を前記撮像装置で再び撮像し、前記再び撮像した画像データを用いて前記基板マークを認識することを特徴とする請求項1に記載の電子部品実装機の基板マーク認識方法。   When the detection frame cannot be enlarged in the screen of the image data, the imaging device is moved in the direction in which the substrate mark protrudes from the detection frame, and the substrate is imaged again by the imaging device at the moved position. The board mark recognition method for an electronic component mounting machine according to claim 1, wherein the board mark is recognized using the image data picked up again. 電子部品が実装される基板を撮像装置で撮像して基板上の位置決め用の基板マークを認識する電子部品実装機の基板マーク認識装置において、撮像した画像データを記憶する画像データ記憶部と、前記画像データの画面の中に検出枠を設定する検出枠設定部と、前記検出枠内の画像データを抽出する位置を指定する抽出データ位置指定部と、前記抽出データ位置指定部の指定する画像データの位置から画像データを抽出して記憶する抽出データ記憶部と、前記抽出データ記憶部の記憶データから基板マークの重心位置の演算と基板マークが前記検出枠から食み出しているか否かを演算してはみ出していれば前記検出枠の拡大を指令する基板マーク位置演算部を有することを特徴とする電子部品実装機の基板マーク認識装置。   In a board mark recognition device of an electronic component mounting machine that images a board on which an electronic component is mounted with an imaging device and recognizes a positioning board mark on the board, an image data storage unit that stores captured image data; A detection frame setting unit for setting a detection frame in a screen of image data, an extraction data position designating unit for designating a position for extracting image data within the detection frame, and image data designated by the extraction data position designating unit An extraction data storage unit that extracts and stores image data from the position of the substrate, and calculates the center of gravity position of the substrate mark from the storage data of the extraction data storage unit and calculates whether the substrate mark protrudes from the detection frame An apparatus for recognizing a board mark of an electronic component mounting machine, comprising: a board mark position calculation unit for commanding an enlargement of the detection frame if protruding. 前記画像データの画面の中で検出枠を拡大できない場合、前記基板マークが前記検出枠から食み出している方向へ前記撮像装置を移動し、移動した位置で再び前記基板を前記撮像装置で再び撮像し、前記再び撮像した画像データを用いて前記基板マークを認識することを特徴とする請求項3記載の電子部品実装機の基板マーク認識装置。

If the detection frame cannot be enlarged in the screen of the image data, the imaging device is moved in a direction in which the substrate mark protrudes from the detection frame, and the substrate is again moved by the imaging device at the moved position. 4. The board mark recognition apparatus for an electronic component mounting machine according to claim 3, wherein the board mark is recognized using the image data picked up again.

JP2003323811A 2003-09-17 2003-09-17 Method and apparatus for recognizing substrate mark Pending JP2005093623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003323811A JP2005093623A (en) 2003-09-17 2003-09-17 Method and apparatus for recognizing substrate mark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003323811A JP2005093623A (en) 2003-09-17 2003-09-17 Method and apparatus for recognizing substrate mark

Publications (1)

Publication Number Publication Date
JP2005093623A true JP2005093623A (en) 2005-04-07

Family

ID=34454746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003323811A Pending JP2005093623A (en) 2003-09-17 2003-09-17 Method and apparatus for recognizing substrate mark

Country Status (1)

Country Link
JP (1) JP2005093623A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63123167A (en) * 1986-11-12 1988-05-26 Matsushita Electric Ind Co Ltd Part recognition method
JPH04338700A (en) * 1991-05-16 1992-11-25 Toshiba Corp Board mark recognition device
JPH08204400A (en) * 1995-01-31 1996-08-09 Matsushita Electric Ind Co Ltd Image recognition
JPH10261898A (en) * 1997-03-21 1998-09-29 Matsushita Electric Ind Co Ltd Positioning method for work
JP2001148600A (en) * 1999-11-22 2001-05-29 Matsushita Electric Ind Co Ltd Method for recognizing mark and aligner
JP2003069288A (en) * 2001-08-24 2003-03-07 Matsushita Electric Ind Co Ltd Method and apparatus for mounting part

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63123167A (en) * 1986-11-12 1988-05-26 Matsushita Electric Ind Co Ltd Part recognition method
JPH04338700A (en) * 1991-05-16 1992-11-25 Toshiba Corp Board mark recognition device
JPH08204400A (en) * 1995-01-31 1996-08-09 Matsushita Electric Ind Co Ltd Image recognition
JPH10261898A (en) * 1997-03-21 1998-09-29 Matsushita Electric Ind Co Ltd Positioning method for work
JP2001148600A (en) * 1999-11-22 2001-05-29 Matsushita Electric Ind Co Ltd Method for recognizing mark and aligner
JP2003069288A (en) * 2001-08-24 2003-03-07 Matsushita Electric Ind Co Ltd Method and apparatus for mounting part

Similar Documents

Publication Publication Date Title
US10650543B2 (en) Component mounting device
US6839960B2 (en) Method for mounting electronic parts on a board
JP2008270696A (en) Component mounting position correcting method and component mounting apparatus
US11357148B2 (en) Component mounting device
WO2016016933A1 (en) Component data handling device, component data handling method, and component mounting system
JP2008130771A (en) Component recognition method
US11272651B2 (en) Component mounting device, method of capturing image, and method of determining mounting sequence
US8404410B2 (en) Method of aligning photomask with base material and method of manufacturing printed circuit board
JP2008159890A (en) Method, device and program for recognizing position of mark, and component mounting equipment
JP2009170516A (en) Surface mounting machine, and electronic component mounting method
JP4707607B2 (en) Image acquisition method for component recognition data creation and component mounter
JP2005093623A (en) Method and apparatus for recognizing substrate mark
JP5288960B2 (en) Nozzle presence / absence detection method and apparatus for nozzle exchange device in surface mounter
JP2007090789A (en) Screen printing equipment
JP3632461B2 (en) Image recognition method
JP3341621B2 (en) Work positioning method
JP2008083520A (en) Exposure apparatus and alignment method
JP2004085664A (en) Drawing system
JP3763229B2 (en) Position detection method by image recognition
JP3928381B2 (en) Electronic component mounting apparatus and electronic component mounting method
JP2004311569A (en) Semiconductor manufacturing device
JP4566686B2 (en) Method and apparatus for determining shape of object
JP3482935B2 (en) Electronic component mounting apparatus and electronic component mounting method
US11266050B2 (en) Component mounting device
JP4660205B2 (en) Component recognition method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091005

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20091005

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20091005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100406

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100803