JP6794301B2 - Center misalignment detection device and center misalignment detection method - Google Patents

Center misalignment detection device and center misalignment detection method Download PDF

Info

Publication number
JP6794301B2
JP6794301B2 JP2017047286A JP2017047286A JP6794301B2 JP 6794301 B2 JP6794301 B2 JP 6794301B2 JP 2017047286 A JP2017047286 A JP 2017047286A JP 2017047286 A JP2017047286 A JP 2017047286A JP 6794301 B2 JP6794301 B2 JP 6794301B2
Authority
JP
Japan
Prior art keywords
work
misalignment
unit
rotating
edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017047286A
Other languages
Japanese (ja)
Other versions
JP2018151244A (en
Inventor
努 作山
努 作山
佐々 泰志
泰志 佐々
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Screen Holdings Co Ltd
Original Assignee
Screen Holdings 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 Screen Holdings Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP2017047286A priority Critical patent/JP6794301B2/en
Priority to PCT/JP2017/040739 priority patent/WO2018168068A1/en
Priority to TW106143370A priority patent/TWI654406B/en
Publication of JP2018151244A publication Critical patent/JP2018151244A/en
Application granted granted Critical
Publication of JP6794301B2 publication Critical patent/JP6794301B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワークを検出対象物とし、回転部に対するワークの芯ズレを検出する芯ズレ検出技術に関するものである。 In the present invention, a workpiece having a rotationally symmetric shape around an axis of symmetry and having an outer peripheral portion in which convex portions and concave portions are periodically repeatedly provided is set as a detection target, and the core deviation of the work with respect to the rotating portion is detected. It relates to detection technology.

対称軸のまわりに回転対称なワークの外観を検査する装置として、例えば特許文献1に記載されたワーク検査装置が知られている。このワーク検査装置では、モータに連結されたホルダ部によりワークが保持される。そして、上記モータによりワークを回転させながら当該ワークを複数台のカメラで撮像し、それらの撮像画像に基づいてワークの外観を検査する。 As a device for inspecting the appearance of a work that is rotationally symmetric about the axis of symmetry, for example, the work inspection device described in Patent Document 1 is known. In this work inspection device, the work is held by a holder portion connected to the motor. Then, the work is imaged by a plurality of cameras while rotating the work by the motor, and the appearance of the work is inspected based on the captured images.

特開2012−63268号公報Japanese Unexamined Patent Publication No. 2012-63268

特許文献1に記載の装置は、歯車をワークとするものであり、歯車に傷や欠陥などが存在していないかを検査する。この装置では、ホルダ部は、ワークを軸方向に貫通する貫通孔に通される軸部と、ワークを軸部と同軸でクランプするクランプ機構とを有している。そして、モータの回転軸が回転することで軸部とワークとが一体に回転する。ここで、ワークの外周面が平滑面であれば、クランプ機構によって保持されたワークの対称軸とモータの回転軸とが一致していない場合であっても、撮像された画像を処理することで上記検査を比較的高い精度で検査することは可能である。これに対し、例えば歯車のように外周面に対して凹部と凸部が周期的に繰り返されるワークを検査対象とする場合、単なる画像処理で上記検査を行うことは難しい。そこで、このようなワークを精度良く検査するためには、モータに対するワークの芯ズレを正確に把握することが望まれる。しかしながら、上記芯ズレを高精度に検出する技術は従来存在しなかった。 The device described in Patent Document 1 uses a gear as a work, and inspects the gear for scratches or defects. In this device, the holder portion has a shaft portion that is passed through a through hole that penetrates the work in the axial direction, and a clamp mechanism that clamps the work coaxially with the shaft portion. Then, as the rotation shaft of the motor rotates, the shaft portion and the work rotate integrally. Here, if the outer peripheral surface of the work is a smooth surface, even if the axis of symmetry of the work held by the clamp mechanism and the axis of rotation of the motor do not match, the captured image can be processed. It is possible to inspect the above inspection with relatively high accuracy. On the other hand, when a workpiece such as a gear in which concave portions and convex portions are periodically repeated with respect to the outer peripheral surface is targeted for inspection, it is difficult to perform the above inspection by simple image processing. Therefore, in order to inspect such a work with high accuracy, it is desired to accurately grasp the misalignment of the work with respect to the motor. However, there has been no technique for detecting the above-mentioned misalignment with high accuracy.

この発明は上記課題に鑑みなされたものであり、対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワークの回転部に対する芯ズレを高精度に検出する芯ズレ検出技術を提供することを目的とする。 The present invention has been made in view of the above problems, and has a highly accurate misalignment with respect to a rotating portion of a work having an outer peripheral portion in which convex portions and concave portions are periodically and repeatedly provided in a rotationally symmetric shape around an axis of symmetry. It is an object of the present invention to provide a misalignment detection technique for detecting a center deviation.

この発明の一の態様は、対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワークを回転させる、回転部に対するワークの芯ズレを検出する芯ズレ検出装置であって、回転部により回転されるワークの外周部の少なくとも1周分を含む画像を撮像する撮像部と、撮像部により撮像された画像に対して二値化処理を施し、ワークの外周部の画像データをエッジ画像データとして抽出する画像処理部と、エッジ画像データに基づいてワークの外周部の形状を示すエッジ波形を求めるエッジ波形導出部と、エッジ波形導出部により導出されたエッジ波形に対して凹部と凸部の繰り返し周期の位相の1/2の大きさの移動平均フィルタをかけて作成した移動平均波形に含まれる各位相の極大値又は極小値の離散点に基づき導出される関数を用いて、回転部に対するワークの芯ズレを算出する芯ズレ演算部と、を備えることを特徴としている。 One aspect of the present invention is to detect misalignment of a work with respect to a rotating portion, which rotates a work having an outer peripheral portion in which convex portions and concave portions are periodically and repeatedly provided in a rotationally symmetric shape around an axis of symmetry. An image pickup unit that captures an image including at least one circumference of the outer peripheral portion of the work rotated by the rotating portion, which is a misalignment detection device, and an image captured by the imaging unit are subjected to binarization processing. Derived by an image processing unit that extracts the image data of the outer peripheral portion of the work as edge image data, an edge waveform derivation unit that obtains an edge waveform indicating the shape of the outer peripheral portion of the work based on the edge image data, and an edge waveform derivation unit. the concave portion and the convex portion against the edge waveform repetition period of the phase 1/2 of over a moving average filter size on the basis of the discrete points of maximum or minimum values of each phase included in the moving average waveform created a It is characterized by including a misalignment calculation unit for calculating the misalignment of the work with respect to the rotating portion by using the derived function .

また、この発明の他の態様は、芯ズレ検出方法であって、対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワークをワーク保持部により保持する第1工程と、ワークを保持したワーク保持部を回転部により回転させることでワークを回転部の回転軸まわりに回転させる第2工程と、回転部によるワークの回転中にワークの外周部の少なくとも1周分を含む画像を取得する第3工程と、第3工程により取得された画像に対して二値化処理を施し、ワークの外周部の画像データをエッジ画像データとして抽出する第4工程と、エッジ画像データに基づいてワークの外周部の形状を示すエッジ波形を求める第5工程と、エッジ波形に対して凹部と凸部の繰り返し周期の位相の1/2の大きさの移動平均フィルタをかけて作成した移動平均波形に含まれる各位相の極大値又は極小値の離散点に基づき導出される関数を用いて、回転部に対するワークの芯ズレを算出する第6工程と、を備えることを特徴としている。 Another aspect of the present invention is a method for detecting misalignment, in which a work holding portion has a work having an outer peripheral portion in which convex portions and concave portions are periodically and repeatedly provided in a rotationally symmetric shape around an axis of symmetry. The first step of holding the work by the rotating part, the second step of rotating the work around the rotation axis of the rotating part by rotating the work holding part holding the work by the rotating part, and the outer circumference of the work during the rotation of the work by the rotating part. The third step of acquiring an image including at least one rotation of the portion, and the third step of performing binarization processing on the image acquired by the third step and extracting the image data of the outer peripheral portion of the work as edge image data. 4 and step movement a fifth step of obtaining an edge waveform showing a shape of the outer peripheral portion of the workpiece based on the edge image data, the repetition period of the concave and convex portions for the edge waveform of half the magnitude of the phase The sixth step of calculating the misalignment of the work with respect to the rotating part using a function derived based on the discrete points of the maximum value or the minimum value of each phase included in the moving average waveform created by applying the average filter. It is characterized by being prepared.

このように構成された発明では、回転部によりワークを回転させながらワークの外周部の少なくとも1周分を含む画像が取得される。ここで、回転部に対するワークの芯ズレが発生している場合には、その芯ズレを反映した情報が上記画像に含まれる。ただし、本発明では、ワークの外周部には、凸部と凹部とが周期的に繰り返して設けられており、上記画像には凹凸情報も含まれているため、上記画像から直ちに芯ズレを検出することは困難である。そこで、本発明では、上記画像に対して二値化処理を施し、ワークの外周部の画像データ、つまりエッジ画像データを抽出するとともに、当該エッジ画像データに基づいてワークの外周部の形状を示すエッジ波形を求めている。そして、エッジ波形に基づいて回転部に対するワークの芯ズレを算出している。 In the invention configured as described above, an image including at least one circumference of the outer peripheral portion of the work is acquired while the work is rotated by the rotating portion. Here, when the work is misaligned with respect to the rotating portion, the above image includes information reflecting the misalignment. However, in the present invention, convex portions and concave portions are periodically and repeatedly provided on the outer peripheral portion of the work, and since the above image also includes unevenness information, misalignment is immediately detected from the above image. It's difficult to do. Therefore, in the present invention, the above image is subjected to binarization processing, image data of the outer peripheral portion of the work, that is, edge image data is extracted, and the shape of the outer peripheral portion of the work is shown based on the edge image data. We are looking for an edge waveform. Then, the misalignment of the work with respect to the rotating portion is calculated based on the edge waveform.

上記のように、本発明によれば、ワークの外周部の少なくとも1周分を含む画像からワークの外周部の形状を示すエッジ波形を求め、当該エッジ波形に基づいて回転部に対するワークの芯ズレを算出するため、回転部に対するワークの芯ズレを高精度に検出することができる。 As described above, according to the present invention, an edge waveform showing the shape of the outer peripheral portion of the work is obtained from an image including at least one circumference of the outer peripheral portion of the work, and the center deviation of the work with respect to the rotating portion is obtained based on the edge waveform. Is calculated, it is possible to detect the misalignment of the work with respect to the rotating portion with high accuracy.

本発明に係る芯ズレ検出装置の一実施形態を装備する検査装置の全体構成を示す図である。It is a figure which shows the whole structure of the inspection apparatus equipped with one Embodiment of the misalignment detection apparatus which concerns on this invention. 図1に示す検査装置の電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of the inspection apparatus shown in FIG. ワーク保持ユニットの構成を示す斜視図である。It is a perspective view which shows the structure of the work holding unit. 図1に示す検査装置によるワークの検査動作を示すフローチャートである。It is a flowchart which shows the inspection operation of the workpiece by the inspection apparatus shown in FIG. 検査動作を模式的に示す図である。It is a figure which shows the inspection operation schematically. 本発明に係る芯ズレ検出方法の一実施形態である芯ズレの検出工程を示すフローチャートである。It is a flowchart which shows the misalignment detection process which is one Embodiment of the misalignment detection method which concerns on this invention. 図6に示す芯ズレの検出方法で取得される各種波形の一例を示す図である。It is a figure which shows an example of various waveforms acquired by the misalignment detection method shown in FIG.

図1は、本発明に係る芯ズレ検出装置の第1実施形態を装備する検査装置の全体構成を示す図である。また、図2は、図1に示す検査装置の電気的構成を示すブロック図である。この検査装置100は、歯車や羽根車などのように対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワークWの外観を検査する装置であり、ローディングユニット1、ワーク保持ユニット2、撮像ユニット3、アンローディングユニット4および制御ユニット5を有している。なお、ここでは、ワークWは図1に示すように軸部Waの上部に歯車Wbを設けた機械部品であり、例えば鍛造や鋳造処理によって形成される。そして、部品製造後に当該ワークWは外部搬送ロボットあるいはオペレータによってローディングユニット1に搬送される。 FIG. 1 is a diagram showing an overall configuration of an inspection device equipped with the first embodiment of the misalignment detecting device according to the present invention. Further, FIG. 2 is a block diagram showing an electrical configuration of the inspection device shown in FIG. The inspection device 100 is a device that inspects the appearance of a work W having an outer peripheral portion such as a gear or an impeller, which has a shape rotationally symmetric around an axis of symmetry and is provided with convex portions and concave portions periodically and repeatedly. Yes, it has a loading unit 1, a work holding unit 2, an imaging unit 3, an unloading unit 4, and a control unit 5. Here, the work W is a mechanical part in which the gear Wb is provided on the upper portion of the shaft portion Wa as shown in FIG. 1, and is formed by, for example, forging or casting. Then, after the parts are manufactured, the work W is transported to the loading unit 1 by an external transfer robot or an operator.

ローディングユニット1には、テーブルやストッカーなどのワーク収容部(図示省略)が設けられている。そして、外部搬送ロボットなどによりワークWがワーク収容部に一時的に収容されると、ワーク収容部に設けられたワーク検出センサ11(図2)がワークWを検出し、その旨の信号を装置全体を制御する制御ユニット5に送信する。また、ローディングユニット1には、ローダ12(図2)が設けられており、制御ユニット5からの動作指令に応じてワーク収容部に収容されている未検査のワークWを受け取り、ワーク保持ユニット2に搬送する。 The loading unit 1 is provided with a work accommodating portion (not shown) such as a table or a stocker. Then, when the work W is temporarily accommodated in the work accommodating portion by an external transfer robot or the like, the work detection sensor 11 (FIG. 2) provided in the work accommodating portion detects the work W and outputs a signal to that effect. It is transmitted to the control unit 5 that controls the whole. Further, the loading unit 1 is provided with a loader 12 (FIG. 2), receives an uninspected work W housed in the work accommodating unit in response to an operation command from the control unit 5, and receives the uninspected work W, and the work holding unit 2 Transport to.

図3はワーク保持ユニットの構成を示す斜視図である。ワーク保持ユニット2は、ローダ12により搬送されてきたワークWを保持する保持テーブル21A、21Bを装備している。これらの保持テーブル21A、21Bはともに同一構成を有し、歯車Wbが水平状態となる姿勢でワークWの軸部Waの一部を把持して保持可能となっている。以下、図3を参照しつつ保持テーブル21Aの構成について説明する一方、保持テーブル21Bは保持テーブル21Aと同一構成であるため、保持テーブル21Bについては同一符号を付して説明を省略する。 FIG. 3 is a perspective view showing the configuration of the work holding unit. The work holding unit 2 is equipped with holding tables 21A and 21B for holding the work W conveyed by the loader 12. Both of these holding tables 21A and 21B have the same configuration, and can hold a part of the shaft portion Wa of the work W in a posture in which the gear Wb is in a horizontal state. Hereinafter, the configuration of the holding table 21A will be described with reference to FIG. 3, but since the holding table 21B has the same configuration as the holding table 21A, the holding table 21B is designated by the same reference numerals and the description thereof will be omitted.

保持テーブル21Aでは、図3に示すように、チャック機構22、水平位置決め機構23、回転機構24および鉛直位置決め機構25が鉛直方向に積層配置されている。チャック機構22は、側面視で略L字状の可動部材221〜223と、制御ユニット5からの移動指令に応じて可動部材221〜223を放射状に連動して移動させる移動部224とを有している。各可動部材221〜223の上端面には突起部材225が突設されており、上端面と突起部材225とで軸部Waの段差部位と係合可能となっている。このため、制御ユニット5からの把持指令に応じて移動部224が可動部材221〜223を互いに近接移動させることでチャック機構22の中心軸(図5中の符号AX2)と軸部Waの軸芯とを一致させながらワークWを保持することができる。一方、制御ユニット5からの解放指令に応じて移動部224が可動部材221〜223を互いに離間移動させることで、ローディングユニット1による未検査ワークWのローディングやアンローディングユニット4による検査済ワークWのアンローディングを行うことが可能となる。 In the holding table 21A, as shown in FIG. 3, the chuck mechanism 22, the horizontal positioning mechanism 23, the rotating mechanism 24, and the vertical positioning mechanism 25 are stacked and arranged in the vertical direction. The chuck mechanism 22 has a movable member 221 to 223 having a substantially L-shape in side view, and a moving unit 224 that moves the movable members 221 to 223 in a radial manner in response to a movement command from the control unit 5. ing. A protrusion member 225 is projected from the upper end surfaces of the movable members 221 to 223, and the upper end surface and the protrusion member 225 can engage with the stepped portion of the shaft portion Wa. Therefore, the moving portion 224 moves the movable members 221 to 223 close to each other in response to the gripping command from the control unit 5, so that the central axis of the chuck mechanism 22 (reference numeral AX2 in FIG. 5) and the axis of the shaft portion Wa are used. The work W can be held while matching with. On the other hand, the moving unit 224 moves the movable members 221 to 223 apart from each other in response to the release command from the control unit 5, so that the uninspected work W is loaded by the loading unit 1 and the inspected work W is moved by the unloading unit 4. It becomes possible to perform unloading.

このように構成されたチャック機構22は水平位置決め機構23に支持されている。水平位置決め機構23は水平方向において互いに直交する方向に移動させる、いわゆるXYテーブルを有している。このため、制御ユニット5からの移動指令に応じてXYテーブルが駆動されてチャック機構22を水平面で高精度に位置決めすることが可能となっている。なお、XYテーブルとしては、モータとボールネジ機構とを組み合わせたものや、水平方向において互いに直交する2つのリニアモータを組み合わせたものなどを用いることができる。 The chuck mechanism 22 configured in this way is supported by the horizontal positioning mechanism 23. The horizontal positioning mechanism 23 has a so-called XY table that moves in directions orthogonal to each other in the horizontal direction. Therefore, the XY table is driven in response to the movement command from the control unit 5, and the chuck mechanism 22 can be positioned with high accuracy on the horizontal plane. As the XY table, a combination of a motor and a ball screw mechanism, a combination of two linear motors orthogonal to each other in the horizontal direction, and the like can be used.

回転機構24はモータ241を有している。モータ241の回転シャフト(図5中の符号242)が鉛直上方に延設されており、その上端部に水平位置決め機構23が連結されている。このため、制御ユニット5から回転指令が与えられると、モータ241が作動してモータ241の回転軸(図5中の符号AX3)まわりに水平位置決め機構23、チャック機構22、ならびにチャック機構22により把持されたワークWを一体的に回転させる。 The rotation mechanism 24 has a motor 241. The rotating shaft of the motor 241 (reference numeral 242 in FIG. 5) extends vertically upward, and the horizontal positioning mechanism 23 is connected to the upper end portion thereof. Therefore, when a rotation command is given from the control unit 5, the motor 241 operates and is gripped by the horizontal positioning mechanism 23, the chuck mechanism 22, and the chuck mechanism 22 around the rotation axis (reference numeral AX3 in FIG. 5) of the motor 241. The work W is integrally rotated.

ここで、本実施形態では、チャック機構22と回転機構24との間に水平位置決め機構23を設けているが、その技術的意義はチャック機構22の中心軸、チャック機構22に把持されたワークWの歯車Wbの対称軸(図5中の符号AX4)およびモータ241の回転軸の相対的な位置関係を水平位置決め機構23によって調整可能とする点にある。すなわち、チャック機構22の中心軸とモータ241の回転軸とを一致させておくことで、チャック機構22で把持したワークWを軸部Waまわりに回転させることができる。しかしながら、歯車Wbの対称軸が軸部Waから外れている場合には、モータ241に対して芯ズレが発生しており、歯車Wbは偏心して回転してしまう。そこで、水平位置決め機構23を設け、ズレ量とズレ方向を補正するように駆動させることで歯車Wbの対称軸とモータ241の回転軸とを一致させることが可能となる。これによって、撮像ユニット3による歯車Wbの画像を高精度に撮像することが可能となり、ワークWの検査精度を向上させることができる。 Here, in the present embodiment, the horizontal positioning mechanism 23 is provided between the chuck mechanism 22 and the rotation mechanism 24, but the technical significance thereof is the work W gripped by the central axis of the chuck mechanism 22 and the chuck mechanism 22. The relative positional relationship between the axis of symmetry of the gear Wb (reference numeral AX4 in FIG. 5) and the rotation axis of the motor 241 can be adjusted by the horizontal positioning mechanism 23. That is, by aligning the central axis of the chuck mechanism 22 with the rotation axis of the motor 241, the work W gripped by the chuck mechanism 22 can be rotated around the shaft portion Wa. However, when the axis of symmetry of the gear Wb is deviated from the shaft portion Wa, the motor 241 is misaligned and the gear Wb rotates eccentrically. Therefore, by providing the horizontal positioning mechanism 23 and driving it so as to correct the deviation amount and the deviation direction, it is possible to match the symmetry axis of the gear Wb with the rotation axis of the motor 241. As a result, the image of the gear Wb by the imaging unit 3 can be captured with high accuracy, and the inspection accuracy of the work W can be improved.

鉛直位置決め機構25は、モータ241を保持する保持プレート251と、モータ241の下方位置に配置されたベースプレート252と、保持プレート251およびベースプレート252を連結する4本の連結ピン253と、ベースプレート252を鉛直方向に昇降させる昇降部254とを有している。昇降部254は制御ユニット5からの昇降指令に応じてベースプレート252を昇降させることで鉛直方向において回転機構24、水平位置決め機構23およびチャック機構22を一体的に移動させ、次に説明するプリアライメント位置PAおよび検査位置PIにおいてワークWの高さ位置を適正化することができる。 The vertical positioning mechanism 25 vertically connects the holding plate 251 that holds the motor 241 and the base plate 252 that is arranged below the motor 241, the four connecting pins 253 that connect the holding plate 251 and the base plate 252, and the base plate 252. It has an elevating part 254 that elevates and elevates in a direction. The elevating unit 254 raises and lowers the base plate 252 in response to an elevating command from the control unit 5 to integrally move the rotation mechanism 24, the horizontal positioning mechanism 23, and the chuck mechanism 22 in the vertical direction, and the prealignment position described below is described. The height position of the work W can be optimized in the PA and the inspection position PI.

このように構成された保持テーブル21A、21Bは、図3に示すように、支持プレート261上に一定距離だけ離間して固定されている。また、保持テーブル21A、21Bの中間位置で支持プレート261が旋回駆動部262に支持されている。この旋回駆動部262は制御ユニット5からの旋回指令に応じて鉛直方向に延びる旋回軸AX1まわりに支持プレート261を180゜旋回可能となっており、図3に示すように保持テーブル21A、21Bがそれぞれプリアライメント位置PAおよび検査位置PIに位置する第1ポジションと、保持テーブル21A、21Bがそれぞれ検査位置PIおよびプリアライメント位置PAに位置する第2ポジションとの間で切替可能となっている。例えばプリアライメント位置PAに位置する保持テーブル21Aに保持されたワークWに対してプリアライメント処理を施すのと並行して、旋回駆動部262によって第1ポジションから第2ポジションに切り替えることで保持テーブル21Aがプリアライメント位置PAから検査位置PIにシフトし、プリアライメント処理済のワークWを検査位置PIに位置決めすることができる。また、当該ワークWの検査を終了した後、逆方向に旋回することで保持テーブル21Aが検査位置PIからプリアライメント位置PAにシフトし、検査処理済のワークWをプリアライメント位置PAに位置決めすることができる。このように本実施形態では、支持プレート261および旋回駆動部262によりワークWの位置を切り替えるポジション切替機構26が構成されている。 As shown in FIG. 3, the holding tables 21A and 21B configured in this way are fixed on the support plate 261 at a distance of a certain distance. Further, the support plate 261 is supported by the swivel drive unit 262 at an intermediate position between the holding tables 21A and 21B. The swivel drive unit 262 can swivel the support plate 261 180 ° around the swivel shaft AX1 extending in the vertical direction in response to the swivel command from the control unit 5, and the holding tables 21A and 21B are provided as shown in FIG. The first position located at the pre-alignment position PA and the inspection position PI, respectively, and the holding tables 21A and 21B can be switched between the second position located at the inspection position PI and the pre-alignment position PA, respectively. For example, in parallel with performing the pre-alignment process on the work W held on the holding table 21A located at the pre-alignment position PA, the holding table 21A is switched from the first position to the second position by the turning drive unit 262. Shifts from the pre-alignment position PA to the inspection position PI, and the pre-aligned work W can be positioned at the inspection position PI. Further, after the inspection of the work W is completed, the holding table 21A shifts from the inspection position PI to the pre-alignment position PA by turning in the opposite direction, and the inspection-processed work W is positioned at the pre-alignment position PA. Can be done. As described above, in the present embodiment, the position switching mechanism 26 for switching the position of the work W is configured by the support plate 261 and the swivel drive unit 262.

プリアライメント位置PAは上記したようにプリアライメント処理を行う位置であり、プリアライメント位置PAに位置決めされた保持テーブル21A(または21B)の上方にアライメントカメラ27が配置されている。このアライメントカメラ27は図3に示すようにワークWに対してモータ241の反対側、つまりワークWの上方側に配置されており、ワークWの対称軸AX4に対して径方向外側に延設されたラインセンサ271を有している。このため、ワークWを回転させながら当該ラインセンサ271によりワークWの上面を撮像可能となっており、ワークWを少なくとも1周回転させることで歯車Wbの外周部に形成される凸部(歯末)および凹部(歯元)の全てを含む画像が得られる。 The pre-alignment position PA is a position where the pre-alignment process is performed as described above, and the alignment camera 27 is arranged above the holding table 21A (or 21B) positioned at the pre-alignment position PA. As shown in FIG. 3, the alignment camera 27 is arranged on the opposite side of the motor 241 with respect to the work W, that is, on the upper side of the work W, and extends radially outward with respect to the symmetry axis AX4 of the work W. It has a line sensor 271. Therefore, the upper surface of the work W can be imaged by the line sensor 271 while rotating the work W, and a convex portion (tooth end) formed on the outer peripheral portion of the gear Wb by rotating the work W at least once. ) And all of the recesses (teeth) are included.

