JP2020071703A - Processing device and processing method - Google Patents

Processing device and processing method Download PDF

Info

Publication number
JP2020071703A
JP2020071703A JP2018205741A JP2018205741A JP2020071703A JP 2020071703 A JP2020071703 A JP 2020071703A JP 2018205741 A JP2018205741 A JP 2018205741A JP 2018205741 A JP2018205741 A JP 2018205741A JP 2020071703 A JP2020071703 A JP 2020071703A
Authority
JP
Japan
Prior art keywords
stage
work
processing
tool
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018205741A
Other languages
Japanese (ja)
Inventor
孝幸 松井
Takayuki Matsui
孝幸 松井
達也 植田
Tatsuya Ueda
達也 植田
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.)
Mitsui High Tec Inc
Original Assignee
Mitsui High Tec Inc
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 Mitsui High Tec Inc filed Critical Mitsui High Tec Inc
Priority to JP2018205741A priority Critical patent/JP2020071703A/en
Publication of JP2020071703A publication Critical patent/JP2020071703A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

To describe a processing device and a processing method capable of efficiently processing a workpiece, even if not a skilled engineer.SOLUTION: A processing device is comprised of: a stage configured to be able to mount a workpiece, a tool configured to be relatively movable with respect to the stage, an imaging device configured to be able to image the workpiece mounted on the stage, and a control unit. The control unit executes the processes of: capturing an image of a workpiece placed on a stage with the imaging device and obtaining a captured image; obtaining processed data; automatically generating an execution code for operating at least one of the stage and a tool based on the processed data; and operating at least one of the stage and the tool based on the execution code. The process of acquiring the processed data includes acquiring a position of the workpiece with respect to the stage as the processed data based on the captured image.SELECTED DRAWING: Figure 1

Description

本開示は、加工装置及び加工方法に関する。   The present disclosure relates to a processing device and a processing method.

特許文献1は、制御プログラムに基づいて、ワークが載置されたステージと工具とを相対移動させることにより、ワークの加工を行うNC加工装置を開示している。   Patent Document 1 discloses an NC machining apparatus that performs machining of a work by moving a stage on which the work is placed and a tool relative to each other based on a control program.

特開2001−166811号公報JP 2001-166811 A

従来の加工装置を用いてワークを加工する前に、作業者による準備作業が行われる。当該準備作業は、例えば、ワークのサイズ、ステージに対するワークの位置、ワークの加工条件などの加工データを作業者が予め取得することと、作業者が当該データに基づいて実行コード(プログラム)を作成することとを含む。このような準備作業には、熟練技術者による経験や勘(ノウハウ)に頼るところが大きかった。特に、異なる種類のワークを加工する場合には、作業者が加工データを種類ごとに取得しなければならず、準備作業に時間を要していた。   Before the work is processed by using the conventional processing device, a preparatory work is performed by an operator. For the preparatory work, for example, the worker acquires in advance machining data such as the size of the work, the position of the work with respect to the stage, and the machining conditions of the work, and the worker creates an execution code (program) based on the data. Including doing. For such preparatory work, the experience and intuition (know-how) of skilled engineers have largely been used. In particular, when machining different types of workpieces, the worker has to acquire the machining data for each type, which requires time for the preparatory work.

そこで、本開示は、熟練技術者でなくても、ワークの加工を効率的に行うことが可能な加工装置及び加工方法を説明する。   Therefore, the present disclosure describes a processing apparatus and a processing method capable of efficiently processing a work, even without being a skilled engineer.

本開示の一つの観点に係る加工装置は、ワークを載置可能に構成されたステージと、ステージに対して相対移動可能に構成された工具と、ステージ上に載置されているワークを撮像可能に構成された撮像装置と、制御部とを備える。制御部は、ステージに載置されているワークを撮像装置によって撮像し、撮像画像を取得する処理と、加工データを取得する処理と、加工データに基づいて、ステージ及び工具の少なくとも一方を動作させる実行コードを自動的に生成する処理と、実行コードに基づいて、ステージ及び工具の少なくとも一方を動作させる処理とを実行する。加工データを取得する処理は、撮像画像に基づいて、ステージに対するワークの位置を加工データとして取得することを含む。   A processing apparatus according to one aspect of the present disclosure is capable of capturing an image of a stage configured to mount a work, a tool configured to be movable relative to the stage, and the work mounted on the stage. The image pickup device configured as described above and a control unit. The control unit captures an image of a workpiece placed on the stage by an imaging device, acquires a captured image, acquires processing data, and operates at least one of the stage and the tool based on the processing data. The process of automatically generating the execution code and the process of operating at least one of the stage and the tool based on the execution code are executed. The process of acquiring the processed data includes acquiring the position of the workpiece with respect to the stage as the processed data based on the captured image.

本開示の他の観点に係る加工方法は、ステージに載置されているワークを撮像して撮像画像を取得することと、ステージと、ワークを加工するように構成された工具との少なくとも一方を動作させる実行コードを、加工データに基づいて自動的に生成することであって、加工データは、撮像画像に基づいて、ステージに対するワークの位置を含むことと、実行コードに基づいて、ステージ及び工具の少なくとも一方を動作させることとを含む。   A processing method according to another aspect of the present disclosure includes capturing an image of a work placed on a stage to obtain a captured image, and using at least one of the stage and a tool configured to process the work. A method for automatically generating an execution code to be operated based on machining data, the machining data including a position of a work piece with respect to a stage based on a captured image, and a stage and a tool based on the execution code. Of operating at least one of the above.

本開示の他の観点に係る加工方法は、ステージに載置されているワーク及び非加工対象物を撮像して撮像画像を取得することと、ステージ上に載置されているワーク及び非加工対象物の高さを測定することと、ステージと、ワークを加工するように構成された工具との少なくとも一方を動作させる実行コードを、加工データに基づいて自動的に生成することであって、加工データは、撮像画像に基づいて、ステージに対するワーク及び非加工対象物の位置と、ワーク及び非加工対象物の高さとを含むことと、実行コードに基づいてステージ及び工具の少なくとも一方が動作した場合に、ステージ上の非加工対象物に対して工具が干渉するか否かを加工データに基づいて判断すること、工具が非加工対象物に干渉しないと判断された場合に、実行コードに基づいて、ステージ及び工具の少なくとも一方を動作させることとを含む。   A processing method according to another aspect of the present disclosure includes capturing a captured image by capturing an image of a work and a non-processing target placed on a stage, and a work and a non-processing target mounted on the stage. Measuring the height of an object and automatically generating an execution code for operating at least one of a stage and a tool configured to machine a workpiece based on the machining data. The data includes the position of the workpiece and the non-machined object with respect to the stage based on the captured image, and the height of the workpiece and the non-machined object, and at least one of the stage and the tool operates based on the execution code. To determine whether the tool interferes with the non-machined object on the stage based on the machining data, and when it is determined that the tool does not interfere with the non-machined object, Based on the code, and a operating the at least one of the stage and the tool.

本開示に係る加工装置及び加工方法によれば、熟練技術者でなくても、ワークの加工を効率的に行うことが可能となる。   According to the processing apparatus and the processing method according to the present disclosure, it is possible for a skilled engineer to efficiently process a workpiece.

図1は、加工装置の一例を示す斜視図である。FIG. 1 is a perspective view showing an example of a processing apparatus. 図2は、カメラによって撮像された撮像画像の一例がディスプレイに表示されている様子を示す図である。FIG. 2 is a diagram showing a state in which an example of a captured image captured by a camera is displayed on the display. 図3は、加工装置の主要部を示すブロック図である。FIG. 3 is a block diagram showing the main part of the processing apparatus. 図4は、Gコードの一例を示す図である。FIG. 4 is a diagram showing an example of the G code. 図5は、コントローラのハードウェア構成を示す概略図である。FIG. 5 is a schematic diagram showing the hardware configuration of the controller. 図6は、ワークの加工手順を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining the processing procedure of the work. 図7は、ディスプレイに表示されているワークの位置を作業者が指定する様子を示す図である。FIG. 7 is a diagram showing how the operator specifies the position of the work displayed on the display.

以下に、本開示に係る実施形態の一例について、図面を参照しつつより詳細に説明する。以下の説明において、同一要素又は同一機能を有する要素には同一符号を用いることとし、重複する説明は省略する。図1には、X軸、Y軸及びZ軸により規定される直交座標系が例示されている。当該直交座標系において、Y軸は鉛直上向きに延びており、X軸はY軸に直交するように水平方向に延びており、Z軸はX軸及びY軸の双方に直交するように水平方向に延びている。   Hereinafter, an example of an embodiment according to the present disclosure will be described in more detail with reference to the drawings. In the following description, the same elements or elements having the same function will be denoted by the same reference symbols, without redundant description. FIG. 1 illustrates an orthogonal coordinate system defined by the X axis, the Y axis, and the Z axis. In the orthogonal coordinate system, the Y-axis extends vertically upward, the X-axis extends horizontally to be orthogonal to the Y-axis, and the Z-axis extends horizontally to be orthogonal to both the X-axis and the Y-axis. Extends to.

