JP2018138871A - Substrate inspection device - Google Patents

Substrate inspection device Download PDF

Info

Publication number
JP2018138871A
JP2018138871A JP2017032937A JP2017032937A JP2018138871A JP 2018138871 A JP2018138871 A JP 2018138871A JP 2017032937 A JP2017032937 A JP 2017032937A JP 2017032937 A JP2017032937 A JP 2017032937A JP 2018138871 A JP2018138871 A JP 2018138871A
Authority
JP
Japan
Prior art keywords
component
inspection
information
type
substrate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017032937A
Other languages
Japanese (ja)
Other versions
JP6943412B2 (en
Inventor
佑丞 高岡
Yujo Takaoka
佑丞 高岡
聡 山下
Satoshi Yamashita
聡 山下
昌伸 兼田
Masanobu Kaneda
昌伸 兼田
智也 瀬口
Tomoya Seguchi
智也 瀬口
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.)
Rexxam Co Ltd
Original Assignee
Rexxam 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 Rexxam Co Ltd filed Critical Rexxam Co Ltd
Priority to JP2017032937A priority Critical patent/JP6943412B2/en
Publication of JP2018138871A publication Critical patent/JP2018138871A/en
Application granted granted Critical
Publication of JP6943412B2 publication Critical patent/JP6943412B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a substrate inspection device that provides a setting with respect to the appearance inspection of a substrate.SOLUTION: A substrate inspection device 1 comprises: a photographic image acquisition unit 11 that acquires the three-dimensional photographic image of a non-defective substrate on which components are mounted; a memory unit 12 that memorizes component positional information including the mounting position of a component to be mounted on a to-be-inspected substrate corresponding to the non-defective substrate, and correspondence information that associates a type of component with the contents of appearance inspection of the component according to the type of component; a shape information acquisition unit 13 that acquires shape information of the component in the position of the non-defective substrate corresponding to its mounted position by using height information included in the three-dimensional photographic image; a component type acquisition unit 15 that acquires the type of component to be mounted in its mounted position; and a setting unit 16 that provides a setting with reference to an appearance inspection of component by using the shape information corresponding to the component mounted on the non-defective substrate and the contents of the appearance inspection associated, by the correspondence information, with the type of the acquired component.SELECTED DRAWING: Figure 1

Description

本発明は、基板に実装される部品の外観検査に関する設定を行う基板検査装置に関する。   The present invention relates to a board inspection apparatus that performs settings related to appearance inspection of components mounted on a board.

従来、被検査基板(プリント基板)に実装された部品に関する外観検査を行う基板検査装置が知られている。その基板検査装置により、例えば、被検査基板において、部品が適切な位置に実装されているかどうかや、ハンダ付けの状態が適切であるかどうかについて検査することができる。
関連する技術として、基板に実装された電子部品の傾きをチェックする装置も知られている(例えば、特許文献1参照)。
2. Description of the Related Art Conventionally, there is known a board inspection apparatus that performs an appearance inspection on a component mounted on a board to be inspected (printed board). With the board inspection apparatus, for example, it is possible to inspect whether or not the component is mounted at an appropriate position on the board to be inspected and whether the soldering state is appropriate.
As a related technique, an apparatus for checking the inclination of an electronic component mounted on a substrate is also known (for example, see Patent Document 1).

特開2015−122420号公報JP2015-122420A

しかしながら、従来の基板検査装置では、被検査基板に装着された部品の位置や検査内容を手作業で入力する必要があった。そのため、実装されている部品が多くなればなるほど、検査の設定に関する作業が過大になり、その作業者の負荷が非常に大きくなるという問題があった。また、そのような多くの設定を手作業で行う場合には、作業ミスが生じやすくなり、例えば、検査領域の設定漏れや、検査項目の設定違いなどの発生する可能性もあった。   However, in the conventional board inspection apparatus, it is necessary to manually input the position of the component mounted on the board to be inspected and the inspection content. For this reason, there is a problem that as the number of mounted parts increases, the work related to the inspection setting becomes excessive, and the load on the worker becomes very large. Further, when many such settings are made manually, an operation error is likely to occur, and for example, there is a possibility that an inspection area setting omission or an inspection item setting difference may occur.

本発明は、上記問題点に応じてなされたものであり、被検査基板に実装された部品の外観検査に関する設定を行うことができる基板検査装置を提供することを目的とする。   The present invention has been made in response to the above problems, and an object of the present invention is to provide a board inspection apparatus capable of performing settings relating to appearance inspection of components mounted on a board to be inspected.

上記目的を達成するため、本発明による基板検査装置は、部品が実装された良品基板の3次元撮影画像を取得する撮影画像取得部と、良品基板に対応する被検査基板において部品が装着される位置である装着位置を含む部品位置情報、及び、部品の種類と部品の種類に応じた部品の外観検査の内容とを対応付ける対応情報が記憶される記憶部と、装着位置に対応する良品基板の位置における部品の形状に関する形状情報を、3次元撮影画像に含まれる高さ情報を用いて取得する形状情報取得部と、装着位置に装着される部品の種類を取得する部品種類取得部と、良品基板に実装された部品に対応する形状情報と、部品について部品種類取得部によって取得された部品の種類に対応情報によって対応付けられている外観検査の内容とを用いて、部品の外観検査に関する設定を行う設定部と、を備えたものである。
このような構成により、基板に実装される部品ごとの外観検査の設定を自動的に行うことができるようになる。その結果、例えば、検査領域の設定漏れが発生したり、不適切な検査項目が設定されたりすることを防止できる。また、その検査の設定を行う作業者の負荷が軽減されることになる。
In order to achieve the above object, in the board inspection apparatus according to the present invention, a component is mounted on a photographic image acquisition unit that acquires a three-dimensional photographic image of a non-defective substrate on which the component is mounted, and a substrate to be inspected corresponding to the non-defective substrate. Component storage information including the mounting position that is the position, and a storage unit that stores correspondence information that correlates the type of component and the contents of the appearance inspection of the component according to the type of component, and the non-defective substrate corresponding to the mounting position A shape information acquisition unit that acquires shape information related to the shape of the component at the position using height information included in the three-dimensional captured image, a component type acquisition unit that acquires the type of component mounted at the mounting position, and a non-defective product Using the shape information corresponding to the component mounted on the board and the content of the appearance inspection associated with the component type acquired by the component type acquisition unit for the component by the correspondence information, A setting unit which performs settings for visual inspection of the goods, but with a.
With such a configuration, it is possible to automatically set the appearance inspection for each component mounted on the board. As a result, for example, it is possible to prevent an inspection area from being set missing or an inappropriate inspection item from being set. In addition, the burden on the operator who sets the inspection is reduced.

また、本発明による基板検査装置では、部品位置情報は、装着位置に装着される部品の種類も含んでおり、部品種類取得部は、装着位置に装着される部品の種類を、部品位置情報から取得してもよい。
このような構成により、部品位置情報を用いて、装着位置に装着される部品の種類を取得することができるようになる。
In the board inspection apparatus according to the present invention, the component position information also includes the type of component mounted at the mounting position, and the component type acquisition unit determines the type of component mounted at the mounting position from the component position information. You may get it.
With such a configuration, it is possible to acquire the type of component mounted at the mounting position using the component position information.

また、本発明による基板検査装置では、部品種類取得部は、装着位置に装着される部品の種類を、装着位置に対応する形状情報を用いて取得してもよい。
このような構成により、形状情報を用いて、装着位置に装着される部品の種類を取得することができるようになる。
In the board inspection apparatus according to the present invention, the component type acquisition unit may acquire the type of component mounted at the mounting position using shape information corresponding to the mounting position.
With such a configuration, it is possible to acquire the type of component mounted at the mounting position using the shape information.

また、本発明による基板検査装置では、設定部は、形状情報によって示される部品の形状を囲む基板上の領域を、部品の実装ずれ検査の検査領域に設定してもよい。
このような構成により、形状情報を用いて、部品の実装ずれ検査に関する検査領域を自動的に設定できるようになる。
In the board inspection apparatus according to the present invention, the setting unit may set an area on the board surrounding the shape of the component indicated by the shape information as an inspection area for mounting deviation inspection of the component.
With such a configuration, it becomes possible to automatically set an inspection region relating to a component mounting displacement inspection using shape information.

また、本発明による基板検査装置では、設定部は、実装ずれ検査の検査領域に対応する形状情報によって示される良品基板における部品の実装状況を、実装ずれ検査の基準に設定してもよい。
このような構成により、形状情報を用いて、部品の実装ずれ検査に用いられる基準を自動的に設定できるようになる。
In the board inspection apparatus according to the present invention, the setting unit may set the mounting state of the components on the non-defective board indicated by the shape information corresponding to the inspection area for the mounting deviation inspection as a reference for the mounting deviation inspection.
With such a configuration, it is possible to automatically set a reference used for component mounting deviation inspection using shape information.

また、本発明による基板検査装置では、設定部は、設定対象の部品の種類がリード付きICである場合に、設定対象の部品に対応する形状情報によって示されるリード部分を囲む基板上の領域を、リード検査の検査領域に設定してもよい。
このような構成により、形状情報を用いて、リード付きICに関するリード検査の検査領域を自動的に設定できるようになる。
In the board inspection apparatus according to the present invention, when the type of the part to be set is an IC with a lead, the setting unit includes an area on the board surrounding the lead portion indicated by the shape information corresponding to the part to be set. The inspection area for lead inspection may be set.
With such a configuration, it is possible to automatically set an inspection area for lead inspection with respect to an IC with lead by using shape information.

また、本発明による基板検査装置では、設定部は、リード検査の検査領域に対応する3次元撮影画像の領域の2次元画像を用いて、リード検査の基準を設定してもよい。
このような構成により、3次元撮影画像を用いて、リード付きICのリード検査に用いられる基準を自動的に設定できるようになる。
In the substrate inspection apparatus according to the present invention, the setting unit may set a reference for lead inspection using a two-dimensional image of a three-dimensional captured image region corresponding to the inspection region for lead inspection.
With such a configuration, it is possible to automatically set a reference used for lead inspection of a leaded IC using a three-dimensional photographed image.

本発明による基板検査装置によれば、基板に実装された部品に関する外観検査の設定を自動的に行うことができるようになる。その結果、その外観検査の設定を行う作業者の負荷が軽減されることになる。   According to the board inspection apparatus of the present invention, it is possible to automatically set the appearance inspection regarding the components mounted on the board. As a result, the load on the operator who sets the appearance inspection is reduced.

本発明の実施の形態による基板検査装置の構成を示すブロック図The block diagram which shows the structure of the board | substrate inspection apparatus by embodiment of this invention 同実施の形態における撮影画像取得部の構成を示す図The figure which shows the structure of the picked-up image acquisition part in the embodiment 同実施の形態による基板検査装置の動作を示すフローチャートThe flowchart which shows operation | movement of the board | substrate inspection apparatus by the same embodiment 同実施の形態における部品位置情報の一例を示す図The figure which shows an example of the component position information in the embodiment 同実施の形態における対応情報の一例を示す図The figure which shows an example of the correspondence information in the embodiment 同実施の形態における3次元撮影画像の一例を示す図The figure which shows an example of the three-dimensional picked-up image in the embodiment 同実施の形態における形状情報の取得について説明するための図The figure for demonstrating acquisition of the shape information in the embodiment 同実施の形態における形状情報の取得について説明するための図The figure for demonstrating acquisition of the shape information in the embodiment 同実施の形態における検査領域の設定について説明するための図The figure for demonstrating the setting of the test | inspection area | region in the embodiment 同実施の形態における検査領域の設定について説明するための図The figure for demonstrating the setting of the test | inspection area | region in the embodiment 同実施の形態における部品IDと形状情報との対応の一例を示す図The figure which shows an example of a response | compatibility with component ID and shape information in the embodiment 同実施の形態における部品の種類の入力画面の一例を示す図The figure which shows an example of the input screen of the kind of components in the embodiment 同実施の形態における形状情報の取得について説明するための図The figure for demonstrating acquisition of the shape information in the embodiment 同実施の形態における外観検査に関する設定の一例を示す図The figure which shows an example of the setting regarding the external appearance inspection in the embodiment