また、図3への図示を省略しているが、当該保持テーブル21A(または21B)に保持されたワークWを照明してアライメント処理を良好に行うためのアライメント照明部28(図2)が設けられている。このため、回転機構24によりワークWを回転させるとともに、アライメント照明部28によりワークWを照明しながらアライメントカメラ27によりワークWを撮像することができる。そして、ワークWの画像データが制御ユニット5に送られ、芯ズレを補正して歯車Wbの対称軸とモータ241の回転軸とを一致させる、つまりプリアライメント処理が実行される。 Further, although not shown in FIG. 3, an alignment illumination unit 28 (FIG. 2) is provided for illuminating the work W held on the holding table 21A (or 21B) to perform an alignment process satisfactorily. Has been done. Therefore, the work W can be rotated by the rotation mechanism 24, and the work W can be imaged by the alignment camera 27 while the work W is illuminated by the alignment illumination unit 28. Then, the image data of the work W is sent to the control unit 5, and the misalignment is corrected to match the symmetry axis of the gear Wb with the rotation axis of the motor 241, that is, the prealignment process is executed.

一方、検査位置PIは検査処理を行う位置であり、検査位置PIに位置決めされた保持テーブル21A(または21B)の上方に撮像ユニット3が配置されている。この検査位置PIでは、歯車Wbの対称軸とモータ241の回転軸とが一致した状態でワークWを回転させながらワークWを撮像ユニット3によって撮像することができる。そして、ワークWの画像データが制御ユニット5に送られ、歯車Wbにおける傷や欠陥などの有無を検査する検査処理が実行される。 On the other hand, the inspection position PI is a position where the inspection process is performed, and the imaging unit 3 is arranged above the holding table 21A (or 21B) positioned at the inspection position PI. In this inspection position PI, the work W can be imaged by the image pickup unit 3 while rotating the work W in a state where the axis of symmetry of the gear Wb and the axis of rotation of the motor 241 coincide with each other. Then, the image data of the work W is sent to the control unit 5, and an inspection process for inspecting the presence or absence of scratches or defects in the gear Wb is executed.