[加工装置の構成]
図1〜図5を参照して、加工装置1について説明する。加工装置1は、図1に示されるように、加工対象であるワークWを加工する機能を有する。ワークWは、例えば、シート状の母材(金属板など)を打ち抜く打抜装置を構成する金型部品であってもよい。ワークWの形状は、例えば、直方体形状、円柱形状、多角柱形状、その他の異形状であってもよい。図2に示されるように、ワークWの表面に加工指示表示Cが設けられていてもよい。
[Configuration of processing equipment]
The processing apparatus 1 will be described with reference to FIGS. As shown in FIG. 1, the processing device 1 has a function of processing a work W that is a processing target. The work W may be, for example, a mold component that constitutes a punching device that punches a sheet-shaped base material (metal plate or the like). The shape of the work W may be, for example, a rectangular parallelepiped shape, a columnar shape, a polygonal columnar shape, or another irregular shape. As shown in FIG. 2, a processing instruction display C may be provided on the surface of the work W.

加工指示表示Cは、ワークWに関する情報(ワーク情報)を表示するものであってもよいし、加工指示表示Cが付されたワークWに対する加工条件を表示するものであってもよいし、これらの両者を表示するものであってもよい。ワーク情報は、例えば、ワークWの材質、サイズ、形状などを含んでいてもよい。加工条件は、例えば、Y方向の切込量(以下、単に「切込量」という。)、後述するステージ13の移動速度(単位時間あたりの往復回数)、後述する工具21の回転数を含んでいてもよい。   The machining instruction display C may display information (work information) about the work W, or may display machining conditions for the work W to which the machining instruction display C is attached. Both may be displayed. The work information may include, for example, the material, size, and shape of the work W. The processing conditions include, for example, the cutting amount in the Y direction (hereinafter, simply referred to as “cutting amount”), the moving speed of the stage 13 (the number of reciprocations per unit time) described below, and the number of rotations of the tool 21 described below. You can leave.

加工指示表示Cは、例えば、数字であってもよいし、記号であってもよいし、所定の規則によって生成される模様状符号であってもよい。当該模様状符号としては、明模様と暗模様との組み合わせにより情報を保持することが可能なものであってもよく、例えば、バーコードであってもよいし、二次元コードであってもよい。二次元コードとしては、例えば、QRコード(登録商標)、DataMatrix、Vericode等であってもよい。   The processing instruction display C may be, for example, a number, a symbol, or a pattern code generated by a predetermined rule. The pattern code may be one that can hold information by combining a light pattern and a dark pattern, and may be, for example, a bar code or a two-dimensional code. .. The two-dimensional code may be, for example, a QR code (registered trademark), DataMatrix, Vericode, or the like.

加工装置1は、図1に示されるように、ベースユニット10と、加工ユニット20と、カメラ30(撮像装置)と、レーザ距離計40(測定機)と、ディスプレイ50(表示装置)と、コントローラCtr(制御部)とを備える。加工装置1は、これらの一部又は全部を収容可能に構成された筐体(図示せず)をさらに備えていてもよい。   As shown in FIG. 1, the processing device 1 includes a base unit 10, a processing unit 20, a camera 30 (imaging device), a laser distance meter 40 (measuring device), a display 50 (display device), and a controller. Ctr (control unit). The processing device 1 may further include a housing (not shown) configured to be able to accommodate a part or all of these.

ベースユニット10は、ベース11と、ガイド機構12と、ステージ13とを含む。ベース11は、ガイド機構12及びステージ13を下側から支持するように構成されている。ガイド機構12は、ベース11上に取り付けられている。ガイド機構12は、例えば、リニアアクチュエータであってもよい。ガイド機構12は、例えば、レール12aと、ブロック(図示せず)とを含んでいてもよい。ブロックは、コントローラCtrからの指示に基づいて、レール12a(Z軸)に沿って往復移動可能に構成されていてもよい。   The base unit 10 includes a base 11, a guide mechanism 12, and a stage 13. The base 11 is configured to support the guide mechanism 12 and the stage 13 from below. The guide mechanism 12 is mounted on the base 11. The guide mechanism 12 may be, for example, a linear actuator. The guide mechanism 12 may include, for example, a rail 12a and a block (not shown). The block may be configured to be capable of reciprocating along the rail 12a (Z axis) based on an instruction from the controller Ctr.

ステージ13は、上面(載置面)に載置されたワークWを吸着保持するように構成されている。ステージ13は、例えば、マグネットチャックであってもよいし、真空チャックであってもよい。図2は、ステージ13がマグネットチャックの例を示している。この場合、ステージ13の表面には、複数の磁性体13aが露出していてもよい。複数の磁性体13aは、X軸に沿って直線状に延びていてもよい。複数の磁性体13aは、ステージ13の表面においてN極とS極とがZ軸に沿って交互に並ぶように配置されていてもよい。複数の磁性体13aの間に非磁性体(セパレータ)が介在しており、隣り合う磁性体13aが非磁性体によって隔てられていてもよい。ステージ13は、少なくとも一つのワークWを保持してもよいし、複数のワークWを保持してもよい。ステージ13は、ガイド機構12のブロックに接続されていてもよい。そのため、ブロックがレール12aを往復移動すると、ステージ13に保持されているワークWも共にレール12a(Z軸)に沿って往復移動する。   The stage 13 is configured to suck and hold the work W placed on the upper surface (placement surface). The stage 13 may be, for example, a magnet chuck or a vacuum chuck. FIG. 2 shows an example in which the stage 13 is a magnet chuck. In this case, a plurality of magnetic bodies 13a may be exposed on the surface of the stage 13. The plurality of magnetic bodies 13a may extend linearly along the X axis. The plurality of magnetic bodies 13 a may be arranged such that the N poles and the S poles are alternately arranged on the surface of the stage 13 along the Z axis. A non-magnetic material (separator) may be interposed between the plurality of magnetic materials 13a, and adjacent magnetic materials 13a may be separated by the non-magnetic material. The stage 13 may hold at least one work W, or may hold a plurality of works W. The stage 13 may be connected to the block of the guide mechanism 12. Therefore, when the block reciprocates along the rail 12a, the work W held on the stage 13 also reciprocates along the rail 12a (Z axis).

加工ユニット20は、ワークWが所定形状となるようワークWを加工する機能を有する。加工ユニット20は、ベースユニット10の上方に配置されていてもよい。加工ユニット20は、工具21と、シャフト22と、駆動機構23とを含む。   The processing unit 20 has a function of processing the work W so that the work W has a predetermined shape. The processing unit 20 may be arranged above the base unit 10. The processing unit 20 includes a tool 21, a shaft 22, and a drive mechanism 23.

工具21は、ワークWに接触した状態でワークWを加工するように構成されている。例えば、加工装置1が研削装置である場合には、工具21は、ワークWを研削加工する砥石であってもよい。工具21は、例えば、円柱状を呈していてもよい。この場合、工具21の周面がワークWと接触することによりワークWの加工が行われてもよいし、工具21の端面がワークWと接触することによりワークWの加工が行われてもよい。   The tool 21 is configured to process the work W while being in contact with the work W. For example, when the processing device 1 is a grinding device, the tool 21 may be a grindstone for grinding the work W. The tool 21 may have, for example, a cylindrical shape. In this case, the work W may be processed by the peripheral surface of the tool 21 contacting the work W, or the work W may be processed by the end surface of the tool 21 contacting the work W. ..

シャフト22は、X軸に沿って延びている。シャフト22の一端には、工具21が取り付けられている。シャフト22の中心軸と工具21の中心軸とは略一致していてもよい。シャフト22の他端には、駆動機構23が取り付けられている。   The shaft 22 extends along the X axis. The tool 21 is attached to one end of the shaft 22. The central axis of the shaft 22 and the central axis of the tool 21 may substantially match. A drive mechanism 23 is attached to the other end of the shaft 22.

駆動機構23は、コントローラCtrからの指示に基づいて、シャフト22を支持して回転させるように構成されている。シャフト22の回転に伴い、シャフト22の中心軸を回転軸として、工具21も回転する。駆動機構23は、コントローラCtrからの指示に基づいて、シャフト22をY軸に沿って上下動させるように構成されている。このとき、シャフト22に取り付けられている工具21も共に上下方向に往復移動する。駆動機構23は、コントローラCtrからの指示に基づいて、シャフト22をX軸に沿って進退させるように構成されている。このとき、シャフト22に取り付けられている工具21も共に水平方向に往復移動する。   The drive mechanism 23 is configured to support and rotate the shaft 22 based on an instruction from the controller Ctr. With the rotation of the shaft 22, the tool 21 also rotates with the central axis of the shaft 22 as the rotation axis. The drive mechanism 23 is configured to move the shaft 22 up and down along the Y axis based on an instruction from the controller Ctr. At this time, the tool 21 attached to the shaft 22 also reciprocates vertically. The drive mechanism 23 is configured to move the shaft 22 back and forth along the X axis based on an instruction from the controller Ctr. At this time, the tool 21 attached to the shaft 22 also reciprocates in the horizontal direction.