以下、本発明による基板検査装置について、実施の形態を用いて説明する。なお、以下の実施の形態において、同じ符号を付した構成要素は同一または相当するものであり、再度の説明を省略することがある。本実施の形態による基板検査装置は、良品基板の3次元撮影画像等を用いて、部品の外観検査に関する設定を行うものである。   Hereinafter, a substrate inspection apparatus according to the present invention will be described using embodiments. Note that, in the following embodiments, the components given the same reference numerals are the same or equivalent, and repetitive description may be omitted. The board inspection apparatus according to the present embodiment performs settings related to the appearance inspection of components using a three-dimensional photographed image of a non-defective board.

図1は、本実施の形態による基板検査装置1の構成を示すブロック図である。本実施の形態による基板検査装置1は、撮影画像取得部11と、記憶部12と、形状情報取得部13と、表示部14と、部品種類取得部15と、設定部16とを備える。なお、本実施の形態では、部品の外観検査に関する設定を行う構成について主に説明するが、基板検査装置1は、その設定結果に応じて、被検査基板の外観検査をも行うものである。したがって、基板検査装置1は、被検査基板に関する3次元撮影画像や形状情報を用いて、各部品に関する外観検査をそれぞれ行う検査部(図示せず)を備えていてもよい。なお、3次元撮影画像や形状情報については後述する。   FIG. 1 is a block diagram showing a configuration of a substrate inspection apparatus 1 according to the present embodiment. The board inspection apparatus 1 according to the present embodiment includes a captured image acquisition unit 11, a storage unit 12, a shape information acquisition unit 13, a display unit 14, a component type acquisition unit 15, and a setting unit 16. In the present embodiment, the configuration for performing settings related to the appearance inspection of components is mainly described. However, the substrate inspection apparatus 1 also performs the appearance inspection of a substrate to be inspected according to the setting result. Therefore, the board inspection apparatus 1 may include an inspection unit (not shown) that performs an appearance inspection on each component using a three-dimensional captured image and shape information about the board to be inspected. The three-dimensional captured image and shape information will be described later.

撮影画像取得部11は、部品が実装された良品基板の3次元撮影画像を取得する。部品は、例えば、抵抗、コンデンサ、IC(集積回路)、トランジスタ、ダイオード等の電子部品であってもよい。良品基板は、例えば、チップマウンタ(表面実装機)によって部品の実装された基板であって、検査者によるマニュアル検査によって合格と判断された基板であってもよい。すなわち、良品基板においては、各部品があらかじめ決められた位置に、良好な状態で実装されていることになる。3次元撮影画像は、良品基板の2次元の撮影画像(良品基板の部品実装面の撮影画像)と、良品基板の高さ情報とを知ることができる情報であれば、どのような情報であってもよい。その2次元の撮影画像は、例えば、カラー画像であってもよく、グレースケール画像であってもよく、白黒画像であってもよいが、より適切な基板検査のため、カラー画像であることが好適である。本実施の形態では、カラー画像である場合について主に説明する。また、良品基板の高さ情報とは、良品基板の部品実装面の各位置における高さ(良品基板の法線方向の高さ)を示す3次元情報である。したがって、その高さ情報によって、良品基板に実装された各部品の高さを知ることができる。3次元撮影画像は、例えば、位置ごとに高さの情報を有する2次元の撮影画像であってもよく、2次元の撮影画像と、良品基板の3次元の立体的な形状を示す3次元情報とを有する情報であってもよい。本実施の形態では、前者の場合について主に説明する。撮影画像取得部11は、例えば、デジタルスチルカメラによって、2次元の撮影画像を取得してもよい。また、撮影画像取得部11が3次元情報を取得する方法は問わないが、例えば、光切断法、位相シフト法、ステレオ法などによって3次元情報を取得してもよい。本実施の形態では、光切断法によって3次元情報を取得する場合について主に説明する。   The captured image acquisition unit 11 acquires a three-dimensional captured image of a non-defective substrate on which components are mounted. The component may be an electronic component such as a resistor, a capacitor, an IC (integrated circuit), a transistor, or a diode. The non-defective substrate may be, for example, a substrate on which components are mounted by a chip mounter (surface mounter), and a substrate that is determined to be acceptable by a manual inspection by an inspector. That is, in the non-defective substrate, each component is mounted in a good state at a predetermined position. The three-dimensional photographed image is any information as long as it is information that can know the two-dimensional photographed image of the non-defective substrate (the photographed image of the component mounting surface of the non-defective substrate) and the height information of the non-defective substrate. May be. The two-dimensional captured image may be, for example, a color image, a gray scale image, or a black and white image, but may be a color image for more appropriate substrate inspection. Is preferred. In the present embodiment, the case of a color image will be mainly described. The non-defective substrate height information is three-dimensional information indicating the height (height in the normal direction of the non-defective substrate) at each position on the component mounting surface of the non-defective substrate. Therefore, it is possible to know the height of each component mounted on the non-defective board from the height information. The three-dimensional captured image may be, for example, a two-dimensional captured image having height information for each position, and the two-dimensional captured image and the three-dimensional information indicating the three-dimensional shape of the non-defective substrate. It may be information having. In the present embodiment, the former case will be mainly described. The captured image acquisition unit 11 may acquire a two-dimensional captured image with a digital still camera, for example. Moreover, the method by which the captured image acquisition unit 11 acquires the three-dimensional information is not limited. For example, the three-dimensional information may be acquired by a light cutting method, a phase shift method, a stereo method, or the like. In the present embodiment, a case where three-dimensional information is acquired by a light cutting method will be mainly described.

光切断法によって3次元情報を取得する撮影画像取得部11の一例について、図2を用いて説明する。図2において、撮影画像取得部11は、光学ユニット41と、演算部42と、移動部43とを備える。光学ユニット41は、部品32の実装された基板31にライン光や照明光を照射し、そのライン光などの照射された基板31を撮影するものであり、照射部51と、傘状部材52と、傘状部材52の内側に配設された複数のLED53と、傘状部材52の中心に設けられた開口部(図示せず)を介して基板31を撮影する撮影部54とを備える。照射部51は、光切断法による3次元計測のためのライン光を照射する。そのライン光は、基板31に照射された際に、図2の紙面に垂直な方向のラインとなる光である。そのライン光は、例えば、レーザ光であってもよく、その他のライン光であってもよい。図2で示されるように、照射方向が対称になるように2個のライン光が照射されてもよい。演算部42は、撮影部54によって撮影された撮影画像のライン光を用いて、基板31の法線方向における高さを光切断法により演算する。なお、そのライン光の撮影の際に、移動部43は、光学ユニット41と基板31とを、図2の両矢印の方向、すなわち基板31に照射されたラインの長手方向に垂直な方向に相対的に移動させる。移動部43は、例えば、光学ユニット41のみを移動させてもよく、基板31のみを移動させてもよく、または、両方を移動させてもよい。光学ユニット41を移動させる場合には、移動部43は、例えば、光学ユニット41を移動可能に保持するステージと、そのステージの移動方向に光学ユニット41を移動させる駆動モータとを有していてもよい。移動部43が基板31を移動させる場合も同様である。そのようにして、ライン光を用いて基板31の各位置における高さを取得することができる。その高さは、例えば、基板31の表面を基準とする高さであってもよい。光切断法による高さの取得方法の詳細については、例えば、上記特許文献1を参照されたい。   An example of the captured image acquisition unit 11 that acquires three-dimensional information by the light cutting method will be described with reference to FIG. In FIG. 2, the captured image acquisition unit 11 includes an optical unit 41, a calculation unit 42, and a moving unit 43. The optical unit 41 irradiates the substrate 31 on which the component 32 is mounted with line light or illumination light, and photographs the substrate 31 irradiated with the line light. The irradiation unit 51, the umbrella-shaped member 52, A plurality of LEDs 53 disposed inside the umbrella-shaped member 52 and a photographing unit 54 that photographs the substrate 31 through an opening (not shown) provided at the center of the umbrella-shaped member 52 are provided. The irradiation unit 51 emits line light for three-dimensional measurement by a light cutting method. The line light is light that becomes a line in a direction perpendicular to the paper surface of FIG. 2 when the substrate 31 is irradiated. The line light may be laser light or other line light, for example. As shown in FIG. 2, two line lights may be irradiated so that the irradiation directions are symmetrical. The calculating unit 42 calculates the height of the substrate 31 in the normal direction by the light cutting method using the line light of the captured image captured by the capturing unit 54. When photographing the line light, the moving unit 43 causes the optical unit 41 and the substrate 31 to move relative to each other in the direction of the double arrow in FIG. 2, that is, in the direction perpendicular to the longitudinal direction of the line irradiated on the substrate 31. Move. For example, the moving unit 43 may move only the optical unit 41, move only the substrate 31, or move both. When moving the optical unit 41, the moving unit 43 may include, for example, a stage that movably holds the optical unit 41 and a drive motor that moves the optical unit 41 in the moving direction of the stage. Good. The same applies when the moving unit 43 moves the substrate 31. In this way, the height at each position of the substrate 31 can be obtained using line light. The height may be a height based on the surface of the substrate 31, for example. For details of the method for obtaining the height by the light cutting method, see, for example, Patent Document 1 described above.

複数のLED53は、2次元の撮影画像を撮影するための照明に用いられる。その複数のLED53は、傘状部材52の内側に、撮影部54の光軸を中心として円環状に配置されてもよい。また、そのLED53は、例えば、図2で示されるように、円環の半径が異なるごとに、異なる角度で基板31を照明してもよい。その場合には、複数のLED53は、異なる角度ごとに異なる色であってもよい。例えば、半径の小さい円環(すなわち、光軸に近い円環)では、赤色のLED53によって上方から基板31に赤色光を照射し、半径の大きい円環では、緑色や青色のLED53によって斜めから基板31に緑色光や青色光を照射してもよい。そのようにすることで、例えば、ハンダの表面の角度を色の違いによって検知することもできるようになる。複数のLED53によって基板31が照明されている際に、撮影部54によって基板31を撮影することにより、2次元の撮影画像を取得することができる。撮影画像取得部11は、その2次元の撮影画像を、例えば、1回の撮影で取得してもよく、または、移動部43によって光学ユニット41と基板31とを相対的に移動させながら撮影した複数の画像を合成することによって取得してもよい。   The plurality of LEDs 53 are used for illumination for capturing a two-dimensional captured image. The plurality of LEDs 53 may be arranged in an annular shape around the optical axis of the photographing unit 54 inside the umbrella-shaped member 52. Further, for example, as shown in FIG. 2, the LED 53 may illuminate the substrate 31 at a different angle whenever the radius of the circular ring is different. In that case, the plurality of LEDs 53 may have different colors for different angles. For example, in a ring with a small radius (that is, a ring close to the optical axis), the red LED 53 irradiates the substrate 31 with red light from above, and in a ring with a large radius, the substrate is obliquely formed with the green or blue LED 53. 31 may be irradiated with green light or blue light. By doing so, for example, the angle of the surface of the solder can be detected by the difference in color. When the substrate 31 is illuminated by the plurality of LEDs 53, a two-dimensional photographed image can be acquired by photographing the substrate 31 by the photographing unit 54. The captured image acquisition unit 11 may acquire the two-dimensional captured image by, for example, one shooting, or may be captured while the optical unit 41 and the substrate 31 are relatively moved by the moving unit 43. You may acquire by combining several images.

