JP5158686B2 - Adsorption part front / back determination device and adsorption part front / back determination method - Google Patents

Adsorption part front / back determination device and adsorption part front / back determination method Download PDF

Info

Publication number
JP5158686B2
JP5158686B2 JP2007301692A JP2007301692A JP5158686B2 JP 5158686 B2 JP5158686 B2 JP 5158686B2 JP 2007301692 A JP2007301692 A JP 2007301692A JP 2007301692 A JP2007301692 A JP 2007301692A JP 5158686 B2 JP5158686 B2 JP 5158686B2
Authority
JP
Japan
Prior art keywords
suction
component
height position
suction component
height
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.)
Active
Application number
JP2007301692A
Other languages
Japanese (ja)
Other versions
JP2009130034A (en
Inventor
伸夫 長坂
高広 神藤
公彦 安田
泰弘 山下
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.)
Fuji Corp
Original Assignee
Fuji Machine Manufacturing 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 Fuji Machine Manufacturing Co Ltd filed Critical Fuji Machine Manufacturing Co Ltd
Priority to JP2007301692A priority Critical patent/JP5158686B2/en
Publication of JP2009130034A publication Critical patent/JP2009130034A/en
Application granted granted Critical
Publication of JP5158686B2 publication Critical patent/JP5158686B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、部品実装機の吸着ノズルに吸着した部品の吸着姿勢が表裏反対であるか否かを判定する吸着部品表裏判定装置及び吸着部品表裏判定方法に関する発明である。   The present invention relates to a suction component front / back determination device and a suction component front / back determination method for determining whether the suction posture of a component sucked by a suction nozzle of a component mounting machine is opposite.

部品実装機は、テープフィーダ等のフィーダから供給される部品を吸着ノズルで吸着して回路基板に実装する装置であるが、フィーダから供給される部品の表裏が何等かの原因でひっくり返って吸着ノズルに吸着される場合がある。   The component mounter is a device that picks up components supplied from a feeder such as a tape feeder with a suction nozzle and mounts them on a circuit board. However, the front and back of the components supplied from the feeder are turned over for some reason. It may be adsorbed by the adsorption nozzle.

そこで、特許文献1(特開平7−131196号公報)に記載されているように、吸着ノズルに吸着した部品の表裏を判定することを目的として、吸着ノズルに吸着した部品をその下方からカメラで撮像して、画像処理技術により部品の表裏の色の相違や、マーク、文字(製品名、製造番号等)の有無を判定して吸着部品の表裏を判定するようにしたものがある。   Therefore, as described in Patent Document 1 (Japanese Patent Application Laid-Open No. 7-131196), for the purpose of determining the front and back of the component sucked by the suction nozzle, the component sucked by the suction nozzle is viewed from below with a camera. Some images are picked up, and the front and back surfaces of the suction component are determined by determining the color difference between the front and back surfaces of the component and the presence or absence of marks and characters (product name, manufacturing number, etc.) by image processing technology.

しかし、この方法では、部品の表裏で色の違いがなく、かつ、表裏を判定可能なマークや文字が付されていない部品については、表裏を判定できない。   However, with this method, it is not possible to determine the front and back of a component that does not have a color difference between the front and back sides of the component and has no mark or character that can be determined.

また、特許文献2(特開2007−220770号公報)に記載されているように、吸着部品の横幅を側面方向から測定するレーザ認識装置(レーザアラインセンサ)を設け、吸着部品の下面の横幅を測定して、吸着部品の下面から側方に突出するリードが存在するか否かを判定することで、吸着部品の表裏を判定するようにしたものがある。
特開平7−131196号公報 特開2007−220770号公報
Moreover, as described in Patent Document 2 (Japanese Patent Laid-Open No. 2007-220770), a laser recognition device (laser alignment sensor) that measures the lateral width of the suction component from the side surface direction is provided, and the lateral width of the lower surface of the suction component is reduced. There is one in which the front and back of the suction component is determined by measuring and determining whether or not there is a lead protruding laterally from the lower surface of the suction component.
Japanese Patent Laid-Open No. 7-131196 JP 2007-220770 A

最近、本出願人は、特願2006−307507の明細書に記載されているように、部品実装機の吸着ノズルに吸着した部品(以下「吸着部品」という)を側面方向からカメラで撮像して取得した吸着部品の側面の画像に基づいて吸着部品の斜め吸着等を判定するシステムを研究・開発しているが、上記先願の明細書には、吸着部品の側面の画像から、吸着部品の表裏を判定する技術は記載されていない。もし、吸着部品の側面の画像から、吸着部品の表裏を判定することが可能であれば、吸着部品の側面の画像から検出可能な吸着不良の種類が増え、吸着不良による実装不良発生率を従来より低減できると共に、表裏判定のためのレーザ認識装置(レーザアラインセンサ)を設けることなく、表裏判定が可能となる。   Recently, as described in the specification of Japanese Patent Application No. 2006-307507, the present applicant images a part sucked by a suction nozzle of a component mounting machine (hereinafter referred to as “suction part”) with a camera from the side. We are researching and developing a system that determines the diagonal suction of the suction component based on the acquired image of the side of the suction component. The technique for judging the front and back is not described. If it is possible to determine the front and back of the suction component from the side image of the suction component, the number of types of suction failure that can be detected from the side image of the suction component will increase, and the conventional mounting failure rate due to suction failure will increase. In addition to being able to reduce further, it is possible to perform front / back determination without providing a laser recognition device (laser alignment sensor) for front / back determination.

本発明はこのような事情を考慮してなされたものであり、従ってその目的は、部品実装機の吸着ノズルに吸着した部品(以下「吸着部品」という)を側面方向からカメラで撮像した画像に基づいて簡単な処理で該吸着部品の表裏を判定できる吸着部品表裏判定装置及び吸着部品表裏判定方法を提供することにある。   The present invention has been made in consideration of such circumstances. Therefore, the object of the present invention is to capture an image of a component sucked by a suction nozzle of a component mounting machine (hereinafter referred to as “sucking component”) with a camera from the side. An object of the present invention is to provide a suction component front / back determination apparatus and a suction component front / back determination method that can determine the front / back of the suction component based on simple processing.

上記目的を達成するために、請求項1,に係る発明は、部品実装機の吸着ノズルに吸着した部品(以下「吸着部品」という)を側面方向からカメラで撮像した画像に基づいて前記吸着部品の吸着姿勢が表裏反対であるか否かを判定する技術思想であって、左右両端の高さ位置が吸着部品の厚み方向の中心高さ位置から裏側又は表側に片寄っている吸着部品を前記カメラで撮像した画像に表される吸着部品の側面を画像処理により認識して該吸着部品の左右両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて該吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにしたものである。吸着部品の左右両端の高さ位置が吸着部品の厚み方向中心の高さ位置から裏側又は表側に片寄っている場合は、吸着部品の表裏が反転すると、吸着部品の左右両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値が変化する。従って、この差分値に基づいて該吸着部品の吸着姿勢が表裏反対であるか否かを判定することが可能となり、吸着部品の側面方向からカメラで撮像した画像に基づいて簡単な処理で該吸着部品の表裏を判定することができる。 In order to achieve the above object, the present invention according to claims 1 and 6 is characterized in that the suction is performed based on an image obtained by capturing a part sucked by a suction nozzle of a component mounting machine (hereinafter referred to as “sucking part”) with a camera from the side. It is a technical idea to determine whether or not the suction posture of the parts are opposite to each other, and the suction parts whose left and right end height positions are offset from the center height position in the thickness direction of the suction parts to the back side or the front side The side surface of the suction component shown in the image captured by the camera is recognized by image processing, and the height between the height position of the left and right ends or one of the suction components and the height position of the lowest end of the suction component Whether or not the suction posture of the suction component is opposite is determined based on the difference value of the Z coordinate values of the respective height positions, which is the difference. If the height position of the left and right ends of the suction component is offset from the height position of the center of the suction component to the back side or the front side, if the front and back sides of the suction component are reversed, either the left or right end of the suction component or one of the ends The difference value of the Z coordinate value of each height position, which is a height difference between the height position of the suction part and the height position of the lowest end of the suction component, changes. Therefore, it is possible to determine whether or not the suction posture of the suction component is opposite to the front and back based on this difference value, and the suction component can be easily processed based on the image captured by the camera from the side surface direction of the suction component. The front and back of the part can be determined.