この撮像ユニット3は、図2に示すように、複数の検査カメラ31と複数の検査照明部32とを有している。この撮像ユニット3では、検査位置PIに位置決めされた保持テーブル21A(または21B)に保持されるワークWを種々の方向から照明するように複数の検査照明部32が配置されている。そして、回転機構24によりワークWを回転させるとともに、検査照明部32によりワークWを照明しながら複数の検査カメラ31によりワークWを種々の方向から撮像することが可能となっている。これら複数の画像データが制御ユニット5に送られ、制御ユニット5によりワークWの検査が実行される。 As shown in FIG. 2, the imaging unit 3 has a plurality of inspection cameras 31 and a plurality of inspection lighting units 32. In the imaging unit 3, a plurality of inspection lighting units 32 are arranged so as to illuminate the work W held by the holding table 21A (or 21B) positioned at the inspection position PI from various directions. Then, the work W can be rotated by the rotation mechanism 24, and the work W can be imaged from various directions by the plurality of inspection cameras 31 while the work W is illuminated by the inspection illumination unit 32. These plurality of image data are sent to the control unit 5, and the work W is inspected by the control unit 5.

こうして検査されたワークWを保持する保持テーブル21A(または21B)は上記したようにポジション切替機構26により検査位置PIからプリアライメント位置PAにシフトされる。そして、アンローディングユニット4により保持テーブル21A(または21B)から検査済のワークWが搬出される。なお、アンローディングユニット4は基本的にローディングユニット1と同一である。つまり、アンローディングユニット4は、検査済のワークWを一時的に収容するワーク収容部(図示省略)、ワーク検出センサ41(図2)およびアンローダ42(図2)を有しており、制御ユニット5からの動作指令に応じて検査済のワークWを保持テーブル21A(または21B)からワーク収容部に搬送する。 The holding table 21A (or 21B) for holding the work W inspected in this way is shifted from the inspection position PI to the prealignment position PA by the position switching mechanism 26 as described above. Then, the inspected work W is carried out from the holding table 21A (or 21B) by the unloading unit 4. The unloading unit 4 is basically the same as the loading unit 1. That is, the unloading unit 4 has a work accommodating portion (not shown) for temporarily accommodating the inspected work W, a work detection sensor 41 (FIG. 2), and an unloader 42 (FIG. 2), and is a control unit. The inspected work W is conveyed from the holding table 21A (or 21B) to the work accommodating portion in response to the operation command from 5.