ガイド機構12によってステージ13上のワークがZ軸に沿って移動し、駆動機構23によって工具21がX軸及びY軸に沿って移動すると、工具21とワークWとの相対位置が変動する。工具21によるワークWの加工が行われる場合には、駆動機構23によって、ワークWと接触する高さまで工具21をY軸に沿って移動させ、工具21を所定の速度で回転させる。次に、ガイド機構12によってワークWをZ軸に沿って所定の速度で移動させる。これにより、工具21がワークWに接触した領域(例えば、工具21の幅に対応する領域)が加工される。次に、駆動機構23によって、工具21をX軸に沿って所定の大きさ(例えば、工具21の幅以下の大きさ)だけ繰り出し又は引き込む。次に、ガイド機構12によってワークWをZ軸に沿って所定の速度で移動させる。これにより、ワークWのうち加工済領域の隣の領域が加工される。その後は、工具21がワークWの全域と接触して加工が完了するまで、ステージ13及び工具21が同様に動作する。すなわち、工具21は、ワークWに対して蛇行しながらワークWを加工する。   When the guide mechanism 12 moves the workpiece on the stage 13 along the Z axis and the drive mechanism 23 moves the tool 21 along the X axis and the Y axis, the relative position between the tool 21 and the workpiece W changes. When the work W is processed by the tool 21, the drive mechanism 23 moves the tool 21 along the Y axis to a height at which the work W contacts the work W, and rotates the tool 21 at a predetermined speed. Next, the guide mechanism 12 moves the work W along the Z axis at a predetermined speed. As a result, a region where the tool 21 contacts the work W (for example, a region corresponding to the width of the tool 21) is processed. Next, the drive mechanism 23 extends or retracts the tool 21 along the X axis by a predetermined size (for example, a size equal to or smaller than the width of the tool 21). Next, the guide mechanism 12 moves the work W along the Z axis at a predetermined speed. As a result, a region of the work W adjacent to the processed region is processed. After that, the stage 13 and the tool 21 operate similarly until the tool 21 comes into contact with the entire area of the work W and the processing is completed. That is, the tool 21 processes the work W while meandering with respect to the work W.

カメラ30は、例えば、ガイド機構12の一端側の上方に配置されている。この場合、ステージ13上のワークWに対する照明の自由度を高めることが可能となる。カメラ30は、ワークWが載置されているステージ13が当該一端側に位置している状態で、ワークW及びステージ13を撮像するように構成されている。なお、カメラ30は、ステージ13の中央上方に配置されていてもよい。カメラ30による撮像画像のデータは、コントローラCtrに送信される。   The camera 30 is arranged, for example, above one end of the guide mechanism 12. In this case, it is possible to increase the degree of freedom of illumination of the work W on the stage 13. The camera 30 is configured to image the work W and the stage 13 in a state where the stage 13 on which the work W is placed is located on the one end side. The camera 30 may be arranged above the center of the stage 13. The data of the image captured by the camera 30 is transmitted to the controller Ctr.

レーザ距離計40は、例えば、ガイド機構12の一端側の上方に配置されている。レーザ距離計40は、ワークWが載置されているステージ13が当該一端側を移動する際に、ステージ13上のワークWの高さを測定するように構成されている。レーザ距離計40による測定データは、加工データとしてコントローラCtrに送信される。   The laser range finder 40 is arranged, for example, above one end side of the guide mechanism 12. The laser range finder 40 is configured to measure the height of the work W on the stage 13 when the stage 13 on which the work W is mounted moves on the one end side. The measurement data obtained by the laser range finder 40 is transmitted to the controller Ctr as processing data.

ディスプレイ50は、種々の情報を画面上に表示する機能を有する。ディスプレイ50に表示される情報は、図2に示されるように、例えば、カメラ30によって撮像された撮像画像、ワークWのサイズ、ワークWの位置(原点座標)、加工条件などを含んでいてもよい。   The display 50 has a function of displaying various information on the screen. As shown in FIG. 2, the information displayed on the display 50 may include, for example, a captured image captured by the camera 30, the size of the work W, the position (origin coordinate) of the work W, processing conditions, and the like. Good.

コントローラCtrは、図3に示されるように、機能モジュールとして、画像処理部M1と、実行コード生成部M2と、駆動指示部M3とを含む。これらの機能モジュールは、コントローラCtrの機能を便宜上複数のモジュールに区切ったものに過ぎず、コントローラCtrを構成するハードウェアがこのようなモジュールに分かれていることを必ずしも意味するものではない。各機能モジュールは、プログラムの実行により実現されるものに限られず、専用の電気回路(例えば論理回路)、又は、これを集積した集積回路(ASIC:application specific integrated circuit)により実現されるものであってもよい。   As shown in FIG. 3, the controller Ctr includes an image processing unit M1, an execution code generating unit M2, and a drive instructing unit M3 as functional modules. These functional modules are merely the functions of the controller Ctr divided into a plurality of modules for convenience, and do not necessarily mean that the hardware configuring the controller Ctr is divided into such modules. Each functional module is not limited to one that is realized by executing a program, but is realized by a dedicated electric circuit (for example, a logic circuit) or an integrated circuit (ASIC: application specific integrated circuit). May be.

画像処理部M1は、カメラ30による撮像画像のデータを画像処理してワークWのエッジ検出を行い、ステージ13上のワークWの形状、サイズ(縦幅及び横幅)、位置などを取得する機能を有する。画像処理部M1は、取得したこれらの情報を加工データとして実行コード生成部M2に送信する。   The image processing unit M1 has a function of performing image processing on the data of the image captured by the camera 30 to detect the edge of the work W, and acquiring the shape, size (length and width), position, etc. of the work W on the stage 13. Have. The image processing unit M1 transmits the acquired information as processed data to the execution code generating unit M2.

エッジ検出には、公知の種々のアルゴリズムを用いることができる。例えばステージ13がマグネットチャックの場合には、画像処理部M1は、撮像画像から抽出した1mm以上の直線を磁性体13aのエッジとして認識すると共に、公知の動的閾値法(撮像画像の輝度ムラに応じて局所的に閾値を変動させながら撮像画像を二値化する手法)により撮像画像から全てのエッジを認識してもよい。さらに、画像処理部M1は、認識したこれらのエッジに基づいて、磁性体13aのエッジが途切れている箇所にワークWが存在していると認識してもよい。ステージ13の表面に複数の基準線(例えば、罫線、方眼状の縦横線)を設けておき、画像処理部M1は、磁性体13aのエッジを認識することに代えて基準線を認識し、基準線のエッジが途切れている箇所にワークが存在していると認識してもよい。複数の基準線の間隔は、1mm〜5mm程度であってもよい。複数の基準線の色は、ワークW及びステージ13と異なる色に設定されていてもよい。画像処理部M1は、ワークWが載置されていないステージ13の撮像画像と、ワークWが載置されているステージ13の撮像画像とを比較して、両画像の相違箇所(例えば、輝度、濃淡、色などの相違箇所)にワークWが存在していると認識してもよい。   Various known algorithms can be used for edge detection. For example, when the stage 13 is a magnet chuck, the image processing unit M1 recognizes a straight line of 1 mm or more extracted from the captured image as an edge of the magnetic body 13a and also uses a known dynamic threshold method (for brightness unevenness of the captured image. All edges may be recognized from the captured image by a method of binarizing the captured image while locally changing the threshold accordingly. Further, the image processing unit M1 may recognize that the work W is present at a position where the edge of the magnetic body 13a is interrupted based on the recognized edges. A plurality of reference lines (for example, ruled lines, grid-like vertical and horizontal lines) are provided on the surface of the stage 13, and the image processing unit M1 recognizes the reference line instead of recognizing the edge of the magnetic body 13a, It may be recognized that the work is present at a position where the edge of the line is interrupted. The interval between the plurality of reference lines may be about 1 mm to 5 mm. The colors of the plurality of reference lines may be set to colors different from the work W and the stage 13. The image processing unit M1 compares the picked-up image of the stage 13 on which the work W is not placed with the picked-up image of the stage 13 on which the work W is placed, and compares different points (for example, brightness, It may be recognized that the work W is present at the difference in shade, color, etc.).

画像処理部M1は、カメラ30による撮像画像のデータを画像処理してワークWに付されている加工指示表示Cを読み取り、加工指示表示Cによって示されるワーク情報又は加工条件を取得する機能を有する。加工指示表示Cが文字、数字等である場合(図2参照)、画像処理部M1は、光学的文字認識(OCR)により文字、数字等を認識し、ワーク情報又は加工条件を取得してもよい。例えば、ワークWに加工指示表示Cとして「20」が付されている場合には、画像処理部M1は、切込量が20μmであると判断してもよい。加工指示表示Cがバーコード、二次元コード等である場合(図2参照)、画像処理部M1は、規格にしたがってこれらのコードをデコードし、ワーク情報又は加工条件を取得してもよい。画像処理部M1は、取得したこれらの情報を加工データとして実行コード生成部M2に送信する。   The image processing unit M1 has a function of performing image processing on the data of the image captured by the camera 30, reading the processing instruction display C attached to the work W, and acquiring the work information or processing conditions indicated by the processing instruction display C. .. When the processing instruction display C is a character, a number, or the like (see FIG. 2), the image processing unit M1 recognizes the character, the number, etc. by optical character recognition (OCR) and acquires the work information or the processing condition. Good. For example, when “20” is attached to the work W as the processing instruction display C, the image processing unit M1 may determine that the cutting amount is 20 μm. When the processing instruction display C is a bar code, a two-dimensional code, or the like (see FIG. 2), the image processing unit M1 may decode these codes according to the standard to acquire the work information or the processing conditions. The image processing unit M1 transmits the acquired information as processed data to the execution code generating unit M2.

画像処理部M1は、ワークWのエッジ検出に基づいて得られたワークWの形状、サイズと、加工指示表示Cの読み取りにより得られたワークWの形状、サイズが存在する場合、どちらか一方を加工データとして採用してもよい。画像処理部M1は、加工指示表示Cの読み取りにより得られたワークWの形状、サイズを優先して加工データとして採用してもよい。画像処理部M1は、取得した加工データをディスプレイ50に表示してもよい。   If the shape and size of the work W obtained based on the edge detection of the work W and the shape and size of the work W obtained by reading the processing instruction display C are present, the image processing unit M1 selects one of them. It may be adopted as processing data. The image processing unit M1 may preferentially adopt the shape and size of the work W obtained by reading the processing instruction display C as processing data. The image processing unit M1 may display the acquired processed data on the display 50.

実行コード生成部M2は、加工データに基づいて、ステージ13及び工具を動作させるための実行コードを自動的に生成する機能を有する。当該加工データは、画像処理部M1から受信した加工データ(ワークWの形状、サイズ(縦幅及び横幅)、位置、姿勢、及び加工条件)と、レーザ距離計40から受信した加工データ(ワークWの高さ)とを含む。   The execution code generation unit M2 has a function of automatically generating an execution code for operating the stage 13 and the tool based on the machining data. The processing data includes processing data (shape, size (vertical width and width), position, posture, and processing condition of the work W) received from the image processing unit M1, and processing data (work W) received from the laser rangefinder 40. Height) and.