この場合、請求項2,のように、表裏判定の対象となる吸着部品が、リードが側方に突出したリード付きの部品である場合は、前記部品の左右に突出したリードの両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値が表裏判定しきい値以上であるか否かで該吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにすれば良い。リードは部品の底面側に設けられているため、吸着部品の表裏が正しい正常吸着であれば、吸着部品の左右両端の高さ位置(リードの高さ位置)と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値が小さくなる。この関係から、差分値が表裏判定しきい値以上であれば、吸着部品の吸着姿勢が表裏反対であると判定でき、差分値が表裏判定しきい値未満であれば、吸着部品の表裏が正しい正常吸着であると判定できる。 In this case, as in claims 2 and 7 , when the suction component to be subjected to the front / back determination is a component with a lead that protrudes sideways, either or both ends of the lead protruding left and right of the component Whether the difference value of the Z coordinate value of each height position, which is the height difference between the height position of one end and the height position of the lowest end of the suction component, is equal to or greater than the front / back determination threshold value It may be determined whether the suction posture of the suction component is opposite. Since the lead is provided on the bottom side of the component, if the front and back of the suction component are correct and normal suction, the height positions of the left and right ends of the suction component (lead height position) and the height of the lowest end of the suction component The difference value of the Z coordinate value at each height position, which is the height difference from the height position, becomes small. From this relationship, if the difference value is greater than or equal to the front / back determination threshold, it can be determined that the suction orientation of the suction component is opposite, and if the difference value is less than the front / back determination threshold, the front / back of the suction component is correct. It can be determined that the adsorption is normal.

例えば、吸着部品の左右両端の高さ位置の平均Z座標値を算出して、左右両端の高さ位置の平均Z座標値と該吸着部品の最下端の高さ位置のZ座標値との差分値に基づいて吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにしても良いが、請求項3,のように、吸着部品の左右両端のうちの低い方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにしても良い。このようにすれば、吸着ノズルに部品が傾いて吸着されている場合でも、吸着部品の表裏を精度良く判定することができる。 For example, the average Z coordinate value of the height position of the left and right ends of the suction component is calculated, and the difference between the average Z coordinate value of the height position of the left and right ends and the Z coordinate value of the height position of the lowest end of the suction component Although it may be determined whether the suction posture of the suction component is opposite, based on the value, as in claims 3 and 8 , the height of the lower end of the left and right ends of the suction component Whether or not the suction posture of the suction component is opposite is determined based on the difference value of the Z coordinate value of each height position, which is the height difference between the height position and the height position of the lowest end of the suction component Anyway. In this way, the front and back of the suction component can be accurately determined even when the component is sucked and sucked by the suction nozzle.

また、請求項4,のように、カメラで撮像した画像から吸着部品の左右両端のうちのいずれか一方の端のみを認識可能である場合は、当該認識可能な一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて前記吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにしても良い。このようにすれば、画像のスキャンエリアから吸着部品の片方の端がはみ出す場合でも、画像処理によって認識可能な一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて吸着部品の表裏を判定することができる。 Further, as in claims 4 and 9 , when only one of the left and right ends of the suction component can be recognized from the image captured by the camera, the height position of the one end that can be recognized Whether or not the suction posture of the suction component is opposite is determined based on the difference value of the Z coordinate value of each height position that is the height difference between the height position of the suction component and the lowermost end of the suction component. May be. In this way, even if one end of the suction component protrudes from the scan area of the image, the height difference between the height position of one end that can be recognized by image processing and the height position of the lowermost end of the suction component It is possible to determine the front and back of the suction component based on the difference value of the Z coordinate value at each height position.

更に、請求項5,10のように、カメラで撮像した画像から吸着部品の左右両端を共に認識できない場合は、吸着部品の表裏判定を中止するようにすれば良い。このようにすれば、画像のスキャンエリアから吸着部品の左右両端がはみ出す場合に、吸着部品の表裏を誤って判定することを未然に防止できる。 Further, as in claims 5 and 10 , when both the left and right ends of the suction component cannot be recognized from the image captured by the camera, the front / back determination of the suction component may be stopped. In this way, it is possible to prevent the front and back of the suction component from being erroneously determined when the left and right ends of the suction component protrude from the image scan area.

以下、本発明を実施するための最良の形態を具体化した2つの実施例1,2を説明する。   Hereinafter, two Examples 1 and 2, which embody the best mode for carrying out the present invention, will be described.

本発明の実施例1を図1乃至図5に基づいて説明する。
部品実装機は、図1に示すように、レボルバー型(ロータリ型)の装着ヘッド12を備え、この装着ヘッド12の下面側に複数本の吸着ノズル13が円周方向に所定間隔で配列されている。各吸着ノズル13は、装着ヘッド12に昇降可能に設けられた吸着ホルダ14に下向きに吸着保持されている。尚、装着ヘッド12は、図示はしないが、XYスライド機構のうちのY方向に移動するYスライドに支持され、Yスライドは、X方向に移動するXスライド上に搭載されている。
A first embodiment of the present invention will be described with reference to FIGS.
As shown in FIG. 1, the component mounting machine includes a revolver type (rotary type) mounting head 12, and a plurality of suction nozzles 13 are arranged at predetermined intervals in the circumferential direction on the lower surface side of the mounting head 12. Yes. Each suction nozzle 13 is suctioned and held downward by a suction holder 14 provided on the mounting head 12 so as to be movable up and down. Although not shown, the mounting head 12 is supported by a Y slide that moves in the Y direction of the XY slide mechanism, and the Y slide is mounted on the X slide that moves in the X direction.

一方、画像処理機能付き撮像装置11は、Yスライドに着脱可能に支持された装着ヘッド12に取り付けられ、装着ヘッド12と一体的に移動するようになっている。この画像処理機能付き撮像装置11は、CCDカメラ等のカメラ15、液晶表示器(LCD)等の表示器16、被撮像物(吸着ノズル13や吸着部品)を照明するLED等の照明光源17、これらの動作を制御するメインコントロール基板18、カメラ15の光軸を被撮像物に合わせるプリズム19を備えている。本実施例1では、照明光源17は、UV光を照射するUV照明用LEDであり、装着ヘッド12の中心部下方には、照明光源17からのUV光により蛍光を発生して被撮像物(吸着ノズル13や吸着部品)を裏側から照明する円筒型の蛍光反射板21が設けられている。   On the other hand, the imaging device 11 with an image processing function is attached to a mounting head 12 that is detachably supported by a Y slide, and moves integrally with the mounting head 12. The imaging device 11 with an image processing function includes a camera 15 such as a CCD camera, a display 16 such as a liquid crystal display (LCD), an illumination light source 17 such as an LED that illuminates an object to be imaged (suction nozzle 13 or suction component), A main control board 18 for controlling these operations and a prism 19 for aligning the optical axis of the camera 15 with the object to be imaged are provided. In the first embodiment, the illumination light source 17 is an LED for UV illumination that irradiates UV light. Below the center of the mounting head 12, fluorescence is generated by the UV light from the illumination light source 17 and an object to be imaged ( A cylindrical fluorescent reflector 21 that illuminates the suction nozzle 13 and the suction component) from the back side is provided.

図2に示すように、メインコントロール基板18には、CPU22(画像処理手段)、ROM23、RAM24、制御用ネットワークIC25、照明光源17(UV照明用LED)を駆動するLEDドライバ26、カメラ15から出力される画像データを二値化する二値化回路27、表示器16(LCD)を駆動するLCDドライバ28等が搭載されている。   As shown in FIG. 2, a CPU 22 (image processing means), a ROM 23, a RAM 24, a control network IC 25, an LED driver 26 for driving an illumination light source 17 (UV illumination LED), and an output from the camera 15 are provided on the main control board 18. A binarization circuit 27 for binarizing the image data to be processed, an LCD driver 28 for driving the display 16 (LCD), and the like are mounted.

表示器16(LCD)は、中継基板29とフレキシブルフラットケーブル(FFC)等のケーブル30を介してメインコントロール基板18に接続されている。中継基板29には、操作用の押し釦スイッチ31,32が設けられ、この押し釦スイッチ31,32を操作することで、表示器16の表示モードを切り替えるようになっている。その他、表示器16の表示モードは、部品実装機の制御コンピュータ(図示せず)から送信されてくる表示モード切替信号によっても切り換えられるようになっている。また、カメラ15と照明光源17(UV照明用LED)も、それぞれフレキシブルフラットケーブル(FFC)等のケーブル33,34を介してメインコントロール基板18に接続されている。   The display 16 (LCD) is connected to the main control board 18 via a relay board 29 and a cable 30 such as a flexible flat cable (FFC). The relay board 29 is provided with push button switches 31 and 32 for operation. By operating the push button switches 31 and 32, the display mode of the display 16 is switched. In addition, the display mode of the display 16 can be switched by a display mode switching signal transmitted from a control computer (not shown) of the component mounter. The camera 15 and the illumination light source 17 (UV illumination LED) are also connected to the main control board 18 via cables 33 and 34 such as a flexible flat cable (FFC).