制御ユニット5は、図2に示すように、論理演算を実行する周知のCPU(Central Processing Unit)、初期設定等を記憶しているROM(Read Only Memory)、装置動作中の様々なデータを一時的に記憶するRAM(Random Access Memory)等から構成されている。制御ユニット5は、機能的には、演算処理部51、メモリ52、駆動制御部53、外部入出力部54、画像処理部55および照明制御部56を備えている。 As shown in FIG. 2, the control unit 5 temporarily stores a well-known CPU (Central Processing Unit) that executes logical operations, a ROM (Read Only Memory) that stores initial settings, and various data during device operation. It is composed of a RAM (Random Access Memory) and the like for storing data. The control unit 5 functionally includes an arithmetic processing unit 51, a memory 52, a drive control unit 53, an external input / output unit 54, an image processing unit 55, and a lighting control unit 56.

上記駆動制御部53は、装置各部に設けられた駆動機構、例えばローダ12、チャック機構22などの駆動を制御する。外部入出力部54は、装置各部に装備されている各種センサ類からの信号を入力する一方、装置各部に装備されている各種アクチュエータ等に対して信号を出力する。画像処理部55は、アライメントカメラ27および検査カメラ31から画像データを取り込み、2値化等の画像処理を行う。照明制御部56はアライメント照明部28および検査照明部32の点灯および消灯等を制御する。 The drive control unit 53 controls the drive of drive mechanisms such as the loader 12 and the chuck mechanism 22 provided in each unit of the device. The external input / output unit 54 inputs signals from various sensors equipped in each part of the device, and outputs signals to various actuators and the like equipped in each part of the device. The image processing unit 55 takes in image data from the alignment camera 27 and the inspection camera 31 and performs image processing such as binarization. The lighting control unit 56 controls lighting and extinguishing of the alignment lighting unit 28 and the inspection lighting unit 32.

上記演算処理部51は、演算機能を有するものであり、上記メモリ52に記憶されているプログラムに従って駆動制御部53、画像処理部55、照明制御部56などを制御することで次に説明する一連の処理を実行する。 The arithmetic processing unit 51 has an arithmetic function, and is described below by controlling the drive control unit 53, the image processing unit 55, the lighting control unit 56, and the like according to a program stored in the memory 52. Execute the processing of.

なお、図2中の符号6はオペレータとのインターフェースとして機能する表示ユニットであり、制御ユニット5と接続され、検査装置100の動作状態を表示する機能のほか、タッチパネルで構成されてオペレータからの入力を受け付ける入力端末としての機能も有する。また、この構成に限定されるものではなく、動作状態を表示するための表示装置と、キーボードやマウス等の入力端末を採用しても良い。 Reference numeral 6 in FIG. 2 is a display unit that functions as an interface with the operator. In addition to the function of being connected to the control unit 5 to display the operating state of the inspection device 100, it is composed of a touch panel and is input from the operator. It also has a function as an input terminal that accepts. Further, the present invention is not limited to this configuration, and a display device for displaying an operating state and an input terminal such as a keyboard or a mouse may be adopted.

図4は図1に示す検査装置によるワークの検査動作を示すフローチャートである。また、図5は検査動作を模式的に示す図である。なお、図5においては、保持テーブル21A、21Bの動作を明確に区別するために、保持テーブル21Bおよび当該保持テーブル21Bにより保持されるワークWに対してドットを付している。 FIG. 4 is a flowchart showing an inspection operation of the work by the inspection device shown in FIG. Further, FIG. 5 is a diagram schematically showing an inspection operation. In FIG. 5, dots are added to the holding table 21B and the work W held by the holding table 21B in order to clearly distinguish the operations of the holding tables 21A and 21B.

この検査装置100では、制御ユニット5のメモリ52に予め記憶された検査プログラムにしたがって演算処理部51が装置各部を制御して以下の動作を実行する。ここでは、1つのワークWに着目して当該ワークWに対して実行される各種動作について図4および図5を参照しつつ説明する。制御ユニット5は、図5の(a)欄に示すようにプリアライメント位置PAに位置している保持テーブル21AにワークWが存在せず、しかもワーク検出センサ11により未検査のワークWがローディングユニット1のワーク収容部に収容されていることを確認すると、保持テーブル21AへのワークWのローディングを開始する(ステップS1)。このローディング工程では、ローダ12がワーク収容部の未検査ワークWを把持し、ローディングユニット1から保持テーブル21Aに搬送する。なお、本実施形態では、ローディング工程および後の芯ズレの検出工程を円滑に行うために、保持テーブル21AへのワークWの搬送前に、図5の(a)欄に示すように水平位置決め機構23によりチャック機構22の中心軸AX2とモータ241の回転軸AX3とを一致させるとともに、3本の可動部材221〜223を互いに離間させてワークWの受け入れ準備を行っている。 In the inspection device 100, the arithmetic processing unit 51 controls each unit of the device according to an inspection program stored in advance in the memory 52 of the control unit 5 to execute the following operations. Here, various operations performed on one work W will be described with reference to FIGS. 4 and 5. In the control unit 5, the work W does not exist in the holding table 21A located at the prealignment position PA as shown in the column (a) of FIG. 5, and the uninspected work W is loaded by the work detection sensor 11. After confirming that the work W is housed in the work housing unit of No. 1, loading of the work W onto the holding table 21A is started (step S1). In this loading step, the loader 12 grips the uninspected work W in the work accommodating portion and conveys it from the loading unit 1 to the holding table 21A. In this embodiment, in order to smoothly perform the loading step and the subsequent misalignment detection step, the horizontal positioning mechanism is shown in the column (a) of FIG. 5 before the work W is transferred to the holding table 21A. The central axis AX2 of the chuck mechanism 22 and the rotation axis AX3 of the motor 241 are aligned by 23, and the three movable members 221 to 223 are separated from each other to prepare for receiving the work W.

