JP2024065176A - Machining program correction method and information processing program - Google Patents

Machining program correction method and information processing program Download PDF

Info

Publication number
JP2024065176A
JP2024065176A JP2022173918A JP2022173918A JP2024065176A JP 2024065176 A JP2024065176 A JP 2024065176A JP 2022173918 A JP2022173918 A JP 2022173918A JP 2022173918 A JP2022173918 A JP 2022173918A JP 2024065176 A JP2024065176 A JP 2024065176A
Authority
JP
Japan
Prior art keywords
machining
shape
information
machining program
tool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2022173918A
Other languages
Japanese (ja)
Other versions
JP7286860B1 (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.)
DMG Mori Co Ltd
Original Assignee
DMG Mori 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 DMG Mori Co Ltd filed Critical DMG Mori Co Ltd
Priority to JP2022173918A priority Critical patent/JP7286860B1/en
Application granted granted Critical
Publication of JP7286860B1 publication Critical patent/JP7286860B1/en
Publication of JP2024065176A publication Critical patent/JP2024065176A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)

Abstract

【課題】工作機械における上記に起因する加工品質の低下を抑制する。【解決手段】加工プログラムの補正方法は、目標形状を示す目標形状情報を取得するステップと、ワークを加工する際の工具経路を含む加工情報を取得するステップと、目標形状情報と加工情報に基づいて加工プログラムを生成するステップと、加工プログラムを実行して加工された加工物の形状を計測し、加工物の計測形状を示す計測形状情報を取得するステップと、計測形状情報と目標形状情報との差分である形状誤差に基づき、加工プログラムを補正するステップと、を備える。【選択図】図8[Problem] To suppress the deterioration of machining quality caused by the above in a machine tool. [Solution] A method for correcting a machining program includes the steps of acquiring target shape information indicating a target shape, acquiring machining information including a tool path for machining a workpiece, generating a machining program based on the target shape information and the machining information, measuring the shape of the machined workpiece by executing the machining program and acquiring measured shape information indicating the measured shape of the workpiece, and correcting the machining program based on a shape error that is the difference between the measured shape information and the target shape information. [Selected Figure] Figure 8

Description

本発明は、工作機械で用いられる加工プログラムを補正する情報処理に関する。 The present invention relates to information processing that corrects machining programs used in machine tools.

工作機械として、例えば直交する3つの直線軸(X軸,Y軸,Z軸)と2つの回転軸(B軸,C軸)を有する5軸加工機が知られている。B軸の回転が主軸を傾動させ、C軸の回転がワークを回転させる。このような工作機械は、数値制御装置が加工プログラム(NCプログラム)を実行することで5軸を制御し、工具の先端点位置および姿勢を変化させながらワークを所望形状に加工する。加工プログラムが実行されると、この先端点位置が制御指令として出力されるため、以下ではこの先端点を「指令点」ともいう。 A known example of a machine tool is a five-axis machining center with three orthogonal linear axes (X-axis, Y-axis, Z-axis) and two rotational axes (B-axis, C-axis). Rotation of the B-axis tilts the main spindle, and rotation of the C-axis rotates the workpiece. In such a machine tool, a numerical control device executes a machining program (NC program) to control the five axes, and the workpiece is machined into the desired shape while changing the tip point position and attitude of the tool. When the machining program is executed, this tip point position is output as a control command, so below this tip point is also referred to as the "command point".

加工プログラムは、コンピュータ支援設計(CAD)およびコンピュータ支援製造(CAM)を経て得られる工具位置データ(Cutter Location Data:以下「CLデータ」という)に基づいて生成される。すなわち、CAD/CAM装置はCADデータに基づき、工具経路と工具姿勢を含むCLデータを生成する。指令点をつなぐ経路が「工具経路」となる。ポストプロセッサは、そのCLデータに基づいて加工プログラムを生成する。 Machining programs are generated based on cutter location data (hereafter referred to as "CL data") obtained through computer-aided design (CAD) and computer-aided manufacturing (CAM). That is, the CAD/CAM device generates CL data, including the tool path and tool attitude, based on the CAD data. The path connecting the command points becomes the "tool path." The post-processor generates the machining program based on that CL data.

特開2019-70953号公報JP 2019-70953 A

ところで、このように生成された加工プログラムを実行して加工を行っても、工具の摩耗など種々の要因により、CADで作成した目標形状と実際に加工された形状(「実形状」ともいう)との間に誤差が生じ、加工品質が低下する可能性がある。 However, even if a machining program generated in this way is executed to perform machining, various factors such as tool wear can cause errors between the target shape created by CAD and the actually machined shape (also called the "actual shape"), which can result in reduced machining quality.

本発明のある態様は加工プログラムの補正方法である。この補正方法は、目標形状を示す目標形状情報を取得するステップと、ワークを加工する際の工具経路を含む加工情報を取得するステップと、目標形状情報と加工情報に基づいて加工プログラムを生成するステップと、加工プログラムを実行して加工された加工物の形状を計測し、加工物の計測形状を示す計測形状情報を取得するステップと、計測形状情報と目標形状情報との差分である形状誤差に基づき、加工プログラムを補正するステップと、を備える。 One aspect of the present invention is a method for correcting a machining program. This correction method includes the steps of acquiring target shape information indicating a target shape, acquiring machining information including a tool path for machining a workpiece, generating a machining program based on the target shape information and the machining information, executing the machining program to measure the shape of the machined workpiece and acquiring measured shape information indicating the measured shape of the workpiece, and correcting the machining program based on a shape error that is the difference between the measured shape information and the target shape information.

本発明の別の態様は、ワークを目標形状に加工するための加工プログラムを補正する情報処理プログラムである。この情報処理プログラムは、目標形状を示す目標形状情報を取得する機能と、ワークを加工する際の工具経路を含む加工情報を取得する機能と、目標形状情報と加工情報に基づいて加工プログラムを生成する機能と、加工プログラムを実行して加工された加工物の形状を計測し、加工物の計測形状を示す計測形状情報を取得する機能と、計測形状情報と目標形状情報との差分である形状誤差に基づき、加工プログラムを補正する機能と、を備える。 Another aspect of the present invention is an information processing program that corrects a machining program for machining a workpiece into a target shape. This information processing program has a function of acquiring target shape information indicating the target shape, a function of acquiring machining information including a tool path for machining the workpiece, a function of generating a machining program based on the target shape information and the machining information, a function of executing the machining program to measure the shape of the machined workpiece and acquiring measured shape information indicating the measured shape of the workpiece, and a function of correcting the machining program based on a shape error that is the difference between the measured shape information and the target shape information.

本発明によれば、工作機械における上記に起因する加工品質の低下を抑制可能である。 The present invention makes it possible to suppress the deterioration of machining quality caused by the above in machine tools.

実施形態に係る工作機械の概略構成を表す模式図である。1 is a schematic diagram showing a general configuration of a machine tool according to an embodiment; 工作機械のハードウェア構成図である。FIG. 2 is a hardware configuration diagram of a machine tool. 情報処理装置の機能ブロック図である。FIG. 2 is a functional block diagram of an information processing device. 加工プログラムの補正方法を模式的に表す図である。FIG. 10 is a diagram illustrating a method for correcting a machining program. 加工プログラムの補正方法を模式的に表す図である。FIG. 10 is a diagram illustrating a method for correcting a machining program. 加工プログラムの補正方法を模式的に表す図である。FIG. 10 is a diagram illustrating a method for correcting a machining program. 加工プログラムの補正方法を模式的に表す図である。FIG. 10 is a diagram illustrating a method for correcting a machining program. 加工プログラム生成処理を表すフローチャートである。11 is a flowchart showing a machining program generation process. 図8のS20の指令点補正処理を表すフローチャートである。9 is a flowchart showing a command point correction process in S20 of FIG. 8;