このメインコントロール基板18は、ハーネス35を介して部品実装機の制御コンピュータ(図示せず)に接続され、メインコントロール基板18と部品実装機の制御コンピュータとの間で信号を送受信すると共に、部品実装機の制御コンピュータから撮像装置11に直流電源が供給されるようになっている。   The main control board 18 is connected to a control computer (not shown) of the component mounting machine via a harness 35, and transmits and receives signals between the main control board 18 and the control computer of the component mounting machine, and also mounts the component. DC power is supplied to the image pickup apparatus 11 from the control computer of the machine.

次に、上記構成の画像処理機能付き撮像装置11の動作を説明する。
画像処理機能付き撮像装置11のCPU22は、部品実装機の制御コンピュータから送信されてくる閾値データ、各種パラメータ、動作コマンド(撮像トリガ)等の情報を受信する。そして、動作コマンド(撮像トリガ)を受信した時点で、カメラ15の撮像動作を開始し、カメラ15から出力される被撮像物(吸着ノズル13や吸着部品)の画像データを取り込んで画像処理を行い、その処理結果を電子部品実装機の制御コンピュータに送信する。
Next, the operation of the imaging apparatus 11 with an image processing function having the above configuration will be described.
The CPU 22 of the imaging device 11 with an image processing function receives information such as threshold data, various parameters, operation commands (imaging trigger) transmitted from the control computer of the component mounting machine. Then, when the operation command (imaging trigger) is received, the imaging operation of the camera 15 is started, and image processing of the imaged object (suction nozzle 13 or suction component) output from the camera 15 is performed and image processing is performed. Then, the processing result is transmitted to the control computer of the electronic component mounting machine.

この際、撮像装置11のCPU22は、次のようにして画像処理を実行する。
部品実装機の稼働中に、吸着部品の吸着姿勢が表裏反対であるか否かを判定する場合、撮像装置11のCPU22は、吸着ノズル13に吸着した部品を側面方向(水平方向)からカメラ15で撮像して吸着部品の側面の画像(図3、図4参照)を取り込んで画像処理する。そして、表裏判定の対象となる吸着部品が、左右両端の高さ位置が吸着部品の厚み方向中心の高さ位置から裏側又は表側に片寄っている部品(例えばリードが側方に突出したリード付きの部品)である場合は、カメラ15で撮像した画像に表される吸着部品の左右両端又はいずれか一方の端の高さ位置(Z座標データ)と該吸着部品の最下端の高さ位置を測定し、各高さ位置の測定データを部品実装機の制御コンピュータに送信する。
At this time, the CPU 22 of the imaging device 11 performs image processing as follows.
When determining whether or not the suction posture of the suction component is opposite, while the component mounter is in operation, the CPU 22 of the imaging device 11 removes the component sucked by the suction nozzle 13 from the side surface (horizontal direction) from the camera 15. Then, the image of the side surface of the suction component (see FIGS. 3 and 4) is captured and processed. And the suction parts that are subject to front / back determination are parts whose left and right end heights are offset from the height position of the center of the suction part in the thickness direction (for example, with leads with leads protruding sideways). Component), the height position (Z coordinate data) of the left and right ends or any one of the suction parts represented in the image captured by the camera 15 and the lowest position of the suction part are measured. Then, the measurement data at each height position is transmitted to the control computer of the component mounting machine.

尚、部品実装機の制御コンピュータに画像処理機能を持たせて、部品実装機の制御コンピュータが撮像装置11から送信されてくる画像に表される吸着部品の側面を画像処理により認識して、該吸着部品の左右両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置を測定するようにしても良い。   The component mounter control computer has an image processing function, and the component mounter control computer recognizes the side surface of the suction component represented in the image transmitted from the imaging device 11 by image processing, and You may make it measure the height position of the left-right both ends or any one end of a suction component, and the height position of the lowest end of this suction component.

本実施例1では、画像処理時間を短縮するために、カメラ15で撮像した画像内に部分的にスキャンエリア(走査範囲)を設定するパーシャル機能を搭載し、このパーシャル機能により、カメラ15で撮像した画像内の吸着部品の存在範囲を想定してスキャンエリアを設定するようにしているが、画像処理時間に余裕がある場合は、カメラ15で撮像した画像全体をスキャンエリアに設定して、画像全体をスキャンするようにしても良いことは言うまでもない。   In the first embodiment, in order to shorten the image processing time, a partial function for setting a scan area (scanning range) partially in an image captured by the camera 15 is mounted. The scan area is set assuming the presence range of the suction parts in the image, but if there is a margin for image processing time, the entire image captured by the camera 15 is set as the scan area, Needless to say, the whole may be scanned.

図3(a)、(b)に示すように、カメラ15で撮像した画像内に設定したスキャンエリア内に吸着部品全体が収まっている場合は、吸着部品の左右両端(リード)の高さ位置を測定可能である。この場合は、スキャンエリアの左端と右端から中心に向けてスキャンして吸着部品の左右両端を検出し、左右両端の高さ位置を測定すると共に、吸着部品の最下端を検出してその最下端の高さ位置を測定する。   As shown in FIGS. 3A and 3B, when the entire suction component is within the scan area set in the image captured by the camera 15, the height positions of the left and right ends (leads) of the suction component Can be measured. In this case, scan from the left and right edges of the scan area toward the center to detect the left and right ends of the suction component, measure the height positions of the left and right ends, and detect the bottom end of the suction component to detect its bottom end. Measure the height position.

一方、図4(a)、(b)に示すように、カメラ15で撮像した画像内に設定したスキャンエリアから吸着部品の片方の端(リード)がはみ出しているために、吸着部品の左右両端のうちのいずれか一方の端のみを認識可能である場合は、スキャンエリアの一方の端から中心に向けてスキャンする。例えば、吸着部品の左端のみが認識可能であれば、スキャンエリアの左端から中心に向けてスキャンし、吸着部品の右端のみが認識可能であれば、スキャンエリアの右端から中心に向けてスキャンする。これにより、吸着部品の一方の端と吸着部品の最下端を検出し、当該一方の端の高さ位置と最下端の高さ位置を測定する。ここで、スキャンエリアから吸着部品の左端又は右端がはみ出しているか否かを判定する方法は、スキャンエリアの左端又は右端をスキャンして、スキャンエリアの左端又は右端に吸着部品のエッジが存在するか否かを判定すれば良い。   On the other hand, as shown in FIGS. 4A and 4B, since one end (lead) of the suction component protrudes from the scan area set in the image captured by the camera 15, both left and right ends of the suction component If only one end of the scan area can be recognized, scanning is performed from one end of the scan area toward the center. For example, if only the left end of the suction component is recognizable, scanning is performed from the left end of the scan area toward the center, and if only the right end of the suction component is recognizable, scanning is performed from the right end of the scan area toward the center. Thus, one end of the suction component and the lowermost end of the suction component are detected, and the height position of the one end and the height position of the lowermost end are measured. Here, the method of determining whether the left end or right end of the suction component protrudes from the scan area is to scan the left end or right end of the scan area, and whether the edge of the suction component exists at the left end or right end of the scan area What is necessary is just to determine.

また、図4(c)に示すように、カメラ15で撮像した画像内に設定したスキャンエリアから吸着部品の左右両端がはみ出していて、吸着部品の左右両端を共に認識できない場合は、吸着部品の左右両端のいずれの高さ位置も測定できないため、高さ位置測定不能信号を出力する。   Further, as shown in FIG. 4C, when the left and right ends of the suction component protrude from the scan area set in the image captured by the camera 15, and both the left and right ends of the suction component cannot be recognized, Since neither of the left and right height positions can be measured, a height position measurement impossible signal is output.

部品実装機の制御コンピュータは、吸着部品の左右両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値を算出して、該差分値を表裏判定しきい値と比較して該吸着部品の吸着姿勢が表裏反対であるか否かを判定する。吸着部品の左右両端の高さ位置が吸着部品の厚み方向中心の高さ位置から裏側又は表側に片寄っている場合は、吸着部品の表裏が反転すると、吸着部品の左右両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値が変化するため、この差分値に基づいて該吸着部品の吸着姿勢が表裏反対であるか否かを判定することが可能となる。尚、以下の説明では、「高さ位置」は、「高さ位置のZ座標値」を意味するものとする。
The control computer of the component mounting machine can determine the difference between the Z coordinate values of each height position, which is the height difference between the height position of either the left or right ends of the suction component or any one of the suction components and the height position of the lowest end of the suction component. A value is calculated, and the difference value is compared with a front / back determination threshold value to determine whether the suction posture of the suction component is opposite. If the height position of the left and right ends of the suction component is offset from the height position of the center of the suction component to the back side or the front side, if the front and back sides of the suction component are reversed, either the left or right end of the suction component or one of the ends Since the difference value of the Z coordinate value of each height position, which is the height difference between the height position of the suction component and the height position of the lowest end of the suction component, changes, the suction posture of the suction component is changed based on this difference value. It is possible to determine whether the opposite is true. In the following description, “height position” means “a Z coordinate value of the height position”.