実行コード生成部M2が以下の加工データを受信した場合には、実行コード生成部M2は、以下の加工手順1〜17を加工装置1に実行させる実行コードを生成してもよい。例えば、以下の加工データによれば、ワークWの長さ24mmに対して工具21の移動量が3mmである。そのため、実行コード生成部M2は、工具21がX軸に沿って間欠的に−3mmずつ移動しながら、工具21がワークWを4往復することで、ワークWの表面全体の加工が行われると判断してもよい。なお、工具21の移動量は、工具21の種類に応じて予め設定されていてもよい。例えば、工具21の進退量は、工具21の幅と同程度であってもよい。   When the execution code generation unit M2 receives the following processed data, the execution code generation unit M2 may generate an execution code that causes the processing device 1 to execute the following processing procedures 1 to 17. For example, according to the following processing data, the movement amount of the tool 21 is 3 mm with respect to the length of the work W of 24 mm. Therefore, when the tool 21 intermittently moves by −3 mm along the X axis while the tool 21 reciprocates the work W 4 times, the execution code generation unit M2 processes the entire surface of the work W. You may judge. The movement amount of the tool 21 may be set in advance according to the type of the tool 21. For example, the amount of advance / retreat of the tool 21 may be approximately the same as the width of the tool 21.

<加工データの例>
ワークWの原点 :(X,Z)=(0,50)
ワークWのX軸に沿った長さ :24mm
ワークWのZ軸に沿った幅 :120mm
ワークWの高さ :30mm
切込量 :5μm
ステージ13の移動速度 :10m/min
工具21のX軸に沿った1回の移動量 :−3mm
<Example of processed data>
Workpiece W origin: (X, Z) = (0, 50)
Length of work W along X axis: 24 mm
Width of work W along Z axis: 120 mm
Work W height: 30 mm
Depth of cut: 5 μm
Moving speed of stage 13: 10 m / min
The amount of movement of the tool 21 once along the X axis: -3 mm

<加工手順>
1:工具21がワークWの原点(X,Z)=(0,50)に位置するように、ステージ13又は工具21を移動させる
2:ワークWの高さから切込量を減算した高さに工具21が位置するように、工具21を移動させる
3:ステージ13をZ軸に沿って120mm(ワークWの長さ)移動させる
4:工具21をX軸に沿って−3mm移動させる
5:ステージ13をZ軸に沿って−120mm(ワークWの長さ)移動させる
6:工具21をX軸に沿って−3mm移動させる
7:ステージ13をZ軸に沿って120mm(ワークWの長さ)移動させる
8:工具21をX軸に沿って−3mm移動させる
9:ステージ13をZ軸に沿って−120mm(ワークWの長さ)移動させる
10:工具21をX軸に沿って−3mm移動させる
11:ステージ13をZ軸に沿って120mm(ワークWの長さ)移動させる
12:工具21をX軸に沿って−3mm移動させる
13:ステージ13をZ軸に沿って−120mm(ワークWの長さ)移動させる
14:工具21をX軸に沿って−3mm移動させる
15:ステージ13をZ軸に沿って120mm(ワークWの長さ)移動させる
16:工具21をX軸に沿って−3mm移動させる
17:ステージ13をZ軸に沿って−120mm(ワークWの長さ)移動させる
<Processing procedure>
1: Move the stage 13 or the tool 21 so that the tool 21 is located at the origin (X, Z) = (0, 50) of the workpiece W 2: Height obtained by subtracting the cutting amount from the height of the workpiece W The tool 21 is moved so that the tool 21 is positioned at 3: The stage 13 is moved by 120 mm (the length of the work W) along the Z axis 4: The tool 21 is moved by -3 mm along the X axis 5: Move the stage 13 by −120 mm (length of the work W) along the Z axis 6: Move the tool 21 by −3 mm along the X axis 7: Move the stage 13 along the Z axis by 120 mm (length of the work W) ) Move 8: Move the tool 21 along the X axis by -3 mm 9: Move the stage 13 along the Z axis by -120 mm (length of the work W) 10: Move the tool 21 along the X axis by -3 mm Move 11: Station The carriage 13 is moved 120 mm (length of the work W) along the Z axis 12: The tool 21 is moved -3 mm along the X axis 13: The stage 13 is -120 mm (length of the work W) 14: move the tool 21 along the X axis by -3 mm 15: move the stage 13 along the Z axis by 120 mm (length of the work W) 16: move the tool 21 along the X axis by -3 mm Move 17: Move stage 13 along the Z-axis by -120 mm (length of work W).

加工装置1がGコードで動作する場合、上記の加工手順1〜17を実行する実行コードの例を図4に示す。   FIG. 4 shows an example of execution code for executing the above-described processing procedures 1 to 17 when the processing device 1 operates with G code.

駆動指示部M3は、実行コード生成部M2によって生成された実行コードに基づいて、ガイド機構12及び駆動機構23を駆動させる機能を有する。   The drive instruction section M3 has a function of driving the guide mechanism 12 and the drive mechanism 23 based on the execution code generated by the execution code generation section M2.

コントローラCtrのハードウェアは、例えば一つ又は複数の制御用のコンピュータにより構成されていてもよい。コントローラCtrは、ハードウェア上の構成として、例えば図5に示される回路Ctr1を含んでいてもよい。回路Ctr1は、電気回路要素(circuitry)で構成されていてもよい。回路Ctr1は、具体的には、プロセッサCtr2(制御部)と、メモリCtr3(記憶部)と、ストレージCtr4(記憶部)と、入出力ポートCtr5とを含む。プロセッサCtr2は、メモリCtr3及びストレージCtr4の少なくとも一方と協働してプログラムを実行し、入出力ポートCtr5を介した信号の入出力を実行することで、上述した各機能モジュールを構成する。入出力ポートCtr5は、プロセッサCtr2、メモリCtr3及びストレージCtr4と、加工装置1の各部(例えば、ガイド機構12、駆動機構23、カメラ30、レーザ距離計40、ディスプレイ50)との間で、信号の入出力を行う。   The hardware of the controller Ctr may be configured by, for example, one or a plurality of control computers. The controller Ctr may include, for example, a circuit Ctr1 shown in FIG. 5 as a hardware configuration. The circuit Ctr1 may be composed of electrical circuit elements. The circuit Ctr1 specifically includes a processor Ctr2 (control unit), a memory Ctr3 (storage unit), a storage Ctr4 (storage unit), and an input / output port Ctr5. The processor Ctr2 cooperates with at least one of the memory Ctr3 and the storage Ctr4 to execute a program, and executes input / output of signals via the input / output port Ctr5, thereby configuring each of the functional modules described above. The input / output port Ctr5 outputs signals between the processor Ctr2, the memory Ctr3, and the storage Ctr4 and the respective parts of the processing apparatus 1 (for example, the guide mechanism 12, the drive mechanism 23, the camera 30, the laser distance meter 40, and the display 50). Input and output.