なお、上述のように、光切断法以外の方法によって3次元撮影画像が取得されてもよい。3次元撮影画像を取得する方法はすでに公知であるため、その方法に関する詳細な説明は省略する。また、3次元撮影画像が取得された後に、取得された3次元撮影画像上の位置と基板上の位置との対応関係が分かるようになることが好適である。基板上のある位置に対応する3次元撮影画像上の位置の特定、または、その逆の特定ができるようになるためである。対応関係は、例えば、3次元撮影画像と、基板の座標系との対応付けによって行われてもよい。3次元撮影画像と基板との対応付けは、手動で行われてもよく、または、自動で行われてもよい。前者の場合には、例えば、基板上のあらかじめ決められた位置に対応する3次元撮影画像上の位置を、作業者が手作業で入力することによって両者の対応付けが行われてもよい。後者の場合には、例えば、3次元撮影画像上のあらかじめ決められた特徴点が特定され、その特定された特徴点を用いて両者の対応付けが行われてもよい。また、撮影画像取得部11は、被検査基板の外観検査のために、被検査基板の3次元撮影画像をも取得してもよい。   As described above, the three-dimensional captured image may be acquired by a method other than the light cutting method. Since a method for acquiring a three-dimensional captured image is already known, a detailed description of the method is omitted. In addition, it is preferable that the correspondence between the acquired position on the three-dimensional captured image and the position on the substrate can be understood after the three-dimensional captured image is acquired. This is because the position on the three-dimensional captured image corresponding to a certain position on the substrate can be specified, or vice versa. The correspondence relationship may be performed by, for example, associating the three-dimensional captured image with the coordinate system of the substrate. The association between the three-dimensional captured image and the substrate may be performed manually or automatically. In the former case, for example, the operator may manually associate a position on a three-dimensional captured image corresponding to a predetermined position on the substrate with the operator. In the latter case, for example, a predetermined feature point on the three-dimensional captured image may be specified, and the two may be associated using the specified feature point. The captured image acquisition unit 11 may also acquire a three-dimensional captured image of the substrate to be inspected for appearance inspection of the substrate to be inspected.

記憶部12では、部品位置情報が記憶される。部品位置情報は、装着位置を含む情報である。装着位置は、良品基板に対応する被検査基板において部品が装着される位置である。すなわち、部品が装着される、被検査基板上の位置が装着位置である。良品基板に対応する被検査基板とは、良品基板と同様に部品が実装される基板であり、基板検査装置1によって設定された外観検査の対象となる基板である。なお、「良品基板」と「被検査基板」とを区別しない場合には、単に「基板」と呼ぶこともある。装着位置は、部品が装着される設計上の位置であってもよい。装着位置は、例えば、チップマウンタ等によって部品が被検査基板に実装される際に部品を実装する位置として用いられてもよい。また、装着位置は、例えば、基板の座標系における座標であってもよい。また、装着位置は、例えば、基板上の部品の中心位置を示す情報であってもよい。その装着位置は、基板の表面における位置、すなわち2次元平面における位置であり、高さの情報を含んでいなくてもよい。部品位置情報は、装着位置に装着される部品の種類をも含んでいてもよい。また、部品位置情報は、装着位置や部品の種類以外の情報を含んでいてもよい。例えば、部品位置情報は、図4で示されるように、部品ごとに、部品を識別する部品IDと、装着位置と、装着角度と、部品の種類とを有する情報であってもよい。装着角度は、被検査基板において部品が装着される角度である。例えば、チップマウンタ等によって部品が被検査基板に実装される際に、基準となる角度から装着角度に応じた回転がなされた後に実装されてもよい。   The storage unit 12 stores component position information. The component position information is information including the mounting position. The mounting position is a position where the component is mounted on the board to be inspected corresponding to the non-defective substrate. That is, the position on the board to be inspected where the component is mounted is the mounting position. The substrate to be inspected corresponding to the non-defective substrate is a substrate on which components are mounted in the same manner as the non-defective substrate, and is a substrate to be subjected to the appearance inspection set by the substrate inspection apparatus 1. In the case where the “non-defective substrate” and the “substrate to be inspected” are not distinguished, they may be simply referred to as “substrate”. The mounting position may be a design position where the component is mounted. The mounting position may be used as a position where the component is mounted when the component is mounted on the substrate to be inspected by a chip mounter or the like, for example. Further, the mounting position may be, for example, coordinates in the coordinate system of the substrate. The mounting position may be information indicating the center position of a component on the board, for example. The mounting position is a position on the surface of the substrate, that is, a position on a two-dimensional plane, and may not include height information. The component position information may also include the type of component mounted at the mounting position. Further, the component position information may include information other than the mounting position and the component type. For example, as shown in FIG. 4, the component position information may be information having a component ID for identifying a component, a mounting position, a mounting angle, and a type of component for each component. The mounting angle is an angle at which a component is mounted on the board to be inspected. For example, when a component is mounted on a substrate to be inspected by a chip mounter or the like, the component may be mounted after being rotated from the reference angle according to the mounting angle.

また、記憶部12では、対応情報も記憶される。対応情報は、部品の種類と、その部品の種類に応じた部品の外観検査の内容とを対応付ける情報である。部品の外観検査の内容は、例えば、外観検査の項目であってもよい。外観検査の項目は、外観検査の種類であると考えてもよい。外観検査の項目(種類)は、例えば、実装された部品のずれ(例えば、位置や角度、高さ等に関するずれ)に関する検査である実装ずれ検査、ハンダの状態に関する検査であるハンダ検査、リード付きICのリード部分のずれ、浮き、ハンダの状態、ショート等に関するリード検査、部品やハンダ等の体積に関する体積検査、部品のサイズに関するサイズ検査等であってもよい。対応情報は、任意の部品の種類から、その部品の種類に対応する外観検査の内容を取得することができる情報であれば、どのような情報であってもよい。例えば、図5で示されるように、部品の種類と、その部品の種類について実行される外観検査の項目を示すフラグとを対応付ける情報であってもよい。図5で示される対応情報において、ある部品の種類に対応してフラグ「1」の設定されている外観検査は、その部品の種類に関する外観検査として設定され、ある部品の種類に対応してフラグ「0」の設定されている外観検査は、その部品の種類に関する外観検査として設定されないことになる。具体的には、図5の対応情報によって、チップ抵抗については、位置、角度、高さに関する実装ずれ検査と、ハンダ検査とが設定されることになる。   The storage unit 12 also stores correspondence information. The correspondence information is information that associates the type of the component with the content of the appearance inspection of the component corresponding to the type of the component. The content of the appearance inspection of the component may be, for example, an item of appearance inspection. The item of appearance inspection may be considered as the type of appearance inspection. The items (types) of the appearance inspection include, for example, a mounting displacement inspection that is an inspection related to a displacement of a mounted component (for example, a displacement related to position, angle, height, etc.), a solder inspection that is an inspection related to a solder state, and a lead It may be lead inspection related to deviation, floating, solder state, short circuit, etc. of IC, volume inspection related to the volume of components and solder, size inspection related to the size of components, and the like. The correspondence information may be any information as long as it is information that can acquire the contents of the appearance inspection corresponding to the type of the component from any type of component. For example, as shown in FIG. 5, information that associates a type of a component with a flag indicating an item of an appearance inspection to be executed for the type of the component may be used. In the correspondence information shown in FIG. 5, the appearance inspection in which the flag “1” is set corresponding to a certain component type is set as the appearance inspection relating to the component type, and the flag corresponding to the certain component type is set. The appearance inspection set to “0” is not set as the appearance inspection related to the type of the component. Specifically, according to the correspondence information shown in FIG. 5, the mounting displacement inspection and the solder inspection regarding the position, angle, and height are set for the chip resistance.

記憶部12では、部品位置情報や対応情報以外の情報が記憶されてもよい。例えば、撮影画像取得部11によって取得された撮影画像や、形状情報取得部13によって取得された形状情報等が記憶部12で記憶されてもよい。記憶部12に部品位置情報等の情報が記憶される過程は問わない。例えば、記録媒体を介して情報が記憶部12で記憶されるようになってもよく、通信回線等を介して送信された情報が記憶部12で記憶されるようになってもよく、または、入力デバイスを介して入力された情報が記憶部12で記憶されるようになってもよい。記憶部12での記憶は、RAM等における一時的な記憶でもよく、または、長期的な記憶でもよい。記憶部12は、所定の記録媒体(例えば、半導体メモリや磁気ディスク、光ディスクなど)によって実現され得る。   The storage unit 12 may store information other than component position information and correspondence information. For example, the captured image acquired by the captured image acquisition unit 11, the shape information acquired by the shape information acquisition unit 13, and the like may be stored in the storage unit 12. The process in which information, such as component position information, is stored in the storage unit 12 does not matter. For example, information may be stored in the storage unit 12 via a recording medium, information transmitted via a communication line or the like may be stored in the storage unit 12, or Information input via the input device may be stored in the storage unit 12. The storage in the storage unit 12 may be temporary storage in a RAM or the like, or may be long-term storage. The storage unit 12 can be realized by a predetermined recording medium (for example, a semiconductor memory, a magnetic disk, an optical disk, etc.).