以上説明した本実施例1の吸着部品の表裏判定処理は、部品実装機の制御コンピュータ及び撮像装置11のCPU22によって図5の吸着部品表裏判定ルーチンに従って実行される。以下、図5の吸着部品表裏判定ルーチンの処理内容を説明する。   The suction component front / back determination processing of the first embodiment described above is executed according to the suction component front / back determination routine of FIG. 5 by the control computer of the component mounting machine and the CPU 22 of the imaging device 11. The processing contents of the suction component front / back determination routine of FIG. 5 will be described below.

図5の吸着部品表裏判定ルーチンは、吸着ノズル13に吸着した部品を側面方向からカメラ15で撮像するタイミングに同期して起動され、特許請求の範囲でいう表裏判定手段としての役割を果たす。本ルーチンが起動されると、まず、ステップ101で、吸着部品の左右両端と最下端のエッジをスキャンするための1個のスキャンエリアを設定し、次のステップ102で、吸着ノズル13に吸着した部品を側面方向(水平方向)からカメラ15で撮像する。尚、カメラ15の撮像後にスキャンエリアを設定しても良い。   The suction component front / back determination routine of FIG. 5 is started in synchronization with the timing at which the camera 15 picks up the component sucked by the suction nozzle 13 from the side surface direction, and serves as front / back determination means in the claims. When this routine is started, first, in step 101, one scan area for scanning the left and right ends and the lowermost edge of the suction component is set, and in the next step 102, suction is performed on the suction nozzle 13. The part is imaged by the camera 15 from the side surface direction (horizontal direction). Note that the scan area may be set after the imaging of the camera 15.

この後、ステップ103に進み、スキャンエリア内に吸着部品の左右両端が収まっているか否かを判定するために、スキャンエリアの左端と右端をそれぞれスキャンし、次のステップ104で、そのスキャン結果に基づいてスキャンエリアの左端と右端の両方に吸着部品のエッジが存在するか否か(つまり吸着部品の左右両端が共にスキャンエリアからはみ出しているか否か)を判定する。その結果、図4(c)に示すように、スキャンエリアの左端と右端の両方に吸着部品のエッジが存在すると判定されれば、吸着部品の左右両端のいずれの高さ位置も測定できないと判断して、ステップ105に進み、表裏判定を中止する(撮像装置11のCPU22から高さ位置測定不能信号を部品実装機の制御コンピュータに送信する)。   Thereafter, the process proceeds to step 103, and in order to determine whether or not the left and right ends of the suction component are within the scan area, the left end and the right end of the scan area are respectively scanned. In the next step 104, the scan result is displayed. Based on this, it is determined whether or not the edge of the suction component exists at both the left end and the right end of the scan area (that is, whether both the left and right ends of the suction component protrude from the scan area). As a result, as shown in FIG. 4C, if it is determined that the edge of the suction component exists at both the left end and the right end of the scan area, it is determined that any height position of the left and right ends of the suction component cannot be measured. Then, the process proceeds to step 105, and the front / back determination is stopped (a height position measurement impossibility signal is transmitted from the CPU 22 of the imaging device 11 to the control computer of the component mounting machine).

一方、上記ステップ104で、「No」と判定されれば、ステップ106に進み、スキャンエリアの左端と右端のいずれか片方に吸着部品のエッジが存在するか否か(つまり吸着部品の左端と右端のいずれか片方がスキャンエリアからはみ出しているか否か)を判定する。その結果、図4(a),(b)に示すように、スキャンエリアの左端と右端のいずれか片方に吸着部品のエッジが存在すると判定されれば、ステップ111に進み、スキャンエリアの左端と右端のうちの吸着部品のエッジが存在しない方の端から中心に向けてスキャンし、そのスキャン結果に基づいて吸着部品の認識可能な一方の端と吸着部品の最下端を検出し、当該一方の端の高さ位置と最下端の高さ位置を測定する。この後、ステップ112に進み、吸着部品の一方の端の高さ位置と最下端の高さ位置との差分値ΔZminを算出して、後述するステップ113に進む。この差分値ΔZminは、後述するステップ114で表裏判定用の差分値ΔZminとして用いられる。   On the other hand, if “No” is determined in step 104, the process proceeds to step 106, and whether or not there is an edge of the suction component on either the left end or the right end of the scan area (that is, the left end and the right end of the suction component). Whether or not one of them protrudes from the scan area). As a result, as shown in FIGS. 4A and 4B, if it is determined that the edge of the suction component exists at one of the left end and the right end of the scan area, the process proceeds to step 111, where the left end of the scan area Scan from the end of the right end where the edge of the suction component does not exist to the center, and based on the scan result, detect one recognizable end of the suction component and the bottom end of the suction component, Measure the height of the edge and the height of the bottom edge. Thereafter, the process proceeds to step 112, the difference value ΔZmin between the height position of one end of the suction component and the height position of the lowermost end is calculated, and the process proceeds to step 113 described later. This difference value ΔZmin is used as a difference value ΔZmin for front / back determination in step 114 described later.

また、上記ステップ106で、「No」と判定されれば、図3(a),(b)に示すように、スキャンエリア内に吸着部品の左右両端が収まっていると判断して、ステップ107に進み、スキャンエリアの左端から中心に向けてスキャンして、そのスキャン結果に基づいて吸着部品の左端を検出して当該左端の高さ位置を測定すると共に、スキャンエリアの右端から中心に向けてスキャンして、そのスキャン結果に基づいて吸着部品の右端を検出して当該右端の高さ位置を測定し、更に、これら2方向からの上記スキャン結果に基づいて吸着部品の最下端を検出して当該最下端の高さ位置を測定する。   If “No” is determined in step 106, it is determined that the left and right ends of the suction component are within the scan area as shown in FIGS. 3A and 3B. Proceed to, scan from the left end of the scan area toward the center, detect the left end of the suction component based on the scan result, measure the height position of the left end, and from the right end of the scan area toward the center Scan, detect the right end of the suction component based on the scan result, measure the height position of the right end, and further detect the bottom end of the suction component based on the scan results from these two directions The height position of the lowermost end is measured.

この後、ステップ108に進み、吸着部品の左端の高さ位置と最下端の高さ位置との差分値ΔZLを算出し、次のステップ109で、吸着部品の右端の高さ位置と最下端の高さ位置との差分値ΔZRを算出する。そして、次のステップ110で、これら2つの差分値ΔZL,ΔZRのうちの小さい方を表裏判定用の差分値ΔZminとして選択する。   Thereafter, the process proceeds to step 108, and a difference value ΔZL between the height position of the left end of the suction component and the height position of the lowermost end is calculated. In the next step 109, the height position of the right end of the suction component and the lowermost end of the suction component are calculated. A difference value ΔZR from the height position is calculated. In the next step 110, the smaller one of these two difference values ΔZL and ΔZR is selected as the difference value ΔZmin for front / back determination.

或は、吸着部品の左端の高さ位置と右端の高さ位置とを比較して、低い方の端の高さ位置と最下端の高さ位置との差分値を算出しても良く、この差分値も、上記ステップ110で選択した表裏判定用の差分値ΔZminと同一の差分値となる。その他、2つの差分値ΔZL,ΔZRの平均値を表裏判定用の差分値ΔZminとしても良い。   Alternatively, the difference between the height position of the lower end and the height position of the lowermost end may be calculated by comparing the left end height position and the right end height position of the suction component. The difference value is also the same difference value as the front / back determination difference value ΔZmin selected in step 110. In addition, an average value of the two difference values ΔZL and ΔZR may be used as the difference value ΔZmin for front / back determination.

この後、ステップ113に進み、吸着部品の厚みに基づいて表裏判定しきい値βを算出する。この際、例えば吸着部品の厚みのα[%]を表裏判定しきい値βとしても良い。
β=吸着部品の厚み×α/100
ここで、吸着部品の厚みは、前記スキャンエリアのスキャン結果に基づいて測定すれば良い。尚、表裏判定しきい値βは、予め設定した一定値を用いても良い。
Thereafter, the process proceeds to step 113, where the front / back determination threshold value β is calculated based on the thickness of the suction component. At this time, for example, α [%] of the thickness of the suction component may be used as the front / back determination threshold value β.
β = thickness of adsorbing part × α / 100
Here, the thickness of the suction component may be measured based on the scan result of the scan area. The front / back determination threshold value β may be a preset constant value.