加工装置1は、例えば、一つのコントローラCtrを備えていてもよいし、複数のコントローラCtrで構成されるコントローラ群(制御部)を備えていてもよい。加工装置1がコントローラ群を備えている場合には、上記の機能モジュールがそれぞれ、一つ又は複数のコントローラCtrによって実現されていてもよい。コントローラCtrが複数のコンピュータ(回路Ctr1)で構成されている場合には、上記の機能モジュールがそれぞれ、一つ又は複数のコンピュータ(回路Ctr1)によって実現されていてもよい。コントローラCtrが複数のプロセッサCtr2を含んでいる場合には、上記の機能モジュールがそれぞれ、一つ又は複数のプロセッサCtr2によって実現されていてもよい。   The processing device 1 may include, for example, one controller Ctr, or may include a controller group (control unit) including a plurality of controllers Ctr. When the processing device 1 includes a controller group, each of the above functional modules may be realized by one or a plurality of controllers Ctr. When the controller Ctr is composed of a plurality of computers (circuit Ctr1), each of the functional modules may be realized by one or a plurality of computers (circuit Ctr1). When the controller Ctr includes a plurality of processors Ctr2, the above functional modules may be realized by one or a plurality of processors Ctr2, respectively.

[加工方法]
次に、図6を参照して、ワークWの加工方法について説明する。まず、作業者又はロボットが少なくとも1つのワークWをステージ13に載置する(ステップS1)。次に、コントローラCtrがガイド機構12に指示して、ステージ13をガイド機構12の一端側に移動させる。この過程で、コントローラCtrがカメラ30及びレーザ距離計40に指示して、ワークW及びステージ13を撮像すると共に、ワークWの高さを測定する(ステップS2)。
[Processing method]
Next, a method of processing the work W will be described with reference to FIG. First, an operator or a robot places at least one work W on the stage 13 (step S1). Next, the controller Ctr instructs the guide mechanism 12 to move the stage 13 to one end side of the guide mechanism 12. In this process, the controller Ctr instructs the camera 30 and the laser range finder 40 to image the work W and the stage 13 and measure the height of the work W (step S2).

次に、画像処理部M1は、撮像画像に基づいて加工データ(ワークWの形状、サイズ(縦幅及び横幅)、位置、及び加工条件)を生成し、当該加工データを実行コード生成部M2に送信する(ステップS3)。また、レーザ距離計40は、測定したワークWの高さを加工データとして実行コード生成部M2に送信する(ステップS3)。   Next, the image processing unit M1 generates processing data (shape, size (vertical width and horizontal width), position, and processing condition of the work W) based on the captured image, and the processing data is sent to the execution code generating unit M2. It is transmitted (step S3). Further, the laser range finder 40 transmits the measured height of the work W as processing data to the execution code generating unit M2 (step S3).

次に、実行コード生成部M2は、加工データに基づいて実行コードを自動的に生成する(ステップS4)。次に、駆動指示部M3は、生成された実行コードに基づいてガイド機構12及び駆動機構23を駆動する。これにより、ステージ13上のワークWが工具21によって加工される(ステップS5)。   Next, the execution code generator M2 automatically generates an execution code based on the processed data (step S4). Next, the drive instructing unit M3 drives the guide mechanism 12 and the drive mechanism 23 based on the generated execution code. As a result, the work W on the stage 13 is processed by the tool 21 (step S5).

[作用]
以上の例によれば、撮像画像から得られた加工データに基づいて、ステージ13及び工具21の少なくとも一方を動作させる実行コードが自動的に生成される。また、異なる種類のワークを加工する場合でも、それぞれの種類に対応した実行コードが自動的に生成される。そのため、作業者の経験や勘に頼ることなく、自動生成された実行コードによりワークWを素早く加工できる。したがって、熟練技術者でなくても、ワークWの加工を効率的に行うことが可能となる。
[Action]
According to the above example, the execution code for operating at least one of the stage 13 and the tool 21 is automatically generated based on the processing data obtained from the captured image. Further, even when machining different kinds of works, execution codes corresponding to the respective kinds are automatically generated. Therefore, the work W can be quickly processed by the automatically generated execution code without depending on the experience and intuition of the operator. Therefore, even a non-skilled engineer can efficiently process the work W.

以上の例によれば、ワークWの表面に設けられている加工指示表示Cをカメラ30で読み取り、当該加工指示表示Cに基づいて加工データを取得している。そのため、作業者が加工条件を加工装置1に入力する必要がなくなる。したがって、ワークWの加工をより効率的に行うことが可能となる。   According to the above example, the processing instruction display C provided on the surface of the work W is read by the camera 30, and the processing data is acquired based on the processing instruction display C. Therefore, the operator does not need to input the processing conditions into the processing apparatus 1. Therefore, the work W can be processed more efficiently.

[変形例]
以上、本開示に係る実施形態について詳細に説明したが、特許請求の範囲及びその要旨を逸脱しない範囲で種々の変形を上記の実施形態に加えてもよい。
[Modification]
Although the embodiments according to the present disclosure have been described above in detail, various modifications may be added to the above embodiments without departing from the scope of the claims and the gist thereof.

(1)画像処理部M1は、カメラ30による撮像画像のデータに基づいて、少なくともステージ13上のワークWの位置を検出してもよい。そのため、ワークWの位置以外の加工データは作業者によって加工装置1に入力されてもよい。   (1) The image processing unit M1 may detect at least the position of the work W on the stage 13 based on the data of the image captured by the camera 30. Therefore, the processing data other than the position of the work W may be input to the processing apparatus 1 by the worker.

(2)加工装置1は、ワークWの高さを識別するためのカメラをさらに備えていてもよい。   (2) The processing device 1 may further include a camera for identifying the height of the work W.

(3)ステージ13上に複数のワークWが載置されている場合、コントローラCtrは、加工対象ではないワークW(非加工対象物)に工具21が干渉するか否かを判断してもよい。この場合、ステージ13に加工対象のワークWの他に加工対象でないワークWが存在していても、工具21が加工対象でないワークWに接触することが避けられる。そのため、加工対象でないワークWに対する予期しない加工を抑制することが可能となる。コントローラCtrは、干渉を検知した場合に、例えばディスプレイ50を通じて作業者に工具21と加工対象でないワークWとの間で干渉が生ずる可能性があることを報知してもよい。   (3) When a plurality of workpieces W are placed on the stage 13, the controller Ctr may determine whether or not the tool 21 interferes with the workpiece W (non-machined object) that is not the machining target. .. In this case, it is possible to prevent the tool 21 from coming into contact with the work W that is not the processing target even if there is a work W that is not the processing target other than the work W that is the processing target on the stage 13. Therefore, it is possible to suppress unexpected processing of the work W that is not the processing target. When detecting the interference, the controller Ctr may notify the operator, for example, through the display 50 that the tool 21 and the workpiece W that is not the processing target may cause the interference.

コントローラCtrによる干渉の判断は、例えば次のように行われてもよい。まず、コントローラCtrがカメラ30及びレーザ距離計40に指示して、全てのワークW及びステージ13を撮像すると共に、全てのワークWの高さを測定する。次に、コントローラCtrは、全てのワークWのサイズ及びステージ13に対する位置を、コントローラCtrによって作り出された仮想空間に再現する。次に、コントローラCtrは、当該仮想空間において加工対象のワークWに対して工具21を仮想的に移動させて、工具21が加工対象でないワークWに衝突するか否かを判断する。例えば、コントローラCtrは、工具21のソリッドモデルが、加工対象でないワークWのソリッドモデルに干渉するか否かを公知のアルゴリズムを用いて判断してもよい。   The determination of the interference by the controller Ctr may be performed as follows, for example. First, the controller Ctr instructs the camera 30 and the laser rangefinder 40 to image all the works W and the stage 13 and measure the heights of all the works W. Next, the controller Ctr reproduces the sizes of all the works W and the positions with respect to the stage 13 in the virtual space created by the controller Ctr. Next, the controller Ctr virtually moves the tool 21 with respect to the workpiece W to be processed in the virtual space, and determines whether or not the tool 21 collides with the workpiece W that is not the processing target. For example, the controller Ctr may determine whether or not the solid model of the tool 21 interferes with the solid model of the work W that is not a machining target by using a known algorithm.