形状情報取得部13は、部品位置情報に含まれる装着位置に対応する良品基板の位置における部品の形状に関する形状情報を、3次元撮影画像に含まれる高さ情報を用いて取得する。3次元撮影画像に含まれている高さ情報を用いることにより、基板の表面よりも高い位置を特定することができる。したがって、形状情報取得部13は、基板の表面より高い位置の形状を示す形状情報を、装着位置ごとに特定してもよい。形状情報取得部13は、例えば、3次元撮影画像において、部品実装面の法線方向の高さが最も低い箇所を基板の表面としてもよく、その他の方法によって基板の表面を特定してもよい。その形状情報は、基板における部品の実装されている位置が分かる情報であることが好適である。その形状情報は、例えば、基板上に実装された部品の輪郭(外縁)を示す情報であってもよい。なお、上述のように、形状情報は、3次元撮影画像に含まれる高さ情報を用いて取得されるため、基板よりも高い範囲を示す形状情報が取得されることになる。したがって、例えば、ハンダによって部品が基板に固定されている場合には、そのハンダの領域も含む形状を示す形状情報が取得されてもよい。また、形状情報は、高さに関する情報を有していてもよい。すなわち、形状情報は、基板の面方向の形状のみでなく、高さ方向の形状をも示す情報であってもよい。例えば、形状情報は、ある部品について、高さごとに輪郭を示す情報であってもよい。例えば、装着位置が、部品の中心位置を示す場合には、形状情報取得部13は、3次元撮影画像において、装着位置に対応する位置を特定し、その特定した位置から連続している、基板の表面よりも高い領域を特定することによって、部品の形状を特定してもよい。具体的には、形状情報の取得対象の部品がリード付きICである場合には、図9で示されるように、装着位置で示される位置から四方に高さの変化を探索することにより、リード付きICの輪郭を取得することができる。特にこの場合には、チップの部分の高さと、リードの部分の高さとが異なるため、高さの変化の探索において、そのことも検知することができる。図9において、網掛けの領域がチップの部分に対応し、黒塗りの領域がリードの部分に対応している。形状情報が有する高さに関する情報は、例えば、高さの値(例えば、4mm等)であってもよく、高さの順序(例えば、「最も高い」「2番目に高い」等)であってもよい。高さの順序は、1個の部品における順序であってもよい。図9で示されるリード付きICに対応する形状情報が高さの順序をも含んでいる場合には、その形状情報において、チップの輪郭に高さの情報「最も高い」が対応付けられ、リードの輪郭に高さの情報「2番目に高い」が対応付けられてもよい。そのように複数段階の高さを特定する際には、例えば、部品に関する高さを複数段階に分ける必要がある。その複数段階に分ける方法としては、例えば、あらかじめ決められた高さごとにグルーピングする方法や、近い値の高さごとにグルーピングする方法、クラスタリングの手法を用いて分類する方法などを用いてもよい。なお、形状情報が高さの順序をも有する場合に、その高さの順序は、部品本体に対応する「最も高い」と、リードやハンダ等に対応する「それ以外の高さ」との2段階であってもよい。形状情報取得部13は、部品位置情報に含まれる各装着位置に対応する部品、すなわち3次元撮影画像に含まれる各部品について、形状情報を取得することが好適である。取得された形状情報は、記憶部12に蓄積されてもよい。その際に、例えば、図7で示されるように、部品を識別する情報(例えば、部品ID等)に対応付けて、各部品の形状情報が記憶されてもよい。なお、図7において、形状情報F101は、例えば、部品ID「IC101」で識別される部品の輪郭を示す情報であってもよく、高さに関する情報をもさらに有する情報であってもよい。また、形状情報取得部13は、被検査基板の外観検査のために、被検査基板の3次元撮影画像の高さ情報を用いて、装着位置に対応する被検査基板の位置における形状情報をも取得してもよい。   The shape information acquisition unit 13 acquires shape information regarding the shape of the component at the position of the non-defective substrate corresponding to the mounting position included in the component position information, using the height information included in the three-dimensional captured image. By using the height information included in the three-dimensional captured image, a position higher than the surface of the substrate can be specified. Therefore, the shape information acquisition unit 13 may specify shape information indicating a shape at a position higher than the surface of the substrate for each mounting position. For example, in the three-dimensional captured image, the shape information acquisition unit 13 may use a portion having the lowest height in the normal direction of the component mounting surface as the surface of the substrate, or may specify the surface of the substrate by other methods. . The shape information is preferably information indicating the position where the component is mounted on the board. The shape information may be information indicating the outline (outer edge) of a component mounted on the board, for example. As described above, since the shape information is acquired using the height information included in the three-dimensional captured image, the shape information indicating a range higher than the substrate is acquired. Therefore, for example, when the component is fixed to the substrate by solder, shape information indicating the shape including the solder region may be acquired. Further, the shape information may include information regarding the height. That is, the shape information may be information indicating not only the shape in the surface direction of the substrate but also the shape in the height direction. For example, the shape information may be information indicating a contour for each height of a certain part. For example, when the mounting position indicates the center position of the component, the shape information acquisition unit 13 specifies a position corresponding to the mounting position in the three-dimensional captured image, and is continuous from the specified position. The shape of the part may be specified by specifying a region higher than the surface of the part. Specifically, when the part whose shape information is to be acquired is an IC with a lead, as shown in FIG. 9, the lead is searched by searching for a change in height in four directions from the position indicated by the mounting position. The outline of the attached IC can be acquired. Particularly in this case, since the height of the chip portion is different from the height of the lead portion, this can also be detected in the search for a change in height. In FIG. 9, the shaded area corresponds to the chip portion, and the black area corresponds to the lead portion. The information about the height included in the shape information may be, for example, a height value (for example, 4 mm), and may be an order of height (for example, “highest”, “second highest”, etc.) Also good. The order of heights may be the order of one part. If the shape information corresponding to the leaded IC shown in FIG. 9 also includes the height order, the height information “highest” is associated with the contour of the chip in the shape information, and the lead May be associated with height information “second highest”. When specifying a plurality of levels of height in this way, for example, it is necessary to divide the height related to the component into a plurality of levels. As a method of dividing into a plurality of stages, for example, a method of grouping for each predetermined height, a method of grouping for each height of close values, a method of classification using a clustering method, or the like may be used. . When the shape information also has a height order, the height order is “highest” corresponding to the component main body and “other height” corresponding to the lead, solder, etc. It may be a stage. It is preferable that the shape information acquisition unit 13 acquires shape information for a part corresponding to each mounting position included in the part position information, that is, for each part included in the three-dimensional captured image. The acquired shape information may be accumulated in the storage unit 12. In that case, for example, as shown in FIG. 7, the shape information of each component may be stored in association with information for identifying the component (for example, a component ID or the like). In FIG. 7, the shape information F <b> 101 may be, for example, information indicating the contour of the component identified by the component ID “IC101”, or may be information further including information on the height. In addition, the shape information acquisition unit 13 uses the height information of the three-dimensional captured image of the board to be inspected to obtain the shape information at the position of the board to be inspected corresponding to the mounting position for the appearance inspection of the board to be inspected. You may get it.

表示部14は、記憶部12で記憶されている情報等を表示する。表示部14は、例えば、3次元撮影画像を表示してもよい。また、表示部14は、表示対象の3次元撮影画像上において、部品位置情報に含まれる装着位置に対応する位置が分かる表示を行ってもよい。具体的には、3次元撮影画像上の装着位置に対応する位置に、装着位置であることを示す図形を表示してもよい。また、表示部14は、ユーザから部品の種類を受け付けるためのインターフェースを表示してもよい。具体的には、図8で示されるように、部品の種類の受け付け画面を表示してもよい。また、表示部14がそれら以外の表示を行ってよいことは言うまでもない。   The display unit 14 displays information stored in the storage unit 12. For example, the display unit 14 may display a three-dimensional captured image. In addition, the display unit 14 may perform display in which the position corresponding to the mounting position included in the component position information can be recognized on the three-dimensional captured image to be displayed. Specifically, a graphic indicating the mounting position may be displayed at a position corresponding to the mounting position on the three-dimensional captured image. The display unit 14 may display an interface for accepting the type of component from the user. Specifically, as shown in FIG. 8, a part type acceptance screen may be displayed. Moreover, it cannot be overemphasized that the display part 14 may display other than those.

なお、表示部14は、それらの表示を行う表示デバイス(例えば、液晶ディスプレイや有機ELディスプレイなど)を含んでもよく、または含まなくてもよい。また、表示対象の表示は、別の装置においてなされてもよい。その場合には、表示部14は、装置の外部に対して表示対象の情報を送信するものであってもよい。また、表示部14は、ハードウェアによって実現されてもよく、または表示デバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。   The display unit 14 may or may not include a display device (for example, a liquid crystal display or an organic EL display) that performs such display. The display target may be displayed on another device. In that case, the display unit 14 may transmit information to be displayed to the outside of the apparatus. The display unit 14 may be realized by hardware, or may be realized by software such as a driver that drives a display device.

部品種類取得部15は、部品位置情報に含まれる装着位置に装着される部品の種類を取得する。部品種類取得部15が部品の種類を取得する方法は問わない。例えば、部品種類取得部15は、装着位置に装着される部品の種類を、ユーザから受け付けてもよい。すなわち、部品の種類の取得は、部品の種類の受け付けであってもよい。具体的には、図8で示されるように、表示部14によって3次元撮影画像と、その3次元撮影画像上の装着位置に対応する位置を示す指示図形81とが表示された場合に、部品種類取得部15は、その表示に応じてユーザが入力した、指示図形81に対応する部品の種類を受け付けてもよい。なお、図8では、指示図形81の形状が正方形状である場合について示しているが、指示図形81は、例えば、矩形状や、円形状、丸形状、多角形状など、その他の形状であってもよい。また、例えば、部品種類取得部15は、装着位置に装着される部品の種類を、部品位置情報から取得してもよい。具体的には、図4で示されるように、部品位置情報において、装着位置と部品の種類とが対応付けられている場合には、部品種類取得部15は、その部品位置情報を用いて、装着位置に対応する部品の種類を読み出してもよい。また、例えば、部品種類取得部15は、装着位置に装着される部品の種類を、その装着位置に対応する形状情報、すなわち、その装着位置で取得された形状情報を用いて取得してもよい。具体的には、形状情報が部品の形状の輪郭を示す情報である場合には、部品種類取得部15は、パターンマッチング等を用いることによって、形状情報に対応する部品の種類を特定してもよい。形状情報に高さに関する情報も含まれている場合には、その情報も用いることによって、より高精度な部品の種類の特定が可能となる。また、部品種類取得部15は、部品位置情報に含まれる各装着位置に対応する部品について、部品の種類を取得することが好適である。   The component type acquisition unit 15 acquires the type of component mounted at the mounting position included in the component position information. There is no limitation on the method by which the component type acquisition unit 15 acquires the component type. For example, the component type acquisition unit 15 may receive the type of component mounted at the mounting position from the user. That is, the acquisition of the component type may be reception of the component type. Specifically, as shown in FIG. 8, when the display unit 14 displays a three-dimensional photographed image and an instruction figure 81 indicating a position corresponding to the mounting position on the three-dimensional photographed image, the component The type acquisition unit 15 may receive the type of component corresponding to the instruction graphic 81 input by the user according to the display. 8 shows a case where the shape of the instruction graphic 81 is a square shape, the instruction graphic 81 has other shapes such as a rectangular shape, a circular shape, a round shape, and a polygonal shape. Also good. For example, the component type acquisition unit 15 may acquire the type of component mounted at the mounting position from the component position information. Specifically, as shown in FIG. 4, when the mounting position and the component type are associated with each other in the component position information, the component type acquisition unit 15 uses the component position information, The type of component corresponding to the mounting position may be read. Further, for example, the component type acquisition unit 15 may acquire the type of component mounted at the mounting position using shape information corresponding to the mounting position, that is, shape information acquired at the mounting position. . Specifically, when the shape information is information indicating the contour of the shape of the component, the component type acquisition unit 15 may identify the type of the component corresponding to the shape information by using pattern matching or the like. Good. When the shape information includes information about the height, the information can also be used to specify the type of the component with higher accuracy. In addition, it is preferable that the component type acquisition unit 15 acquires the component type for the component corresponding to each mounting position included in the component position information.

設定部16は、良品基板に実装された部品に対応する形状情報と、その部品について部品種類取得部15によって取得された部品の種類に対応情報によって対応付けられている外観検査の内容とを用いて、その部品の外観検査に関する設定を行う。その形状情報は、形状情報取得部13によって取得されたものである。その外観検査に関する設定には、例えば、3次元撮影画像が用いられてもよく、後述するように、その3次元撮影画像に含まれる2次元の撮影画像が用いられてもよい。ある部品の外観検査に関する設定は、例えば、検査領域の設定と、検査内容の設定とによって行われてもよい。すなわち、ある部品の外観検査に関する設定を行う場合に、設定部16は、対応情報を用いて、その部品の種類に対応する外観検査の項目を特定し、その特定した各項目について、検査領域の設定と、検査内容の設定とを行ってもよい。その検査領域の設定に、形状情報が用いられてもよい。実装ずれ検査の設定を行う場合には、例えば、設定部16は、形状情報によって示される部品の形状を囲む基板上の領域を、その部品の実装ずれ検査の検査領域に設定してもよい。また、設定対象の部品の種類がリード付きICである場合であって、設定部16がそのリード付きICについてリード検査の設定を行う場合には、例えば、設定部16は、その設定対象の部品に対応する形状情報によって示されるリード部分を囲む基板上の領域を、リード検査の検査領域に設定してもよい。なお、例えば、設定部16は、形状情報が高さに関する情報を有する場合には、リード付きICにおいて、チップの部分よりも低い部分をリード部分としてもよく、リード部分の形状に関するパターンマッチング等を用いることによって、リード部分を検出してもよい。また、形状情報が高さに関する情報を有している場合であって、設定部16がハンダ検査の設定を行う場合には、例えば、設定部16は、その高さに関する情報によって部品本体の高さよりも低いことが示される部分を囲む基板上の領域を、ハンダ検査の検査領域に設定してもよい。また、ハンダ検査の設定を行う場合には、例えば、設定部16は、形状情報によって示される部品の輪郭に対してあらかじめ決められた領域を、ハンダ検査の検査領域に設定してもよい。部品の輪郭に対してあらかじめ決められた領域とは、例えば、チップ抵抗の本体の短手方向の辺に隣接する、チップ抵抗よりも外側の領域であってもよく、電解コンデンサの本体に隣接するランドの領域であってもよい。なお、検査領域は、例えば、矩形状などのあらかじめ決められた形状であってもよく、または、そうでなくてもよい。また、例えば、実装ずれ検査の検査領域は、形状情報によって示される部品の形状に対して、許容される実装の誤差以上大きい範囲であることが好適であるが、より精度の高い外観検査を実現するため、その部品の形状に対して大きくなりすぎないことが好適である。他の検査領域についても同様である。   The setting unit 16 uses the shape information corresponding to the component mounted on the non-defective board and the contents of the appearance inspection associated with the component type acquired by the component type acquiring unit 15 for the component by the correspondence information. To make settings related to the appearance inspection of the part. The shape information is acquired by the shape information acquisition unit 13. For the setting related to the appearance inspection, for example, a three-dimensional photographed image may be used, and as described later, a two-dimensional photographed image included in the three-dimensional photographed image may be used. The setting related to the appearance inspection of a certain part may be performed, for example, by setting an inspection area and setting inspection contents. That is, when making settings related to the appearance inspection of a certain part, the setting unit 16 uses the correspondence information to specify the items of the appearance inspection corresponding to the type of the part, and for each of the specified items, the setting of the inspection area. Setting and setting of inspection contents may be performed. Shape information may be used for setting the inspection region. When setting the mounting deviation inspection, for example, the setting unit 16 may set an area on the substrate surrounding the shape of the component indicated by the shape information as an inspection area for the mounting deviation inspection of the component. In addition, when the type of the setting target component is a leaded IC and the setting unit 16 sets the lead inspection for the leaded IC, for example, the setting unit 16 sets the setting target component. An area on the substrate surrounding the lead portion indicated by the shape information corresponding to may be set as an inspection area for lead inspection. For example, when the shape information includes information about the height, the setting unit 16 may use a lower part than the chip part as a lead part in the leaded IC, and perform pattern matching or the like regarding the shape of the lead part. By using it, the lead portion may be detected. In addition, when the shape information includes information about the height, and the setting unit 16 sets the solder inspection, for example, the setting unit 16 determines the height of the component main body based on the information about the height. An area on the substrate surrounding a portion indicated to be lower than this may be set as an inspection area for solder inspection. Further, when setting the solder inspection, for example, the setting unit 16 may set an area predetermined for the contour of the part indicated by the shape information as the inspection area for the solder inspection. The region determined in advance with respect to the outline of the component may be, for example, a region adjacent to the side in the short direction of the main body of the chip resistor and outside the chip resistor, and adjacent to the main body of the electrolytic capacitor. It may be a land area. The inspection area may have a predetermined shape such as a rectangular shape, or may not be so. In addition, for example, the inspection area for mounting displacement inspection is preferably in a range larger than the allowable mounting error with respect to the shape of the component indicated by the shape information, but realizes a more accurate appearance inspection. Therefore, it is preferable that the size of the part does not become too large. The same applies to other inspection areas.