表裏判定しきい値βの算出後、ステップ114に進み、上記ステップ110又はステップ112で選択又は算出された表裏判定用の差分値ΔZminを表裏判定しきい値βと比較して、表裏判定用の差分値ΔZminが表裏判定しきい値β以上であれば、ステップ115に進み、吸着部品の吸着姿勢が表裏反対であると判定し、表裏判定用の差分値ΔZminが表裏判定しきい値β未満であれば、ステップ116に進み、吸着部品の表裏が正しい正常吸着であると判定する。   After calculating the front / back determination threshold value β, the process proceeds to step 114, and the front / back determination difference value ΔZmin selected or calculated in step 110 or step 112 is compared with the front / back determination threshold value β. If the difference value ΔZmin is equal to or greater than the front / back determination threshold value β, the process proceeds to step 115, where it is determined that the suction posture of the suction component is opposite, and the front / back determination difference value ΔZmin is less than the front / back determination threshold value β. If there is, the process proceeds to step 116, and it is determined that the front and back of the suction component is correct normal suction.

以上説明した本実施例1によれば、吸着ノズル13に吸着した部品を側面方向からカメラ15で撮像した画像に表される吸着部品の左右両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との差分値を算出して、該差分値を表裏判定しきい値と比較して該吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにしたので、吸着部品の側面方向からカメラで撮像した画像に基づいて簡単な処理で該吸着部品の表裏を判定することができる。   According to the first embodiment described above, the height positions of the left and right ends or one of the ends of the suction component represented by the image captured by the camera 15 from the side surface of the component sucked by the suction nozzle 13 and the suction The difference value with the height position of the lowest end of the part is calculated, and the difference value is compared with the front / back determination threshold value to determine whether the suction posture of the suction part is opposite to the front / back side. Therefore, the front and back of the suction component can be determined by a simple process based on the image captured by the camera from the side surface direction of the suction component.

また、本実施例1では、図3(a),(b)に示すように、スキャンエリア内に吸着部品の左右両端が収まっていて、吸着部品の左右両端の高さ位置を測定できる場合は、吸着部品の左右両端のうちの低い方の端の高さ位置と該吸着部品の最下端の高さ位置との差分値ΔZminに基づいて吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにしたので、吸着ノズル13に部品が傾いて吸着されている場合でも、吸着部品の表裏を精度良く判定することができる。   Further, in the first embodiment, as shown in FIGS. 3A and 3B, when the left and right ends of the suction component are within the scan area and the height positions of the left and right ends of the suction component can be measured. Whether the suction posture of the suction component is opposite on the basis of the difference value ΔZmin between the height position of the lower end of the left and right ends of the suction component and the height position of the lowermost end of the suction component Since the determination is made, the front and back of the suction component can be accurately determined even when the component is sucked and sucked by the suction nozzle 13.

また、本実施例1では、図4(a),(b)に示すように、スキャンエリアから吸着部品の片方の端がはみ出しているために、吸着部品の左右両端のうちのいずれか一方の端のみを認識可能である場合は、吸着部品の一方の端の端の高さ位置と最下端の高さ位置との差分値に基づいて該吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにしたので、スキャンエリアから吸着部品の片方の端がはみ出す場合でも、画像処理によって認識可能な一方の端の高さ位置と該吸着部品の最下端の高さ位置との差分値に基づいて吸着部品の表裏を判定することができる。   Further, in the first embodiment, as shown in FIGS. 4A and 4B, since one end of the suction component protrudes from the scan area, either one of the left and right ends of the suction component is detected. If only the edge can be recognized, whether or not the suction posture of the suction component is opposite on the basis of the difference between the height position of the end of one end of the suction component and the height position of the lowest end Therefore, even if one end of the suction component protrudes from the scan area, the difference value between the height position of one end that can be recognized by image processing and the height position of the lowest end of the suction component The front and back of the suction component can be determined based on the above.

また、本実施例1では、図4(c)に示すように、スキャンエリアから吸着部品の左端と右端の両方がはみ出しているために、吸着部品の左右両端のいずれの高さ位置も測定できない場合は、吸着部品の表裏判定を中止するようにしたので、スキャンエリアから吸着部品の左右両端がはみ出す場合に、吸着部品の表裏を誤って判定することを未然に防止できる。   Further, in the first embodiment, as shown in FIG. 4C, since both the left end and the right end of the suction component protrude from the scan area, it is impossible to measure the height positions of both the left and right ends of the suction component. In this case, since the front / back determination of the suction component is stopped, it is possible to prevent erroneous determination of the front / back of the suction component when both left and right ends of the suction component protrude from the scan area.

図6及び図7に示す本発明に関連する参考例である実施例2では、カメラ15で撮像した画像に表される吸着部品のエッジ(下端又は上端)のうちの当該部品の形状的な特徴となる複数の部分のエッジの高さ位置を測定するために、画像内に複数のスキャンエリアA、B、C、Dを設定する。各スキャンエリアA、B、C、Dの位置は、吸着部品の中心からの水平方向距離であるオフセット量La,Lb,Lc,Ldによって設定され、各オフセット量La,Lb,Lc,Ldと各スキャンエリアA、B、C、Dのサイズは、予め部品の種類毎に登録されている。 In Embodiment 2 which is a reference example related to the present invention shown in FIGS. 6 and 7, the shape characteristic of the part among the edges (lower end or upper end) of the suction part represented in the image captured by the camera 15. A plurality of scan areas A, B, C, and D are set in the image in order to measure the height positions of the edges of the plurality of portions. The positions of the scan areas A, B, C, and D are set by offset amounts La, Lb, Lc, and Ld that are horizontal distances from the center of the suction component, and the respective offset amounts La, Lb, Lc, and Ld The sizes of the scan areas A, B, C, and D are registered in advance for each type of component.

吸着部品の中心は、吸着部品を側面方向からカメラ15で撮像した吸着部品の側面の画像から判定しても良いが、吸着部品を下面方向からパーツカメラ(図示せず)で撮像した吸着部品の下面の画像から判定した吸着部品の中心を利用すれば、オフセット量La,Lb,Lc,Ldの基準位置となる吸着部品の中心の精度をより高めることができる。また、スキャンエリアA、B、C、Dの数は、図6に示す4個に限定されず、吸着部品の形状的な特徴部分の数に応じて任意の個数(但し2個以上)に設定すれば良い。   The center of the suction component may be determined from the image of the side surface of the suction component imaged by the camera 15 from the side surface direction, but the suction component imaged by the parts camera (not shown) from the lower surface direction. If the center of the suction component determined from the image on the lower surface is used, the accuracy of the center of the suction component serving as the reference position for the offset amounts La, Lb, Lc, and Ld can be further increased. Further, the number of scan areas A, B, C, and D is not limited to four as shown in FIG. 6, and is set to an arbitrary number (however, two or more) according to the number of shape features of the suction component. Just do it.

スキャンエリアA、B、C、Dを設定した後、カメラ15で撮像した画像に表される吸着部品のエッジ(下端又は上端)のうちの各スキャンエリアA、B、C、D内に位置するエッジの高さ位置を測定し、測定した各エッジの高さ位置を記憶装置(記憶手段)に記憶されている正常吸着時のエッジの高さ位置相当値と比較して該吸着部品の吸着姿勢が表裏反対であるか否かを判定する。   After setting the scan areas A, B, C, and D, the scan areas A, B, C, and D are located in the edges (lower end or upper end) of the suction component represented in the image captured by the camera 15. The suction position of the suction component is measured by measuring the height position of the edge and comparing the measured height position of each edge with the value corresponding to the height position of the edge during normal suction stored in the storage device (storage means). It is determined whether or not is opposite.

この際、例えば各スキャンエリアi(i=A〜D)のエッジの高さ位置Zmes(i)と正常吸着時のエッジの高さ位置相当値Zstd(i)との差分値の絶対値|Zmes(i)−Zstd(i)|を算出し、全てのスキャンエリアiの差分値の絶対値|Zmes(i)−Zstd(i)|を合計して、表裏判定パラメータZdiffsum =Σ|Zmes(i)−Zstd(i)|を求め、この表裏判定パラメータZdiffsum が表裏判定しきい値γ以上であるか否かで、吸着部品の吸着姿勢が表裏反対であるか否かを判定する。ここで、表裏判定しきい値γは、予め部品の種類毎に登録しておけば良い。   At this time, for example, the absolute value | Zmes of the difference value between the edge height position Zmes (i) of each scan area i (i = A to D) and the edge height position equivalent value Zstd (i) at the time of normal suction (i) −Zstd (i) | is calculated, and the absolute value | Zmes (i) −Zstd (i) | of the difference values of all the scan areas i is summed, and the front / back determination parameter Zdiffsum = Σ | Zmes (i ) −Zstd (i) | is determined, and whether or not the suction posture of the suction component is opposite is determined by whether or not the front / back determination parameter Zdiffsum is equal to or larger than the front / back determination threshold value γ. Here, the front / back determination threshold value γ may be registered in advance for each type of component.