以下、図面を参照しつつ、本発明の一実施形態について説明する。
図1は、実施形態に係る工作機械の概略構成を表す模式図である。なおここでは、工作機械1を正面からみて左右方向,前後方向,上下方向を、それぞれX軸方向,Y軸方向,Z軸方向とする。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
1 is a schematic diagram showing a general configuration of a machine tool according to an embodiment of the present invention, in which the left-right direction, the front-rear direction, and the up-down direction when looking at the machine tool 1 from the front are defined as the X-axis, the Y-axis, and the Z-axis directions, respectively.

工作機械1は、5軸制御マシニングセンタであり、直交する3つの直線軸(X軸,Y軸,Z軸)と、2つの回転軸(B軸,C軸)を有する加工装置2を備える。これら5軸が、後述の数値制御装置により同時制御されることにより工具を指令点に沿って移動させ、また工具姿勢を変化させながら各種加工が実行される。 The machine tool 1 is a five-axis controlled machining center, and is equipped with a processing device 2 having three orthogonal linear axes (X-axis, Y-axis, Z-axis) and two rotational axes (B-axis, C-axis). These five axes are simultaneously controlled by a numerical control device (described later) to move the tool along a command point and perform various types of processing while changing the tool posture.

加工装置2は、主軸10を支持する主軸頭12と、ワークWを支持するテーブル14を備える。主軸頭12がB軸を有し、そのB軸を中心に主軸10を回動可能(傾動可能)に支持する。主軸10は、工具Tを同軸状に支持する。工具Tは、例えばエンドミル等である。主軸頭12には、主軸10を軸線周りに回転駆動するためのスピンドルモータと、B軸を中心に主軸10を回動させるためのサーボモータが設けられている。主軸の回動により工具TのZ軸方向に対する傾斜角度が変化する。 The machining device 2 includes a spindle head 12 that supports the spindle 10, and a table 14 that supports the workpiece W. The spindle head 12 has a B-axis and supports the spindle 10 so that it can rotate (tilt) around the B-axis. The spindle 10 coaxially supports a tool T. The tool T is, for example, an end mill. The spindle head 12 is provided with a spindle motor for driving the spindle 10 to rotate around its axis, and a servo motor for rotating the spindle 10 around the B-axis. The tilt angle of the tool T with respect to the Z-axis direction changes as the spindle rotates.

主軸10の回動により、ワークWに対する工具Tの傾斜角度が変化する。主軸頭12は、また、複数のサーボモータによりそれぞれ3軸方向に駆動される。主軸10は、主軸頭12が駆動されることによりX軸、Y軸およびZ軸方向に移動自在である。 The rotation of the spindle 10 changes the inclination angle of the tool T relative to the workpiece W. The spindle head 12 is also driven in three axial directions by multiple servo motors. The spindle 10 can be moved freely in the X-axis, Y-axis, and Z-axis directions by driving the spindle head 12.

テーブル14には、図示略の治具を介してワークWが固定される。テーブル14の軸線に沿ってC軸が設けられる。テーブル14は、図示しないサーボモータによりC軸を中心に回転駆動される。すなわち、以上の構成により、ワークWと工具Tとの相対位置を三次元的に調整できる。 The workpiece W is fixed to the table 14 via a jig (not shown). A C-axis is provided along the axis of the table 14. The table 14 is driven to rotate about the C-axis by a servo motor (not shown). In other words, with the above configuration, the relative positions of the workpiece W and the tool T can be adjusted three-dimensionally.

図2は、工作機械1のハードウェア構成図である。
工作機械1は、操作制御装置50、数値制御装置52、加工装置2、工具交換部54、工具格納部56および形状計測部58を含む。数値制御装置52は、手動又は自動で生成された加工プログラム(NCプログラム)にしたがって加工装置2に制御信号を送信する。加工装置2は、数値制御装置52からの指示にしたがって主軸10およびテーブル14を駆動してワークWを加工する。
FIG. 2 is a diagram showing the hardware configuration of the machine tool 1.
The machine tool 1 includes an operation control device 50, a numerical control device 52, a machining device 2, a tool exchange unit 54, a tool storage unit 56, and a shape measurement unit 58. The numerical control device 52 transmits control signals to the machining device 2 in accordance with a machining program (NC program) that is manually or automatically generated. The machining device 2 drives the spindle 10 and the table 14 in accordance with instructions from the numerical control device 52 to machine a workpiece W.

操作制御装置50は、オペレータにユーザインタフェース機能を提供する操作盤を含む。オペレータは操作制御装置50を介して数値制御装置52を制御する。工具格納部56は工具を格納する。工具交換部54は、いわゆるATC(Automatic Tool Changer)に対応する。工具交換部54は、数値制御装置52からの交換指示にしたがって、工具格納部56から工具を取り出し、主軸10にある工具と取り出した工具を交換する。 The operation control device 50 includes an operation panel that provides a user interface function to the operator. The operator controls the numerical control device 52 via the operation control device 50. The tool storage unit 56 stores tools. The tool changer 54 corresponds to a so-called ATC (Automatic Tool Changer). The tool changer 54 takes out a tool from the tool storage unit 56 in accordance with a change instruction from the numerical control device 52, and exchanges the taken-out tool for the tool in the spindle 10.

数値制御装置52には情報処理装置100が接続される。情報処理装置100は、図示略のCAD/CAM装置から取得したCLデータに基づいて加工プログラムを生成し、数値制御装置52へ出力する。数値制御装置52は、その加工プログラムを実行して加工装置2を制御する。情報処理装置100は、操作制御装置50の一部として構成されてもよい。情報処理装置100は、一般的なラップトップPC(Personal Computer)あるいはタブレット・コンピュータであってもよい。 An information processing device 100 is connected to the numerical control device 52. The information processing device 100 generates a machining program based on CL data acquired from a CAD/CAM device (not shown) and outputs it to the numerical control device 52. The numerical control device 52 executes the machining program to control the machining device 2. The information processing device 100 may be configured as a part of the operation control device 50. The information processing device 100 may be a general laptop PC (Personal Computer) or a tablet computer.

形状計測部58は、加工装置2によるワークWの加工により得られた加工物の形状を計測する。形状計測部58は、カメラ等の撮像装置、レーザ変位計、タッチプローブ等によりワークWの外形状を検出可能な装置であるが、形状検出そのものは公知の技術を採用できるため、その詳細な説明については省略する。形状計測部58は、情報処理装置100の指令に基づいて加工物の形状を検出し、その検出情報を出力する。 The shape measuring unit 58 measures the shape of the workpiece obtained by processing the workpiece W by the processing device 2. The shape measuring unit 58 is a device capable of detecting the external shape of the workpiece W using an imaging device such as a camera, a laser displacement meter, a touch probe, etc., but as the shape detection itself can employ known technology, a detailed description thereof will be omitted. The shape measuring unit 58 detects the shape of the workpiece based on commands from the information processing device 100 and outputs the detection information.