検査内容の設定には、記憶部12で記憶されている対応情報が用いられる。ある部品に関する検査内容の設定において、設定部16は、その部品について取得された部品の種類に対応する外観検査の項目に関する設定を行う。その外観検査の項目に関する設定は、例えば、その外観検査の項目に関する基準の設定であってもよく、その外観検査の項目に関する設定値の設定(例えば、閾値の設定等)であってもよく、外観検査に関するその他の設定であってもよい。なお、基準や閾値は、例えば、被検査基板上の部品に関する基準からのずれが閾値より大きい場合には不合格であると判断され、その基準からのずれが閾値以内である場合には合格であると判断される外観検査において用いられてもよい。実装ずれ検査に関する設定において、設定部16は、例えば、実装ずれ検査の検査領域に対応する形状情報によって示される良品基板における部品の実装状況を、実装ずれ検査の基準に設定してもよい。実装ずれ検査の検査領域に対応する形状情報とは、その検査領域の設定に用いられた形状情報であってもよい。実装ずれ検査とは、例えば、位置、角度、高さの少なくともいずれかに関する実装ずれの検査であってもよい。形状情報によって示される部品の実装状況とは、例えば、部品の位置、部品の角度、部品の高さの少なくともいずれかであってもよい。なお、実装状況が部品の高さを含む場合には、形状情報に、高さに関する情報として、高さの値が含まれていることが好適である。そのような検査内容の設定が行われた場合には、外観検査の際に、例えば、被検査基板に実装された部品の位置や角度、高さに関する基準(すなわち、実装状況によって示される位置や角度、高さ)からのずれが閾値以内であるときには合格であると判断され、閾値を超えているときには不合格と判断されることになる。また、検査内容の設定において、設定部16は、リード検査の検査領域に対応する3次元撮影画像の領域の2次元画像を用いて、そのリード検査の基準を設定してもよい。すなわち、リード検査の検査領域に相当する3次元撮影画像の領域の2次元画像が、リード検査の基準の設定に用いられてもよい。なお、2次元画像をリード検査の基準の設定に用いるとは、例えば、その2次元画像に含まれる各リードに関する位置や面積、色等を基準に設定することであってもよく、その2次元画像そのものを基準に設定することであってもよい。2次元画像そのものがリード検査の基準に設定された場合には、例えば、リード検査において、その2次元画像から特定される各リードに関する位置や面積、色等が用いられてもよい。そのリード検査においては、例えば、各リードの間隔やずれ、隣接するリードのショート、リード表面の異物等が、良品基板の2次元画像を基準として検査されてもよい。ユーザが手動で特定したリード部分の2次元画像を用いた基準の設定は、従来の基板検査装置においても行われており、その詳細な説明を省略する。なお、例えば、外観検査に関する検査領域や基準、設定値等をどのように設定するのかを示す情報(例えば、検査領域をどこに設定するのかを示す情報、基準として何を用いるのかを示す情報、閾値のデフォルト値等)が、外観検査の項目ごとに図示しない記録媒体において保持されていており、設定部16は、その情報を用いて外観検査に関する設定を行ってもよい。また、検査内容の設定において、設定部16は、あらかじめ決められた閾値等を、各外観検査のデフォルトの閾値等として設定してもよい。その閾値等は、後からユーザが変更できてもよい。   Corresponding information stored in the storage unit 12 is used for setting the examination contents. In setting the inspection content for a certain part, the setting unit 16 makes a setting for an appearance inspection item corresponding to the type of the part acquired for the part. The setting related to the appearance inspection item may be, for example, a standard setting related to the appearance inspection item, or a setting value setting related to the appearance inspection item (for example, a threshold setting). Other settings related to appearance inspection may be used. For example, the standard or threshold value is determined to be unacceptable if the deviation from the standard for the component on the board to be inspected is larger than the threshold value, and is acceptable if the deviation from the standard is within the threshold value. It may be used in an appearance inspection that is determined to be present. In the setting related to the mounting displacement inspection, the setting unit 16 may set, for example, the mounting state of the component on the non-defective board indicated by the shape information corresponding to the inspection region of the mounting displacement inspection as a reference for the mounting displacement inspection. The shape information corresponding to the inspection area for the mounting displacement inspection may be the shape information used for setting the inspection area. The mounting misalignment inspection may be, for example, an inspection of mounting misalignment regarding at least one of position, angle, and height. The component mounting status indicated by the shape information may be, for example, at least one of the position of the component, the angle of the component, and the height of the component. When the mounting state includes the height of the component, it is preferable that the shape information includes a height value as information about the height. When such inspection details are set, during the appearance inspection, for example, a standard (i.e., a position indicated by the mounting status or the position or angle) of the component mounted on the board to be inspected. When the deviation from the angle and the height is within the threshold value, it is determined to be acceptable, and when it exceeds the threshold value, it is determined to be unacceptable. In setting the inspection content, the setting unit 16 may set a reference for the lead inspection using a two-dimensional image of the region of the three-dimensional captured image corresponding to the inspection region for the lead inspection. That is, a two-dimensional image of a region of a three-dimensional captured image corresponding to the inspection region for lead inspection may be used for setting a reference for lead inspection. The use of the two-dimensional image for setting the reference for lead inspection may be, for example, setting the position, area, color, etc. of each lead included in the two-dimensional image as a reference. It may be set based on the image itself. When the two-dimensional image itself is set as a reference for lead inspection, for example, in lead inspection, the position, area, color, and the like regarding each lead specified from the two-dimensional image may be used. In the lead inspection, for example, the interval between each lead, a deviation of adjacent leads, a foreign matter on the lead surface, and the like may be inspected on the basis of a two-dimensional image of a non-defective substrate. The reference setting using the two-dimensional image of the lead portion manually specified by the user is also performed in the conventional substrate inspection apparatus, and the detailed description thereof is omitted. In addition, for example, information indicating how to set the inspection area, reference, setting value, etc. relating to the appearance inspection (for example, information indicating where to set the inspection area, information indicating what is used as the reference, threshold value) Are stored in a recording medium (not shown) for each item of the appearance inspection, and the setting unit 16 may perform settings related to the appearance inspection using the information. In setting the inspection contents, the setting unit 16 may set a predetermined threshold value or the like as a default threshold value or the like for each appearance inspection. The threshold may be changed later by the user.

次に、基板検査装置1の動作について図3のフローチャートを用いて説明する。
(ステップS101)撮影画像取得部11は、良品基板に関する3次元撮影画像を取得する。その3次元撮影画像の取得は、上述のように、例えば、2次元の撮影画像の取得と、3次元情報の取得とによって行われてもよい。
Next, the operation of the substrate inspection apparatus 1 will be described using the flowchart of FIG.
(Step S101) The captured image acquisition unit 11 acquires a three-dimensional captured image related to a non-defective substrate. As described above, the acquisition of the three-dimensional captured image may be performed, for example, by acquiring a two-dimensional captured image and acquiring three-dimensional information.

(ステップS102)形状情報取得部13は、部品位置情報に含まれる各装着位置を用いて、各装着位置に対応する良品基板の位置における形状情報をそれぞれ取得する。   (Step S102) The shape information acquisition unit 13 acquires the shape information at the position of the non-defective substrate corresponding to each mounting position using each mounting position included in the component position information.

(ステップS103)部品種類取得部15は、形状情報の取得された部品について、部品の種類を取得する。   (Step S103) The component type acquisition unit 15 acquires the type of component for the component for which shape information has been acquired.

(ステップS104)設定部16は、ステップ103で取得された部品の種類を用いて、その部品の種類に対応する部品の外観検査に関する設定を行う。   (Step S <b> 104) The setting unit 16 uses the component type acquired in Step 103 to make settings related to the appearance inspection of the component corresponding to the component type.

(ステップS105)設定部16は、次の部品が存在するかどうか、すなわち外観検査の設定が行われていない部品が存在するかどうか判断する。そして、次の部品が存在する場合には、ステップS103に戻り、そうでない場合、すなわち、3次元撮影画像上のすべての部品について外観検査に関する設定が終了した場合には、外観検査の設定に関する一連の処理を終了する。なお、ステップS103に戻った場合には、形状情報の取得が行われた部品のうち、まだ外観検査の設定が行われていない部品について、部品の種類の取得や部品の種類に応じた外観検査の設定が行われることになる。   (Step S105) The setting unit 16 determines whether there is a next part, that is, whether there is a part that has not been set for appearance inspection. If the next part exists, the process returns to step S103. If not, that is, if the settings relating to the appearance inspection have been completed for all the parts on the three-dimensional captured image, a series relating to the appearance inspection setting is performed. Terminate the process. When the process returns to step S103, the acquisition of the part type and the appearance inspection according to the part type are performed for the parts for which the shape information has been acquired and the parts for which the appearance inspection has not been set yet. Will be set.

なお、図3のフローチャートにおける処理の順序は一例であり、同様の結果を得られるのであれば、各ステップの順序を変更してもよい。例えば、すべての部品に関する形状情報を一括して取得するのではなく、部品の種類の取得や外観検査の設定を行う部品ごとに、形状情報の取得を行ってもよい。   Note that the order of processing in the flowchart of FIG. 3 is an example, and the order of each step may be changed as long as similar results can be obtained. For example, instead of acquiring the shape information about all the components at once, the shape information may be acquired for each component for which the type of the component is acquired or the appearance inspection is set.