吸着部品の吸着姿勢が表裏反対でない正常吸着時には、複数のスキャンエリアi内に位置するエッジの高さ位置Zmes(i)と正常吸着時のエッジの高さ位置相当値Zstd(i)との差分値の絶対値が小さくなるため、各差分値の絶対値を合計して求めた表裏判定パラメータZdiffsum が表裏判定しきい値γ以上であれば、吸着部品の吸着姿勢が表裏反対であると判定することができ、表裏判定パラメータZdiffsum が表裏判定しきい値γ未満であれば、吸着部品の表裏が正しい正常吸着であると判定することができる。   The difference between the edge height position Zmes (i) located in the plurality of scan areas i and the edge height position equivalent value Zstd (i) during normal suction when the suction posture of the suction component is not opposite. Since the absolute value of the value becomes smaller, if the front / back determination parameter Zdiffsum obtained by summing up the absolute values of the difference values is equal to or greater than the front / back determination threshold γ, it is determined that the suction orientation of the suction component is opposite. If the front / back determination parameter Zdiffsum is less than the front / back determination threshold γ, it can be determined that the front / back of the suction component is correct normal suction.

以上説明した本実施例2の吸着部品の表裏判定処理は、部品実装機の制御コンピュータ及び撮像装置11のCPU22によって図7の吸着部品表裏判定ルーチンに従って実行される。以下、図7の吸着部品表裏判定ルーチンの処理内容を説明する。   The suction component front / back determination processing of the second embodiment described above is executed according to the suction component front / back determination routine of FIG. 7 by the control computer of the component mounter and the CPU 22 of the imaging device 11. Hereinafter, processing contents of the suction component front / back determination routine of FIG. 7 will be described.

図7の吸着部品表裏判定ルーチンは、吸着ノズル13に吸着した部品を側面方向からカメラ15で撮像するタイミングに同期して起動され、特許請求の範囲でいう表裏判定手段としての役割を果たす。本ルーチンが起動されると、まず、ステップ201で、カメラ15で撮像した画像に表される吸着部品のエッジのうちの当該部品の形状的な特徴となる複数の部分のエッジの高さ位置を測定するための複数のスキャンエリアi(i=A〜D)を上述した方法で設定する。この後、ステップ202に進み、吸着ノズル13に吸着した部品を側面方向(水平方向)からカメラ15で撮像する。尚、カメラ15の撮像後に複数のスキャンエリアiを設定しても良い。   The suction component front / back determination routine of FIG. 7 is started in synchronism with the timing at which the camera 15 picks up the component sucked by the suction nozzle 13 from the side surface direction, and serves as front / back determination means in the claims. When this routine is started, first, in step 201, the height positions of the edges of a plurality of portions that are the geometric features of the part among the edges of the suction part represented in the image captured by the camera 15 are determined. A plurality of scan areas i (i = A to D) for measurement are set by the method described above. Thereafter, the process proceeds to step 202, and the part sucked by the suction nozzle 13 is imaged by the camera 15 from the side direction (horizontal direction). Note that a plurality of scan areas i may be set after imaging by the camera 15.

この後、ステップ203に進み、各スキャンエリアiをスキャンして、カメラ15で撮像した画像に表される吸着部品のエッジ(下端又は上端)のうちの各スキャンエリアi内に位置するエッジを検出してその高さ位置Zmes(i)を測定する。そして、次のステップ204で、記憶装置(記憶手段)に記憶されている正常吸着時のエッジの高さ位置相当値Zstd(i)を読み込んだ後、ステップ205に進み、上記ステップ203で測定した各スキャンエリアiの高さ位置Zmes(i)と正常吸着時のエッジの高さ位置相当値Zstd(i)との差分値の絶対値|Zmes(i)−Zstd(i)|を算出し、全てのスキャンエリアiの差分値の絶対値|Zmes(i)−Zstd(i)|を合計して、表裏判定パラメータZdiffsum を求める。
Zdiffsum =Σ|Zmes(i)−Zstd(i)|
Thereafter, the process proceeds to step 203, where each scan area i is scanned to detect an edge located in each scan area i among the edges (lower end or upper end) of the suction component represented in the image captured by the camera 15. Then, the height position Zmes (i) is measured. Then, in the next step 204, after reading the edge height position equivalent value Zstd (i) at the time of normal suction stored in the storage device (storage means), the process proceeds to step 205 and measured in step 203 above. The absolute value | Zmes (i) −Zstd (i) | of the difference value between the height position Zmes (i) of each scan area i and the height position equivalent value Zstd (i) at the time of normal suction is calculated. The absolute values | Zmes (i) −Zstd (i) | of the difference values of all the scan areas i are summed to obtain the front / back determination parameter Zdiffsum.
Zdiffsum = Σ | Zmes (i) −Zstd (i) |

この後、ステップ206に進み、表裏判定パラメータZdiffsum を表裏判定しきい値γと比較して、表裏判定パラメータZdiffsum が表裏判定しきい値γ以上であれば、ステップ207に進み、吸着部品の吸着姿勢が表裏反対であると判定し、表裏判定パラメータZdiffsum が表裏判定しきい値γ未満であれば、ステップ208に進み、吸着部品の表裏が正しい正常吸着であると判定する。   Thereafter, the process proceeds to step 206, where the front / back determination parameter Zdiffsum is compared with the front / back determination threshold value γ. If the front / back determination parameter Zdiffsum is equal to or greater than the front / back determination threshold value γ, the process proceeds to step 207, If the front / back determination parameter Zdiffsum is less than the front / back determination threshold γ, the process proceeds to step 208, where it is determined that the front / back of the suction component is correct normal suction.

以上説明した本実施例2によれば、カメラ15で撮像した画像に表される吸着部品のエッジのうちの予め設定された複数のスキャンエリアi内に位置するエッジの高さ位置Zmes(i)を測定し、測定した各エッジの高さ位置Zmes(i)を予め登録されている正常吸着時のエッジの高さ位置相当値Zstd(i)と比較して該吸着部品の吸着姿勢が表裏反対であるか否かを判定するようにしたので、吸着部品の左右両端の高さ位置が吸着部品の厚み方向中心の高さ位置から裏側又は表側に片寄っている場合(例えばリード付きの部品)だけでなく、異形部品を含め、様々な形状の部品の表裏判定を簡単な処理で行うことができる。   According to the second embodiment described above, the height position Zmes (i) of the edge located in a plurality of preset scan areas i among the edges of the suction component represented in the image captured by the camera 15. And the measured height position Zmes (i) of each edge is compared with the pre-registered edge height position equivalent value Zstd (i) for normal suction, and the suction posture of the suction component is opposite Since the height position of the left and right ends of the suction component is offset from the height position of the center in the thickness direction of the suction component to the back side or the front side (for example, a component with a lead) In addition, it is possible to perform front / back determination of parts of various shapes including irregularly shaped parts with simple processing.

しかも、本実施例2では、カメラ15で撮像した画像に表される吸着部品の中心を基準位置にして複数のスキャンエリアiを水平方向距離(オフセット量La,Lb,Lc,Ld)によって設定するようにしたので、画像内の吸着部品の位置が左右いずれの方向にずれても、吸着部品の決められた複数の高さ位置測定箇所に複数のスキャンエリアiを精度良く設定することができ、吸着部品の表裏を精度良く判定することができる。   Moreover, in the second embodiment, a plurality of scan areas i are set by horizontal distances (offset amounts La, Lb, Lc, Ld) with the center of the suction component represented in the image captured by the camera 15 as a reference position. Since this is done, even if the position of the suction component in the image is shifted in either the left or right direction, it is possible to accurately set a plurality of scan areas i at a plurality of determined height position measurement locations of the suction component, The front and back of the suction component can be accurately determined.