本実施形態では、情報処理装置100がポストプロセッサとして機能する。情報処理装置100は、CAD/CAM装置から取得したCLデータに基づいて加工プログラム(第1加工プログラム)を生成した後、その第1加工プログラムによるテスト加工を数値制御装置52に指示する。情報処理装置100は、そのテスト加工で得られた加工物の計測形状情報と、CADデータが示す目標形状情報との差分である形状誤差に基づいて第1加工プログラムを補正し、正規の加工プログラム(第2加工プログラム)として生成する。以下、その詳細について説明する。 In this embodiment, the information processing device 100 functions as a post-processor. The information processing device 100 generates a machining program (first machining program) based on CL data acquired from a CAD/CAM device, and then instructs the numerical control device 52 to perform test machining using the first machining program. The information processing device 100 corrects the first machining program based on a shape error, which is the difference between the measured shape information of the workpiece obtained by the test machining and the target shape information indicated by the CAD data, and generates a regular machining program (second machining program). The details are described below.

図3は、情報処理装置100の機能ブロック図である。
情報処理装置100の各構成要素は、CPU(Central Processing Unit)および各種コンピュータプロセッサなどの演算器、メモリやストレージといった記憶装置、それらを連結する有線または無線の通信線を含むハードウェアと、記憶装置に格納され、演算器に処理命令を供給するソフトウェアによって実現される。コンピュータプログラムは、デバイスドライバ、オペレーティングシステム、それらの上位層に位置する各種アプリケーションプログラム、また、これらのプログラムに共通機能を提供するライブラリによって構成されてもよい。以下に説明する各ブロックは、ハードウェア単位の構成ではなく、機能単位のブロックを示している。
FIG. 3 is a functional block diagram of the information processing device 100.
Each component of the information processing device 100 is realized by hardware including a computing unit such as a CPU (Central Processing Unit) and various computer processors, a storage device such as a memory or storage, and a wired or wireless communication line connecting them, and software stored in the storage device and supplying processing instructions to the computing unit. The computer program may be composed of a device driver, an operating system, various application programs located in higher layers, and a library that provides common functions to these programs. Each block described below shows a functional block rather than a hardware configuration.

なお、操作制御装置50および数値制御装置52も、プロセッサなどの演算器、メモリやストレージといった記憶装置、それらを連結する有線または無線の通信線を含むハードウェアと、記憶装置に格納され演算器に処理命令を供給するソフトウェアにより実現されてもよい。 The operation control device 50 and the numerical control device 52 may also be realized by hardware including a processor or other computing unit, a memory or storage device, and wired or wireless communication lines connecting them, and software stored in the memory device that supplies processing instructions to the computing unit.

情報処理装置100は、入出力インタフェース部110、データ処理部112およびデータ格納部114を含む。入出力インタフェース部110は、外部装置とのデータのやりとりを含む入出力インタフェースに関する処理を担当する。データ処理部112は、入出力インタフェース部110により取得されたデータおよびデータ格納部114に格納されているデータに基づいて各種処理を実行する。データ処理部112は、入出力インタフェース部110およびデータ格納部114のインタフェースとしても機能する。データ格納部114は、各種プログラムと設定データを格納する。 The information processing device 100 includes an input/output interface unit 110, a data processing unit 112, and a data storage unit 114. The input/output interface unit 110 is responsible for processing related to the input/output interface, including the exchange of data with external devices. The data processing unit 112 executes various processes based on data acquired by the input/output interface unit 110 and data stored in the data storage unit 114. The data processing unit 112 also functions as an interface for the input/output interface unit 110 and the data storage unit 114. The data storage unit 114 stores various programs and setting data.

入出力インタフェース部110は、入力部120および出力部122を含む。入力部120は、外部装置から出力された各種情報を取得する。出力部122は、外部装置に向けて各種情報や指令を出力する。 The input/output interface unit 110 includes an input unit 120 and an output unit 122. The input unit 120 acquires various information output from an external device. The output unit 122 outputs various information and commands to the external device.

入力部120は、目標形状情報取得部124、加工情報取得部126および計測形状情報取得部128を含む。入力部120は、CAD/CAM装置60からワークWの加工に関わる各種情報を取得する。なお、本実施形態では、CAD/CAM装置60がCAD装置とCAM装置の機能を兼ね備えるが、CAD装置とCAM装置とが別個に設けられてもよい。その場合、CAM装置がCAD装置で生成されたCADデータを取得するとともに、経路生成情報(座標系、工具形状,送り速度、主軸回転数等)を取得する。CAM装置は、これらCADデータと経路生成情報に基づいてCLデータを生成する。 The input unit 120 includes a target shape information acquisition unit 124, a machining information acquisition unit 126, and a measurement shape information acquisition unit 128. The input unit 120 acquires various information related to machining of the workpiece W from the CAD/CAM device 60. In this embodiment, the CAD/CAM device 60 has the functions of both a CAD device and a CAM device, but the CAD device and the CAM device may be provided separately. In that case, the CAM device acquires the CAD data generated by the CAD device and also acquires path generation information (coordinate system, tool shape, feed rate, spindle speed, etc.). The CAM device generates CL data based on the CAD data and path generation information.

目標形状情報取得部124は、ワークを加工する際の目標形状を示す目標形状情報をCAD/CAM装置60から取得する。目標形状情報にはCADデータが含まれる。加工情報取得部126は、ワークを加工するための加工情報をCAD/CAM装置60から取得する。加工情報の工具経路はCLデータから取得できる。加工情報の工具情報はCLデータもしくは所定のデータフォーマットのデータから取得できる。加工情報には加工基準点、工具経路および工具情報が含まれる。工具経路は、ワークを加工する際に工具が通過する複数の指令点からなる。工具情報は、加工で使用される工具の形状関連情報(以下「工具形状関連情報」ともいう)を含む。工具形状関連情報は、例えば工具種、CAD図などの工具形状、工具形状を算出できる情報(刃具の全長と直径など)などである。 The target shape information acquisition unit 124 acquires target shape information indicating the target shape when machining the workpiece from the CAD/CAM device 60. The target shape information includes CAD data. The machining information acquisition unit 126 acquires machining information for machining the workpiece from the CAD/CAM device 60. The tool path of the machining information can be acquired from the CL data. The tool information of the machining information can be acquired from the CL data or data in a specified data format. The machining information includes a machining reference point, a tool path, and tool information. The tool path is made up of multiple command points through which the tool passes when machining the workpiece. The tool information includes shape-related information of the tool used in machining (hereinafter also referred to as "tool shape-related information"). The tool shape-related information is, for example, the tool type, the tool shape such as a CAD drawing, and information from which the tool shape can be calculated (such as the total length and diameter of the cutting tool).

計測形状情報取得部128は、形状計測部58により計測された加工物の形状情報(計測形状情報)を取得する。形状計測部58は、例えば加工物の水平断面(XY平面)に沿った外形のプロフィルを計測する。その計測面を鉛直方向(Z方向)に走査させることにより加工物の三次元形状を計測することができる。 The measurement shape information acquisition unit 128 acquires shape information (measurement shape information) of the workpiece measured by the shape measurement unit 58. The shape measurement unit 58 measures, for example, the profile of the outer shape along the horizontal cross section (XY plane) of the workpiece. The three-dimensional shape of the workpiece can be measured by scanning the measurement surface in the vertical direction (Z direction).

データ格納部114は、プログラム格納部130、目標形状記憶部132、加工情報記憶部134、指令点データ記憶部136および計測形状記憶部138を含む。データ格納部114は、データ処理部112が演算処理を行う場合のワーキングエリアとして機能するメモリを含む。 The data storage unit 114 includes a program storage unit 130, a target shape storage unit 132, a processing information storage unit 134, a command point data storage unit 136, and a measured shape storage unit 138. The data storage unit 114 includes a memory that functions as a working area when the data processing unit 112 performs calculation processing.