次に、本実施の形態による基板検査装置1の動作について、具体例を用いて説明する。この具体例では、記憶部12において、図4で示される部品位置情報と、図5で示される対応情報とが記憶されているものとする。図4において、部品位置情報では、部品IDと、装着位置と、装着角度と、部品の種類とが対応付けられている。図5において、対応情報では、部品の種類と、その部品の種類について設定される外観検査の項目とが対応付けられている。上述のように、フラグ「1」の設定されている外観検査の項目が、設定される外観検査の項目となる。また、この具体例では、部品の種類の取得は、ユーザから入力された部品の種類を受け付けることによって行われるものとする。   Next, the operation of the substrate inspection apparatus 1 according to the present embodiment will be described using a specific example. In this specific example, it is assumed that the storage unit 12 stores the component position information shown in FIG. 4 and the correspondence information shown in FIG. In FIG. 4, in the component position information, a component ID, a mounting position, a mounting angle, and a component type are associated. In FIG. 5, in the correspondence information, the type of component is associated with an appearance inspection item set for the type of component. As described above, the items of the appearance inspection in which the flag “1” is set are the items of the appearance inspection to be set. In this specific example, the acquisition of the component type is performed by receiving the component type input by the user.

ユーザが、基板検査装置1に良品基板をセットし、外観検査の設定を行う旨の指示を入力すると、撮影画像取得部11が、3次元撮影画像の取得を行う(ステップS101)。具体的には、撮影部54は、LED53によって照明された良品基板の2次元カラー撮影画像を撮影する。その後、LED53が消灯され、照射部51によってライン光が良品基板上に照射される。そのようにライン光が照射され、移動部43によって光学ユニット41と良品基板とが相対的に移動されている際に、撮影部54は、光切断法によって良品基板の表面における高さを取得するための撮影を行う。そして、演算部42は、その撮影結果を用いて、良品基板の面方向の各位置における高さを取得する。そのようにして、高さ情報を有する2次元の撮影画像である3次元撮影画像が取得されることになる。図6Aは、良品基板31の3次元撮影画像の一例を示す図である。図6Aでは、部品71〜80の実装された良品基板31が示されている。その3次元撮影画像は、紙面に垂直な方向、すなわち基板の法線方向の高さ情報を有するものである。その3次元撮影画像は記憶部12に蓄積される。また、その3次元撮影画像と、基板の座標系との対応付けが行われるものとする。その結果、図4で示される部品位置情報に含まれる装着位置に対応する3次元撮影画像上の位置を特定できるようになる。   When the user sets a non-defective substrate on the substrate inspection apparatus 1 and inputs an instruction to set appearance inspection, the captured image acquisition unit 11 acquires a three-dimensional captured image (step S101). Specifically, the photographing unit 54 photographs a two-dimensional color photographed image of a non-defective substrate illuminated by the LED 53. Thereafter, the LED 53 is turned off, and the irradiation unit 51 irradiates the non-defective substrate with the line light. In this way, when the line light is irradiated and the optical unit 41 and the non-defective substrate are relatively moved by the moving unit 43, the photographing unit 54 acquires the height on the surface of the non-defective substrate by the light cutting method. Shoot for. And the calculating part 42 acquires the height in each position of the surface direction of a non-defective board | substrate using the imaging | photography result. In this way, a three-dimensional captured image that is a two-dimensional captured image having height information is acquired. FIG. 6A is a diagram illustrating an example of a three-dimensional captured image of the non-defective substrate 31. FIG. 6A shows a non-defective substrate 31 on which components 71 to 80 are mounted. The three-dimensional captured image has height information in a direction perpendicular to the paper surface, that is, a normal direction of the substrate. The three-dimensional captured image is accumulated in the storage unit 12. In addition, it is assumed that the three-dimensional captured image is associated with the substrate coordinate system. As a result, the position on the three-dimensional captured image corresponding to the mounting position included in the component position information shown in FIG. 4 can be specified.

その後、形状情報取得部13は、図4の各装着位置に対応する3次元撮影画像上の位置に存在する部品の形状情報をそれぞれ取得する(ステップS102)。具体的には、形状情報取得部13は、図4の部品位置情報に含まれる1個目の部品ID「IC101」で識別される部品(以下、「部品IC101」ということがある。他の部品についても同様である。)の装着位置(X101,Y101)を記憶部12から読み出し、その装着位置(X101,Y101)に対応する3次元撮影画像上の位置を特定し、その特定した位置から連続している、基板の表面より高い範囲である部品の輪郭を、3次元撮影画像に含まれる高さ情報を用いて特定する。同様にして、形状情報取得部13は、部品IC102等についても輪郭を特定する。その結果、例えば、図6Bで示されるように、部品71〜80のそれぞれについて、部品の輪郭を示す部品領域71a〜80aが取得される。図6Bにおいて、部品領域71a〜80aによって、良品基板31の表面よりも高い範囲が示されている。その後、形状情報取得部13は、上述のように、各部品について、最も高い領域と、それ以外の領域とを特定する。図6Cは、各部品に関する最も高い領域と、それ以外の領域とを示す図である。図6Cにおいて、実線で示される領域71b〜80bが、それぞれ最も高い領域であり、破線で示される領域71c,72c,75c,76cが、それぞれ最も高い領域以外の領域である。形状情報取得部13は、それらの各領域と、最も高い領域の高さの値とを示す形状情報を、部品IDに対応付けて、図7で示されるように、記憶部12に蓄積する。   Thereafter, the shape information acquisition unit 13 acquires the shape information of the parts existing at the positions on the three-dimensional captured image corresponding to the respective mounting positions in FIG. 4 (step S102). Specifically, the shape information acquisition unit 13 may be a component identified by the first component ID “IC101” included in the component position information of FIG. 4 (hereinafter referred to as “component IC101”. The same is true for the mounting position (X101, Y101) of the camera, and the position on the three-dimensional photographed image corresponding to the mounting position (X101, Y101) is specified, and continuous from the specified position. The contour of the component that is higher than the surface of the substrate is specified using height information included in the three-dimensional captured image. Similarly, the shape information acquisition unit 13 specifies the contour of the component IC 102 and the like. As a result, for example, as shown in FIG. 6B, component areas 71a to 80a indicating the contours of the components are acquired for the components 71 to 80, respectively. In FIG. 6B, a range higher than the surface of the non-defective substrate 31 is indicated by the component areas 71 a to 80 a. Thereafter, as described above, the shape information acquisition unit 13 identifies the highest region and other regions for each component. FIG. 6C is a diagram illustrating the highest region for each component and the other regions. In FIG. 6C, areas 71b to 80b indicated by solid lines are the highest areas, and areas 71c, 72c, 75c, and 76c indicated by broken lines are areas other than the highest areas. The shape information acquisition unit 13 accumulates the shape information indicating each of these regions and the height value of the highest region in the storage unit 12 as shown in FIG. 7 in association with the component ID.

次に、部品種類取得部15は、図4の部品位置情報に含まれる1個目の部品IC101について、部品の種類を受け付ける(ステップS103)。具体的には、まず、表示部14が、図8で示されるように2次元の撮影画像と、部品の種類を受け付けるためのインターフェースとを表示する。その表示において、部品の種類の受け付け対象の部品が、指示図形81によって特定されている。表示部14は、例えば、1個目の部品IC101に対応する装着位置(X101,Y101)を記憶部12から読み出し、その装着位置に対応する2次元の撮影画像上の位置に指示図形81を表示してもよい。そして、ユーザが、その指示図形81に対応する部品の種類「リード付きIC」を選択し、「OK」ボタンを選択することによって、その部品の種類の選択を確定すると、部品種類取得部15によって、部品の種類「リード付きIC」が取得され、その部品の種類が設定部16に渡される。   Next, the component type acquisition unit 15 receives the component type for the first component IC 101 included in the component position information of FIG. 4 (step S103). Specifically, first, the display unit 14 displays a two-dimensional captured image and an interface for receiving the type of component as shown in FIG. In the display, the part for which the type of part is to be received is specified by the instruction graphic 81. For example, the display unit 14 reads the mounting position (X101, Y101) corresponding to the first component IC 101 from the storage unit 12, and displays the instruction graphic 81 at a position on the two-dimensional captured image corresponding to the mounting position. May be. Then, when the user selects the component type “IC with lead” corresponding to the instruction graphic 81 and selects the “OK” button to confirm the selection of the component type, the component type acquisition unit 15 The component type “IC with lead” is acquired, and the component type is passed to the setting unit 16.

部品の種類「リード付きIC」を受け取ると、設定部16は、記憶部12で記憶されている対応情報を参照し、その部品の種類に対応するフラグが「1」である外観検査の設定を行う(ステップS104)。具体的には、部品の種類「リード付きIC」には、位置、角度、高さに関する実装ずれ検査と、リード検査とが対応付けられているため、設定部16は、それらの外観検査の設定を行う。設定部16は、まず、外観検査の設定対象である部品IC101に対応する形状情報F101を読み出し、その形状情報F101で示される部品IC101の形状を囲む基板上における領域、すなわち図6Dで示される領域82を、実装ずれ検査の検査領域A101に設定する。また、その設定において、設定部16は、形状情報F101によって示される部品IC101の輪郭B101を、位置に関する実装ずれ検査の基準に設定し、形状情報F101によって示される部品IC101の角度、例えば、部品本体の所定の箇所の角度D101を、角度に関する実装ずれ検査の基準に設定し、形状情報F101によって示される最も高い領域の高さの値E101を、高さに関する実装ずれ検査の基準に設定する。また、設定部16は、実装ずれ検査の位置、角度、高さのそれぞれについて、あらかじめ決められている閾値TH101,TH102,TH103をそれぞれ設定する。次に、設定部16は、形状情報F101で示される最も高い領域以外の領域であるリード部分を囲む基板上における領域、すなわち図6Eの領域83,84をそれぞれ、リード検査の検査領域A102,A103に設定する。また、その設定において、設定部16は、そのリード検査の領域83,84にそれぞれ対応する3次元撮影画像の領域の2次元画像G101,G102を、それぞれのリード検査に関する基準に設定する。すなわち、リード検査の際には、基準となる2次元画像と比較することにより、ハンダの状態や、各リードの間隔等が検査されることになる。また、設定部16は、リード検査におけるハンダの状態や各リードの間隔等について、あらかじめ決められている閾値の集合TH104を設定する。その結果、部品IC101については、図10で示されるように、外観検査に関する設定が行われることになる。   When the component type “IC with lead” is received, the setting unit 16 refers to the correspondence information stored in the storage unit 12 and sets the appearance inspection with the flag corresponding to the component type being “1”. This is performed (step S104). Specifically, since the component type “IC with lead” is associated with mounting inspection and lead inspection with respect to position, angle, and height, the setting unit 16 sets the appearance inspection thereof. I do. First, the setting unit 16 reads the shape information F101 corresponding to the component IC 101 that is the setting target of the appearance inspection, and the region on the substrate surrounding the shape of the component IC 101 indicated by the shape information F101, that is, the region shown in FIG. 6D. 82 is set in the inspection area A101 for mounting displacement inspection. In the setting, the setting unit 16 sets the outline B101 of the component IC 101 indicated by the shape information F101 as a reference for mounting displacement inspection regarding the position, and the angle of the component IC 101 indicated by the shape information F101, for example, the component main body Is set as a reference for mounting displacement inspection related to the angle, and the height value E101 of the highest region indicated by the shape information F101 is set as a reference for mounting displacement inspection related to the height. The setting unit 16 sets predetermined threshold values TH101, TH102, and TH103 for each of the position, angle, and height of the mounting misalignment inspection. Next, the setting unit 16 performs areas on the substrate surrounding the lead portion, which are areas other than the highest area indicated by the shape information F101, that is, areas 83 and 84 in FIG. 6E, respectively, as inspection areas A102 and A103 for lead inspection. Set to. Further, in the setting, the setting unit 16 sets the two-dimensional images G101 and G102 of the three-dimensional photographed image regions corresponding to the lead inspection regions 83 and 84, respectively, as the reference for the lead inspection. That is, at the time of lead inspection, by comparing with a reference two-dimensional image, the state of solder, the interval between leads, and the like are inspected. The setting unit 16 sets a predetermined threshold set TH104 for the solder state, the interval between the leads, and the like in the lead inspection. As a result, for the component IC 101, settings relating to appearance inspection are performed as shown in FIG.

その後、2個目以降の部品IC102等についても同様に、部品の種類の取得と、その部品の種類に応じた外観検査の設定がそれぞれ行われることになる(ステップS105,S103,S104)。そのようにして、基板31上の各部品に関する外観検査の設定が完了することになる。   Thereafter, similarly for the second and subsequent component ICs 102, etc., the acquisition of the component type and the setting of the appearance inspection according to the component type are respectively performed (steps S105, S103, S104). In this way, the setting of appearance inspection for each component on the board 31 is completed.

なお、この具体例では、図5で示される対応情報を用いて、実装ずれ検査やリード検査、ハンダ検査に関する設定が行われる場合について説明したが、設定対象の検査内容はそれら以外のものであってもよい。例えば、サイズ検査や、体積検査等が行われてもよい。サイズ検査は、例えば、部品のサイズがあらかじめ決められた範囲内であるかどうかに関する検査であり、体積検査は、例えば、部品の体積や部品の一部の体積、ハンダの体積が、あらかじめ決められた範囲内であるかどうかに関する検査であってもよい。   In this specific example, the case has been described in which settings relating to mounting misalignment inspection, lead inspection, and solder inspection are performed using the correspondence information shown in FIG. 5, but the inspection contents to be set are other than those. May be. For example, size inspection, volume inspection, and the like may be performed. The size inspection is, for example, an inspection related to whether or not the size of a part is within a predetermined range, and the volume inspection is, for example, a part volume, a part volume of a part, or a solder volume. It may be an inspection regarding whether it is within the range.

また、この具体例では、部品位置情報に部品の種類も含まれる場合について説明したが、その部品位置情報に含まれている部品の種類が部品の種類の取得に用いられない場合には、部品位置情報は、部品の種類を含んでいなくてもよい。   Also, in this specific example, the case where the component type is also included in the component position information has been described. However, when the component type included in the component position information is not used to acquire the component type, the component The position information may not include the type of part.

また、この具体例では、説明の便宜上、3次元撮影画像において高さ情報を用いて取得された部品の輪郭が、部品の形状と同じである場合(例えば、図6A,図6B参照)について説明したが、実際には、高さ情報を用いて取得された部品の輪郭は、ハンダ付けに用いられたハンダ等があることによって、凹凸のある複雑な輪郭となり得る。そのため、例えば、チップ抵抗についても、最も高い領域以外の領域を含む形状情報が取得されることになる。   Further, in this specific example, for the sake of convenience of explanation, a case where the contour of a part acquired using height information in a three-dimensional photographed image is the same as the shape of the part (for example, see FIGS. 6A and 6B) will be described. However, in practice, the contour of the part acquired using the height information can be a complex contour with unevenness due to the presence of solder or the like used for soldering. Therefore, for example, shape information including a region other than the highest region is acquired for the chip resistance.

以上のように、本実施の形態による基板検査装置1によれば、基板に実装される部品ごとの外観検査の設定を自動的に行うことができる。したがって、その設定を行っていた作業者の負担が軽減されることになる。また、その設定を自動的に行うことによって、例えば、検査領域の設定漏れが生じたり、不適切な検査項目が設定されたりする事態を回避することができるようになる。また、部品種類取得部15が、部品位置情報に含まれている部品の種類を取得したり、パターンマッチング等によって部品の種類を取得したりする場合には、ユーザが部品の種類を入力する必要がなくなり、ユーザの負担がさらに軽減されることになる。   As described above, according to the board inspection apparatus 1 according to the present embodiment, it is possible to automatically set the appearance inspection for each component mounted on the board. Therefore, the burden on the operator who has made the setting is reduced. In addition, by automatically performing the setting, for example, it is possible to avoid a situation in which an inspection area is not set correctly or an inappropriate inspection item is set. In addition, when the component type acquisition unit 15 acquires the component type included in the component position information or acquires the component type by pattern matching or the like, the user needs to input the component type. The burden on the user is further reduced.

なお、設定部16によって行われた部品の外観検査に関する設定結果に、ユーザによって、設定値等が追加されてもよく、設定部16によって設定された内容が変更されてもよい。そのような場合であっても、ユーザがはじめからすべての設定を行う場合と比較して、ユーザの負担が軽減され、また、設定ミスを低減することができる。   Note that a setting value or the like may be added by the user to the setting result regarding the appearance inspection of the component performed by the setting unit 16, and the content set by the setting unit 16 may be changed. Even in such a case, compared with the case where the user performs all settings from the beginning, the burden on the user is reduced, and setting errors can be reduced.

また、本実施の形態では、形状情報取得部13が部品の種類に関係なく形状情報を取得する場合について説明したが、形状情報取得部13は、部品の種類に応じた形状情報を取得してもよい。例えば、部品種類取得部15が形状情報を用いないで部品の種類を取得する場合には、まず、部品種類取得部15が部品の種類を取得した後に、形状情報取得部13が、取得された部品の種類に応じた形状情報を取得してもよい。部品の種類に応じた形状情報とは、例えば、部品の種類がリード付きICや電解コンデンサである場合には、最も高い領域と、それ以外の領域とを区別可能な形状情報であり、部品の種類がリードなしICやチップ抵抗である場合には、最も高い領域のみを示す形状情報であってもよい。また、部品種類取得部15が形状情報を用いて部品の種類を取得する場合には、まず、形状情報取得部13によって部品の最外縁の輪郭を示す形状情報が取得され、その形状情報を用いて部品種類取得部15によって部品の種類が取得され、その取得された部品の種類に応じて、再度、最も高い領域以外の領域に関する形状情報が取得されてもよい。このように、形状情報の取得は、段階的に行われてもよい。そのことは、部品種類取得部15が形状情報を用いて部品の種類を取得する場合以外であっても同様である。例えば、ある部品について、設定部16が形状情報に含まれる高さに関する情報を用いてハンダ検査の設定を行う場合に、形状情報取得部13が、その部品について、高さに関する情報(例えば、高さの値等)を取得してもよい。   In the present embodiment, the case where the shape information acquisition unit 13 acquires shape information regardless of the type of component has been described. However, the shape information acquisition unit 13 acquires shape information according to the type of component. Also good. For example, when the component type acquisition unit 15 acquires a component type without using shape information, first, after the component type acquisition unit 15 acquires the component type, the shape information acquisition unit 13 acquires the component type. Shape information corresponding to the type of component may be acquired. The shape information corresponding to the type of component is, for example, shape information that can distinguish the highest region from other regions when the component type is a leaded IC or an electrolytic capacitor. When the type is a leadless IC or a chip resistor, shape information indicating only the highest region may be used. When the component type acquisition unit 15 acquires the type of component using the shape information, first, the shape information indicating the outline of the outermost edge of the component is acquired by the shape information acquisition unit 13, and the shape information is used. Then, the component type may be acquired by the component type acquisition unit 15 and the shape information regarding the region other than the highest region may be acquired again according to the acquired type of the component. Thus, the acquisition of shape information may be performed in stages. This is the same even when the component type acquisition unit 15 does not acquire the component type using the shape information. For example, when the setting unit 16 sets the solder inspection using information about the height included in the shape information for a certain part, the shape information acquisition unit 13 uses the information about the height (for example, the height for the part). Or the like) may be acquired.