ローダ12によりワークWが保持テーブル21Aに搬送されてくると、チャック機構22が上記したように3本の可動部材221〜223を互いに近接移動させてワークWの軸部Waの一部を挟み込んでワークWを把持する。より詳しくは、ローディング動作中に、可動部材221〜223は互いに近接移動し、可動部材221〜223の各上端面と突起部材225とが軸部Waの段差部位に係合してチャック機構22の中心軸AX2と軸部Waの軸芯とを一致させながらワークWを保持する(図5の(b)欄参照)。こうして、ローディング工程が完了し、この完了時点では、モータ241の回転軸AX3、チャック機構22の中心軸AX2および軸部Waの軸芯は一致している。しかしながら、鍛造や鋳造処理によって製造されたワークWでは、例えば図5の(b)欄に示すように歯車Wbの対称軸AX4が軸部Waの軸芯から外れ、モータ241に対するワークWの芯ズレが発生していることがある。 When the work W is conveyed to the holding table 21A by the loader 12, the chuck mechanism 22 moves the three movable members 221 to 223 close to each other as described above to sandwich a part of the shaft portion Wa of the work W. Hold the work W. More specifically, during the loading operation, the movable members 221 to 223 move close to each other, and the upper end surfaces of the movable members 221 to 223 and the protrusion member 225 engage with the stepped portion of the shaft portion Wa to form the chuck mechanism 22. The work W is held while aligning the central axis AX2 with the axis of the shaft portion Wa (see column (b) in FIG. 5). In this way, the loading step is completed, and at the time of completion, the rotation shaft AX3 of the motor 241, the central shaft AX2 of the chuck mechanism 22, and the shaft cores of the shaft portion Wa are aligned. However, in the work W manufactured by forging or casting, for example, as shown in column (b) of FIG. 5, the symmetric axis AX4 of the gear Wb deviates from the axis of the shaft portion Wa, and the work W is misaligned with respect to the motor 241. May have occurred.

そこで、本実施形態では、アライメント照明部28(図2)により未検査ワークWを照明するとともに、保持テーブル21Aのモータ241により未検査ワークWを回転させながらアライメントカメラ27により歯車Wbを撮像し、その画像データをメモリ52に記憶する(ステップS2)。 Therefore, in the present embodiment, the uninspected work W is illuminated by the alignment illumination unit 28 (FIG. 2), and the gear Wb is imaged by the alignment camera 27 while the uninspected work W is rotated by the motor 241 of the holding table 21A. The image data is stored in the memory 52 (step S2).

この撮像完了後に、旋回駆動部262により第1ポジションから第2ポジションへの切替を行う。すなわち、旋回駆動部262が支持プレート261を旋回軸AX1まわりに180゜旋回させ、これによって図5の(c)欄に示すように未検査のワークWを保持する保持テーブル21Aがプリアライメント位置PAから検査位置PIに移動するとともに昇降部254によってワークWを撮像ユニット3により撮像可能な高さ位置に移動させる(ステップS3)。 After the imaging is completed, the swivel drive unit 262 switches from the first position to the second position. That is, the swivel drive unit 262 swivels the support plate 261 around the swivel shaft AX1 by 180 °, whereby the holding table 21A for holding the uninspected work W as shown in column (c) of FIG. 5 is in the prealignment position PA. The work W is moved to the inspection position PI and the work W is moved to a height position where the image pickup unit 3 can take an image by the elevating part 254 (step S3).

また、本実施形態では、上記移動と並行して、メモリ52からワークWの画像データを読み出し、回転機構24(モータ241)に対するワークWの芯ズレ(本実施形態では、ズレ量Δとズレ方向とを含む情報に相当)を検出し(ステップS4)、それに続いて保持テーブル21Aにおける芯ズレ補正を行う(ステップS5)。なお、当該芯ズレの検出工程(ステップS4)については後で詳述する。この芯ズレ補正は上記ステップS4で検出された芯ズレを解消するように水平位置決め機構23によりチャック機構22を移動させる。これによって、図5の(c)欄に示すように、保持テーブル21Aが検査位置PIに到達した時点あるいは到達前後で歯車Wbの対称軸とモータ241の回転軸とが一致し、直ちにワーク撮像工程(ステップS6)を開始することができる。 Further, in the present embodiment, in parallel with the above movement, the image data of the work W is read from the memory 52, and the work W is misaligned with respect to the rotation mechanism 24 (motor 241) (in the present embodiment, the misalignment amount Δ and the misalignment direction). (Corresponding to the information including and) is detected (step S4), and subsequently, the misalignment correction in the holding table 21A is performed (step S5). The misalignment detection step (step S4) will be described in detail later. In this misalignment correction, the chuck mechanism 22 is moved by the horizontal positioning mechanism 23 so as to eliminate the misalignment detected in step S4. As a result, as shown in column (c) of FIG. 5, the symmetry axis of the gear Wb and the rotation axis of the motor 241 coincide with each other when the holding table 21A reaches the inspection position PI or before and after the arrival, and the work imaging step is performed immediately. (Step S6) can be started.

このステップS6では、検査位置PIに位置決めされた保持テーブル21Aの回転機構24が作動し、ワーク回転を開始する。このとき、保持テーブル21Aに保持されたワークWは上記芯ズレ補正を受けた、いわゆる芯出し状態であり、対称軸AX4まわりに回転する。また、その回転に対応して複数の検査照明部32が点灯して回転中のワークWを複数の方向から照明する。なお、ここではワーク回転後に検査照明部32を点灯させているが、点灯タイミングはこれに限定されるものではなく、回転開始と同時、あるいは回転開始前に検査照明部32の点灯を開始してもよい。 In this step S6, the rotation mechanism 24 of the holding table 21A positioned at the inspection position PI operates to start the work rotation. At this time, the work W held by the holding table 21A is in a so-called centering state that has undergone the above-mentioned misalignment correction, and rotates around the axis of symmetry AX4. Further, a plurality of inspection lighting units 32 are lit in response to the rotation to illuminate the rotating work W from a plurality of directions. Although the inspection lighting unit 32 is turned on after the work is rotated, the lighting timing is not limited to this, and the inspection lighting unit 32 is started to be turned on at the same time as the rotation starts or before the rotation starts. May be good.

こうしてワークWの回転と照明とを行っている間に、複数の検査カメラ31がワークWを種々の方向から撮像し、複数方向からのワークWの画像(以下「ワーク画像」という)の画像データを制御ユニット5に送信する。一方、制御ユニット5では上記画像データをメモリ52に記憶し、以下のタイミングで当該画像データに基づいてワークWの検査を行う。 While rotating and illuminating the work W in this way, a plurality of inspection cameras 31 image the work W from various directions, and image data of the work W image (hereinafter referred to as “work image”) from the plurality of directions. Is transmitted to the control unit 5. On the other hand, the control unit 5 stores the image data in the memory 52 and inspects the work W based on the image data at the following timings.

こうした画像取得後、保持テーブル21Aではワーク回転が停止され、撮像ユニット3では検査照明部32が消灯される。また、旋回駆動部262が支持プレート261を旋回軸AX1まわりに180゜反転旋回させ、これによって保持テーブル21Aが検査済のワークWを保持したまま検査位置PIからプリアライメント位置PAに移動するとともに昇降部254によってワークWが元の高さ位置に移動する(ステップS7)。このワークWの移動と並行して、制御ユニット5はメモリ52から画像データを読み出し、ワーク画像に基づいて歯車Wbに傷や欠陥などが存在しているか否かを判定して保持テーブル21Aに保持されたワークWについてワーク検査を行う(ステップS8)。 After acquiring such an image, the work rotation is stopped at the holding table 21A, and the inspection illumination unit 32 is turned off at the imaging unit 3. Further, the swivel drive unit 262 reversely swivels the support plate 261 around the swivel shaft AX1 by 180 °, whereby the holding table 21A moves from the inspection position PI to the prealignment position PA while holding the inspected work W and moves up and down. The work W is moved to the original height position by the portion 254 (step S7). In parallel with the movement of the work W, the control unit 5 reads the image data from the memory 52, determines whether or not the gear Wb has scratches or defects based on the work image, and holds the work W in the holding table 21A. A work inspection is performed on the work W (step S8).