プログラム格納部130は、加工プログラムを生成するための情報処理プログラムを格納する。目標形状記憶部132は、目標形状情報取得部124が取得した目標形状情報を記憶する。加工情報記憶部134は、加工情報取得部126が取得した加工情報を記憶する。加工情報における工具経路と工具形状関連情報とは工具番号により紐づけられている。指令点データ記憶部136は、データ処理部112にて算出又は補正される指令点データを一時記憶する(詳細後述)。計測形状記憶部138は、計測形状情報取得部128が取得した計測形状情報を記憶する。 The program storage unit 130 stores an information processing program for generating a machining program. The target shape memory unit 132 stores the target shape information acquired by the target shape information acquisition unit 124. The machining information memory unit 134 stores the machining information acquired by the machining information acquisition unit 126. The tool path and the tool shape related information in the machining information are linked by a tool number. The command point data memory unit 136 temporarily stores command point data calculated or corrected by the data processing unit 112 (described in detail later). The measured shape memory unit 138 stores the measured shape information acquired by the measured shape information acquisition unit 128.

データ処理部112は加工プログラム生成部140、テスト加工指示部142、計測指示部144および加工プログラム補正部146を含む。加工プログラム生成部140は、CAD/CAM装置60から取得される情報(CLデータ)に基づいて加工プログラム(第1加工プログラム)を生成する。 The data processing unit 112 includes a machining program generation unit 140, a test machining instruction unit 142, a measurement instruction unit 144, and a machining program correction unit 146. The machining program generation unit 140 generates a machining program (first machining program) based on information (CL data) acquired from the CAD/CAM device 60.

テスト加工指示部142は、生成された第1加工プログラムと、その第1加工プログラムの実行指示を数値制御装置52へ向けて出力する。つまり、第1加工プログラムの実行によるテスト加工を指示する。数値制御装置52は、その指示を受けて加工装置2によるテスト加工を実行する。計測指示部144は、テスト加工で得られた加工物の形状を計測するよう形状計測部58に指示する。形状計測部58は、その指示を受けて形状計測を実行し、その計測形状情報を情報処理装置100へ出力する。 The test machining instruction unit 142 outputs the generated first machining program and an instruction to execute the first machining program to the numerical control device 52. In other words, it instructs test machining by executing the first machining program. The numerical control device 52 receives the instruction and executes test machining by the machining device 2. The measurement instruction unit 144 instructs the shape measurement unit 58 to measure the shape of the workpiece obtained by the test machining. The shape measurement unit 58 receives the instruction and executes the shape measurement, and outputs the measured shape information to the information processing device 100.

加工プログラム補正部146は、計測形状情報取得部128により取得された計測形状情報と目標形状情報との差分である形状誤差に基づいて第1加工プログラムを補正し、第2加工プログラムを得る。この補正方法の詳細については後述する。 The machining program correction unit 146 corrects the first machining program based on the shape error, which is the difference between the measurement shape information acquired by the measurement shape information acquisition unit 128 and the target shape information, to obtain the second machining program. Details of this correction method will be described later.

出力部122はプログラム出力部129を含む。プログラム出力部129は、生成された加工プログラムを数値制御装置52へ出力する。 The output unit 122 includes a program output unit 129. The program output unit 129 outputs the generated machining program to the numerical control device 52.

次に、加工プログラムの補正方法について説明する。
図4~図7は、加工プログラムの補正方法を模式的に表す図である。
CAD/CAM装置60では、工具に摩耗等の不良要因がないことを前提にCADデータが示す目標形状に基づいて工具経路(指令点データ)が算出される。ポストプロセッサは、その指令点データを含むCLデータに基づいて加工プログラムを生成する。
Next, a method for correcting the machining program will be described.
4 to 7 are diagrams that typically show a method of correcting a machining program.
In the CAD/CAM device 60, a tool path (command point data) is calculated based on a target shape indicated by the CAD data, on the assumption that the tool is free from defects such as wear. The post-processor generates a machining program based on the CL data including the command point data.

このため、仮に摩耗等により工具の長さや形状が変化した場合、目標形状と加工される形状(実形状)との間に誤差が生じることがある。そこで本実施形態では、CADデータに基づいて生成された加工プログラム(第1加工プログラム)を用いてテスト加工を行い、そのテスト加工で得られた実形状を計測する。このとき計測された形状を「計測形状」ともいう。この計測形状と目標形状との誤差が小さくなるよう指令点(第1加工プログラムの算出元となる指令点データ)を補正し、補正後の指令点データを含むCLデータに基づいて加工プログラム(第2加工プログラム)を生成する。 For this reason, if the length or shape of the tool changes due to wear or the like, an error may occur between the target shape and the machined shape (actual shape). In this embodiment, test machining is performed using a machining program (first machining program) generated based on CAD data, and the actual shape obtained by the test machining is measured. The shape measured at this time is also called the "measured shape." The command points (command point data that is the basis for calculating the first machining program) are corrected so that the error between this measured shape and the target shape is small, and a machining program (second machining program) is generated based on CL data including the corrected command point data.

この補正処理の前提として、目標形状情報取得部124が形状データを取得し、加工情報取得部126が上記加工情報として加工データおよび工具データを取得する。形状データはCADデータに基づくものであり、ワークの加工後の目標形状情報を含む。形状データは目標形状記憶部132に記憶される。指令点データ記憶部136は、目標形状データに基づいて算出され、第1加工プログラムの生成に用いられた指令点データを記憶する。一方、計測形状情報取得部128が、テスト加工で得られた加工物の計測形状データを取得する。この計測形状データは計測形状記憶部138に記憶される。 As a prerequisite for this correction process, the target shape information acquisition unit 124 acquires shape data, and the machining information acquisition unit 126 acquires machining data and tool data as the above-mentioned machining information. The shape data is based on CAD data and includes target shape information after machining of the workpiece. The shape data is stored in the target shape memory unit 132. The command point data memory unit 136 stores command point data calculated based on the target shape data and used to generate the first machining program. Meanwhile, the measured shape information acquisition unit 128 acquires measured shape data of the workpiece obtained by test machining. This measured shape data is stored in the measured shape memory unit 138.

図4に示すように、加工プログラム補正部146は、目標形状と計測形状とを比較し、その形状誤差が小さくなるように指令点を補正する。本実施形態では、目標形状と計測形状とを同一断面ごとに比較する。そのために、計測形状データを加工物の断面ごとの点群データとして取得する。形状計測部58からの計測形状情報がその点群データとして取得されてもよいし、形状計測部58から取得された計測形状情報を加工プログラム補正部146が点群データに変換してもよい。 As shown in FIG. 4, the machining program correction unit 146 compares the target shape with the measured shape and corrects the command points so that the shape error is reduced. In this embodiment, the target shape and the measured shape are compared for each same cross section. To achieve this, the measured shape data is acquired as point cloud data for each cross section of the workpiece. The measured shape information from the shape measurement unit 58 may be acquired as the point cloud data, or the measured shape information acquired from the shape measurement unit 58 may be converted into point cloud data by the machining program correction unit 146.

一方、加工プログラム補正部146は、目標形状データについて、計測形状データの点群データ(「計測点群データ」ともいう)に対応する点群データ(「目標点群データ」ともいう)を特定する。目標点群データは、目標形状の外形に沿う切削点の集まりを表すデータである。切削点は指令点に基づいて工具を配置したときにその工具がワークと接触する点に対応する。つまり、切削点と指令点とが対応づけられるため、指令点データから切削点データ(目標点群データに対応)を特定することができる。 On the other hand, the machining program correction unit 146 identifies point cloud data (also referred to as "target point cloud data") for the target shape data that corresponds to the point cloud data of the measured shape data (also referred to as "measurement point cloud data"). The target point cloud data is data that represents a collection of cutting points that follow the outer shape of the target shape. The cutting points correspond to the points at which the tool contacts the workpiece when the tool is positioned based on the command points. In other words, since the cutting points and the command points are associated with each other, it is possible to identify the cutting point data (corresponding to the target point cloud data) from the command point data.