また、本実施の形態では、基板検査装置1が表示部14を備える場合について説明したが、そうでなくてもよい。例えば、部品の種類の受け付け等を行わない場合には、基板検査装置1は、表示部14を備えていなくてもよい。   Moreover, although the case where the board | substrate inspection apparatus 1 was provided with the display part 14 was demonstrated in this Embodiment, it may not be so. For example, when the reception of the component type is not performed, the board inspection apparatus 1 may not include the display unit 14.

また、上記実施の形態において、各処理または各機能は、単一の装置または単一のシステムによって集中処理されることによって実現されてもよく、または、複数の装置または複数のシステムによって分散処理されることによって実現されてもよい。   In the above embodiment, each process or each function may be realized by centralized processing by a single device or a single system, or may be distributedly processed by a plurality of devices or a plurality of systems. It may be realized by doing.

また、上記実施の形態において、各構成要素間で行われる情報の受け渡しは、例えば、その情報の受け渡しを行う2個の構成要素が物理的に異なるものである場合には、一方の構成要素による情報の出力と、他方の構成要素による情報の受け付けとによって行われてもよく、または、その情報の受け渡しを行う2個の構成要素が物理的に同じものである場合には、一方の構成要素に対応する処理のフェーズから、他方の構成要素に対応する処理のフェーズに移ることによって行われてもよい。   In the above embodiment, the information exchange between the components is performed by one component when, for example, the two components that exchange the information are physically different from each other. It may be performed by outputting information and receiving information by the other component, or when two components that exchange information are physically the same, one component May be performed by moving from the phase of the process corresponding to to the phase of the process corresponding to the other component.

また、上記実施の形態において、各構成要素が実行する処理に関係する情報、例えば、各構成要素が受け付けたり、取得したり、選択したり、生成したり、送信したり、受信したりした情報や、各構成要素が処理で用いる閾値や数式、アドレス等の情報等は、上記説明で明記していなくても、図示しない記録媒体において、一時的に、または長期にわたって保持されていてもよい。また、その図示しない記録媒体への情報の蓄積を、各構成要素、または、図示しない蓄積部が行ってもよい。また、その図示しない記録媒体からの情報の読み出しを、各構成要素、または、図示しない読み出し部が行ってもよい。   In the above embodiment, information related to processing executed by each component, for example, information received, acquired, selected, generated, transmitted, or received by each component In addition, information such as threshold values, mathematical formulas, addresses, and the like used by each constituent element in processing may be temporarily or for a long time held in a recording medium (not shown), even if not specified in the above description. Further, the storage of information on the recording medium (not shown) may be performed by each component or a storage unit (not shown). Further, reading of information from the recording medium (not shown) may be performed by each component or a reading unit (not shown).

また、上記実施の形態において、各構成要素等で用いられる情報、例えば、各構成要素が処理で用いる閾値やアドレス、各種の設定値等の情報がユーザによって変更されてもよい場合には、上記説明で明記していなくても、ユーザが適宜、それらの情報を変更できるようにしてもよく、または、そうでなくてもよい。それらの情報をユーザが変更可能な場合には、その変更は、例えば、ユーザからの変更指示を受け付ける図示しない受付部と、その変更指示に応じて情報を変更する図示しない変更部とによって実現されてもよい。その図示しない受付部による変更指示の受け付けは、例えば、入力デバイスからの受け付けでもよく、通信回線を介して送信された情報の受信でもよく、所定の記録媒体から読み出された情報の受け付けでもよい。   In the above embodiment, when information used by each component, for example, information such as a threshold value, an address, and various setting values used by each component may be changed by the user, Even if it is not specified in the description, the user may be able to change the information as appropriate, or may not be so. If the information can be changed by the user, the change is realized by, for example, a not-shown receiving unit that receives a change instruction from the user and a changing unit (not shown) that changes the information in accordance with the change instruction. May be. The change instruction received by the receiving unit (not shown) may be received from an input device, information received via a communication line, or information read from a predetermined recording medium, for example. .

また、上記実施の形態で説明した各構成要素のうち、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現され得る。その実行時に、プログラム実行部は、記憶部や記録媒体にアクセスしながらプログラムを実行してもよい。また、そのプログラムは、サーバなどからダウンロードされることによって実行されてもよく、所定の記録媒体(例えば、磁気ディスクや半導体メモリなど)に記録されたプログラムが読み出されることによって実行されてもよい。   In addition, among the components described in the above embodiments, components that can be realized by software may be realized by executing a program. For example, each component can be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. At the time of execution, the program execution unit may execute the program while accessing the storage unit or the recording medium. The program may be executed by being downloaded from a server or the like, or may be executed by reading a program recorded on a predetermined recording medium (for example, a magnetic disk or a semiconductor memory).

また、本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   Further, the present invention is not limited to the above-described embodiment, and various modifications are possible, and it goes without saying that these are also included in the scope of the present invention.