(4)画像処理部M1は、カメラ30による撮像画像のデータに基づいて、ステージ13に対するワークWの姿勢を取得してもよい。コントローラCtrは、画像処理部M1が取得した姿勢に基づいて、ワークWがステージ13に対して傾いているか否かを判断してもよい。この場合、適切な姿勢のワークWに対してより適切な加工を行うことが可能となる。コントローラCtrは、姿勢の傾きを検知した場合に、例えばディスプレイ50を通じてワークWの姿勢が適切でない可能性があることを報知してもよい。   (4) The image processing unit M1 may acquire the attitude of the work W with respect to the stage 13 based on the data of the image captured by the camera 30. The controller Ctr may determine whether the work W is tilted with respect to the stage 13 based on the posture acquired by the image processing unit M1. In this case, it is possible to perform more appropriate processing on the work W having an appropriate posture. When detecting the inclination of the posture, the controller Ctr may notify that the posture of the work W may not be appropriate, for example, via the display 50.

(5)加工装置1による加工の対象となり得るワークW(サンプルワーク)の外形データをメモリCtr3又はストレージCtr4が予め記憶していてもよい。コントローラCtrは、画像処理部M1によって取得されたワークWの形状が、メモリCtr3又はストレージCtr4に記憶されている外形データに適合するか否かを判断してもよい。この場合、サンプルワークと異なる外形のワークWを識別することができる。そのため、加工対象のワークW以外の異物がステージ上に存在している場合、当該異物を除去することが可能となる。   (5) The outer shape data of the work W (sample work) that can be processed by the processing apparatus 1 may be stored in advance in the memory Ctr3 or the storage Ctr4. The controller Ctr may determine whether or not the shape of the work W acquired by the image processing unit M1 matches the outer shape data stored in the memory Ctr3 or the storage Ctr4. In this case, it is possible to identify a work W having an outer shape different from that of the sample work. Therefore, when a foreign matter other than the workpiece W to be processed exists on the stage, the foreign matter can be removed.

(6)例えば、ディスプレイ50がタッチパネル式であり、作業者がディスプレイ50をタッチすることで、ディスプレイ50に表示されているワークWの位置、形状等を指定するようにしてもよい。例えば、画像処理部M1においてワークWの位置、形状等が取得できなかった場合に、図7において破線の四角形Rで示されるように、ワークWに対応する範囲を作業者がタッチ操作により指定してもよい(範囲指定操作)。コントローラCtrは、指定された範囲の外形がワークWの外形であると見做すと共に、指定された範囲にワークWが位置していると見做して、実行コード生成部M2による実行コードの生成を行ってもよい。この場合、作業者の範囲指定操作により、ワークWのおおよその位置が得られる。そのため、撮像画像に基づく加工データの取得が困難な状況においても、ワークWの加工を効率的に行うことが可能となる。   (6) For example, the display 50 may be a touch panel type, and an operator may touch the display 50 to specify the position, shape, and the like of the work W displayed on the display 50. For example, when the position, shape, and the like of the work W cannot be acquired by the image processing unit M1, the operator specifies the range corresponding to the work W by touch operation, as indicated by a dashed rectangle R in FIG. May be (range specification operation). The controller Ctr considers that the outer shape of the specified range is the outer shape of the work W, and also considers that the work W is located in the specified range, so that the execution code of the execution code generation unit M2 You may generate. In this case, the approximate position of the work W can be obtained by the operator's range designation operation. Therefore, even in a situation where it is difficult to acquire the processed data based on the captured image, the work W can be efficiently processed.

(7)ステージ13が往復移動する間に、ワークWが工具21に接触してワークWの加工が行われてもよいし、ステージ13が往復移動するうちの片道分のみワークWが工具21に接触してワークWの加工が行われてもよい。   (7) While the stage 13 reciprocates, the work W may come into contact with the tool 21 to process the work W, or only one way of the reciprocating movement of the stage 13 causes the work W to move to the tool 21. The work W may be processed in contact with each other.

(8)ワークWの形状は、特に限定されない。すなわち、ワークWの形状は、直方体形状、円柱状、多角柱状、環状、筒状、歯車状などであってもよい。加工装置1は、ワークWの形状及び加工目的に応じて、工具21(砥石)により、円筒研削、内面研削、心なし研削、ねじ研削、歯車研削、ならい研削、及び切断を行ってもよい。   (8) The shape of the work W is not particularly limited. That is, the shape of the work W may be a rectangular parallelepiped shape, a cylindrical shape, a polygonal pillar shape, an annular shape, a cylindrical shape, a gear shape, or the like. The processing apparatus 1 may perform cylindrical grinding, inner surface grinding, centerless grinding, screw grinding, gear grinding, profile grinding, and cutting with the tool 21 (grinding stone) depending on the shape of the work W and the purpose of processing.

(9)加工装置1は、工具21をワークWに接触してワークWを加工する加工装置であれば、どのような加工を行う装置であってもよい。例えば、加工装置1は、研削装置であってもよいし、切削装置であってもよいし、研磨装置であってもよい。加工装置1が切削装置である場合、工具21は切削工具(例えば、バイト、フライス工具など)であってもよい。加工装置1が研磨装置である場合、工具21はワークWに対して定圧で押し付けられる遊離砥粒又は固定砥粒であってもよい。   (9) The processing device 1 may be any device that processes the work W by bringing the tool 21 into contact with the work W. For example, the processing device 1 may be a grinding device, a cutting device, or a polishing device. When the processing device 1 is a cutting device, the tool 21 may be a cutting tool (for example, a cutting tool, a milling tool, etc.). When the processing device 1 is a polishing device, the tool 21 may be free abrasive grains or fixed abrasive grains that are pressed against the work W at a constant pressure.

[他の例]
例1.本開示の一つの例に係る加工装置(1)は、ワーク(W)を載置可能に構成されたステージ(13)と、ステージ(13)に対して相対移動可能に構成された工具(21)と、ステージ(13)上に載置されているワーク(W)を撮像可能に構成された撮像装置(30)と、制御部(Ctr)とを備える。制御部(Ctr)は、ステージ(13)に載置されているワーク(W)を撮像装置(30)によって撮像し、撮像画像を取得する処理と、加工データを取得する処理と、加工データに基づいて、ステージ(13)及び工具(21)の少なくとも一方を動作させる実行コードを自動的に生成する処理と、実行コードに基づいて、ステージ(13)及び工具(21)の少なくとも一方を動作させる処理とを実行する。加工データを取得する処理は、撮像画像に基づいて、ステージ(13)に対するワーク(W)の位置を加工データとして取得することを含む。この場合、撮像画像から得られた加工データに基づいて、ステージ及び工具の少なくとも一方を動作させる実行コードが自動的に生成される。また、異なる種類のワークを加工する場合でも、それぞれの種類に対応した実行コードが自動的に生成される。そのため、作業者の経験や勘に頼ることなく、自動生成された実行コードによりワークを素早く加工できる。したがって、熟練技術者でなくても、ワークの加工を効率的に行うことが可能となる。
[Other examples]
Example 1. A processing apparatus (1) according to an example of the present disclosure includes a stage (13) configured to mount a work (W) and a tool (21 configured to be movable relative to the stage (13). ), An imaging device (30) configured to be able to image the work (W) placed on the stage (13), and a control unit (Ctr). The control unit (Ctr) captures an image of the work (W) placed on the stage (13) by the image capturing device (30), acquires a captured image, acquires processing data, and processes the processed data. Based on the processing, a process of automatically generating an execution code for operating at least one of the stage (13) and the tool (21) and operating at least one of the stage (13) and the tool (21) based on the execution code Perform processing and. The process of acquiring the processed data includes acquiring the position of the workpiece (W) with respect to the stage (13) as the processed data based on the captured image. In this case, the execution code for operating at least one of the stage and the tool is automatically generated based on the processing data obtained from the captured image. Further, even when machining different kinds of works, execution codes corresponding to the respective kinds are automatically generated. Therefore, the work can be quickly processed by the automatically generated execution code without depending on the experience and intuition of the worker. Therefore, even a non-skilled engineer can efficiently process the work.