図5(A)は、ある断面について目標形状と計測形状とを比較した例を示す。図中の二点鎖線が目標形状を示し、その目標形状上の点(角点)が切削点を示す。実線が計測形状を示し、その計測形状上の点(丸点)が計測点を示す。図5(B)は図5(A)のA部拡大図である。この例では、切削点Pnの位置では目標形状と計測形状が一致している。一方、切削点Pn+1の位置では目標形状と計測形状とに正の誤差Δh1があり、加工不足(削り残し)となっている。切削点Pn-1の位置では目標形状と計測形状とに負の誤差Δh2があり、加工超過(削り過ぎ)となっている。 Figure 5(A) shows an example of comparing the target shape and the measured shape for a certain cross section. The two-dot chain line in the figure indicates the target shape, and the points (corner points) on the target shape indicate the cutting points. The solid line indicates the measured shape, and the points (circle points) on the measured shape indicate the measurement points. Figure 5(B) is an enlarged view of part A in Figure 5(A). In this example, the target shape and the measured shape match at the position of cutting point Pn. On the other hand, at the position of cutting point Pn+1, there is a positive error Δh1 between the target shape and the measured shape, resulting in insufficient machining (uncut portion). At the position of cutting point Pn-1, there is a negative error Δh2 between the target shape and the measured shape, resulting in over-machining (over-cutting).

このような目標形状と計測形状との比較に際しては、比較対象となる切削点と計測点とが対応すること、つまり目標形状と計測形状とが完全一致する理想状態において同一点となるよう位置合わせする必要がある。そこで本実施形態では、加工データに含まれる加工基準点を基準にこれらの位置合わせをする。 When comparing the target shape and the measured shape in this way, it is necessary to align the cutting points and measurement points to be compared so that they correspond to each other, that is, so that they are the same points in an ideal state where the target shape and the measured shape perfectly match. Therefore, in this embodiment, these are aligned based on the machining reference point included in the machining data.

図6に示すように、加工データは工具経路および加工基準点の情報を含む。工具経路を構成する各指令点の位置は、予め定める加工基準点(加工原点)を基準に設定されている。加工基準点は、目標形状と工具経路とを合わせるために必要なデータである。加工基準点は工具経路の基準となる点であり、目標形状との関係で予め設定されている。CAD/CAM装置60から出力されるCLデータには複数の工具経路が含まれるが、各工具経路について加工基準点が設けられている。 As shown in FIG. 6, the machining data includes information on the tool path and machining reference point. The position of each command point that constitutes the tool path is set based on a predetermined machining reference point (machining origin). The machining reference point is data required to match the target shape and the tool path. The machining reference point is a reference point for the tool path, and is set in advance in relation to the target shape. The CL data output from the CAD/CAM device 60 includes multiple tool paths, and a machining reference point is provided for each tool path.

加工プログラム生成部140は、第1加工プログラムの生成に際し、データ格納部114から上記形状データ、加工データおよび工具データを取得する。そして、これらの情報に基づき、まず三次元の仮想空間に目標形状を配置し、その目標形状上に加工基準点を配置する。続いて、その加工基準点をもとに工具経路を配置し、その工具経路上に工具(工具形状)を配置する。 When generating the first machining program, the machining program generation unit 140 acquires the above-mentioned shape data, machining data, and tool data from the data storage unit 114. Then, based on this information, it first places a target shape in a three-dimensional virtual space, and places a machining reference point on the target shape. Next, it places a tool path based on the machining reference point, and places a tool (tool shape) on the tool path.

加工プログラム補正部146は、計測形状データについて、上記加工基準点に相当する基準点(「位置合わせ基準点」ともいう)を特定する。そして、その位置合わせ基準点を加工基準点に一致させた状態で計測形状と目標形状とを比較する。 The machining program correction unit 146 identifies a reference point (also called an "alignment reference point") that corresponds to the machining reference point for the measurement shape data. Then, the measurement shape and the target shape are compared with the alignment reference point aligned with the machining reference point.

図7は、指令点データ(工具経路)の補正処理の具体例を示す。ここでは、工具としてエンドミルを用いる場合を示す。図7(A)は工具Tに摩耗がない場合を示し、図7(B)は工具Tが摩耗している場合を示す。図7(C)は指令点の補正方法の一例を示す。 Figure 7 shows a specific example of command point data (tool path) correction processing. Here, an end mill is used as the tool. Figure 7(A) shows a case where the tool T is not worn, and Figure 7(B) shows a case where the tool T is worn. Figure 7(C) shows an example of a command point correction method.

工具Tの摩耗がなく理想的な加工がなされる場合、工具Tの切削点Pcが目標形状に設定された加工面Fcと接するようにワークを加工し、目標形状と計測形状とが一致する(図7(A))。そのため、目標形状に沿った加工面品位の高い切削面が得られる。 When ideal machining is performed without wear on the tool T, the workpiece is machined so that the cutting point Pc of the tool T comes into contact with the machining surface Fc set in the target shape, and the target shape and the measured shape match (Figure 7 (A)). Therefore, a high-quality cutting surface that conforms to the target shape is obtained.

なお、本実施形態では、位置制御の対象となる指令点Ppを工具Tの刃先に設定し、先端中心を基準点Po(仮想基準点)としている。基準点Poから工具半径rの位置に工具Tの先端表面があり、その先端表面における工具Tの軸線L上に指令点Ppがある。工具半径rは、工具Tの横断面の半径である。「切削点Pc」とは、工具径路上の指令点Ppに基づいて工具Tが配置された場合に、工具Tと加工面Fcとが接する点である。図示の例では、基準点Poから加工面Fcに下ろした法線と加工面Fcとが交わる点が「切削点Pc」となっている。 In this embodiment, the command point Pp to be the subject of position control is set at the cutting edge of the tool T, and the tip center is set as the reference point Po (virtual reference point). The tip surface of the tool T is located at a position of tool radius r from the reference point Po, and the command point Pp is located on the axis L of the tool T on the tip surface. The tool radius r is the radius of the cross section of the tool T. The "cutting point Pc" is the point where the tool T and the machining surface Fc meet when the tool T is positioned based on the command point Pp on the tool path. In the illustrated example, the "cutting point Pc" is the point where the normal line drawn from the reference point Po to the machining surface Fc intersects with the machining surface Fc.

一方、工具Tに摩耗が生じたとしても、CAD/CAM装置60で生成されるCLデータには摩耗まで考慮されていない。このため、第1加工プログラムの実行により得られた加工物は、結果的に目標形状とは合わないものとなる。例えば摩耗により工具Tが短くなった分、プログラム上の切削点Pcと実際の切削点(計測点Pc')との間に誤差ΔPが生じることとなる(図7(B))。図示の例では、ワークの表面に削り残りが生じる。 On the other hand, even if the tool T is worn, the CL data generated by the CAD/CAM device 60 does not take wear into account. As a result, the machined product obtained by executing the first machining program will not match the target shape. For example, wear shortens the tool T, resulting in an error ΔP between the cutting point Pc in the program and the actual cutting point (measurement point Pc') (Figure 7 (B)). In the example shown, there is residual cutting on the surface of the workpiece.