ところで、本来あるべきエッジの高さ位置相当値Zstd(i)と実際の高さ位置Zmes(i)の測定値との間には、吸着部品個々の個体誤差、撮像時に吸着部品に照射するライティング状態やカメラ15の収差等の撮像状態誤差、カメラ分解能による誤差、画像処理によるエッジ検出時の誤差等、さまざまな要因による誤差が含まれ、表裏判定しきい値はこれら複数の要因を総合的に考慮する必要がある。このため、差分値(Zmes(i)−Zstd(i))を個々に表裏判定しきい値と比較して判定する場合、正常吸着状態であるにもかかわらず表裏反対吸着であると誤判定することを防止するために、表裏判定しきい値は比較的大きな値とする必要がある。   By the way, between the height position equivalent value Zstd (i) and the measured value of the actual height position Zmes (i) of the edge that should be, the individual error of each suction component, the lighting that irradiates the suction component during imaging Error due to various factors, such as the state and imaging state errors such as camera 15 aberration, error due to camera resolution, and edge detection error due to image processing are included. It is necessary to consider. Therefore, when the difference value (Zmes (i) −Zstd (i)) is individually compared with the front / back determination threshold value, it is erroneously determined that the front / back reverse adsorption is performed despite the normal adsorption state. In order to prevent this, the front / back determination threshold value needs to be a relatively large value.

本実施例2のように、差分値の絶対値を合計した値|Zmes(i)−Zstd(i)|と表裏判定しきい値とを比較すれば、表裏判定しきい値を比較的に低く設定することができ、判定精度を高めることができる。また、個々の差分値(Zmes(i)−Zstd(i))と比較的大きな値の表裏判定しきい値とを比較すると共に、差分値の絶対値を合計した値|Zmes(i)−Zstd(i)|と、比較的小さな値の表裏判定しきい値とを比較すれば、さらに判定精度を高めることができる。   If the value | Zmes (i) −Zstd (i) |, which is the sum of the absolute values of the difference values, is compared with the front / back determination threshold value as in the second embodiment, the front / back determination threshold value is relatively low. It can be set, and the determination accuracy can be increased. In addition, each difference value (Zmes (i) −Zstd (i)) is compared with a relatively large value front / back determination threshold value, and a value obtained by adding the absolute values of the difference values | Zmes (i) −Zstd If (i) | is compared with a relatively small front / back determination threshold value, the determination accuracy can be further increased.

尚、本発明は、画像処理機能付き撮像装置11を用いる構成に限定されず、画像処理機能を撮像装置とは別の画像処理装置(例えば部品実装機の制御コンピュータ)に持たせた構成としても良い等、要旨を逸脱しない範囲内で種々変更して実施できる。   Note that the present invention is not limited to the configuration using the imaging device 11 with an image processing function, and may be configured to have an image processing function in an image processing device (for example, a control computer of a component mounter) different from the imaging device. Various modifications can be made without departing from the spirit of the invention.

本発明の実施例1における画像処理機能付き撮像装置と電子部品実装機の装着ヘッド部分の構成を概略的に説明する図である。It is a figure which illustrates roughly the structure of the mounting head part of the imaging device with an image processing function in Example 1 of this invention, and an electronic component mounting machine. 画像処理機能付き撮像装置の電気的構成を示すブロック図である。It is a block diagram which shows the electrical constitution of the imaging device with an image processing function. (a)はスキャンエリア内に正常吸着時の吸着部品全体が収まっている画像の一例を示す図であり、(b)はスキャンエリア内に表裏反対の吸着部品全体が収まっている画像の一例を示す図である。(A) is a figure which shows an example of the image in which the whole adsorption | suction component at the time of normal adsorption | suction is settled in a scan area, (b) is an example of the image in which the whole adsorption component opposite front and back is settled in a scan area. FIG. (a)は吸着ノズルに正常吸着された部品の片方の端(リード)がスキャンエリアからはみ出している画像を示す図の一例であり、(b)は吸着ノズルに表裏反対に吸着された部品の片方の端がスキャンエリアからはみ出している画像の一例を示す図であり、(c)は吸着ノズルに表裏反対に吸着された部品の左右両端がスキャンエリアからはみ出している画像を示す図の一例である。(A) is an example of an image showing an image in which one end (lead) of a component normally adsorbed to an adsorption nozzle protrudes from the scan area, and (b) is an illustration of a component adsorbed on the opposite side of the adsorption nozzle. It is a figure which shows an example of the image which one edge has protruded from the scanning area, (c) is an example of the figure which shows the image from which the right and left both ends of the components adsorb | sucked by the suction nozzle opposite to the front and back are protruding from the scanning area. is there. 実施例1の吸着部品表裏判定ルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of the suction component front / back determination routine of Example 1. FIG. 本発明に関連する参考例である実施例2の吸着部品表裏判定方法を説明するための画像の一例を示す図である。It is a figure which shows an example of the image for demonstrating the suction component front-and-back determination method of Example 2 which is a reference example relevant to this invention . 実施例2の吸着部品表裏判定ルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of the suction component front / back determination routine of Example 2. FIG.

符号の説明Explanation of symbols

11…画像処理機能付き撮像装置、12…装着ヘッド、13…吸着ノズル、14…吸着ホルダ、15…カメラ、16…表示器、17…照明光源、18…メインコントロール基板、19…プリズム、20…吸着部品、21…蛍光反射板、22…CPU(表裏判定手段)、23…ROM、24…RAM、25…制御用ネットワークIC   DESCRIPTION OF SYMBOLS 11 ... Imaging device with image processing function, 12 ... Mounting head, 13 ... Suction nozzle, 14 ... Suction holder, 15 ... Camera, 16 ... Display, 17 ... Illumination light source, 18 ... Main control board, 19 ... Prism, 20 ... Adsorption parts, 21 ... fluorescent reflector, 22 ... CPU (front / back determination means), 23 ... ROM, 24 ... RAM, 25 ... control network IC

Claims (10)