例2.例1の装置(1)は、ステージ(13)上に載置されているワーク(W)及び非加工対象物の高さを測定するように構成された測定機(40)をさらに備え、撮像画像を取得する処理は、ステージ(13)に載置されているワーク(W)及び非加工対象物を撮像装置(30)によって撮像し、撮像画像を取得することを含み、加工データは、ステージ(13)に対するワーク(W)及び非加工対象物の位置と、ワーク(W)及び非加工対象物の高さとを含み、制御部(Ctr)は、実行コードに基づいてステージ(13)及び工具(21)の少なくとも一方が動作した場合に、ステージ(13)上の非加工対象物に対して工具(21)が干渉するか否かを加工データに基づいて判断する処理をさらに実行してもよい。この場合、ステージに加工対象のワークの他に非加工対象物(例えば、既に加工済みの他のワーク、加工予定の他のワークなど)が存在していても、工具が非加工対象物に接触することが避けられる。そのため、非加工対象物の予期しない加工を抑制することが可能となる。   Example 2. The apparatus (1) of Example 1 further comprises a measuring machine (40) configured to measure the height of the workpiece (W) placed on the stage (13) and the non-processed object, and the imaging device The process of acquiring an image includes capturing an image of a workpiece (W) placed on the stage (13) and a non-processing target object by the image capturing device (30), and acquiring the captured image. The position of the work (W) and the non-machining target with respect to (13) and the height of the work (W) and the non-machining target are included, and the control unit (Ctr) includes the stage (13) and the tool based on the execution code. If at least one of (21) is operated, the process of determining whether the tool (21) interferes with the non-machined object on the stage (13) based on the machining data is further executed. Good. In this case, the tool contacts the non-machined object even if there is a non-machined object (for example, another work that has already been machined, another work that is scheduled to be machined, etc.) in addition to the work to be machined You can avoid doing it. Therefore, it becomes possible to suppress the unexpected processing of the non-processed object.

例3.例1又は例2の装置(1)において、ワーク(W)の表面には、当該ワーク(W)の加工のために用いられる加工指示表示(C)が設けられており、加工データを取得する処理は、撮像画像に含まれる加工指示表示(C)に基づいて、ワーク(W)に対する加工条件を加工データとして取得することを含んでいてもよい。この場合、ワークの表面に加工指示表示(例えば、文字、数字、記号、又はこれらの情報を保持する識別コードなど)を予め設けておくことで、作業者が加工条件を加工装置に入力する必要がなくなる。そのため、ワークの加工をより効率的に行うことが可能となる。   Example 3. In the apparatus (1) of Example 1 or Example 2, the surface of the work (W) is provided with a processing instruction display (C) used for processing the work (W), and acquires the processing data. The processing may include acquiring processing conditions for the workpiece (W) as processing data based on the processing instruction display (C) included in the captured image. In this case, it is necessary for the operator to input the processing conditions to the processing device by previously providing a processing instruction display (for example, letters, numbers, symbols, or an identification code holding these information) on the surface of the work. Disappears. Therefore, the work can be processed more efficiently.

例4.例1〜例3のいずれかの装置(1)において、制御部(Ctr)は、撮像画像に基づいてワーク(W)の姿勢を取得し、当該姿勢がステージ(13)に対して傾いているか否かを判断する処理をさらに実行してもよい。この場合、適切な姿勢のワークWに対してより適切な加工を行うことが可能となる。   Example 4. In the device (1) according to any one of Examples 1 to 3, the control unit (Ctr) acquires the attitude of the work (W) based on the captured image, and whether the attitude is inclined with respect to the stage (13). You may further perform the process which determines whether or not. In this case, it is possible to perform more appropriate processing on the work W having an appropriate posture.

例5.例1〜例4のいずれかの装置(1)は、サンプルワークの外形データが予め記憶された記憶部(Ctr3,Ctr4)をさらに備え、制御部(Ctr)は、撮像画像に基づいてワーク(W)の外形を取得し、当該外形が外形データに適合しているか否かを判断する処理をさらに実行してもよい。この場合、サンプルワークと異なる外形のワークを識別することができる。そのため、加工対象のワーク以外の異物がステージ上に存在している場合、当該異物を除去することが可能となる。   Example 5. The device (1) according to any one of Examples 1 to 4 further includes storage units (Ctr3, Ctr4) in which outer shape data of the sample work is stored in advance, and the control unit (Ctr) uses the work ( The process of acquiring the outer shape of W) and determining whether or not the outer shape conforms to the outer shape data may be further executed. In this case, it is possible to identify a work having an outer shape different from that of the sample work. Therefore, when a foreign substance other than the work to be processed is present on the stage, the foreign substance can be removed.

例6.例1〜例5のいずれかの装置(1)は、撮像画像を表示するように構成された表示装置(50)と、表示装置(50)に表示された撮像画像のうちの所定の範囲を指定する範囲指定操作を作業者から入力可能に構成された入力装置(50)とをさらに備え、加工データを取得する処理は、範囲指定操作により指定された範囲を、ステージ(13)に対するワーク(W)の位置として取得することを含んでいてもよい。この場合、作業者の範囲指定操作により、ワークのおおよその位置が得られる。そのため、撮像画像に基づく加工データの取得が困難な状況においても、ワークの加工を効率的に行うことが可能となる。   Example 6. The device (1) according to any one of Examples 1 to 5 includes a display device (50) configured to display a captured image and a predetermined range of the captured image displayed on the display device (50). An input device (50) configured to be able to input a range designation operation to be designated by an operator is further provided, and in the process of acquiring the processing data, the range designated by the range designation operation is set to the work ( W) may be included as the position. In this case, the approximate position of the work can be obtained by the range designation operation by the operator. Therefore, even in a situation where it is difficult to acquire the processed data based on the captured image, the work can be efficiently processed.

例7.例1〜例6のいずれかの装置(1)において、ステージ(13)はマグネットチャックであってもよい。   Example 7. In the device (1) according to any one of Examples 1 to 6, the stage (13) may be a magnet chuck.

例8.本開示の他の例に係る加工方法は、ステージに載置されているワークを撮像して撮像画像を取得することと、ステージと、ワークを加工するように構成された工具との少なくとも一方を動作させる実行コードを、加工データに基づいて自動的に生成することであって、加工データは、撮像画像に基づいて、ステージに対するワークの位置を含むことと、実行コードに基づいて、ステージ及び工具の少なくとも一方を動作させることとを含む。この場合、例1と同様の効果が得られる。   Example 8. A processing method according to another example of the present disclosure includes capturing at least one of a stage and a tool configured to process a workpiece by capturing a captured image by capturing an image of the workpiece placed on the stage. A method for automatically generating an execution code to be operated based on machining data, the machining data including a position of a work piece with respect to a stage based on a captured image, and a stage and a tool based on the execution code. Of operating at least one of the above. In this case, the same effect as in Example 1 is obtained.

例9.本開示の他の例に係る加工方法は、ステージに載置されているワーク及び非加工対象物を撮像して撮像画像を取得することと、ステージ上に載置されているワーク及び非加工対象物の高さを測定することと、ステージと、ワークを加工するように構成された工具との少なくとも一方を動作させる実行コードを、加工データに基づいて自動的に生成することであって、加工データは、撮像画像に基づいて、ステージに対するワーク及び非加工対象物の位置と、ワーク及び非加工対象物の高さとを含むことと、実行コードに基づいてステージ及び工具の少なくとも一方が動作した場合に、ステージ上の非加工対象物に対して工具が干渉するか否かを加工データに基づいて判断すること、工具が非加工対象物に干渉しないと判断された場合に、実行コードに基づいて、ステージ及び工具の少なくとも一方を動作させることとを含む。この場合、例2と同様の効果が得られる。   Example 9. A processing method according to another example of the present disclosure includes capturing a captured image by capturing an image of a work and a non-processing target placed on a stage, and a work and a non-processing target mounted on the stage. Measuring the height of an object and automatically generating an execution code for operating at least one of a stage and a tool configured to machine a workpiece based on the machining data. The data includes the position of the workpiece and the non-machined object with respect to the stage based on the captured image, and the height of the workpiece and the non-machined object, and at least one of the stage and the tool operates based on the execution code. In addition, it is determined whether the tool interferes with the non-machined object on the stage based on the machining data. It is executed when it is determined that the tool does not interfere with the non-machined object. Based on over de, and a to operate at least one of the stage and the tool. In this case, the same effect as in Example 2 is obtained.

1…加工装置、10…ベースユニット、13…ステージ、20…加工ユニット、21…工具、30…カメラ(撮像装置)、40…レーザ距離計(測定機)、50…ディスプレイ(表示装置;入力装置)、C…加工指示表示、Ctr…コントローラ(制御部)、Ctr2…プロセッサ(制御部)、Ctr3…メモリ(記憶部)、Ctr4…ストレージ(記憶部)、W…ワーク。   DESCRIPTION OF SYMBOLS 1 ... Processing device, 10 ... Base unit, 13 ... Stage, 20 ... Processing unit, 21 ... Tool, 30 ... Camera (imaging device), 40 ... Laser range finder (measuring machine), 50 ... Display (display device; Input device) ), C ... Machining instruction display, Ctr ... Controller (control unit), Ctr2 ... Processor (control unit), Ctr3 ... Memory (storage unit), Ctr4 ... Storage (storage unit), W ... Work.

Claims (9)