このことは、プログラム上の指令点Ppと見かけ上の指令点Pp'(計測点Pc'を切削点と仮定した場合の指令点)との間、およびプログラム上の基準点Poと見かけ上の基準点Po'(計測点Pc'を切削点と仮定した場合の基準点)との間に同様の誤差があることを意味する。そこで、切削点Pcと計測点Pc'との間に誤差ΔPに基づいてプログラム上の切削点Pcを補正する(図7(C))。 This means that there is a similar error between the command point Pp on the program and the apparent command point Pp' (the command point when the measurement point Pc' is assumed to be the cutting point), and between the reference point Po on the program and the apparent reference point Po' (the reference point when the measurement point Pc' is assumed to be the cutting point). Therefore, the cutting point Pc on the program is corrected based on the error ΔP between the cutting point Pc and the measurement point Pc' (Figure 7 (C)).

すなわち、指令点Pp=(Ppx,Ppy,Ppz)、切削点Pc=(Pcx,Pcy,Pcz)、計測点Pc'=(Pcx',Pcy',Pcz')とすると、補正後の指令点Pp'は下記式(1)により得られる。
Pp'=Pp-(Pc'-Pc) ...(1)
That is, if the command point Pp=(Ppx, Ppy, Ppz) T , the cutting point Pc=(Pcx, Pcy, Pcz) T , and the measurement point Pc'=(Pcx', Pcy', Pcz') T , the corrected command point Pp' is obtained by the following equation (1).
Pp' = Pp - (Pc' - Pc) ... (1)