以上より、本発明による基板検査装置によれば、外観検査の設定に関するユーザの負荷を軽減することができるという効果が得られ、基板の外観検査に関する設定を行う装置として有用である。   As described above, according to the substrate inspection apparatus of the present invention, it is possible to obtain an effect of reducing the load on the user regarding the setting of the appearance inspection, and it is useful as an apparatus for performing the setting regarding the appearance inspection of the substrate.

1 基板検査装置
11 撮影画像取得部
12 記憶部
13 形状情報取得部
14 表示部
15 部品種類取得部
16 設定部
DESCRIPTION OF SYMBOLS 1 Board | substrate inspection apparatus 11 Captured image acquisition part 12 Storage part 13 Shape information acquisition part 14 Display part 15 Component type acquisition part 16 Setting part

Claims (6)

部品が実装された良品基板の3次元撮影画像を取得する撮影画像取得部と、
前記良品基板に対応する被検査基板において部品が装着される位置である装着位置を含む部品位置情報、及び、部品の種類と当該部品の種類に応じた部品の外観検査の内容とを対応付ける対応情報が記憶される記憶部と、
装着位置に対応する前記良品基板の位置における部品の形状に関する形状情報を、前記3次元撮影画像に含まれる高さ情報を用いて取得する形状情報取得部と、
装着位置に装着される部品の種類を取得する部品種類取得部と、
前記良品基板に実装された部品に対応する形状情報と、当該部品について前記部品種類取得部によって取得された部品の種類に前記対応情報によって対応付けられている外観検査の内容とを用いて、当該部品の外観検査に関する設定を行う設定部と、を備えた基板検査装置。
A captured image acquisition unit that acquires a three-dimensional captured image of a non-defective substrate on which the component is mounted;
Correspondence information for associating component position information including a mounting position, which is a position where a component is mounted on the board to be inspected corresponding to the non-defective substrate, and contents of the appearance inspection of the component according to the type of the component Is stored, and
A shape information acquisition unit that acquires shape information related to the shape of the component at the position of the non-defective substrate corresponding to the mounting position using height information included in the three-dimensional captured image;
A component type acquisition unit for acquiring the type of component mounted at the mounting position;
Using the shape information corresponding to the component mounted on the non-defective substrate, and the content of the appearance inspection associated with the component type acquired by the component type acquisition unit for the component by the correspondence information, A board inspection apparatus comprising: a setting unit configured to perform settings related to appearance inspection of a component.
前記部品位置情報は、装着位置に装着される部品の種類も含んでおり、
前記部品種類取得部は、装着位置に装着される部品の種類を、前記部品位置情報から取得する、請求項1記載の基板検査装置。
The component position information includes the type of component to be mounted at the mounting position,
The board inspection apparatus according to claim 1, wherein the component type acquisition unit acquires the type of component mounted at a mounting position from the component position information.
前記部品種類取得部は、装着位置に装着される部品の種類を、当該装着位置に対応する形状情報を用いて取得する、請求項1記載の基板検査装置。 The board inspection apparatus according to claim 1, wherein the component type acquisition unit acquires a type of a component to be mounted at a mounting position using shape information corresponding to the mounting position. 前記設定部は、形状情報によって示される部品の形状を囲む基板上の領域を、当該部品の実装ずれ検査の検査領域に設定する、請求項1から請求項3のいずれか記載の基板検査装置。 The board inspection apparatus according to claim 1, wherein the setting unit sets an area on the board surrounding the shape of the component indicated by the shape information as an inspection area for mounting deviation inspection of the component. 前記設定部は、実装ずれ検査の検査領域に対応する形状情報によって示される前記良品基板における部品の実装状況を、当該実装ずれ検査の基準に設定する、請求項4記載の基板検査装置。 The board inspection apparatus according to claim 4, wherein the setting unit sets a mounting state of components on the non-defective board indicated by shape information corresponding to an inspection area for mounting deviation inspection as a reference for the mounting deviation inspection. 前記設定部は、設定対象の部品の種類がリード付きICである場合に、当該設定対象の部品に対応する形状情報によって示されるリード部分を囲む基板上の領域を、リード検査の検査領域に設定する、請求項1から請求項5のいずれか記載の基板検査装置。 When the type of the component to be set is an IC with lead, the setting unit sets an area on the substrate surrounding the lead portion indicated by the shape information corresponding to the component to be set as an inspection area for lead inspection. The substrate inspection apparatus according to any one of claims 1 to 5.
JP2017032937A 2017-02-24 2017-02-24 Board inspection equipment Active JP6943412B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017032937A JP6943412B2 (en) 2017-02-24 2017-02-24 Board inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017032937A JP6943412B2 (en) 2017-02-24 2017-02-24 Board inspection equipment

Publications (2)

Publication Number Publication Date
JP2018138871A true JP2018138871A (en) 2018-09-06
JP6943412B2 JP6943412B2 (en) 2021-09-29

Family

ID=63450763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017032937A Active JP6943412B2 (en) 2017-02-24 2017-02-24 Board inspection equipment

Country Status (1)

Country Link
JP (1) JP6943412B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020173129A (en) * 2019-04-09 2020-10-22 株式会社日立製作所 Electronic component visual inspection system
WO2021019611A1 (en) * 2019-07-26 2021-02-04 株式会社Fuji Illuminating unit
JPWO2021019610A1 (en) * 2019-07-26 2021-02-04
WO2021199513A1 (en) * 2020-03-30 2021-10-07 オムロン株式会社 Inspection device
CN113506758A (en) * 2021-06-30 2021-10-15 武汉飞恩微电子有限公司 Chip bonding quality inspection method, device, equipment and storage medium
JP7399686B2 (en) 2019-11-08 2023-12-18 株式会社キーエンス optical displacement meter

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62182810A (en) * 1986-02-05 1987-08-11 Omron Tateisi Electronics Co Teaching method for reference circuit board data of automatic inspecting device
JPH02181602A (en) * 1989-01-07 1990-07-16 Kunio Yamashita Visual inspection instrument for soldering of gull wing type lead ic
JPH0535849A (en) * 1991-07-30 1993-02-12 Omron Corp Teaching data preparation method
JPH09145633A (en) * 1995-11-24 1997-06-06 Omron Corp Parameter setting supporting method, method and device for parameter setting using the former method and mounted-part inspecting device using parameter setting device thereof
JPH09145334A (en) * 1995-11-22 1997-06-06 Omron Corp Method and equipment for inspecting mounted device
JP2004053369A (en) * 2002-07-18 2004-02-19 Nidec Copal Corp Implemented component inspection method
JP2005164454A (en) * 2003-12-04 2005-06-23 Matsushita Electric Ind Co Ltd Mounting appearance inspection method and mounting appearance inspection device
JP2006250609A (en) * 2005-03-09 2006-09-21 Matsushita Electric Ind Co Ltd Visual inspection method of circuit mounting board
JP2010190668A (en) * 2009-02-17 2010-09-02 Omron Corp Method of optical inspection and optical inspection device
JP2011095054A (en) * 2009-10-28 2011-05-12 Omron Corp Method and system for preparing setting data of inspection region for inspecting substrate
JP2011149736A (en) * 2010-01-19 2011-08-04 Saki Corp:Kk Appearance inspection apparatus and appearance inspection method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62182810A (en) * 1986-02-05 1987-08-11 Omron Tateisi Electronics Co Teaching method for reference circuit board data of automatic inspecting device
JPH02181602A (en) * 1989-01-07 1990-07-16 Kunio Yamashita Visual inspection instrument for soldering of gull wing type lead ic
JPH0535849A (en) * 1991-07-30 1993-02-12 Omron Corp Teaching data preparation method
JPH09145334A (en) * 1995-11-22 1997-06-06 Omron Corp Method and equipment for inspecting mounted device
JPH09145633A (en) * 1995-11-24 1997-06-06 Omron Corp Parameter setting supporting method, method and device for parameter setting using the former method and mounted-part inspecting device using parameter setting device thereof
JP2004053369A (en) * 2002-07-18 2004-02-19 Nidec Copal Corp Implemented component inspection method
JP2005164454A (en) * 2003-12-04 2005-06-23 Matsushita Electric Ind Co Ltd Mounting appearance inspection method and mounting appearance inspection device
JP2006250609A (en) * 2005-03-09 2006-09-21 Matsushita Electric Ind Co Ltd Visual inspection method of circuit mounting board
JP2010190668A (en) * 2009-02-17 2010-09-02 Omron Corp Method of optical inspection and optical inspection device
JP2011095054A (en) * 2009-10-28 2011-05-12 Omron Corp Method and system for preparing setting data of inspection region for inspecting substrate
JP2011149736A (en) * 2010-01-19 2011-08-04 Saki Corp:Kk Appearance inspection apparatus and appearance inspection method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020173129A (en) * 2019-04-09 2020-10-22 株式会社日立製作所 Electronic component visual inspection system
JP7088874B2 (en) 2019-04-09 2022-06-21 株式会社日立製作所 Electronic component visual inspection system
WO2021019611A1 (en) * 2019-07-26 2021-02-04 株式会社Fuji Illuminating unit
JPWO2021019610A1 (en) * 2019-07-26 2021-02-04
JPWO2021019611A1 (en) * 2019-07-26 2021-02-04
WO2021019610A1 (en) * 2019-07-26 2021-02-04 株式会社Fuji Inspection device
JP7189351B2 (en) 2019-07-26 2022-12-13 株式会社Fuji lighting unit
JP7301973B2 (en) 2019-07-26 2023-07-03 株式会社Fuji inspection equipment
JP7399686B2 (en) 2019-11-08 2023-12-18 株式会社キーエンス optical displacement meter
WO2021199513A1 (en) * 2020-03-30 2021-10-07 オムロン株式会社 Inspection device
JP7452188B2 (en) 2020-03-30 2024-03-19 オムロン株式会社 Inspection equipment
CN113506758A (en) * 2021-06-30 2021-10-15 武汉飞恩微电子有限公司 Chip bonding quality inspection method, device, equipment and storage medium

Also Published As

Publication number Publication date
JP6943412B2 (en) 2021-09-29

Similar Documents

Publication Publication Date Title
JP6943412B2 (en) Board inspection equipment
KR101078781B1 (en) Method of inspecting a three dimensional shape
US6198529B1 (en) Automated inspection system for metallic surfaces
KR101590831B1 (en) Method of inspecting foreign substance on a board
US9002094B2 (en) Image processing device and image processing method
JP6233824B1 (en) Image inspection apparatus, production system, image inspection method, program, and storage medium
JP6322335B2 (en) Appearance inspection device
US20130182942A1 (en) Method for registering inspection standard for soldering inspection and board inspection apparatus thereby
JP2019100917A (en) Inspection program generation system, generation method of inspection program and generation program of inspection program
JP2019148438A (en) Image processing system and setting method
JP2007327757A (en) Visual inspection device
US10986761B2 (en) Board inspecting apparatus and board inspecting method using the same
JP2020201158A (en) Three-dimensional object visual inspection device and three-dimensional object visual inspection method
KR101522312B1 (en) Inspection device for pcb product and inspecting method using the same
JP2015004641A (en) Wafer appearance inspection device
JP5832167B2 (en) Component presence / absence determination apparatus and component presence / absence determination method
KR101511089B1 (en) Teaching data auto-generating method for aoi apparatus
KR101893823B1 (en) Board inspection apparatus and method of compensating board distortion using the same
JP6762614B2 (en) Board inspection equipment
JP2001024321A (en) Method for generating inspection data
JP2018017608A (en) Method and device for inspecting circuit board
JP6835020B2 (en) Image processing system, image processing device, image processing program
WO2018146887A1 (en) External-appearance examination device
JP2006145228A (en) Unevenness defect detecting method and unevenness defect detector
JPH05296745A (en) Form measuring device

Legal Events

Date Code Title Description
A80 Written request to apply exceptions to lack of novelty of invention

Free format text: JAPANESE INTERMEDIATE CODE: A80

Effective date: 20170310

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200818

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200819

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210316

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: 20210830

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210902

R150 Certificate of patent or registration of utility model

Ref document number: 6943412

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150