プリアライメント位置PAに戻ってきたワークWはアンローダ42によって把持された後、可動部材221〜223による把持の解除により保持テーブル21Aからアンローダ42に受け渡される。それに続いて、アンローダ42がワークWをアンローディングユニット4に搬送し、ワーク収容部(図示省略)に搬送する(ステップS9)。上記した一連の工程(ステップS1〜S9)が保持テーブル21A、21Bにより交互に繰り返される。 The work W that has returned to the prealignment position PA is gripped by the unloader 42, and then handed over from the holding table 21A to the unloader 42 by releasing the grip by the movable members 221 to 223. Subsequently, the unloader 42 conveys the work W to the unloading unit 4 and conveys it to the work accommodating portion (not shown) (step S9). The series of steps (steps S1 to S9) described above are alternately repeated by the holding tables 21A and 21B.

次に、本実施形態において実行される芯ズレの検出工程(ステップS4)について図6および図7を参照しつつ詳述する。図6は本発明に係る芯ズレ検出方法の一実施形態である芯ズレの検出工程を示すフローチャートであり、図7は図6に示す芯ズレの検出方法で取得される各種波形の一例を示す図である。芯ズレの検出工程は、制御ユニット5のメモリ52に予め記憶された芯ズレ検出プログラムにしたがって演算処理部51が以下のように動作することで実行される。 Next, the misalignment detection step (step S4) executed in the present embodiment will be described in detail with reference to FIGS. 6 and 7. FIG. 6 is a flowchart showing a misalignment detection step according to an embodiment of the misalignment detection method according to the present invention, and FIG. 7 shows an example of various waveforms acquired by the misalignment detection method shown in FIG. It is a figure. The misalignment detection step is executed by the arithmetic processing unit 51 operating as follows according to the misalignment detection program stored in advance in the memory 52 of the control unit 5.

本実施形態では、芯ズレの検出工程を実行するのに先立って、水平位置決め機構23によりチャック機構22の中心軸AX2とモータ241の回転軸AX3とを一致させており、チャック機構22により保持されたワークWの軸部Waはモータ241の回転軸AX3と一致している。しかしながら、鍛造などにより成形されたワークWでは、歯車Wbの対称軸AX4が軸部Waの軸芯からずれ、モータ241に対して芯ズレが発生していることがある。そこで、本実施形態では、以下に詳述する手順によって保持テーブル21AにローディングされたワークWの芯ズレを検出している。なお、保持テーブル21Bに保持されたワークWについても全く同様にして芯ズレが検出されるため、当該ワークWの芯ズレ検出に関する説明については省略する。 In the present embodiment, the central axis AX2 of the chuck mechanism 22 and the rotation axis AX3 of the motor 241 are matched by the horizontal positioning mechanism 23 and held by the chuck mechanism 22 prior to executing the misalignment detection step. The shaft portion Wa of the work W coincides with the rotation shaft AX3 of the motor 241. However, in the work W formed by forging or the like, the symmetric axis AX4 of the gear Wb may deviate from the axis of the shaft portion Wa, and the motor 241 may be misaligned. Therefore, in the present embodiment, the misalignment of the work W loaded on the holding table 21A is detected by the procedure described in detail below. Since misalignment is detected in the work W held on the holding table 21B in exactly the same manner, the description of the misalignment detection of the work W will be omitted.

保持テーブル21Aへの未検査ワークWのローディングが完了すると、アライメント照明部28によりワークWを照明した状態で当該ワークWを回転させながらアライメントカメラ27により歯車Wbを上方より撮像する。これによって、歯車Wbの1周分のワーク画像I1が取得され、ワーク画像I1の画像データは画像処理部55に送られる(ステップS401)。画像処理部55では、ワーク画像I1を3つ繋げた、ワーク3周分の連続画像I3を作成する(ステップS402)。また、平滑化フィルタ処理によってノイズ成分を除去して平滑化画像Isを作成する(ステップS403)。さらに大津の手法などの二値化処理により平滑化画像Isを二値画像に変換するとともに、ワークWの歯車Wbに相当する領域(以下「エッジ領域」という)の二値画像データをエッジ画像データとして抽出する(ステップS404)。 When the loading of the uninspected work W onto the holding table 21A is completed, the gear Wb is imaged from above by the alignment camera 27 while rotating the work W while the work W is illuminated by the alignment illumination unit 28. As a result, the work image I1 for one round of the gear Wb is acquired, and the image data of the work image I1 is sent to the image processing unit 55 (step S401). The image processing unit 55 creates a continuous image I3 for three laps of the work by connecting three work images I1 (step S402). Further, the noise component is removed by the smoothing filter processing to create a smoothed image Is (step S403). Furthermore, the smoothed image Is is converted into a binary image by a binarization process such as Otsu's method, and the binary image data of the region corresponding to the gear Wb of the work W (hereinafter referred to as "edge region") is converted into edge image data. Is extracted as (step S404).

次に、演算処理部51が以下の一連の処理(ステップS405〜S412)を実行することで、エッジ画像データからワークWの芯ズレを求める。すなわち、エッジ領域を示すエッジ画像データをランレングスデータに変換することで、例えば図7の(a)欄に示すように、3周分のエッジ領域の形状を示すエッジ波形Fを導出する(ステップS405)。なお、図7の(a)欄および(b)欄に示す各グラフにおける横軸Xは平滑化画像Isの画素位置(ワークWの回転角および歯車Wbの周方向における位置に相当)を示し、縦軸Yはラインセンサ271の長手方向(歯車Wbの径方向)におけるエッジ位置を示している。 Next, the arithmetic processing unit 51 executes the following series of processes (steps S405 to S412) to obtain the misalignment of the work W from the edge image data. That is, by converting the edge image data indicating the edge region into run length data, for example, as shown in column (a) of FIG. 7, an edge waveform F indicating the shape of the edge region for three laps is derived (step). S405). The horizontal axis X in each of the graphs shown in columns (a) and (b) of FIG. 7 indicates the pixel position of the smoothed image Is (corresponding to the rotation angle of the work W and the position in the circumferential direction of the gear Wb). The vertical axis Y indicates the edge position of the line sensor 271 in the longitudinal direction (radial direction of the gear Wb).

また、このエッジ波形Fに対して移動平均処理を施し、同図の(b)欄に示す移動平均波形Fsを導出する(ステップS406)。ここで、ワークWの歯車Wb(本発明の「ワークの外周部」の一例に相当)においては凸部と凹部とが繰り返して設けられ、周期的な位相が存在することから本実施形態では1位相の画素数(回転角の範囲)をL1とすれば、移動平均フィルタのフィルタサイズを(L1/2)に設定している。こうして得られた移動平均波形Fs中の各位相には、極大値および極小値がそれぞれ1点ずつ存在し、そのうちの一方が歯車Wbの歯先位置に相当し、他方が歯底位置に相当する。 Further, the edge waveform F is subjected to a moving average process to derive the moving average waveform Fs shown in column (b) of the figure (step S406). Here, in the gear Wb of the work W (corresponding to an example of the "outer peripheral portion of the work" of the present invention), the convex portion and the concave portion are repeatedly provided, and a periodic phase exists. Assuming that the number of pixels in the phase (range of rotation angle) is L1, the filter size of the moving average filter is set to (L1 / 2). Each phase in the moving average waveform Fs thus obtained has one maximum value and one minimum value, one of which corresponds to the tooth tip position of the gear Wb and the other corresponds to the tooth bottom position. ..

本実施形態では、移動平均波形Fsに含まれる各位相の極大値を抽出し、それらの離散点からワークWの回転に伴う歯先位置(または歯底位置)の変化を示す関数Fnを導出する(ステップS407)。なお、図7の(c)欄に示すグラフが当該関数Fnの一例であり、同グラフの左端部分が急峻となっているのは関数を導出する際のデータ処理上の問題であり、当該部分のデータは歯先位置(歯底位置)を示すものではない。そこで、本実施形態では、当該左端部分の急峻データを除いて、関数Fnの平均値AVを導出する(ステップS408)。ここで、図7の(c)欄から明らかなように、芯ズレが発生していない場合には、歯先位置(歯底位置)はワークWの回転角を問わず平均値AVのライン(図中の破線)上に位置する。一方、芯ズレが発生する場合には、図中の実線で示すようにワークWの回転周期で変動し、平均値AVからの変動量の最大値がズレ量Δ(図5参照)に相当し、最大値を示す回転角がズレ方向に相当する。 In the present embodiment, the maximum values of each phase included in the moving average waveform Fs are extracted, and a function Fn indicating a change in the tooth tip position (or tooth bottom position) with rotation of the work W is derived from those discrete points. (Step S407). The graph shown in column (c) of FIG. 7 is an example of the function Fn, and the steep left end of the graph is a problem in data processing when deriving the function. The data does not indicate the tooth tip position (tooth base position). Therefore, in the present embodiment, the mean value AV of the function Fn is derived by removing the steep data of the left end portion (step S408). Here, as is clear from the column (c) of FIG. 7, when the misalignment does not occur, the tooth tip position (tooth bottom position) is the average value AV line regardless of the rotation angle of the work W. It is located above (broken line in the figure). On the other hand, when misalignment occurs, it fluctuates with the rotation cycle of the work W as shown by the solid line in the figure, and the maximum value of the amount of fluctuation from the average value AV corresponds to the misalignment amount Δ (see FIG. 5). , The rotation angle indicating the maximum value corresponds to the deviation direction.