加工プログラム補正部146は、上記式(1)を用いて指令点Ppを補正する。なお、ここでは工具Tの摩耗により削り残りが生じる例を示したが、削り過ぎが発生する場合には、ベクトル(Pc'-Pc)の符号が逆転するので、上記式(1)をそのまま適用することができる。誤差がない場合には、Pp'=Ppのままとなる。 The machining program correction unit 146 corrects the command point Pp using the above formula (1). Note that, although an example is shown here in which uncut portions occur due to wear of the tool T, if overcutting occurs, the sign of the vector (Pc'-Pc) is reversed, so the above formula (1) can be applied as is. If there is no error, Pp'=Pp will remain the same.

以上のように各指令点Ppの補正が行われた後、加工プログラム補正部146は、補正後の各指令点Pp'を有する工具経路を含むようCLデータを修正し、そのCLデータに基づいて加工プログラム(第2加工プログラム)を生成する。 After each command point Pp has been corrected as described above, the machining program correction unit 146 modifies the CL data to include a tool path having each corrected command point Pp', and generates a machining program (second machining program) based on the CL data.

次に、加工プログラム生成処理について具体的に説明する。
図8は、加工プログラム生成処理を表すフローチャートである。図9は、図8のS20の指令点補正処理を表すフローチャートである。以下の「S」は処理ステップを示す。
Next, the machining program generation process will be specifically described.
Fig. 8 is a flowchart showing the machining program generation process. Fig. 9 is a flowchart showing the command point correction process in S20 in Fig. 8. The following "S" indicates a processing step.

図8に示すように、加工プログラム生成部140は、まず、目標形状記憶部132から目標形状情報を読み出し(S10)、加工情報記憶部134から加工情報を読み出す(S12)。上述のとおり、加工情報には工具経路情報(補正前の工具経路)と工具情報が含まれる。 As shown in FIG. 8, the machining program generation unit 140 first reads target shape information from the target shape storage unit 132 (S10), and then reads machining information from the machining information storage unit 134 (S12). As described above, the machining information includes tool path information (the tool path before correction) and tool information.

続いて、加工プログラム生成部140は、取得された目標形状上に加工基準点を配置し(S14)、その加工基準点に基づいて工具経路(補正前の各指令点)を配置する(S16)。また、位置合わせ基準点をその加工基準点に合わせるように計測形状(加工物の形状)を配置する(S18)。そして、各指令点を補正するための指令点補正処理を実行する(S20)。 Then, the machining program generation unit 140 places a machining reference point on the acquired target shape (S14), and places the tool path (each command point before correction) based on the machining reference point (S16). It also places the measurement shape (shape of the workpiece) so that the alignment reference point is aligned with the machining reference point (S18). Then, it executes a command point correction process to correct each command point (S20).

図9に示すように、加工プログラム補正部146は、指令点補正処理において、工具経路を構成する各指令点を順次補正する。なお、以下の「n」は補正処理の序数に対応する。加工プログラム補正部146は、nをゼロクリアして処理を開始する(S30)。 As shown in FIG. 9, the machining program correction unit 146 sequentially corrects each command point that constitutes the tool path in the command point correction process. Note that "n" below corresponds to the ordinal number of the correction process. The machining program correction unit 146 clears n to zero and starts the process (S30).

加工プログラム補正部146は、序数nを更新するとともに(S32)、n番目の指令点Ppnを取得する(S34)。1番目のときには指令点Pp1の位置情報を読み出す。そして、指令点Ppnに対応づけられた切削点Pcnを特定するとともに(S36)、切削点Pcnに対応する計測点Pcn'を特定する(S38)。 The machining program correction unit 146 updates the ordinal number n (S32) and obtains the nth command point Ppn (S34). When it is the first command point, it reads out the position information of command point Pp1. It then identifies the cutting point Pcn associated with command point Ppn (S36) and identifies the measurement point Pcn' that corresponds to cutting point Pcn (S38).

続いて、加工プログラム補正部146は、計測点Pcn'と切削点Pcnとに基づいて指令点Ppnの補正値を算出する。すなわち、計測点Pcn'と切削点Pcnとの誤差を算出する(S40)。この補正値は、補正のための誤差ベクトル(移動ベクトル)である。そして、その誤差ベクトルを用いて切削点Pcnを補正する(S42)。すなわち、上記式(1)に基づいて指令点Ppn'を設定する。 Then, the machining program correction unit 146 calculates a correction value for the command point Ppn based on the measurement point Pcn' and the cutting point Pcn. That is, the error between the measurement point Pcn' and the cutting point Pcn is calculated (S40). This correction value is an error vector (movement vector) for correction. Then, the cutting point Pcn is corrected using this error vector (S42). That is, the command point Ppn' is set based on the above formula (1).

指令点データ記憶部136は、補正後の指令点Ppn'を記憶する。以上の処理を最後の指令点の補正が終了するまで繰り返し実行する(S46のN)。最後の指令点の補正が終了すると(S46のY)、加工プログラム生成部140は、それまで記憶された各指令点Ppn'を補正後の指令点データとして更新する(S48)。 The command point data storage unit 136 stores the corrected command point Ppn'. The above process is repeated until the correction of the last command point is completed (N in S46). When the correction of the last command point is completed (Y in S46), the machining program generation unit 140 updates each command point Ppn' stored up to that point with corrected command point data (S48).

図8に戻り、加工プログラム補正部146は、全ての工具経路について指令点データの補正が完了していれば(S22のY)、補正後の指令点データに基づいてCLデータを修正する(S24)。そのCLデータに基づいて加工プログラム(第2加工プログラム)を生成する(S26)。補正が完了していなければ(S22のN)、S12に戻る。 Returning to FIG. 8, if the correction of the command point data for all tool paths has been completed (Y in S22), the machining program correction unit 146 modifies the CL data based on the corrected command point data (S24). It generates a machining program (second machining program) based on the CL data (S26). If the correction has not been completed (N in S22), the process returns to S12.

以上、実施形態に基づいて情報処理装置100について説明した。
本実施形態によれば、加工プログラムをテスト加工後の加工物の形状と整合するように補正するため、その後の本加工でのワークの加工面品位を高く維持できる。すなわち、工具の摩耗などの種々の要因による目標形状と実形状との誤差を抑制でき、加工品質の低下を抑制できる。
The information processing device 100 has been described above based on the embodiment.
According to this embodiment, the machining program is corrected to match the shape of the workpiece after the test machining, so that the quality of the machined surface of the workpiece in the subsequent actual machining can be maintained high. In other words, the error between the target shape and the actual shape caused by various factors such as tool wear can be suppressed, and the deterioration of the machining quality can be suppressed.

[変形例]
上記実施形態では、工具としてエンドミルを例示したが、他のフライス工具、タップ、バイトなど様々な工具についても上記補正方法を適用できることは言うまでもない。
[Modification]
In the above embodiment, an end mill is used as an example of a tool, but it goes without saying that the above correction method can be applied to various other tools such as milling cutters, taps, and cutting tools.

上記実施形態では、情報処理装置100がCAD/CAM装置60とは独立してポストプロセッサとして機能する例を示した。変形例においては、加工プログラム生成部140、テスト加工指示部142、計測指示部144および加工プログラム補正部146の各機能がCAD/CAM装置(CAM装置単体でもよい)の機能として組み込まれてもよい。あるいは、数値制御装置の機能として組み込まれてもよい。 In the above embodiment, an example has been shown in which the information processing device 100 functions as a post-processor independent of the CAD/CAM device 60. In a modified example, the functions of the machining program generation unit 140, the test machining instruction unit 142, the measurement instruction unit 144, and the machining program correction unit 146 may be incorporated as functions of the CAD/CAM device (or the CAM device alone). Alternatively, they may be incorporated as functions of a numerical control device.

上記実施形態では、情報処理装置100から数値制御装置52に対してテスト加工を指示する構成を例示した。変形例においては、情報処理装置100からテスト加工の指令は行わず、オペレータの操作に基づいて数値制御装置52がテスト加工を実行し、形状計測部58が加工物の形状計測を実行してもよい。情報処理装置100は、形状計測部58から計測形状データを受信したときに加工プログラムの補正処理を実行してもよい。 In the above embodiment, a configuration in which the information processing device 100 instructs the numerical control device 52 to perform test machining has been exemplified. In a modified example, the information processing device 100 may not instruct test machining, and the numerical control device 52 may perform test machining based on an operation by an operator, and the shape measurement unit 58 may perform shape measurement of the machined product. The information processing device 100 may perform a correction process for the machining program when it receives measured shape data from the shape measurement unit 58.

上記実施形態では述べなかったが、情報処理装置100は、上述した加工プログラムの補正処理を複数回実行してもよい。例えば、計測形状と目標形状との誤差が予め定める基準値以下となるまで補正処理を繰り返してもよい。誤差が基準値以下となったときの指令点データを用いて第2加工プログラムを生成してもよい。 Although not mentioned in the above embodiment, the information processing device 100 may execute the above-mentioned machining program correction process multiple times. For example, the correction process may be repeated until the error between the measured shape and the target shape becomes equal to or less than a predetermined reference value. The second machining program may be generated using the command point data when the error becomes equal to or less than the reference value.

上記実施形態では、工作機械として5軸加工機を例示した。すなわち、直線軸がX軸、Y軸およびZ軸の3軸で構成され、回転軸がB軸およびC軸の2軸で構成される例を示した。変形例においては、回転軸がA軸とC軸で構成されてもよい。あるいは、A軸とB軸で構成されてもよい。また、4軸加工機とし、回転軸が1軸(例えばB軸のみ)で構成されてもよい。 In the above embodiment, a five-axis machining center is used as an example of a machine tool. That is, an example is shown in which the linear axes are three axes, the X-axis, the Y-axis, and the Z-axis, and the rotational axes are two axes, the B-axis and the C-axis. In a modified example, the rotational axes may be the A-axis and the C-axis. Alternatively, they may be the A-axis and the B-axis. Also, a four-axis machining center may be used, with one rotational axis (for example, only the B-axis).

上記実施形態では、加工装置2として、2つの回転軸の一方(B軸)を中心に工具を回転させ、他方の回転軸(C軸)を中心にテーブルを回転させる構成を例示した。変形例においては、2つの回転軸が主軸側に設けられてもよい。あるいは、2つの回転軸がテーブル側に設けられてもよい。例えば、テーブルが第1部材によりC軸を中心に回転可能に支持され、第1部材が第2部材によりA軸又はB軸を中心に回転可能に支持される構成を採用してもよい。第2部材がA軸を有する場合、第2部材はY軸方向に移動可能に支持されてもよい。第2部材がB軸を有する場合、第2部材はX軸方向に移動可能に支持されてもよい。 In the above embodiment, the machining device 2 is configured to rotate a tool around one of two rotation axes (B-axis) and rotate a table around the other rotation axis (C-axis). In a modified example, the two rotation axes may be provided on the spindle side. Alternatively, the two rotation axes may be provided on the table side. For example, a configuration may be adopted in which the table is supported by a first member so as to be rotatable around the C-axis, and the first member is supported by a second member so as to be rotatable around the A-axis or B-axis. If the second member has the A-axis, the second member may be supported so as to be movable in the Y-axis direction. If the second member has the B-axis, the second member may be supported so as to be movably in the X-axis direction.

上記実施形態では述べなかったが、上述した情報処理プログラムは、コンピュータ読み取り可能な記録媒体に記録され、提供されてもよい。 Although not mentioned in the above embodiment, the above-mentioned information processing program may be recorded on a computer-readable recording medium and provided.

なお、本発明は上記実施形態や変形例に限定されるものではなく、要旨を逸脱しない範囲で構成要素を変形して具体化することができる。上記実施形態や変形例に開示されている複数の構成要素を適宜組み合わせることにより種々の発明を形成してもよい。また、上記実施形態や変形例に示される全構成要素からいくつかの構成要素を削除してもよい。 The present invention is not limited to the above-described embodiment and modifications, and can be embodied by modifying the components without departing from the spirit of the invention. Various inventions may be formed by appropriately combining multiple components disclosed in the above-described embodiment and modifications. In addition, some components may be deleted from all the components shown in the above-described embodiment and modifications.

1 工作機械、2 加工装置、10 主軸、52 数値制御装置、58 形状計測部、100 情報処理装置、110 入出力インタフェース部、112 データ処理部、114 データ格納部、120 入力部、122 出力部、124 目標形状情報取得部、126 加工情報取得部、128 計測形状情報取得部、130 プログラム格納部、132 目標形状記憶部、134 加工情報記憶部、136 指令点データ記憶部、138 計測形状記憶部、140 加工プログラム生成部、142 テスト加工指示部、144 計測指示部、146 加工プログラム補正部、Fc 加工面、T 工具、W ワーク。 1 Machine tool, 2 Machining device, 10 Spindle, 52 Numerical control device, 58 Shape measurement unit, 100 Information processing device, 110 Input/output interface unit, 112 Data processing unit, 114 Data storage unit, 120 Input unit, 122 Output unit, 124 Target shape information acquisition unit, 126 Machining information acquisition unit, 128 Measurement shape information acquisition unit, 130 Program storage unit, 132 Target shape memory unit, 134 Machining information memory unit, 136 Command point data memory unit, 138 Measurement shape memory unit, 140 Machining program generation unit, 142 Test machining instruction unit, 144 Measurement instruction unit, 146 Machining program correction unit, Fc Machining surface, T Tool, W Workpiece.

Claims (3)

目標形状を示す目標形状情報を取得するステップと、
ワークを加工する際の工具経路を含む加工情報を取得するステップと、
前記目標形状情報と前記加工情報に基づいて加工プログラムを生成するステップと、
前記加工プログラムを実行して加工された加工物の形状を計測し、前記加工物の計測形状を示す計測形状情報を取得するステップと、
前記計測形状情報と前記目標形状情報との差分である形状誤差に基づき、前記加工プログラムを補正するステップと、
を備える、加工プログラムの補正方法。
acquiring target shape information indicating a target shape;
A step of acquiring machining information including a tool path when machining a workpiece;
generating a machining program based on the target shape information and the machining information;
a step of executing the machining program to measure a shape of a machined workpiece and acquiring measured shape information indicating the measured shape of the workpiece;
correcting the machining program based on a shape error that is a difference between the measured shape information and the target shape information;
A method for correcting a machining program comprising:
前記工具経路は、工具が通過する複数の指令点からなり、
前記加工プログラムを生成するステップは、前記工具が切削点にて前記目標形状に接するように位置が設定された前記指令点に基づいて前記加工プログラムを生成し、
前記加工プログラムを補正するステップは、前記目標形状の基準点と前記計測形状の基準点とを前記工具経路の加工基準点に一致させた状態において、前記目標形状における切削点と前記計測形状における計測点との誤差を算出し、その誤差に基づいて前記指令点の位置を補正する、請求項1に記載の加工プログラムの補正方法。
the tool path is made up of a plurality of command points through which the tool passes;
the step of generating the machining program includes generating the machining program based on the command point whose position is set so that the tool is in contact with the target shape at a cutting point;
2. The method for correcting a machining program according to claim 1, wherein the step of correcting the machining program includes calculating an error between a cutting point in the target shape and a measurement point in the measurement shape while a reference point of the target shape and a reference point of the measurement shape are aligned with a machining reference point of the tool path, and correcting the position of the command point based on the error.
ワークを目標形状に加工するための加工プログラムを補正する情報処理プログラムであって、
目標形状を示す目標形状情報を取得する機能と、
ワークを加工する際の工具経路を含む加工情報を取得する機能と、
前記目標形状情報および前記加工情報に基づいて加工プログラムを生成する機能と、
前記加工プログラムを実行して加工された加工物の形状を計測し、前記加工物の計測形状を示す計測形状情報を取得する機能と、
前記計測形状情報と前記目標形状情報との差分である形状誤差に基づき、前記加工プログラムを補正する機能と、
を備える、情報処理プログラム。
An information processing program for correcting a machining program for machining a workpiece into a target shape,
A function of acquiring target shape information indicating a target shape;
A function to acquire machining information including the tool path when machining the workpiece,
A function of generating a machining program based on the target shape information and the machining information;
a function of executing the machining program to measure a shape of a machined workpiece and acquiring measured shape information indicating the measured shape of the workpiece;
a function of correcting the machining program based on a shape error that is a difference between the measured shape information and the target shape information;
An information processing program comprising:
JP2022173918A 2022-10-31 2022-10-31 Machining program correction method and information processing program Active JP7286860B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022173918A JP7286860B1 (en) 2022-10-31 2022-10-31 Machining program correction method and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022173918A JP7286860B1 (en) 2022-10-31 2022-10-31 Machining program correction method and information processing program

Publications (2)

Publication Number Publication Date
JP7286860B1 JP7286860B1 (en) 2023-06-05
JP2024065176A true JP2024065176A (en) 2024-05-15

Family

ID=86611103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022173918A Active JP7286860B1 (en) 2022-10-31 2022-10-31 Machining program correction method and information processing program

Country Status (1)

Country Link
JP (1) JP7286860B1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03176703A (en) * 1989-12-05 1991-07-31 Yoshiaki Kakino Numerical controller
JPH0780753A (en) * 1993-09-14 1995-03-28 Nikon Corp Numerical control method and numerical control system
JPH07299699A (en) * 1994-03-07 1995-11-14 Amada Washino Co Ltd Grinding method and its device
WO2000012258A1 (en) * 1998-08-28 2000-03-09 Mori Seiki Co., Ltd. Method and apparatus for optimizing nc programs in nc machining
JP2009136937A (en) * 2007-12-04 2009-06-25 Olympus Corp Working method, program and apparatus
JP2013059839A (en) * 2011-09-14 2013-04-04 Kanazawa Inst Of Technology Machining control method of machine tool
WO2016203546A1 (en) * 2015-06-16 2016-12-22 三菱電機株式会社 Command value generating device
JP2021092954A (en) * 2019-12-10 2021-06-17 ファナック株式会社 Machine learning device for learning correction amount of work model, control device, processing system, and machine learning method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03176703A (en) * 1989-12-05 1991-07-31 Yoshiaki Kakino Numerical controller
JPH0780753A (en) * 1993-09-14 1995-03-28 Nikon Corp Numerical control method and numerical control system
JPH07299699A (en) * 1994-03-07 1995-11-14 Amada Washino Co Ltd Grinding method and its device
WO2000012258A1 (en) * 1998-08-28 2000-03-09 Mori Seiki Co., Ltd. Method and apparatus for optimizing nc programs in nc machining
JP2009136937A (en) * 2007-12-04 2009-06-25 Olympus Corp Working method, program and apparatus
JP2013059839A (en) * 2011-09-14 2013-04-04 Kanazawa Inst Of Technology Machining control method of machine tool
WO2016203546A1 (en) * 2015-06-16 2016-12-22 三菱電機株式会社 Command value generating device
JP2021092954A (en) * 2019-12-10 2021-06-17 ファナック株式会社 Machine learning device for learning correction amount of work model, control device, processing system, and machine learning method

Also Published As

Publication number Publication date
JP7286860B1 (en) 2023-06-05

Similar Documents

Publication Publication Date Title
US11167372B2 (en) Axis calibration of beam processing machines
US7089836B2 (en) Hale-machining method and apparatus
US20100228384A1 (en) Method and device for generating transformed control data for controlling a tool on a machine tool
JP4510755B2 (en) Tool edge position calculation method and machine tool
JP5219974B2 (en) Processing control device, laser processing device and laser processing system
JPWO2013157081A1 (en) Machine tool interference judgment method and interference judgment device
WO2018179401A1 (en) Tool path generation method and device
JP5317627B2 (en) Error correction method
US20210331261A1 (en) Gear machining apparatus
JP6642593B2 (en) Processing apparatus correction method and processing apparatus
JP7286860B1 (en) Machining program correction method and information processing program
JP3171298B2 (en) Numerically controlled machine tools
JP2014238782A (en) Control method of machine tool
JP7303593B2 (en) POSITIONAL RELATIONSHIP MEASUREMENT METHOD AND PROCESSING DEVICE
JP2005034934A (en) Numerically controlled apparatus, machine tool equipped with the same, and method for calculating coordinate of workpiece
JP7274649B1 (en) Information processing device and information processing program
JP2016038674A (en) Correction value computing method and correction value computing program for machine tool
JP6980357B1 (en) Information processing equipment and information processing programs
JP7250202B1 (en) Information processing device and information processing program
WO2023181476A1 (en) Method for machining workpiece and system for machining workpiece
JP7192758B2 (en) Processing equipment and processing method
JPH0760505A (en) Cutting tool setting method
TWI842166B (en) Processing method of workpiece and processing system of workpiece
JP6985673B1 (en) Machining program generation method and machining program generator
JP7373422B2 (en) Measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221107

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20221107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230110

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20230308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230508

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230524

R150 Certificate of patent or registration of utility model

Ref document number: 7286860

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150