部品実装機の吸着ノズルに吸着した部品(以下「吸着部品」という)を側面方向から撮像するカメラと、前記カメラで撮像した画像に基づいて前記吸着部品の吸着姿勢が表裏反対であるか否かを判定する表裏判定手段とを備え、
前記表裏判定手段は、左右両端の高さ位置が吸着部品の厚み方向の中心高さ位置から裏側又は表側に片寄っている吸着部品を前記カメラで撮像した画像に表される吸着部品の側面を画像処理により認識して該吸着部品の左右両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて該吸着部品の吸着姿勢が表裏反対であるか否かを判定することを特徴とする吸着部品表裏判定装置。
Whether or not the suction posture of the suction component is opposite on the basis of the camera that picks up the component sucked by the suction nozzle of the component mounting machine (hereinafter referred to as “suction component”) from the side surface direction and the image captured by the camera Front and back judging means for judging
The front / back determination means images the side surface of the suction component represented by the image captured by the camera of the suction component in which the height positions of the left and right ends are offset from the center height position in the thickness direction of the suction component to the back side or the front side. Recognized by processing, the difference value of the Z coordinate value of each height position, which is the height difference between the height position of the left and right ends or one of the ends of the suction component and the height position of the lowest end of the suction component A suction component front / back determination apparatus, wherein the suction component front / back determination is based on whether the suction posture of the suction component is opposite.
前記吸着部品は、リードが側方に突出したリード付きの部品であり、
前記表裏判定手段は、前記部品の左右に突出したリードの両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値が表裏判定しきい値以上であるか否かで前記吸着部品の吸着姿勢が表裏反対であるか否かを判定することを特徴とする請求項1に記載の吸着部品表裏判定装置。
The adsorbing component is a component with a lead that protrudes laterally,
The front / back determination means includes a Z coordinate of each height position that is a height difference between the height position of both ends of one of the leads projecting to the left and right of the component or the height position of the lowest end of the suction component 2. The suction component front / back determination device according to claim 1, wherein whether or not the suction posture of the suction component is opposite is determined based on whether or not the difference value is equal to or greater than a front / back determination threshold value. .
前記表裏判定手段は、前記吸着部品の左右両端のうちの低い方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて前記吸着部品の吸着姿勢が表裏反対であるか否かを判定することを特徴とする請求項1又は2に記載の吸着部品表裏判定装置。   The front / back determination means includes a difference in the Z coordinate value of each height position, which is a height difference between the height position of the lower end of the suction component and the height position of the lowermost end of the suction component. The suction component front / back determination apparatus according to claim 1, wherein the suction component front / back determination device determines whether the suction posture of the suction component is opposite to the front / back based on the value. 前記表裏判定手段は、前記カメラで撮像した画像から前記吸着部品の左右両端のうちのいずれか一方の端のみを認識可能である場合は、当該認識可能な一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて前記吸着部品の吸着姿勢が表裏反対であるか否かを判定することを特徴とする請求項1乃至3のいずれかに記載の吸着部品表裏判定装置。   When the front and back determination means can recognize only one of the left and right ends of the suction component from the image captured by the camera, the height position of the one end that can be recognized and the suction Whether or not the suction posture of the suction component is opposite is determined based on the difference value of the Z coordinate value of each height position, which is a height difference from the height position of the lowest end of the component. The suction component front / back determination apparatus according to any one of claims 1 to 3. 前記表裏判定手段は、前記カメラで撮像した画像から前記吸着部品の左右両端を共に認識できない場合は、前記吸着部品の表裏判定を中止することを特徴とする請求項1乃至4のいずれかに記載の吸着部品表裏判定装置。   The said front / back determination means stops the front / back determination of the said suction component, when both the right and left ends of the said suction component cannot be recognized from the image imaged with the said camera. Adsorption parts front and back judgment device. 部品実装機の吸着ノズルに吸着した部品(以下「吸着部品」という)を側面方向からカメラで撮像した画像に基づいて前記吸着部品の吸着姿勢が表裏反対であるか否かを判定する吸着部品表裏判定方法において、
左右両端の高さ位置が吸着部品の厚み方向の中心高さ位置から裏側又は表側に片寄っている吸着部品を前記カメラで撮像した画像に表される吸着部品の側面を画像処理により認識して該吸着部品の左右両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて該吸着部品の吸着姿勢が表裏反対であるか否かを判定することを特徴とする吸着部品表裏判定方法。
A suction component front and back for determining whether the suction posture of the suction component is opposite to the front or back based on an image obtained by capturing the component sucked by the suction nozzle of the component mounting machine (hereinafter referred to as “suction component”) with a camera from the side surface direction. In the judgment method,
The side surface of the suction component represented by the image captured by the camera is recognized by image processing for the suction component in which the height positions of the left and right ends are offset to the back side or the front side from the center height position in the thickness direction of the suction component. Based on the difference value of the Z coordinate value of each height position, which is the difference in height between the height position of the left and right ends of the suction component or one of the ends and the height position of the lowermost end of the suction component, A method for determining the front and back of a suction component, wherein it is determined whether or not the suction posture is opposite.
前記吸着部品は、リードが側方に突出したリード付きの部品であり、
前記部品の左右に突出したリードの両端又はいずれか一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値が表裏判定しきい値以上であるか否かで前記吸着部品の吸着姿勢が表裏反対であるか否かを判定することを特徴とする請求項6に記載の吸着部品表裏判定方法。
The adsorbing component is a component with a lead that protrudes laterally,
The difference value of the Z coordinate value of each height position, which is the height difference between the height position of both ends or any one end of the lead protruding left and right of the component and the height position of the lowermost end of the suction component, is the front and back The suction component front / back determination method according to claim 6, wherein whether or not the suction posture of the suction component is opposite is determined based on whether or not the determination threshold is exceeded.
前記吸着部品の左右両端のうちの低い方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて前記吸着部品の吸着姿勢が表裏反対であるか否かを判定することを特徴とする請求項又はに記載の吸着部品表裏判定方法。 The suction based on the difference value of the Z coordinate value of each height position, which is the height difference between the height position of the lower end of the left and right ends of the suction part and the height position of the lowest end of the suction part adsorbed component front and back determination method according to claim 6 or 7, characterized in that the suction attitude of the component to determine whether the front and back reversed. 前記カメラで撮像した画像から前記吸着部品の左右両端のうちのいずれか一方の端のみを認識可能である場合は、当該認識可能な一方の端の高さ位置と該吸着部品の最下端の高さ位置との高低差である各高さ位置のZ座標値の差分値に基づいて前記吸着部品の吸着姿勢が表裏反対であるか否かを判定することを特徴とする請求項乃至のいずれかに記載の吸着部品表裏判定方法。 When only one of the left and right ends of the suction component can be recognized from the image captured by the camera, the height position of the one end that can be recognized and the height of the lowest end of the suction component 9. The method according to any one of claims 6 to 8 , wherein whether or not the suction posture of the suction component is opposite is determined based on a difference value of the Z coordinate value of each height position, which is a height difference from the height position. The suction component front / back determination method according to any one of the above. 前記カメラで撮像した画像から前記吸着部品の左右両端を共に認識できない場合は、前記吸着部品の吸着姿勢が表裏反対であるか否かを判定しないことを特徴とする請求項乃至のいずれかに記載の吸着部品表裏判定方法。 If you can not both recognize the right and left ends of the suction part from the image captured by the camera, any of claims 6 to 9, characterized in that the suction posture of the suction part is not determined whether the front and back opposite The method for determining the front and back of a suction part as described in 1.
JP2007301692A 2007-11-21 2007-11-21 Adsorption part front / back determination device and adsorption part front / back determination method Active JP5158686B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007301692A JP5158686B2 (en) 2007-11-21 2007-11-21 Adsorption part front / back determination device and adsorption part front / back determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007301692A JP5158686B2 (en) 2007-11-21 2007-11-21 Adsorption part front / back determination device and adsorption part front / back determination method

Publications (2)

Publication Number Publication Date
JP2009130034A JP2009130034A (en) 2009-06-11
JP5158686B2 true JP5158686B2 (en) 2013-03-06

Family

ID=40820680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007301692A Active JP5158686B2 (en) 2007-11-21 2007-11-21 Adsorption part front / back determination device and adsorption part front / back determination method

Country Status (1)

Country Link
JP (1) JP5158686B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113931A (en) * 2018-02-01 2019-08-09 先进装配系统有限责任两合公司 Method for determining orientation of electronic component, sensor system and assembling machine

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5877725B2 (en) * 2012-01-26 2016-03-08 セコム株式会社 Image monitoring device
JP6088838B2 (en) * 2013-02-13 2017-03-01 Juki株式会社 Electronic component mounting apparatus and electronic component mounting method
EP3331337B1 (en) * 2015-07-28 2021-05-05 FUJI Corporation Component mounting machine
US20210147077A1 (en) * 2018-04-03 2021-05-20 Autonomous Control Systems Laboratory Ltd. Localization Device and Localization Method for Unmanned Aerial Vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0677695A (en) * 1992-08-26 1994-03-18 Sony Corp Method and device for detecting abnormal suction of component of component packaging machine
JP3991729B2 (en) * 2002-03-13 2007-10-17 松下電器産業株式会社 Inspection device
JP4331054B2 (en) * 2004-06-01 2009-09-16 ヤマハ発動機株式会社 Adsorption state inspection device, surface mounter, and component testing device
JP2007220770A (en) * 2006-02-15 2007-08-30 Juki Corp Surface-mounting device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113931A (en) * 2018-02-01 2019-08-09 先进装配系统有限责任两合公司 Method for determining orientation of electronic component, sensor system and assembling machine
CN110113931B (en) * 2018-02-01 2021-02-05 先进装配系统有限责任两合公司 Method for determining orientation of electronic component, sensor system and assembling machine

Also Published As

Publication number Publication date
JP2009130034A (en) 2009-06-11

Similar Documents

Publication Publication Date Title
JP4845032B2 (en) Imaging apparatus with image processing function and inspection system
US10650543B2 (en) Component mounting device
EP1666185A1 (en) Laser processing machine and method with image acquisition and processing means
JP5158686B2 (en) Adsorption part front / back determination device and adsorption part front / back determination method
US20130219696A1 (en) Method of assembling electric equipment having connectors, and inspection device and inspection method for inspecting fitted state of connectors
CN107926154B (en) Component mounting apparatus
JP4871234B2 (en) Abnormality detection method and apparatus for component mounting apparatus
JP4870054B2 (en) Substrate processing apparatus, surface mounting machine, printing machine, inspection machine, and coating machine
KR101809875B1 (en) Hausing attaching apparatus for producing camera module using slope image recognition technology
US20080247596A1 (en) Apparatus and Method For Detecting Objects
JP2008070135A (en) Detecting method of optical axis shift of imaging apparatus and part position detecting method and device
JP5755502B2 (en) Position recognition camera and position recognition apparatus
WO2017081773A1 (en) Image processing device and image processing method for base plate
KR101215516B1 (en) Apparatus and method for marking position recognition
JP4707607B2 (en) Image acquisition method for component recognition data creation and component mounter
JP4106301B2 (en) Component recognition method and apparatus
JP5288960B2 (en) Nozzle presence / absence detection method and apparatus for nozzle exchange device in surface mounter
WO2017017788A1 (en) Component mounting machine
JP4744234B2 (en) Component positioning method and apparatus
JP4757701B2 (en) Electronic component suction position correction method and apparatus
CN109644585B (en) Component mounting apparatus and position recognition method
JP4008722B2 (en) Method and apparatus for detecting floating electrode of electronic component
JP4150262B2 (en) Component recognition method and apparatus
JP4681984B2 (en) Component positioning method and apparatus
JPH08181494A (en) Parts recognizing method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101026

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121105

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121205

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121205

R150 Certificate of patent or registration of utility model

Ref document number: 5158686

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250