ワークを載置可能に構成されたステージと、
前記ステージに対して相対移動可能に構成された工具と、
前記ステージ上に載置されている前記ワークを撮像可能に構成された撮像装置と、
制御部とを備え、
前記制御部は、
前記ステージに載置されている前記ワークを前記撮像装置によって撮像し、撮像画像を取得する処理と、
加工データを取得する処理と、
前記加工データに基づいて、前記ステージ及び前記工具の少なくとも一方を動作させる実行コードを自動的に生成する処理と、
前記実行コードに基づいて、前記ステージ及び前記工具の少なくとも一方を動作させる処理とを実行し、
前記加工データを取得する処理は、前記撮像画像に基づいて、前記ステージに対する前記ワークの位置を前記加工データとして取得することを含む、加工装置。
A stage configured to be able to place a work,
A tool configured to be movable relative to the stage,
An imaging device configured to be able to image the work placed on the stage,
And a control unit,
The control unit is
A process of capturing an image by capturing an image of the work placed on the stage by the image capturing device;
The process of acquiring the processed data,
A process of automatically generating an execution code for operating at least one of the stage and the tool based on the processing data;
Executing a process of operating at least one of the stage and the tool based on the execution code,
The processing apparatus which acquires the processing data includes acquiring the position of the workpiece with respect to the stage as the processing data based on the captured image.
前記ステージ上に載置されている前記ワーク及び非加工対象物の高さを測定するように構成された測定機をさらに備え、
前記撮像画像を取得する処理は、前記ステージに載置されている前記ワーク及び前記非加工対象物を前記撮像装置によって撮像し、撮像画像を取得することを含み、
前記加工データは、前記ステージに対する前記ワーク及び前記非加工対象物の位置と、前記ワーク及び前記非加工対象物の高さとを含み、
前記制御部は、前記実行コードに基づいて前記ステージ及び前記工具の少なくとも一方が動作した場合に、前記ステージ上の非加工対象物に対して前記工具が干渉するか否かを前記加工データに基づいて判断する処理をさらに実行する、請求項1に記載の装置。
Further comprising a measuring machine configured to measure the height of the workpiece and the non-processed object placed on the stage,
The process of acquiring the captured image includes capturing the work and the non-processed object placed on the stage by the imaging device, and acquiring the captured image,
The processing data includes the position of the work and the non-processing object with respect to the stage, and the height of the work and the non-processing object,
Based on the processing data, the control unit determines whether the tool interferes with a non-processing object on the stage when at least one of the stage and the tool operates based on the execution code. The apparatus according to claim 1, further performing a determination process.
前記ワークの表面には、当該ワークの加工のために用いられる加工指示表示が設けられており、
前記加工データを取得する処理は、前記撮像画像に含まれる前記加工指示表示に基づいて、前記ワークに対する加工条件を前記加工データとして取得することを含む、請求項1又は2に記載の装置。
The surface of the work is provided with a processing instruction display used for processing the work,
The apparatus according to claim 1, wherein the process of acquiring the processing data includes acquiring a processing condition for the workpiece as the processing data based on the processing instruction display included in the captured image.
前記制御部は、前記撮像画像に基づいて前記ワークの姿勢を取得し、当該姿勢が前記ステージに対して傾いているか否かを判断する処理をさらに実行する、請求項1〜3のいずれか一項に記載の装置。   4. The control unit according to claim 1, further comprising a process of acquiring the posture of the work based on the captured image and determining whether the posture is tilted with respect to the stage. The apparatus according to paragraph. サンプルワークの外形データが予め記憶された記憶部をさらに備え、
前記制御部は、前記撮像画像に基づいて前記ワークの外形を取得し、当該外形が前記外形データに適合しているか否かを判断する処理をさらに実行する、請求項1〜4のいずれか一項に記載の装置。
Further comprising a storage unit in which the outer shape data of the sample work is stored in advance,
The control unit further acquires a contour of the workpiece based on the captured image, and further executes a process of determining whether or not the contour conforms to the contour data. The apparatus according to paragraph.
前記撮像画像を表示するように構成された表示装置と、
前記表示装置に表示された前記撮像画像のうちの所定の範囲を指定する範囲指定操作を作業者から入力可能に構成された入力装置とをさらに備え、
前記加工データを取得する処理は、前記範囲指定操作により指定された範囲を、前記ステージに対する前記ワークの位置として取得することを含む、請求項1〜5のいずれか一項に記載の装置。
A display device configured to display the captured image,
An input device configured to allow a worker to input a range designation operation for designating a predetermined range of the captured image displayed on the display device,
The apparatus according to any one of claims 1 to 5, wherein the process of acquiring the processing data includes acquiring a range designated by the range designation operation as a position of the work with respect to the stage.
前記ステージはマグネットチャックである、請求項1〜6のいずれか一項に記載の装置。   The apparatus according to claim 1, wherein the stage is a magnet chuck. ステージに載置されているワークを撮像して撮像画像を取得することと、
前記ステージと、前記ワークを加工するように構成された工具との少なくとも一方を動作させる実行コードを、加工データに基づいて自動的に生成することであって、前記加工データは、前記撮像画像に基づいて、前記ステージに対する前記ワークの位置を含むことと、
前記実行コードに基づいて、前記ステージ及び前記工具の少なくとも一方を動作させることとを含む、加工方法。
Capturing the captured image by capturing an image of the work placed on the stage,
Execution code for operating at least one of the stage and a tool configured to process the workpiece is automatically generated based on the processing data, and the processing data is the captured image. Based on the position of the workpiece with respect to the stage,
Operating at least one of the stage and the tool based on the execution code.
ステージに載置されているワーク及び非加工対象物を撮像して撮像画像を取得することと、
前記ステージ上に載置されている前記ワーク及び前記非加工対象物の高さを測定することと、
前記ステージと、前記ワークを加工するように構成された工具との少なくとも一方を動作させる実行コードを、加工データに基づいて自動的に生成することであって、前記加工データは、前記撮像画像に基づいて、前記ステージに対する前記ワーク及び前記非加工対象物の位置と、前記ワーク及び前記非加工対象物の高さとを含むことと、
前記実行コードに基づいて前記ステージ及び前記工具の少なくとも一方が動作した場合に、前記ステージ上の前記非加工対象物に対して前記工具が干渉するか否かを前記加工データに基づいて判断すること、
前記工具が前記非加工対象物に干渉しないと判断された場合に、前記実行コードに基づいて、前記ステージ及び前記工具の少なくとも一方を動作させることとを含む、加工方法。
Capturing a picked-up image by picking up an image of the workpiece and the non-processed object placed on the stage,
Measuring the height of the work and the non-processed object placed on the stage;
Execution code for operating at least one of the stage and a tool configured to process the workpiece is automatically generated based on the processing data, and the processing data is the captured image. Based on the position of the work and the non-processed object with respect to the stage, and the height of the work and the non-processed object,
When at least one of the stage and the tool operates based on the execution code, it is determined based on the machining data whether the tool interferes with the non-machined object on the stage. ,
A machining method comprising: operating at least one of the stage and the tool based on the execution code when it is determined that the tool does not interfere with the non-machining object.
JP2018205741A 2018-10-31 2018-10-31 Processing device and processing method Pending JP2020071703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018205741A JP2020071703A (en) 2018-10-31 2018-10-31 Processing device and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018205741A JP2020071703A (en) 2018-10-31 2018-10-31 Processing device and processing method

Publications (1)

Publication Number Publication Date
JP2020071703A true JP2020071703A (en) 2020-05-07

Family

ID=70549577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018205741A Pending JP2020071703A (en) 2018-10-31 2018-10-31 Processing device and processing method

Country Status (1)

Country Link
JP (1) JP2020071703A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813048A (en) * 2020-06-30 2020-10-23 中国航发动力股份有限公司 Function integration numerical control program generation method, system, device and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813048A (en) * 2020-06-30 2020-10-23 中国航发动力股份有限公司 Function integration numerical control program generation method, system, device and readable storage medium
CN111813048B (en) * 2020-06-30 2022-04-26 中国航发动力股份有限公司 Function integration numerical control program generation method, system, device and readable storage medium

Similar Documents

Publication Publication Date Title
CN108176897B (en) Burr removing device
US7218995B2 (en) Device and method for workpiece calibration
US8310539B2 (en) Calibration method and calibration device
CN108732994B (en) Control system for machine tool
JP5507294B2 (en) Grinding machine with distance measuring function
KR102186214B1 (en) Center detection method for wafer in processing equipment
US20210291404A1 (en) Edge alignment method
CN107891369B (en) Cutting device
JP2020071703A (en) Processing device and processing method
JP6422355B2 (en) Alignment method
JP2010082749A (en) Finishing method and device for workpiece
JP6427332B2 (en) Image measuring machine
JP2012213814A (en) Automatic drill tip processing machine
CN114446813A (en) Notch detection method
KR20220133780A (en) Processing apparatus
JP5602548B2 (en) Machining position detection method
CN114728389B (en) Information processing apparatus and information processing system
JP7368177B2 (en) How to detect the street position of the workpiece
US20230115824A1 (en) Processing apparatus
JP2022081254A (en) Processing device
JP2009175961A (en) Interference confirmation device
JP2024087252A (en) Processing device and registration method
CN115116895A (en) Processing device
JP2022016155A (en) Processing device
JP2017003389A (en) Cutter position measurement method and cutter position measurement device