そこで、本実施形態では、図7の(d)欄に示すようにワークWの1周分について平均値AVからの相対変動量を示す関数Fzを取り出し(ステップS409)、その関数Fzに基づいてズレ方向を導出する(ステップS410)とともにズレ量Δを導出する(ステップS411)。より具体的には、関数Fzが極大を示す画素位置Xmaxと、ワークWの1周分に相当する画素数Lとに基づきズレ方向を次式
ズレ方向=Xmax/L×360°
により求めている。もちろん、画素位置Xmaxの代わりに関数Fzが極小を示す画素位置Xminを用いてもよい。また、関数Fzの極大値Ymaxと極小値Yminから振幅Aを次式
A=(Ymax−Ymin)/2
にしたがって求め、その振幅Aにラインセンサ271の分解能を掛けて求めた値をズレ量Δとしている。
Therefore, in the present embodiment, as shown in the column (d) of FIG. 7, a function Fz indicating the relative variation amount from the average value AV for one round of the work W is extracted (step S409), and based on the function Fz. Along with deriving the deviation direction (step S410), the deviation amount Δ is derived (step S411). More specifically, the deviation direction is set by the following equation based on the pixel position Xmax at which the function Fz shows the maximum and the number of pixels L corresponding to one round of the work W. The deviation direction = Xmax / L × 360 °.
Seeking by. Of course, instead of the pixel position Xmax, the pixel position Xmin whose function Fz indicates the minimum may be used. Further, the amplitude A is calculated from the maximum value Ymax and the minimum value Ymin of the function Fz by the following equation A = (Ymax−Ymin) / 2.
The value obtained by multiplying the amplitude A by the resolution of the line sensor 271 is defined as the deviation amount Δ.

以上のように、本実施形態では、ワークWを回転させながら撮像して得られたワーク画像I1に基づいて作成された平滑化画像Isからエッジ画像データ(歯車Wbの外周部の画像データ)を抽出するとともに、当該エッジ画像データをランレングスデータに変換してエッジ波形Fを求めている。このエッジ波形Fは歯車Wbの外周部の形状を正確に示しており、当該エッジ波形Fに基づいてモータ241の回転軸AX3に対するワークWの芯ズレを高精度に算出することができる。そして、このようにして導出した芯ズレ(=ズレ方向+ズレ量Δ)を解消するように水平位置決め機構23を駆動することで芯ズレを良好に補正することができる。さらに、芯ズレを補正した後でワークWを回転させながらワークWを撮像してワークWを検査しているので、ワーク検査を高精度に行うことができる。 As described above, in the present embodiment, the edge image data (image data of the outer peripheral portion of the gear Wb) is obtained from the smoothed image Is created based on the work image I1 obtained by imaging while rotating the work W. At the same time as extracting, the edge image data is converted into run length data to obtain the edge waveform F. The edge waveform F accurately indicates the shape of the outer peripheral portion of the gear Wb, and the misalignment of the work W with respect to the rotation axis AX3 of the motor 241 can be calculated with high accuracy based on the edge waveform F. Then, the misalignment can be satisfactorily corrected by driving the horizontal positioning mechanism 23 so as to eliminate the misalignment (= misalignment direction + misalignment amount Δ) derived in this way. Further, since the work W is inspected by imaging the work W while rotating the work W after correcting the misalignment, the work inspection can be performed with high accuracy.

また、本実施形態では、歯車Wbの1周分のワーク画像I1を3つ繋げて連続画像I3を作成し、当該連続画像I3に基づいて芯ズレを検出しているため、次のような作用効果が得られる。例えばプリアライメント位置PAでワークWを3回転させながら連続画像I3を取得してもよいが、芯ズレ検出のために要するワークWの回転量が多く、芯ズレの検出時間が長くなる。これに対し、本実施形態ではワークWの回転量を1周とすることができ、芯ズレの検出に要する時間を短縮することができる。 Further, in the present embodiment, three work images I1 for one round of the gear Wb are connected to create a continuous image I3, and the misalignment is detected based on the continuous image I3. Therefore, the following operations are performed. The effect is obtained. For example, the continuous image I3 may be acquired while rotating the work W three times at the prealignment position PA, but the amount of rotation of the work W required for detecting the misalignment is large, and the detection time of the misalignment becomes long. On the other hand, in the present embodiment, the amount of rotation of the work W can be set to one round, and the time required for detecting the misalignment can be shortened.

このように本実施形態における回転機構24が本発明の「回転部」の一例に相当し、アライメントカメラ27が本発明の「撮像部」の一例に相当している。また、演算処理部51が本発明の「エッジ波形導出部」および「芯ズレ演算部」として機能している。そして、回転機構24、アライメントカメラ27、演算処理部51および画像処理部55により本発明の「芯ズレ検出装置」が構成されている。また、保持テーブル21A、21Bが本発明の「ワーク保持部」の一例に相当している。 As described above, the rotation mechanism 24 in the present embodiment corresponds to an example of the "rotating unit" of the present invention, and the alignment camera 27 corresponds to an example of the "imaging unit" of the present invention. Further, the arithmetic processing unit 51 functions as the "edge waveform derivation unit" and the "center misalignment calculation unit" of the present invention. The rotation mechanism 24, the alignment camera 27, the arithmetic processing unit 51, and the image processing unit 55 constitute the "center misalignment detection device" of the present invention. Further, the holding tables 21A and 21B correspond to an example of the "work holding portion" of the present invention.

なお、本発明は上記した実施形態に限定されるものではなく、その趣旨を逸脱しない限りにおいて上述したもの以外に種々の変更を行うことが可能である。例えば上記実施形態では、歯車Wbの1周分のワーク画像I1を3つ繋げて連続画像I3を作成しているが、連続画像I3は少なくとも1周以上のワーク画像を有しておればよい。 The present invention is not limited to the above-described embodiment, and various modifications other than those described above can be made without departing from the spirit of the present invention. For example, in the above embodiment, the continuous image I3 is created by connecting three work images I1 for one round of the gear Wb, but the continuous image I3 may have a work image of at least one round or more.

また、上記実施形態では、図7に示すように移動平均波形Fsに含まれる各位相の極大値から関数Fnを導出しているが、極小値から関数Fnを導出してもよい。 Further, in the above embodiment, as shown in FIG. 7, the function Fn is derived from the maximum value of each phase included in the moving average waveform Fs, but the function Fn may be derived from the minimum value.

また、エッジ波形Fの導出手法は、上記したエッジ画像データのランレングスデータへの変換に限定されるものではなく、その他の手法によりエッジ波形Fを導出してもよい。 Further, the method for deriving the edge waveform F is not limited to the above-mentioned conversion of the edge image data into run-length data, and the edge waveform F may be derived by another method.

また、上記実施形態では歯車Wbを有するワークWを検出対象物としているが、本発明を用いることで対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワーク全般について芯ズレを高精度に検出することができる。 Further, in the above embodiment, the work W having the gear Wb is set as the detection target, but by using the present invention, the outer circumference is provided with the convex portion and the concave portion periodically and repeatedly provided in a rotationally symmetric shape around the axis of symmetry. It is possible to detect misalignment of the entire work having a portion with high accuracy.

また、上記実施形態では、2つの保持テーブル21A、21Bを交互にプリアライメント位置PAに位置させて芯ズレを検出する検査装置100に本発明に係る芯ズレ検出装置を適用しているが、単一あるいは3つ以上の保持テーブルを有する検査装置に対しても本発明を適用することができる。また、上記実施形態では、プリアライメント位置PAを検査位置PIから離間させた検査装置100に本発明を適用しているが、プリアライメント位置PAを検査位置PIと一致させる、つまり検査位置で芯ズレ検出および芯ズレ補正を行った後で検査処理を行う検査装置にも本発明を適用することができる。また、このように構成された検査装置では、検査カメラ31の一部をアライメントカメラ27としても機能させてもよい。 Further, in the above embodiment, the misalignment detection device according to the present invention is applied to the inspection device 100 that detects the misalignment by alternately positioning the two holding tables 21A and 21B at the prealignment position PA. The present invention can also be applied to an inspection device having one or more holding tables. Further, in the above embodiment, the present invention is applied to the inspection device 100 in which the prealigned position PA is separated from the inspection position PI, but the prealigned position PA is made to match the inspection position PI, that is, the center is misaligned at the inspection position. The present invention can also be applied to an inspection device that performs an inspection process after performing detection and misalignment correction. Further, in the inspection device configured in this way, a part of the inspection camera 31 may also function as the alignment camera 27.

この発明は、対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワークの回転部に対する芯ズレを検出する芯ズレ検出技術全般に適用することができる。 The present invention is applied to a general misalignment detection technique for detecting misalignment with respect to a rotating portion of a work having an outer peripheral portion in which convex portions and concave portions are periodically and repeatedly provided in a rotationally symmetric shape around an axis of symmetry. Can be done.

5…制御ユニット
21A,21B…保持テーブル(ワーク保持部)
24…回転機構(回転部)
27…アライメントカメラ(撮像部)
51…演算処理部(エッジ波形導出部、芯ズレ演算部)
55…画像処理部
100…検査装置
241…モータ(回転部)
271…ラインセンサ
AX3…(モータ241の)回転軸
AX4…対称軸
F…エッジ波形
I1…ワーク画像
PA…プリアライメント位置
W…ワーク
Δ…ズレ量
5 ... Control units 21A, 21B ... Holding table (work holding unit)
24 ... Rotation mechanism (rotating part)
27 ... Alignment camera (imaging unit)
51 ... Arithmetic processing unit (edge waveform derivation unit, misalignment calculation unit)
55 ... Image processing unit 100 ... Inspection device 241 ... Motor (rotating part)
271 ... Line sensor AX3 ... Rotation axis (of motor 241) AX4 ... Symmetry axis F ... Edge waveform I1 ... Work image PA ... Prealignment position W ... Work Δ ... Deviation amount

Claims (5)

対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワークを回転させる、回転部に対する前記ワークの芯ズレを検出する芯ズレ検出装置であって、
前記回転部により回転される前記ワークの外周部の少なくとも1周分を含む画像を撮像する撮像部と、
前記撮像部により撮像された画像に対して二値化処理を施し、前記ワークの外周部の画像データをエッジ画像データとして抽出する画像処理部と、
前記エッジ画像データに基づいて前記ワークの外周部の形状を示すエッジ波形を求めるエッジ波形導出部と、
前記エッジ波形導出部により導出された前記エッジ波形に対して凹部と凸部の繰り返し周期の位相の1/2の大きさの移動平均フィルタをかけて作成した移動平均波形に含まれる各位相の極大値又は極小値の離散点に基づき導出される関数を用いて、前記回転部に対する前記ワークの芯ズレを求める芯ズレ演算部と、
を備えることを特徴とする芯ズレ検出装置。
A misalignment detection device that detects misalignment of the work with respect to the rotating portion by rotating a work having an outer peripheral portion in which convex portions and concave portions are periodically and repeatedly provided in a rotationally symmetric shape around an axis of symmetry. ,
An imaging unit that captures an image including at least one circumference of the outer peripheral portion of the work rotated by the rotating unit.
An image processing unit that performs binarization processing on the image captured by the imaging unit and extracts image data of the outer peripheral portion of the work as edge image data.
An edge waveform deriving unit that obtains an edge waveform indicating the shape of the outer peripheral portion of the work based on the edge image data,
Maximum of each phase included in the moving average waveform created by multiplying the repetition period 1/2 the size the moving average filter of the phase of the concave and convex portions for the edge wave derived by the edge wave deriving unit A misalignment calculation unit that obtains the misalignment of the work with respect to the rotating portion by using a function derived based on the discrete points of the value or the minimum value .
A misalignment detection device characterized by being provided with.
請求項1に記載の芯ズレ検出装置であって、
前記撮像部は、前記ワークに対して前記回転部の反対側で前記ワークの前記対称軸に対して径方向外側に延設されたラインセンサを有する芯ズレ検出装置。
The misalignment detecting device according to claim 1.
The imaging unit is a misalignment detecting device having a line sensor extending radially outward with respect to the axis of symmetry of the work on the opposite side of the rotating part with respect to the work.
請求項1または2に記載の芯ズレ検出装置であって、
前記芯ズレ演算部は、前記回転部の回転軸に対する前記対称軸のズレ量およびズレ方向を前記芯ズレとして求める芯ズレ検出装置。
The misalignment detecting device according to claim 1 or 2.
The misalignment calculation unit is a misalignment detecting device that obtains the misalignment amount and the misalignment direction of the axis of symmetry with respect to the rotation axis of the rotating portion as the misalignment.
請求項1ないし3のいずれか一項に記載の芯ズレ検出装置であって、
前記エッジ波形導出部は、前記エッジ画像データをランレングスデータに変換して前記エッジ波形を求める芯ズレ検出装置。
The misalignment detecting device according to any one of claims 1 to 3.
The edge waveform deriving unit is a misalignment detecting device that converts the edge image data into run-length data and obtains the edge waveform.
対称軸まわりに回転対称な形状で凸部と凹部とが周期的に繰り返して設けられた外周部を有するワークワークをワーク保持部により保持する第1工程と、
前記ワークを保持した前記ワーク保持部を回転部により回転させることで前記ワークを前記回転部の回転軸まわりに回転させる第2工程と、
前記回転部による前記ワークの回転中に前記ワークの外周部の少なくとも1周分を含む画像を取得する第3工程と、
前記第3工程により取得された画像に対して二値化処理を施し、前記ワークの外周部の画像データをエッジ画像データとして抽出する第4工程と、
前記エッジ画像データに基づいて前記ワークの外周部の形状を示すエッジ波形を求める第5工程と、
前記エッジ波形に対して凹部と凸部の繰り返し周期の位相の1/2の大きさの移動平均フィルタをかけて作成した移動平均波形に含まれる各位相の極大値又は極小値の離散点に基づき導出される関数を用いて、前記回転部に対する前記ワークの芯ズレを求める第6工程と、を備えることを特徴とする芯ズレ検出方法。
The first step of holding the work work having the outer peripheral portion in which the convex portion and the concave portion are periodically and repeatedly provided in a rotationally symmetric shape around the axis of symmetry by the work holding portion.
The second step of rotating the work around the rotation axis of the rotating portion by rotating the work holding portion holding the work by the rotating portion, and
A third step of acquiring an image including at least one circumference of the outer peripheral portion of the work during rotation of the work by the rotating portion.
In the fourth step, the image acquired in the third step is subjected to binarization processing, and the image data of the outer peripheral portion of the work is extracted as edge image data.
The fifth step of obtaining an edge waveform indicating the shape of the outer peripheral portion of the work based on the edge image data, and
Based on the discrete points of maximum or minimum values of each phase included in the moving average waveform wherein for the edge waveform created by multiplying the moving average filter of half the magnitude of the phase of the repetition period of the recesses and projections A method for detecting a misalignment, which comprises a sixth step of obtaining a misalignment of the work with respect to the rotating portion by using a derived function .
JP2017047286A 2017-03-13 2017-03-13 Center misalignment detection device and center misalignment detection method Active JP6794301B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2017047286A JP6794301B2 (en) 2017-03-13 2017-03-13 Center misalignment detection device and center misalignment detection method
PCT/JP2017/040739 WO2018168068A1 (en) 2017-03-13 2017-11-13 Center misalignment detection device and center misalignment detection method
TW106143370A TWI654406B (en) 2017-03-13 2017-12-11 Misalignment detecting apparatus and misalignment detecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017047286A JP6794301B2 (en) 2017-03-13 2017-03-13 Center misalignment detection device and center misalignment detection method

Publications (2)

Publication Number Publication Date
JP2018151244A JP2018151244A (en) 2018-09-27
JP6794301B2 true JP6794301B2 (en) 2020-12-02

Family

ID=63680872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017047286A Active JP6794301B2 (en) 2017-03-13 2017-03-13 Center misalignment detection device and center misalignment detection method

Country Status (1)

Country Link
JP (1) JP6794301B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5567604A (en) * 1978-11-16 1980-05-21 Oosakafu Gear automatic inspection unit
JPH07253375A (en) * 1994-03-15 1995-10-03 Toshiba Corp Method and apparatus for detection of eccentricity
JP3598196B2 (en) * 1997-03-12 2004-12-08 株式会社ニレコ Periodic pattern defect inspection equipment
JP2002280440A (en) * 2001-03-16 2002-09-27 Matsushita Electric Ind Co Ltd Method for automatically controlling positional correction of rotary stage in inspection instrument
JP5811637B2 (en) * 2011-06-30 2015-11-11 株式会社明電舎 Trolley wire wear measuring device by image processing

Also Published As

Publication number Publication date
JP2018151244A (en) 2018-09-27

Similar Documents

Publication Publication Date Title
JP5582126B2 (en) Work take-out system, robot apparatus, and workpiece manufacturing method
WO2019167401A1 (en) Center misalignment detection device and center misalignment detection method
JP6671310B2 (en) Work holding device, inspection device, and work position correction method
KR20120106565A (en) Image creation method, substrate inspection method, storage medium for storing program for executing image creation method and substrate inspection method, and substrate inspection apparatus
US11175240B2 (en) Inspection apparatus and inspection method
JP6598954B1 (en) Appearance inspection apparatus and appearance inspection method
JP6598807B2 (en) Inspection method and inspection apparatus
JP6794301B2 (en) Center misalignment detection device and center misalignment detection method
US11199509B2 (en) Inspection apparatus and inspection method
JP6650420B2 (en) Alignment detection device and alignment detection method
TWI654406B (en) Misalignment detecting apparatus and misalignment detecting method
JP5737584B2 (en) Robot and its work gripping method
JP7161956B2 (en) Inspection device and inspection method
JP5802442B2 (en) A robot system that determines the movement of a robot using an external projection device
JP2022124812A (en) Check device, check method, and program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170725

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200721

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200916

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201111

R150 Certificate of patent or registration of utility model

Ref document number: 6794301

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250