JPWO2021048959A1 - Numerical control device, numerical control method and machine learning device - Google Patents

Numerical control device, numerical control method and machine learning device Download PDF

Info

Publication number
JPWO2021048959A1
JPWO2021048959A1 JP2020558550A JP2020558550A JPWO2021048959A1 JP WO2021048959 A1 JPWO2021048959 A1 JP WO2021048959A1 JP 2020558550 A JP2020558550 A JP 2020558550A JP 2020558550 A JP2020558550 A JP 2020558550A JP WO2021048959 A1 JPWO2021048959 A1 JP WO2021048959A1
Authority
JP
Japan
Prior art keywords
vibration
tool
vibration waveform
axis
command
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
JP2020558550A
Other languages
Japanese (ja)
Other versions
JP6843314B1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP6843314B1 publication Critical patent/JP6843314B1/en
Publication of JPWO2021048959A1 publication Critical patent/JPWO2021048959A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine

Abstract

複数の駆動軸を制御して工具を移動させる工作機械を制御する数値制御装置(1X)であって、工具を振動させながらワークを加工する際の工具の振動経路を示す振動波形を生成する振動波形生成部(385)と、工具を振動させる際の工具の振動方向と複数の駆動軸のいずれか一つの駆動軸である基準軸の方向の角度と、振動波形とに基づいて、複数の駆動軸それぞれにおける工具の移動経路を示す駆動軸ごとの指令振動波形を生成する振動移動量算出部(386)と、を備える。A numerical control device (1X) that controls a machine tool that controls multiple drive shafts to move a tool, and generates a vibration waveform that indicates the vibration path of the tool when machining a workpiece while vibrating the tool. A plurality of drives based on the waveform generator (385), the vibration direction of the tool when vibrating the tool, the angle in the direction of the reference axis which is one of the drive shafts of the plurality of drive shafts, and the vibration waveform. It is provided with a vibration movement amount calculation unit (386) that generates a command vibration waveform for each drive shaft that indicates the movement path of the tool on each shaft.

Description

本発明は、ワークを振動切削する工作機械を制御する数値制御装置、数値制御方法および機械学習装置に関する。 The present invention relates to a numerical control device, a numerical control method, and a machine learning device for controlling a machine tool that vibrates and cuts a workpiece.

従来の数値制御装置として、切削工具を低周波振動させながらワークを加工する振動切削加工を実現可能な数値制御装置が存在する。 As a conventional numerical control device, there is a numerical control device that can realize vibration cutting processing in which a workpiece is machined while vibrating a cutting tool at a low frequency.

特許文献1には、ねじ切り加工に振動切削加工を適用した加工を実現する数値制御装置が記載されている。特許文献1に記載された数値制御装置は、主軸と直交する駆動軸の中の1つに沿って切削工具を振動させながらワークを加工するよう工作機械を制御することにより、ねじ切り加工に振動切削加工を適用した加工を実現している。 Patent Document 1 describes a numerical control device that realizes machining in which vibration cutting is applied to thread cutting. The numerical control device described in Patent Document 1 controls a machine tool to machine a machine tool while vibrating a cutting tool along one of a drive shafts orthogonal to the main shaft, thereby performing vibration cutting for thread cutting. We have realized processing that applies processing.

また、数値制御装置の中には、仮想軸制御が可能なものが存在する。仮想軸制御とは、複数の駆動軸の制御を同期さる同期制御を行うことにより、各駆動軸のいずれとも異なる仮想的な軸(以下、仮想軸と称する)に沿って、切削工具などの制御対象物を移動させる制御である。 In addition, some numerical control devices are capable of virtual axis control. Virtual axis control is the control of cutting tools, etc. along a virtual axis (hereinafter referred to as a virtual axis) that is different from any of the drive axes by performing synchronous control that synchronizes the control of a plurality of drive axes. It is a control to move an object.

特許第5851670号公報Japanese Patent No. 5851670

特許文献1に記載された数値制御装置は、1つの駆動軸に沿って切削工具を振動させながら加工を行う構成であり、仮想軸制御で切削工具を移動させる場合、すなわち、ねじ切り加工を行う際の切削工具の振動方向が複数の駆動軸を同期制御することにより実現される仮想軸の方向である場合、振動切削加工を行うことができない、という問題があった。 The numerical control device described in Patent Document 1 has a configuration in which a cutting tool is vibrated along one drive shaft to perform machining, and when the cutting tool is moved by virtual axis control, that is, when thread cutting is performed. When the vibration direction of the cutting tool is the direction of the virtual axis realized by synchronously controlling a plurality of drive axes, there is a problem that the vibration cutting process cannot be performed.

本発明は、上記に鑑みてなされたものであって、切削工具の振動方向が各駆動軸のいずれとも異なる方向である場合でも、振動切削加工を適用することが可能な数値制御装置を得ることを目的とする。 The present invention has been made in view of the above, and obtains a numerical control device to which vibration cutting can be applied even when the vibration direction of the cutting tool is different from any of the drive shafts. With the goal.

上述した課題を解決し、目的を達成するために、本発明は、複数の駆動軸を制御して工具を移動させる工作機械を制御する数値制御装置であって、工具を振動させながらワークを加工する際の工具の振動経路を示す振動波形を生成する振動波形生成部と、工具を振動させる際の工具の振動方向と複数の駆動軸のいずれか一つの駆動軸である基準軸の方向の角度と、振動波形とに基づいて、複数の駆動軸それぞれにおける工具の移動経路を示す駆動軸ごとの指令振動波形を生成する振動移動量算出部と、を備える。 In order to solve the above-mentioned problems and achieve the object, the present invention is a numerical control device that controls a machine tool that controls a plurality of drive shafts to move a tool, and processes a workpiece while vibrating the tool. The angle between the vibration waveform generator that generates the vibration waveform that indicates the vibration path of the tool, the vibration direction of the tool when the tool is vibrated, and the direction of the reference axis that is one of the multiple drive shafts. And a vibration movement amount calculation unit that generates a command vibration waveform for each drive shaft indicating the movement path of the tool in each of the plurality of drive shafts based on the vibration waveform.

本発明にかかる数値制御装置は、切削工具の振動方向が各駆動軸のいずれとも異なる方向である場合でも、振動切削加工を適用することが可能となる、という効果を奏する。 The numerical control device according to the present invention has an effect that the vibration cutting process can be applied even when the vibration direction of the cutting tool is different from that of each drive shaft.

各実施の形態にかかる数値制御装置で使用する仮想軸制御を説明するための図The figure for demonstrating the virtual axis control used in the numerical control apparatus concerning each embodiment. 各実施の形態にかかる数値制御装置が制御する対象の工作機械の構成例を説明するための図The figure for demonstrating the configuration example of the target machine tool controlled by the numerical control device which concerns on each embodiment. 実施の形態1にかかる数値制御装置の構成例を示す図The figure which shows the structural example of the numerical control apparatus which concerns on Embodiment 1. ねじ切り加工において振動切削を行う場合の工具の振動方向を示す図The figure which shows the vibration direction of a tool at the time of vibrating cutting in thread cutting. ねじ切り加工における振動切削のイメージを示す図The figure which shows the image of the vibration cutting in the thread cutting process 実施の形態1にかかる数値制御装置が仮想軸制御により工具を振動させながらねじ切り加工を行う動作の一例を示すフローチャートA flowchart showing an example of an operation in which the numerical control device according to the first embodiment performs thread cutting while vibrating the tool by virtual axis control. 実施の形態1にかかる数値制御装置の振動波形生成部が生成する指令振動波形の一例を示す図The figure which shows an example of the command vibration waveform generated by the vibration waveform generation part of the numerical control apparatus which concerns on Embodiment 1. 指令振動波形とフィードバック振動波形の関係の一例を示す図The figure which shows an example of the relationship between the command vibration waveform and the feedback vibration waveform. 調整を行う前の各軸の指令振動波形を合成した場合に得られる合成振動波形の一例を示す図The figure which shows an example of the synthetic vibration waveform obtained by synthesizing the command vibration waveform of each axis before adjustment. 調整を行った後の各軸の指令振動波形を合成した場合に得られる合成振動波形の一例を示す図The figure which shows an example of the synthetic vibration waveform obtained by synthesizing the command vibration waveform of each axis after adjustment. 傾斜軸制御を説明するための図Diagram for explaining tilt axis control 傾斜軸制御を使用する工作機械の構成例を示す図The figure which shows the configuration example of the machine tool which uses the tilt axis control. 振動切削加工を行う工作機械の構成を説明するための図Diagram for explaining the configuration of a machine tool that performs vibration cutting 実施の形態1にかかる数値制御装置が備える制御演算部のハードウェア構成例を示す図The figure which shows the hardware configuration example of the control calculation part included in the numerical control device which concerns on Embodiment 1. 実施の形態2にかかる数値制御装置の構成例を示す図The figure which shows the structural example of the numerical control apparatus which concerns on Embodiment 2.

以下に、本発明の実施の形態にかかる数値制御装置、数値制御方法および機械学習装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, the numerical control device, the numerical control method, and the machine learning device according to the embodiment of the present invention will be described in detail with reference to the drawings. The present invention is not limited to this embodiment.

各実施の形態では、数値制御装置が仮想軸制御により切削工具を振動させながらねじ切り加工を行う構成について説明する。そこで、まず、仮想軸制御の説明と、各実施の形態にかかる数値制御装置が制御する対象の工作機械の説明とを行う。 In each embodiment, a configuration in which the numerical control device performs thread cutting while vibrating the cutting tool by virtual axis control will be described. Therefore, first, the virtual axis control will be described, and the machine tool to be controlled by the numerical control device according to each embodiment will be described.

図1は、各実施の形態にかかる数値制御装置で使用する仮想軸制御を説明するための図である。仮想軸制御では、数値制御装置に制御される工作機械が有している座標系である実機械座標系を回転させるなどして得られる仮想機械座標系を用いて、制御対象物を制御する。仮想機械座標系の各軸のそれぞれを仮想軸と呼ぶ。図1に示した例では、X軸およびY軸からなる実機械座標系を時計回りに45°回転させ、さらに、原点(図1では実機械座標原点と記載)を、X軸上で−120mmシフトさせるとともにY軸上で−60mmシフトさせたものを仮想機械座標系としている。 FIG. 1 is a diagram for explaining virtual axis control used in the numerical control device according to each embodiment. In virtual axis control, a controlled object is controlled using a virtual machine coordinate system obtained by rotating a real machine coordinate system, which is a coordinate system possessed by a machine tool controlled by a numerical control device. Each axis of the virtual machine coordinate system is called a virtual axis. In the example shown in FIG. 1, the actual machine coordinate system including the X-axis and the Y-axis is rotated by 45 ° clockwise, and the origin (described as the actual machine coordinate origin in FIG. 1) is set to −120 mm on the X-axis. The virtual machine coordinate system is the one that is shifted and shifted by -60 mm on the Y axis.

図1に示す仮想機械座標系を用いる仮想軸制御は、例えば、ねじ切り加工で使用する切削工具の振動方向が、実機械座標系のX軸(図1では実X軸と記載)から45°傾いている場合に使用される。この仮想軸制御では切削工具の振動方向と仮想X軸の方向とが一致する。 In the virtual axis control using the virtual machine coordinate system shown in FIG. 1, for example, the vibration direction of the cutting tool used in thread cutting is tilted by 45 ° from the X axis of the actual machine coordinate system (described as the actual X axis in FIG. 1). Used when In this virtual axis control, the vibration direction of the cutting tool and the direction of the virtual X axis coincide with each other.

図2は、各実施の形態にかかる数値制御装置が制御する対象の工作機械の構成例を説明するための図である。図2に示すように、各実施の形態にかかる数値制御装置が制御する対象の工作機械は、T1〜T5の5種類の切削工具が取り付けられた刃物台を有し、いずれか一つの切削工具を使用してワークの加工を行う構成である。図2は、ワークの回転軸の方向から見たときの刃物台の断面を示している。各切削工具は、刃物がワークの方向を向くように設置されている。各切削工具は、ワークに向かって直線上を移動するように制御される。各切削工具は、数値制御装置が、刃物台を実X軸方向に移動させるX軸サーボモータと、刃物台を実Y軸方向に移動させるY軸サーボモータとを制御することにより、ワークの中心を通る直線上を移動する。なお、切削工具の数は一例であり5種類に限定されない。 FIG. 2 is a diagram for explaining a configuration example of a target machine tool controlled by the numerical control device according to each embodiment. As shown in FIG. 2, the target machine tool controlled by the numerical control device according to each embodiment has a tool post to which five types of cutting tools T1 to T5 are attached, and any one of the cutting tools. It is a configuration in which the work is machined using. FIG. 2 shows a cross section of the turret when viewed from the direction of the rotation axis of the work. Each cutting tool is installed so that the cutting tool faces the direction of the work. Each cutting tool is controlled to move in a straight line toward the workpiece. In each cutting tool, the numerical control device controls the X-axis servomotor that moves the tool post in the actual X-axis direction and the Y-axis servomotor that moves the tool post in the actual Y-axis direction, thereby centering the work. Move on a straight line passing through. The number of cutting tools is an example and is not limited to five types.

図2に示す構成を有する工作機械を使用して振動切削加工を行う場合、X軸およびY軸それぞれについての振動指令を加工プログラムに書き込むことにより、ワークの中心を通る直線上で切削工具を振動させることが可能である。しかし、このような方法で振動切削加工を行う場合、加工プログラムの作成負荷が大きくなる。そのため、各実施の形態にかかる数値制御装置は、切削工具の制御で仮想軸制御を使用できるようにする。仮想軸制御を用いることで、1つの仮想軸に沿って工具が振動させることが可能となる。すなわち、1つの軸に対する振動指令で、切削工具を仮想軸上で振動させることが可能となる。加工プログラムの作成者は、振動切削を行う加工プログラムを作成する際、仮想軸を意識する必要は無く、実X軸または実Y軸を基準軸とし、基準軸の方向で切削工具を振動させる振動指令を使用して振動条件を指定すればよい。これにより、図2に示す構成を有する工作機械、すなわち、切削工具の振動方向がいずれの駆動軸の方向とも異なる構成の工作機械を使用して振動切削加工を行うための加工プログラムを作成する作業の負荷が軽減される。 When vibration cutting is performed using a machine tool having the configuration shown in FIG. 2, the cutting tool is vibrated on a straight line passing through the center of the work by writing vibration commands for each of the X-axis and the Y-axis in the machining program. It is possible to make it. However, when the vibration cutting process is performed by such a method, the load for creating the processing program becomes large. Therefore, the numerical control device according to each embodiment enables the virtual axis control to be used in the control of the cutting tool. By using the virtual axis control, the tool can be vibrated along one virtual axis. That is, it is possible to vibrate the cutting tool on the virtual axis by a vibration command for one axis. The creator of the machining program does not need to be aware of the virtual axis when creating a machining program for vibration cutting, and vibrates the cutting tool in the direction of the reference axis with the actual X-axis or the actual Y-axis as the reference axis. Vibration conditions may be specified using commands. As a result, a work of creating a machining program for performing vibration cutting using a machine tool having the configuration shown in FIG. 2, that is, a machine tool having a configuration in which the vibration direction of the cutting tool is different from the direction of any drive shaft. Load is reduced.

数値制御装置は、図2に示す構成を有する工作機械を制御する場合、ワークの加工で使用する切削工具を変更するごとに、仮想機械座標の設定を変更する。図2では、切削工具T2を使用してワークを加工する場合の例を示しており、この場合、数値制御装置は、切削工具T2が移動する方向と仮想X軸の方向が一致するように仮想機械座標を設定した上で、仮想機械座標を用いて刃物台の動作を制御する。切削工具T2を使用する場合について説明したが、他の切削工具を使用する場合も同様である。例えば、切削工具T4を使用する場合、数値制御装置は、切削工具T4が移動する方向と仮想X軸の方向が一致するように仮想機械座標の設定を変更する。なお、切削工具T3を使用する場合、数値制御装置は、切削工具T3が移動する方向と仮想X軸の方向が一致するように仮装機械座標の設定を変更するが、この場合の仮想X軸は実X軸と一致する。図2に示した例では切削工具の振動方向と仮想X軸の方向が一致するように設定を行うこととしたが、切削工具の振動方向と仮想Y軸の方向が一致するように設定を行ってもよい。 When the numerical control device controls the machine tool having the configuration shown in FIG. 2, the setting of the virtual machine coordinates is changed every time the cutting tool used for machining the work is changed. FIG. 2 shows an example in which a work is machined using the cutting tool T2. In this case, the numerical control device virtualizes the direction in which the cutting tool T2 moves and the direction of the virtual X-axis coincide with each other. After setting the machine coordinates, the operation of the tool post is controlled using the virtual machine coordinates. The case where the cutting tool T2 is used has been described, but the same applies to the case where another cutting tool is used. For example, when the cutting tool T4 is used, the numerical control device changes the setting of the virtual machine coordinates so that the direction in which the cutting tool T4 moves and the direction of the virtual X-axis match. When the cutting tool T3 is used, the numerical control device changes the setting of the disguised machine coordinates so that the direction in which the cutting tool T3 moves and the direction of the virtual X-axis coincide with each other. In this case, the virtual X-axis is Matches the real X-axis. In the example shown in FIG. 2, it was decided to set so that the vibration direction of the cutting tool and the direction of the virtual X-axis match, but the setting is made so that the vibration direction of the cutting tool and the direction of the virtual Y-axis match. You may.

このように、各実施の形態にかかる数値制御装置は、使用する切削工具の振動方向と仮想機械座標のX軸である仮想X軸の方向が一致するように、または、使用する切削工具の振動方向と仮想機械座標のY軸である仮想Y軸の方向が一致するように、仮想機械座標を設定し、仮想機械座標を使用して、工作機械が有する各軸の制御を行う。各実施の形態にかかる数値制御装置は、図2に示すX軸サーボモータおよびY軸サーボモータを制御することで、切削工具T1〜T5を実X軸方向および実Y軸方向に移動させる。なお、各実施の形態では、切削工具を「工具」と記載する。また、各実施の形態の説明では、実X軸をX軸と称し、実Y軸をY軸と称する場合がある。 As described above, in the numerical control device according to each embodiment, the vibration direction of the cutting tool used and the direction of the virtual X-axis, which is the X-axis of the virtual machine coordinates, coincide with each other, or the vibration of the cutting tool used. The virtual machine coordinates are set so that the direction and the direction of the virtual Y-axis, which is the Y-axis of the virtual machine coordinates, match, and the virtual machine coordinates are used to control each axis of the machine tool. The numerical control device according to each embodiment controls the X-axis servomotor and the Y-axis servomotor shown in FIG. 2 to move the cutting tools T1 to T5 in the actual X-axis direction and the actual Y-axis direction. In each embodiment, the cutting tool is referred to as a "tool". Further, in the description of each embodiment, the actual X-axis may be referred to as an X-axis, and the actual Y-axis may be referred to as a Y-axis.

実施の形態1.
図3は、実施の形態1にかかる数値制御装置の構成例を示す図である。実施の形態1にかかる数値制御装置1Xは、入力操作部3と、表示部4と、制御演算部2Xと、を備える。図3では、数値制御装置1Xにより制御される工作機械に設けられた駆動部90も併せて記載している。工作機械の駆動部90以外の構成要素については記載を省略している。
Embodiment 1.
FIG. 3 is a diagram showing a configuration example of the numerical control device according to the first embodiment. The numerical control device 1X according to the first embodiment includes an input operation unit 3, a display unit 4, and a control calculation unit 2X. In FIG. 3, the drive unit 90 provided in the machine tool controlled by the numerical control device 1X is also shown. The description of the components other than the drive unit 90 of the machine tool is omitted.

工作機械に設けられた駆動部90は、加工対象物であるワークおよび工具のいずれか一方または両方を少なくとも2軸方向に駆動する機構である。ここでは、数値制御装置1X上で規定された各軸の方向にワークおよび工具の一方または両方を移動させる複数のサーボモータ91と、各サーボモータ91の回転子の位置および回転速度を検出する複数の検出器92と、を備える。また、駆動部90は、検出器92が検出した位置および回転速度に基づいてサーボモータ91の制御を行うX軸サーボ制御部93X,Y軸サーボ制御部93Y,…を備える。なお、以下では、駆動軸の方向を区別する必要がない場合、各軸に対応するサーボ制御部(X軸サーボ制御部93X,Y軸サーボ制御部93Y,…)を単にサーボ制御部93と表記する。また、駆動部90は、ワークを回転させるための主軸を回転させる主軸モータ94と、主軸モータ94の回転子の位置および回転数を検出する検出器95と、検出器95が検出した位置および回転数に基づいて主軸モータ94を制御する主軸制御部96と、を備える。 The drive unit 90 provided in the machine tool is a mechanism for driving one or both of the work and the tool, which are the objects to be machined, in at least two axial directions. Here, a plurality of servomotors 91 for moving one or both of the workpiece and the tool in the direction of each axis defined on the numerical control device 1X, and a plurality for detecting the position and rotation speed of the rotor of each servomotor 91. The detector 92 and the above are provided. Further, the drive unit 90 includes an X-axis servo control unit 93X, a Y-axis servo control unit 93Y, ... That controls the servomotor 91 based on the position and rotation speed detected by the detector 92. In the following, when it is not necessary to distinguish the directions of the drive axes, the servo control units (X-axis servo control unit 93X, Y-axis servo control unit 93Y, ...) Corresponding to each axis are simply referred to as servo control units 93. do. Further, the drive unit 90 includes a spindle motor 94 for rotating the spindle for rotating the work, a detector 95 for detecting the position and rotation speed of the rotor of the spindle motor 94, and a position and rotation detected by the detector 95. A spindle control unit 96 that controls the spindle motor 94 based on the number is provided.

数値制御装置1Xの説明に戻り、入力操作部3は、数値制御装置1Xに情報を入力する手段である。入力操作部3は、キーボード、操作ボタン、マウスなどによって構成され、ユーザによる数値制御装置1Xに対するコマンド、加工プログラム、パラメータなどの入力を受け付け、制御演算部2Xに受け渡す。 Returning to the description of the numerical control device 1X, the input operation unit 3 is a means for inputting information to the numerical control device 1X. The input operation unit 3 is composed of a keyboard, operation buttons, a mouse, and the like, and receives inputs such as commands, processing programs, and parameters for the numerical control device 1X by the user, and delivers them to the control calculation unit 2X.

表示部4は、液晶表示装置などによって構成され、制御演算部2Xによって処理された情報の表示などを行う。 The display unit 4 is composed of a liquid crystal display device or the like, and displays information processed by the control calculation unit 2X and the like.

制御演算部2Xは、入力制御部32と、データ設定部33と、記憶部34と、画面処理部31と、制御信号処理部35と、PLC(Programmable Logic Controller)36と、解析処理部37と、補間処理部38Xと、加減速処理部39と、軸データ入出力部40と、を備える。なお、PLC36は制御演算部2Xの外部に配置されていてもよい。 The control calculation unit 2X includes an input control unit 32, a data setting unit 33, a storage unit 34, a screen processing unit 31, a control signal processing unit 35, a PLC (Programmable Logic Controller) 36, and an analysis processing unit 37. , An interpolation processing unit 38X, an acceleration / deceleration processing unit 39, and an axis data input / output unit 40. The PLC 36 may be arranged outside the control calculation unit 2X.

入力制御部32は、入力操作部3から入力される情報を受け付ける。データ設定部33は、入力制御部32が受け付けた情報を記憶部34に格納する。たとえば、入力された内容が、記憶部34が保持している加工プログラム343の編集の場合、データ設定部33は、記憶部34が保持している加工プログラム343に編集された内容を反映させる。また、パラメータが入力された場合、データ設定部33は、記憶部34が保持しているパラメータ341を更新する。 The input control unit 32 receives the information input from the input operation unit 3. The data setting unit 33 stores the information received by the input control unit 32 in the storage unit 34. For example, when the input content is an edit of the machining program 343 held by the storage unit 34, the data setting unit 33 reflects the edited content in the machining program 343 held by the storage unit 34. When a parameter is input, the data setting unit 33 updates the parameter 341 held by the storage unit 34.

記憶部34は、制御演算部2Xの処理で使用されるパラメータ341、表示部4に表示させる表示データ342、実行される加工プログラム343などを記憶する。 The storage unit 34 stores parameters 341 used in the processing of the control calculation unit 2X, display data 342 to be displayed on the display unit 4, processing program 343 to be executed, and the like.

また、記憶部34には、パラメータ341、表示データ342および加工プログラム343以外のデータを記憶する共有エリア344が設けられている。この共有エリア344には、制御演算部2Xが駆動部90を制御する処理で生成されるデータが一時的に格納される。画面処理部31は、記憶部34が保持する表示データ342を表示部4に表示させる制御を行う。 Further, the storage unit 34 is provided with a shared area 344 for storing data other than the parameter 341, the display data 342, and the processing program 343. In the shared area 344, data generated by a process in which the control calculation unit 2X controls the drive unit 90 is temporarily stored. The screen processing unit 31 controls the display unit 4 to display the display data 342 held by the storage unit 34.

解析処理部37は、移動指令解析部371および振動指令解析部372を備える。解析処理部37は、1以上のブロックを含む加工プログラム343を記憶部34から読み込み、読み込んだ加工プログラム343を移動指令解析部371または振動指令解析部372で解析する。移動指令解析部371は、加工プログラム343に含まれる移動指令を解析し、解析結果を記憶部34の共有エリア344に書き込む。振動指令解析部372は、加工プログラム343に含まれる振動指令を解析し、解析結果を記憶部34の共有エリア344に書き込む。振動指令は、振動切削加工における工具の振動の内容を示す引数を含む。振動指令には、振動方向、すなわち、どの軸の方向に工具を振動させるかを示す引数、振動の振幅を示す引数、振動の周波数を示す引数などが含まれる。振動の周波数は、例えば、主軸が1回転する間の振動回数で示される。振動指令は、例えばG165コードで示される。 The analysis processing unit 37 includes a movement command analysis unit 371 and a vibration command analysis unit 372. The analysis processing unit 37 reads a machining program 343 including one or more blocks from the storage unit 34, and analyzes the read machining program 343 with the movement command analysis unit 371 or the vibration command analysis unit 372. The movement command analysis unit 371 analyzes the movement command included in the machining program 343 and writes the analysis result in the shared area 344 of the storage unit 34. The vibration command analysis unit 372 analyzes the vibration command included in the machining program 343 and writes the analysis result in the shared area 344 of the storage unit 34. The vibration command includes an argument indicating the content of the vibration of the tool in the vibration cutting process. The vibration command includes an argument indicating the vibration direction, that is, in which axis direction the tool is vibrated, an argument indicating the amplitude of vibration, an argument indicating the frequency of vibration, and the like. The frequency of vibration is indicated by, for example, the number of vibrations during one rotation of the spindle. The vibration command is indicated by, for example, a G165 code.

制御信号処理部35は、解析処理部37によって、数値制御軸である駆動軸を動作させる指令以外の機械を動作させる指令としての補助指令が読み込まれた場合に、補助指令が指令されたことをPLC36に通知する。補助指令の例は、MコードまたはTコードである。 The control signal processing unit 35 indicates that the auxiliary command is commanded when the analysis processing unit 37 reads an auxiliary command as a command for operating a machine other than a command for operating the drive shaft, which is a numerical control axis. Notify PLC36. An example of an auxiliary command is an M code or a T code.

PLC36は、制御信号処理部35から補助指令が指令されたことの通知を受けると、その補助指令に対応する処理を実行する。PLC36は、機械動作が記述されたラダープログラムを保持している。PLC36は、補助指令であるTコードまたはMコードを受付けると、ラダープログラムに従って補助指令に対応する処理を実行する。PLC36は、補助指令に対応する処理を実行した後、加工プログラム343の次のブロックを実行させるために、補助指令に対応する処理が完了したことを示す完了信号を制御信号処理部35に送る。 Upon receiving the notification from the control signal processing unit 35 that the auxiliary command has been commanded, the PLC 36 executes the process corresponding to the auxiliary command. The PLC 36 holds a ladder program in which the machine operation is described. When the PLC 36 receives the T code or M code which is the auxiliary command, the PLC 36 executes the process corresponding to the auxiliary command according to the ladder program. After executing the process corresponding to the auxiliary command, the PLC 36 sends a completion signal indicating that the process corresponding to the auxiliary command is completed to the control signal processing unit 35 in order to execute the next block of the machining program 343.

制御演算部2Xにおいて、制御信号処理部35と、解析処理部37と、補間処理部38Xとは、記憶部34を介して接続されている。解析処理部37、制御信号処理部35および補間処理部38Xは、記憶部34の共有エリア344を介して、各種情報の受け渡しを行う。以下では、制御信号処理部35、解析処理部37および補間処理部38Xの間で情報の受け渡しを説明する際に、記憶部34が介されていることの記載を省略する場合がある。 In the control calculation unit 2X, the control signal processing unit 35, the analysis processing unit 37, and the interpolation processing unit 38X are connected via the storage unit 34. The analysis processing unit 37, the control signal processing unit 35, and the interpolation processing unit 38X transfer various information via the shared area 344 of the storage unit 34. In the following, when explaining the transfer of information between the control signal processing unit 35, the analysis processing unit 37, and the interpolation processing unit 38X, the description that the storage unit 34 is interposed may be omitted.

補間処理部38Xは、工具の移動経路に関連する引数を含む指令を解析処理部37が解析した場合、解析した指令に含まれる引数を使用し、補間処理により工具の移動経路を算出する。工具の移動経路に関連する引数を含む指令とは、工具の位置を示す引数、工具の移動速度を示す引数、補間処理で使用する補間方法を示す引数、などを1つ以上含む指令である。振動指令も工具の移動経路に関連する引数を含む指令に該当する。 When the analysis processing unit 37 analyzes a command including an argument related to the tool movement path, the interpolation processing unit 38X calculates the tool movement path by interpolation processing using the argument included in the analyzed command. The command including an argument related to the movement path of the tool is a command including one or more arguments indicating the position of the tool, the movement speed of the tool, the interpolation method used in the interpolation process, and the like. The vibration command also corresponds to a command including an argument related to the movement path of the tool.

補間処理部38Xは、分配比決定部381、波形情報取得部382、比較部383、指令振動波形調整部384X、振動波形生成部385および振動移動量算出部386を備える。 The interpolation processing unit 38X includes a distribution ratio determination unit 381, a waveform information acquisition unit 382, a comparison unit 383, a command vibration waveform adjustment unit 384X, a vibration waveform generation unit 385, and a vibration movement amount calculation unit 386.

振動波形生成部385は、振動指令解析部372が振動指令を解析した結果に基づいて、すなわち、解析した振動指令に含まれる引数に基づいて、工具を振動させる制御を行う際の工具の移動経路を示す振動波形を生成する。振動波形生成部385が生成する振動波形は、仮想軸の方向に工具を振動させる場合の工具の振動経路を示す。 The vibration waveform generation unit 385 controls the movement of the tool based on the result of the vibration command analysis unit 372 analyzing the vibration command, that is, based on the argument included in the analyzed vibration command. Generates a vibration waveform indicating. The vibration waveform generated by the vibration waveform generation unit 385 indicates the vibration path of the tool when the tool is vibrated in the direction of the virtual axis.

分配比決定部381は、振動波形生成部385が生成する振動波形を、仮想軸制御により工具を移動させる際に制御する各駆動軸に分配する比率を決定する。上述したように、仮想軸制御は、複数の駆動軸を同期制御することにより、仮想軸の方向に工具を移動させる。そのため、工具の仮想軸の方向の移動量は、仮想軸制御で同期制御を行う各駆動軸の方向それぞれの移動量を合成したものとなる。一方、振動波形生成部385が生成する振動波形は、仮想軸を用いて表現される仮想機械座標系における波形、すなわち、仮想軸の方向の振動を示す波形である。そのため、分配比決定部381は、振動波形生成部385が生成する振動波形の成分を各駆動軸にどのような比率で分配すれば、駆動軸それぞれの方向の振動を示す波形が得られるかを決定する。 The distribution ratio determination unit 381 determines the ratio of the vibration waveform generated by the vibration waveform generation unit 385 to be distributed to each drive shaft controlled when the tool is moved by virtual axis control. As described above, the virtual axis control moves the tool in the direction of the virtual axis by synchronously controlling a plurality of drive axes. Therefore, the amount of movement in the direction of the virtual axis of the tool is a combination of the amount of movement in each direction of each drive shaft that is synchronously controlled by the virtual axis control. On the other hand, the vibration waveform generated by the vibration waveform generation unit 385 is a waveform in the virtual machine coordinate system expressed by using the virtual axis, that is, a waveform showing vibration in the direction of the virtual axis. Therefore, the distribution ratio determination unit 381 determines at what ratio the components of the vibration waveform generated by the vibration waveform generation unit 385 should be distributed to each drive shaft to obtain a waveform showing vibration in each direction of the drive shaft. decide.

波形情報取得部382は、工具を振動させる制御を行った場合の工具の実際の移動経路を示す波形に関する情報を、駆動部90から取得する。 The waveform information acquisition unit 382 acquires information on the waveform indicating the actual movement path of the tool when the tool is controlled to vibrate from the drive unit 90.

比較部383は、振動波形生成部385が生成した振動波形と、波形情報取得部382が取得した情報が示す波形であるフィードバック波形とを比較する。比較部383は、振動波形生成部385が生成した振動波形をX軸の成分とY軸の成分とに分離して比較を行う。具体的には、比較部383は、X軸の成分が示すX軸上の振動波形を、X軸のサーボモータ91の回転子の位置および速度を検出する検出器92から取得した情報が示すX軸のフィードバック波形と比較する。また、比較部383は、Y軸の成分が示すY軸上の振動波形を、Y軸のサーボモータ91の回転子の位置および速度を検出する検出器92から取得した情報が示すY軸のフィードバック波形と比較する。 The comparison unit 383 compares the vibration waveform generated by the vibration waveform generation unit 385 with the feedback waveform which is the waveform indicated by the information acquired by the waveform information acquisition unit 382. The comparison unit 383 separates the vibration waveform generated by the vibration waveform generation unit 385 into an X-axis component and a Y-axis component for comparison. Specifically, the comparison unit 383 uses information indicating the vibration waveform on the X-axis indicated by the component of the X-axis from the detector 92 that detects the position and speed of the rotor of the X-axis servomotor 91. Compare with the feedback waveform of the axis. Further, the comparison unit 383 feeds back the vibration waveform on the Y-axis indicated by the Y-axis component by the information obtained from the detector 92 that detects the position and speed of the rotor of the Y-axis servomotor 91. Compare with waveform.

指令振動波形調整部384Xは、比較部383による比較結果に基づいて、後述する指令振動波形を調整する。 The command vibration waveform adjusting unit 384X adjusts the command vibration waveform described later based on the comparison result by the comparison unit 383.

振動移動量算出部386は、振動波形生成部385が生成した振動波形と、分配比決定部381が決定した比率とに基づいて、X軸上での工具の移動経路を示すX軸の指令振動波形およびY軸上での工具の移動経路を示すY軸の指令振動波形を生成し、生成した各軸の指令振動波形に基づいて、工具を振動させて振動切削加工を行う際の工具の単位時間あたりの移動量を算出する。振動移動量算出部386は、駆動軸ごとに、工具の単位時間あたりの移動量である振動移動量を算出する。すなわち、振動移動量算出部386は、駆動軸ごとの指令振動波形に基づいて、工具のX軸の振動移動量と、工具のY軸の振動移動量とを算出する。 The vibration movement amount calculation unit 386 is an X-axis command vibration indicating the movement path of the tool on the X-axis based on the vibration waveform generated by the vibration waveform generation unit 385 and the ratio determined by the distribution ratio determination unit 381. A unit of a tool when a Y-axis command vibration waveform indicating a waveform and a tool movement path on the Y-axis is generated, and the tool is vibrated to perform vibration cutting based on the generated command vibration waveform of each axis. Calculate the amount of movement per hour. The vibration movement amount calculation unit 386 calculates the vibration movement amount, which is the movement amount of the tool per unit time, for each drive shaft. That is, the vibration movement amount calculation unit 386 calculates the vibration movement amount of the X-axis of the tool and the vibration movement amount of the Y-axis of the tool based on the command vibration waveform for each drive shaft.

加減速処理部39は、補間処理部38Xの振動移動量算出部386から受け取った各駆動軸の単位時間あたりの移動量を、予め指定された加減速パターンに基づいて、加減速を考慮した単位時間あたりの移動指令に変換する。 The acceleration / deceleration processing unit 39 calculates the movement amount of each drive shaft per unit time received from the vibration movement amount calculation unit 386 of the interpolation processing unit 38X, based on a predetermined acceleration / deceleration pattern, in consideration of acceleration / deceleration. Convert to a movement command per hour.

軸データ入出力部40は、加減速処理部39から出力される単位時間あたりの移動指令を、各駆動軸を制御するサーボ制御部93に出力する。また、軸データ入出力部40は、駆動部90から、各サーボモータ91の位置および回転速度を示すデータを取得する。 The axis data input / output unit 40 outputs a movement command per unit time output from the acceleration / deceleration processing unit 39 to the servo control unit 93 that controls each drive axis. Further, the axis data input / output unit 40 acquires data indicating the position and rotation speed of each servomotor 91 from the drive unit 90.

図3に示す数値制御装置1Xがねじ切り加工において振動切削を行う場合の動作について簡単に説明する。 The operation when the numerical control device 1X shown in FIG. 3 performs vibration cutting in thread cutting will be briefly described.

数値制御装置1Xの解析処理部37は、加工プログラム343から1ブロックを読み出し、読み出したブロックがねじ切り指令の場合は移動指令解析部371で解析を行い、読み出したブロックが振動指令の場合は振動指令解析部372で解析を行う。解析処理部37は、例えば、読み出したブロックがG33コードであれば、ねじ切り指令と判断し、読み出したブロックがG165コードであれば、振動指令と判断する。 The analysis processing unit 37 of the numerical control device 1X reads one block from the machining program 343, analyzes the read block by the movement command analysis unit 371 when the read block is a thread cutting command, and when the read block is a vibration command, a vibration command. Analysis is performed by the analysis unit 372. For example, if the read block is a G33 code, the analysis processing unit 37 determines that it is a thread cutting command, and if the read block is a G165 code, it determines that it is a vibration command.

ねじ切り指令は、1回のねじ切り加工における工具の移動経路を指定する引数を含む。ねじ切り指令は、例えば、ねじ切り加工を開始する位置を示す引数と、ねじ切り加工を終了する位置を示す引数と、ワーク1回転あたりの工具の移動量を示す引数(ピッチ)とを含む。ねじ切り加工で使用する工具は、使用する工具を指定する指令によって予め指定されることを想定するが、使用する工具を指定する引数をねじ切り指令に含めてもよい。 The thread cutting command includes an argument that specifies the movement path of the tool in one thread cutting process. The thread cutting command includes, for example, an argument indicating a position where thread cutting is started, an argument indicating a position where thread cutting is finished, and an argument (pitch) indicating the amount of movement of the tool per rotation of the work. The tool used in thread cutting is assumed to be specified in advance by a command for specifying the tool to be used, but an argument for specifying the tool to be used may be included in the thread cutting command.

ねじ切り加工において振動切削を行う場合、通常のワークの加工において振動切削を行う場合とは異なり、ねじ切りの加工方向に対して垂直な方向、すなわち、ワークの回転軸に対して垂直な方向に工具を振動させながら、ねじ切り加工を行う(図4参照)。図4は、ねじ切り加工において振動切削を行う場合の工具の振動方向を示す図である。X軸とZは直交するものとする。図4に示すように、加工方向がZ軸の方向の場合、振動切削で工具を振動させる方向はX軸方向となる。 When performing vibration cutting in thread cutting, unlike the case of performing vibration cutting in normal workpiece processing, the tool is placed in the direction perpendicular to the thread cutting direction, that is, in the direction perpendicular to the rotation axis of the work. Thread cutting is performed while vibrating (see FIG. 4). FIG. 4 is a diagram showing a vibration direction of a tool when vibration cutting is performed in thread cutting. It is assumed that the X-axis and Z are orthogonal to each other. As shown in FIG. 4, when the machining direction is the Z-axis direction, the direction in which the tool is vibrated by vibrating cutting is the X-axis direction.

振動波形生成部385は、振動指令解析部372が振動指令を解析すると、共有エリア344を介して、振動指令の解析結果を取得し、取得した解析結果を元に振動の基本波形である振動波形を生成する。振動移動量算出部386は、振動波形生成部385が生成した振動波形と、工具の移動経路とを使用して、例えばX軸の振動移動量を求める。具体的には、振動移動量算出部386は、工具の移動経路に振動波形の振幅を加算した振動前進位置と、工具の移動経路から振動波形の振幅を減算した振動後進位置とを求め、X軸の振動移動量を生成する。工具の移動経路は、移動指令解析部371によるねじ切り指令の解析結果から求める。 When the vibration command analysis unit 372 analyzes the vibration command, the vibration waveform generation unit 385 acquires the analysis result of the vibration command via the common area 344, and the vibration waveform which is the basic waveform of the vibration based on the acquired analysis result. To generate. The vibration movement amount calculation unit 386 obtains, for example, the vibration movement amount of the X-axis by using the vibration waveform generated by the vibration waveform generation unit 385 and the movement path of the tool. Specifically, the vibration movement amount calculation unit 386 obtains a vibration forward position in which the amplitude of the vibration waveform is added to the movement path of the tool and a vibration reverse position in which the amplitude of the vibration waveform is subtracted from the movement path of the tool. Generates the amount of vibration movement of the shaft. The movement path of the tool is obtained from the analysis result of the thread cutting command by the movement command analysis unit 371.

振動移動量算出部386で算出された振動移動量は、加減速処理部39および軸データ入出力部40を介して、駆動部90に送られる。駆動部90では、振動移動量算出部386から受け取った振動移動量に基づいて、X軸サーボ制御部93XがX軸のサーボモータ91を制御する。すなわち、ねじ切り加工における振動切削を行う。図5は、ねじ切り加工における振動切削のイメージを示す図である。図5では、濃い部分が、工具の振動に伴い切り込み量が大きくなりワークを深く切り込んだ部分を示し、淡い部分がワークを浅く切り込んだ部分を示す。1回目のねじ切り加工の図4に示すX軸方向の振動と2回目のねじ切り加工のX軸方向の振動の位相を例えば180°ずらすと、1回目に深く切り込んだ部分が、2回目は浅く切り込まれることになり、当該部分で、切り屑が分断される。すなわち、細切れの切り屑が排出されることになる。 The vibration movement amount calculated by the vibration movement amount calculation unit 386 is sent to the drive unit 90 via the acceleration / deceleration processing unit 39 and the shaft data input / output unit 40. In the drive unit 90, the X-axis servo control unit 93X controls the X-axis servomotor 91 based on the vibration movement amount received from the vibration movement amount calculation unit 386. That is, vibration cutting in thread cutting is performed. FIG. 5 is a diagram showing an image of vibration cutting in thread cutting. In FIG. 5, the dark portion indicates a portion where the depth of cut is increased due to the vibration of the tool and the work is deeply cut, and the light portion indicates a portion where the work is shallowly cut. When the phase of the vibration in the X-axis direction shown in FIG. 4 of the first thread cutting process and the vibration in the X-axis direction of the second thread cutting process are shifted by, for example, 180 °, the portion deeply cut in the first time is cut shallowly in the second time. It will be squeezed, and the chips will be divided at that part. That is, shredded chips will be discharged.

図6は、実施の形態1にかかる数値制御装置1Xが仮想軸制御により工具を振動させながらねじ切り加工を行う動作の一例を示すフローチャートである。ここで、仮想軸制御を行う場合、加工プログラム343には、仮想軸制御の開始を指示する仮想軸制御指令が含まれる。すなわち、仮想軸制御により工具を仮想軸上で振動させる場合、加工プログラム343の作成者は、数値制御装置1Xがまず仮想軸制御指令を実行し、その後に振動指令を実行する構成の加工プログラム343を作成する。仮想軸制御指令には、仮想軸制御で使用する仮想機械座標系と実機械座標系との関係を示す各種引数が含まれる。仮想軸制御指令に含まれる引数の例は、実機械座標系を回転させて仮想機械座標系を設定する際の回転角度、すなわち、仮想機械座標系を設定する際に実機械座標系の各実軸をどれだけ回転させるかを示す回転角度を示す引数、仮想機械座標系を設定する際に実機械座標系を各実軸の方向にどれだけシフトさせるかを示す引数、などである。振動指令は振動方向を示す引数が含まれるが、仮想軸制御を開始した後に実行する振動指令の引数は仮想機械座標系での振動方向を示す。例えば、X軸方向での振動を示す引数が含まれる振動指令を仮想軸制御開始後に実行した場合、振動指令の引数が示す振動方向は仮想X軸方向となる。 FIG. 6 is a flowchart showing an example of an operation in which the numerical control device 1X according to the first embodiment performs thread cutting while vibrating the tool by virtual axis control. Here, when performing virtual axis control, the machining program 343 includes a virtual axis control command instructing the start of virtual axis control. That is, when the tool is vibrated on the virtual axis by the virtual axis control, the creator of the machining program 343 has a machining program 343 having a configuration in which the numerical control device 1X first executes the virtual axis control command and then executes the vibration command. To create. The virtual axis control command includes various arguments indicating the relationship between the virtual machine coordinate system used in the virtual axis control and the real machine coordinate system. An example of the argument included in the virtual axis control command is the rotation angle when the real machine coordinate system is rotated and the virtual machine coordinate system is set, that is, each real of the real machine coordinate system is set when the virtual machine coordinate system is set. An argument indicating the rotation angle indicating how much the axis is rotated, an argument indicating how much the real machine coordinate system is shifted in the direction of each real axis when setting the virtual machine coordinate system, and the like. The vibration command includes an argument indicating the vibration direction, but the argument of the vibration command executed after starting the virtual axis control indicates the vibration direction in the virtual machine coordinate system. For example, when a vibration command including an argument indicating vibration in the X-axis direction is executed after the start of virtual axis control, the vibration direction indicated by the argument of the vibration command is the virtual X-axis direction.

図6に示す動作では、まず、解析処理部37が、加工プログラム343に含まれる指令のうち、仮想軸制御指令から、回転角度を取得する(ステップS1)。なお、ここでは仮想軸制御指令から回転角度を取得することとしたが、解析処理部37は、使用する工具を指定する指令に基づいて回転角度を取得してもよい。本実施の形態では、図2に示すように、ねじ切り加工で使用する各工具が加工時に移動する方向は予め決まっている。例えば、切削工具T2の振動方向に一致する仮想X軸と実X軸の角度は45°である。そのため、切削工具T2が使用する工具として指定された場合の回転角度は45°となる。また、切削工具T1が使用する工具として指定された場合の回転角度は90°となる。したがって、使用する工具が分かれば、仮想軸と実軸の角度、すなわち回転角度が分かる。 In the operation shown in FIG. 6, first, the analysis processing unit 37 acquires the rotation angle from the virtual axis control command among the commands included in the machining program 343 (step S1). Although the rotation angle is acquired from the virtual axis control command here, the analysis processing unit 37 may acquire the rotation angle based on the command for designating the tool to be used. In the present embodiment, as shown in FIG. 2, the direction in which each tool used in thread cutting is moved during machining is predetermined. For example, the angle between the virtual X-axis and the real X-axis that coincide with the vibration direction of the cutting tool T2 is 45 °. Therefore, when the cutting tool T2 is designated as the tool to be used, the rotation angle is 45 °. Further, when the cutting tool T1 is designated as a tool to be used, the rotation angle is 90 °. Therefore, if the tool to be used is known, the angle between the virtual axis and the real axis, that is, the rotation angle can be known.

次に、補間処理部38Xが、回転角度に基づいて、振動波形を実軸のそれぞれに分配する(ステップS2)。このステップS2では、まず、分配比決定部381が、ステップS1で取得された回転角度に基づいて、振動波形生成部385が生成する振動波形を実X軸および実Y軸に分配する比率(以下、分配比と称する)を決定する。分配比決定部381は、決定した分配比を振動移動量算出部386に通知する。振動波形生成部385は、振動指令の解析結果に基づいて振動波形を生成して振動移動量算出部386に渡す。振動移動量算出部386は、振動波形生成部385が生成した振動波形と分配比決定部381が決定した分配比とに基づいて、各軸の指令振動波形を生成する。すなわち、振動移動量算出部386は、振動波形生成部385が生成した振動波形の成分を分配比に従い実軸のそれぞれに分配して各軸の指令振動波形を生成する。本実施の形態では、振動移動量算出部386は、実X軸の指令振動波形と、実Y軸の指令振動波形とを生成する。そして、振動移動量算出部386は、実X軸の工具の移動量に実X軸の指令振動波形を重畳させ、また、実Y軸の工具の移動量に実Y軸の指令振動波形を重畳させることにより、各軸の振動移動量を生成する。振動移動量算出部386が生成した各軸の振動移動量は、加減速処理部39および軸データ入出力部40を経由して駆動部90の各軸のサーボ制御部93(X軸サーボ制御部93X,Y軸サーボ制御部93Y,…)に送られる。各軸のサーボ制御部93は、振動移動量算出部386から受け取った振動移動量に基づいて、制御対象のサーボモータ91を制御する。 Next, the interpolation processing unit 38X distributes the vibration waveform to each of the actual axes based on the rotation angle (step S2). In this step S2, first, the distribution ratio determination unit 381 distributes the vibration waveform generated by the vibration waveform generation unit 385 to the actual X-axis and the actual Y-axis based on the rotation angle acquired in step S1 (hereinafter,). , Called the distribution ratio). The distribution ratio determination unit 381 notifies the vibration movement amount calculation unit 386 of the determined distribution ratio. The vibration waveform generation unit 385 generates a vibration waveform based on the analysis result of the vibration command and passes it to the vibration movement amount calculation unit 386. The vibration movement amount calculation unit 386 generates a command vibration waveform for each axis based on the vibration waveform generated by the vibration waveform generation unit 385 and the distribution ratio determined by the distribution ratio determination unit 381. That is, the vibration movement amount calculation unit 386 distributes the components of the vibration waveform generated by the vibration waveform generation unit 385 to each of the actual axes according to the distribution ratio, and generates a command vibration waveform for each axis. In the present embodiment, the vibration movement amount calculation unit 386 generates a commanded vibration waveform on the actual X-axis and a commanded vibration waveform on the actual Y-axis. Then, the vibration movement amount calculation unit 386 superimposes the command vibration waveform of the actual X axis on the movement amount of the tool on the actual X axis, and superimposes the command vibration waveform of the actual Y axis on the movement amount of the tool on the actual Y axis. By doing so, the amount of vibration movement of each axis is generated. The vibration movement amount of each axis generated by the vibration movement amount calculation unit 386 is determined by the servo control unit 93 (X-axis servo control unit) of each axis of the drive unit 90 via the acceleration / deceleration processing unit 39 and the axis data input / output unit 40. It is sent to 93X, Y-axis servo control unit 93Y, ...). The servo control unit 93 of each axis controls the servomotor 91 to be controlled based on the vibration movement amount received from the vibration movement amount calculation unit 386.

図2に示す例では切削工具T2が選択されており、切削工具T2の振動方向に対応する仮想X軸の回転角度が45°である。この場合、振動波形の分配比は、実X軸が1/2、実Y軸が1/2となる。図2に示す切削工具T2を選択して振動切削を伴うねじ切り加工を行う場合の実X軸の指令振動波形および実Y軸の指令振動波形の一例を図7に示す。図7は、実施の形態1にかかる数値制御装置1Xの振動波形生成部385が生成する指令振動波形の一例を示す図である。図7の(a)は実X軸の指令振動波形を示し、(b)は実Y軸の指令振動波形を示す。説明を簡単化するため、図7では各軸の移動量を考慮しない指令振動波形、すなわち、各軸の移動量が0の場合の振動波形を示している。振動波形の分配比は実X軸が1/2、実Y軸が1/2であるため、実X軸の指令振動波形と実Y軸の指令振動波形は振幅および周波数が同じ波形となっている。回転角度が45°以外であれば、実X軸の指令振動波形の振幅と実Y軸の指令振動波形の振幅とは異なる大きさになる。なお、実X軸の指令振動波形および実Y軸の指令振動波形の周波数は回転角度が45°以外の場合も同じ値となる。 In the example shown in FIG. 2, the cutting tool T2 is selected, and the rotation angle of the virtual X-axis corresponding to the vibration direction of the cutting tool T2 is 45 °. In this case, the distribution ratio of the vibration waveform is 1/2 on the actual X-axis and 1/2 on the actual Y-axis. FIG. 7 shows an example of the commanded vibration waveform of the actual X-axis and the commanded vibration waveform of the actual Y-axis when the cutting tool T2 shown in FIG. 2 is selected and thread cutting is performed with vibration cutting. FIG. 7 is a diagram showing an example of a command vibration waveform generated by the vibration waveform generation unit 385 of the numerical control device 1X according to the first embodiment. FIG. 7A shows a commanded vibration waveform on the actual X-axis, and FIG. 7B shows a commanded vibration waveform on the actual Y-axis. For the sake of simplicity, FIG. 7 shows a command vibration waveform that does not consider the movement amount of each axis, that is, a vibration waveform when the movement amount of each axis is 0. Since the distribution ratio of the vibration waveform is 1/2 on the actual X-axis and 1/2 on the actual Y-axis, the commanded vibration waveform on the actual X-axis and the commanded vibration waveform on the actual Y-axis have the same amplitude and frequency. There is. If the rotation angle is other than 45 °, the amplitude of the commanded vibration waveform on the actual X-axis and the amplitude of the commanded vibration waveform on the actual Y-axis are different. The frequencies of the command vibration waveform of the actual X-axis and the command vibration waveform of the actual Y-axis have the same values even when the rotation angle is other than 45 °.

図6の説明に戻り、次に、波形情報取得部382が、各サーボモータ91に取り付けられた検出器92から出力されるデータに基づいて、各軸のフィードバック振動波形(以下、FB振動波形とする)を取得する(ステップS3)。FB振動波形とは、加工で使用している工具の実際の振動波形である。 Returning to the description of FIG. 6, next, the waveform information acquisition unit 382 uses the feedback vibration waveform of each axis (hereinafter referred to as the FB vibration waveform) based on the data output from the detector 92 attached to each servomotor 91. To be acquired (step S3). The FB vibration waveform is the actual vibration waveform of the tool used in machining.

次に、比較部383が、振動移動量算出部386が生成する各軸の指令振動波形とステップS3で取得した各軸のFB振動波形とを比較する(ステップS4)。指令振動波形とFB振動波形の比較は軸ごとに行う。例えば、振動移動量算出部386が生成する各軸の指令振動波形が図8の実線で示す波形であり、各軸のFB振動波形が図8の点線で示す波形である場合、比較部383は、実X軸の指令振動波形とFB振動波形では振幅が異なり、実Y軸の指令振動波形とFB振動波形では振幅および位相が異なると判断する。比較部383は、例えば、指令振動波形の振幅の最大値とFB振動波形の振幅の最大値とを比較することで、振幅が一致するかを判断する。また、比較部383は、例えば、指令振動波形の振幅が最大となる位置とFB振動波形の振幅が最大となる位置とを比較することで、位相が一致するかを判断する。比較部383は、指令振動波形とFB振動波形の振幅の差が定められた値以下の場合に振幅が一致していると判断し、指令振動波形とFB振動波形の位相の差が定められた値以下の場合に位相が一致していると判断してもよい。 Next, the comparison unit 383 compares the command vibration waveform of each axis generated by the vibration movement amount calculation unit 386 with the FB vibration waveform of each axis acquired in step S3 (step S4). The command vibration waveform and the FB vibration waveform are compared for each axis. For example, when the command vibration waveform of each axis generated by the vibration movement amount calculation unit 386 is the waveform shown by the solid line in FIG. 8 and the FB vibration waveform of each axis is the waveform shown by the dotted line in FIG. 8, the comparison unit 383 , It is judged that the amplitude is different between the command vibration waveform of the actual X axis and the FB vibration waveform, and the amplitude and phase are different between the command vibration waveform of the actual Y axis and the FB vibration waveform. The comparison unit 383 determines, for example, whether the amplitudes match by comparing the maximum value of the amplitude of the command vibration waveform with the maximum value of the amplitude of the FB vibration waveform. Further, the comparison unit 383 determines whether the phases match by comparing, for example, the position where the amplitude of the command vibration waveform is maximum and the position where the amplitude of the FB vibration waveform is maximum. The comparison unit 383 determines that the amplitudes match when the difference between the amplitudes of the command vibration waveform and the FB vibration waveform is equal to or less than the specified value, and the phase difference between the command vibration waveform and the FB vibration waveform is determined. If it is less than or equal to the value, it may be determined that the phases match.

各軸の指令振動波形とFB振動波形の振幅が一致する場合(ステップS5:Yes)、補間処理部38Xは、ステップS7の処理に進む。各軸の指令振動波形とFB振動波形の振幅が一致しない場合、すなわち、実X軸および実Y軸のうち、少なくとも一方の軸の指令振動波形とFB振動波形の振幅が一致しない場合(ステップS5:No)、指令振動波形調整部384Xが、振幅が一致していない軸の指令振動波形とFB振動波形の振幅の差分が0に近づくよう指令振動波形を調整する(ステップS6)。図8に示す例の場合、実X軸および実Y軸の双方において振幅が一致していないため、指令振動波形調整部384Xは、実X軸の指令振動波形および実Y軸の指令振動波形の振幅の調整を行う。指令振動波形調整部384Xは、例えば、指令振動波形のピーク値とFB振動波形のピーク値の差を複数の箇所で算出し、その平均値を、次回作成する指令振動波形のピーク値に加算または減算して振幅を調整する。以下、指令振動波形の振幅を調整する際の調整量を振動振幅調整量と称する。 When the amplitudes of the command vibration waveform of each axis and the FB vibration waveform match (step S5: Yes), the interpolation processing unit 38X proceeds to the process of step S7. When the amplitudes of the commanded vibration waveform and the FB vibration waveform of each axis do not match, that is, when the amplitudes of the commanded vibration waveform and the FB vibration waveform of at least one of the actual X-axis and the actual Y-axis do not match (step S5). : No), the command vibration waveform adjusting unit 384X adjusts the command vibration waveform so that the difference between the amplitudes of the command vibration waveform and the FB vibration waveform of the axes whose amplitudes do not match approaches 0 (step S6). In the case of the example shown in FIG. 8, since the amplitudes do not match in both the actual X-axis and the actual Y-axis, the command vibration waveform adjusting unit 384X uses the command vibration waveform of the actual X-axis and the command vibration waveform of the actual Y-axis. Adjust the amplitude. The command vibration waveform adjustment unit 384X calculates, for example, the difference between the peak value of the command vibration waveform and the peak value of the FB vibration waveform at a plurality of points, and adds the average value to the peak value of the command vibration waveform to be created next time. Adjust the amplitude by subtracting. Hereinafter, the adjustment amount when adjusting the amplitude of the command vibration waveform is referred to as a vibration amplitude adjustment amount.

各軸の指令振動波形とFB振動波形の位相が一致する場合(ステップS7:Yes)、補間処理部38Xは、ステップS3の処理に戻る。各軸の指令振動波形とFB振動波形の位相が一致しない場合、すなわち、実X軸および実Y軸のうち、少なくとも一方の軸の指令振動波形とFB振動波形の位相が一致しない場合(ステップS7:No)、指令振動波形調整部384Xが、位相が一致していない軸の指令振動波形とFB振動波形の位相のずれが0に近づくよう指令振動波形を調整する(ステップS8)。図8に示す例の場合、実X軸の指令振動波形とFB振動波形は位相が一致しており、実Y軸の指令振動波形とFB振動波形は位相が一致していないため、指令振動波形調整部384Xは、実Y軸の指令振動波形の位相の調整を行う。指令振動波形とFB振動波形の位相がずれる場合、通常は、FB振動波形の位相が指令振動波形の位相から遅れる。指令振動波形調整部384Xは、サーボモータ91の応答性を上げて位相のずれを0に近づけるために、電流ループゲイン、速度ループゲインなどのサーボパラメータを調整する。これらのサーボパラメータは記憶部34が保持するパラメータ341に含まれる。指令振動波形調整部384Xは、パラメータ341に含まれるサーボパラメータのうち、位相の調整に必要な各サーボパラメータの値を例えば「5」だけ上げて調整する。調整後のパラメータは、加減速処理部39および軸データ入出力部40を経由してX軸サーボ制御部93X,Y軸サーボ制御部93Y,…に送信され、この結果、サーボモータ91の電流ループゲイン、速度ループゲインなどが調整される。ここではサーボパラメータの調整量を「5」としたが他の調整量としてもよい。ステップS8を実行した後、補間処理部38Xは、ステップS3の処理に戻る。 When the phases of the command vibration waveform of each axis and the FB vibration waveform match (step S7: Yes), the interpolation processing unit 38X returns to the processing of step S3. When the phases of the commanded vibration waveform and the FB vibration waveform of each axis do not match, that is, when the phases of the commanded vibration waveform and the FB vibration waveform of at least one of the actual X-axis and the actual Y-axis do not match (step S7). : No), the command vibration waveform adjusting unit 384X adjusts the command vibration waveform so that the phase shift between the command vibration waveform and the FB vibration waveform of the axes whose phases do not match approaches 0 (step S8). In the case of the example shown in FIG. 8, the command vibration waveform of the actual X-axis and the FB vibration waveform have the same phase, and the command vibration waveform of the actual Y-axis and the FB vibration waveform do not have the same phase. The adjusting unit 384X adjusts the phase of the command vibration waveform of the actual Y axis. When the phase of the commanded vibration waveform and the phase of the FB vibration waveform are out of phase, the phase of the FB vibration waveform is usually delayed from the phase of the commanded vibration waveform. The command vibration waveform adjusting unit 384X adjusts servo parameters such as current loop gain and speed loop gain in order to improve the responsiveness of the servo motor 91 and bring the phase shift closer to zero. These servo parameters are included in the parameter 341 held by the storage unit 34. The command vibration waveform adjusting unit 384X adjusts by increasing the value of each servo parameter required for phase adjustment among the servo parameters included in the parameter 341 by, for example, "5". The adjusted parameters are transmitted to the X-axis servo control unit 93X, the Y-axis servo control unit 93Y, ... Via the acceleration / deceleration processing unit 39 and the axis data input / output unit 40, and as a result, the current loop of the servomotor 91. Gain, speed loop gain, etc. are adjusted. Here, the adjustment amount of the servo parameter is set to "5", but other adjustment amount may be used. After executing step S8, the interpolation processing unit 38X returns to the processing of step S3.

図6に示す動作を実行して指令振動波形を調整することにより、実X軸の指令振動波形と実Y軸の指令振動波形とを合成して得られる合成振動波形が、図9に示したものから図10に示したものとなる。図9に示す合成振動波形は、各軸の指令振動波形の振幅および位相を調整する前の合成振動波形、図10に示す合成振動波形は、各軸の指令振動波形の振幅および位相を調整した後の合成振動波形である。 A composite vibration waveform obtained by synthesizing the command vibration waveform of the actual X-axis and the command vibration waveform of the actual Y-axis by executing the operation shown in FIG. 6 and adjusting the command vibration waveform is shown in FIG. From the one shown in FIG. The synthetic vibration waveform shown in FIG. 9 is the synthetic vibration waveform before adjusting the amplitude and phase of the commanded vibration waveform of each axis, and the synthetic vibration waveform shown in FIG. 10 is adjusted in the amplitude and phase of the commanded vibration waveform of each axis. It is a later synthetic vibration waveform.

図6に示す動作、すなわち、工具を移動させる各軸のFB振動波形に基づいて各軸の指令振動波形の振幅および位相を調整する動作を行うことにより、各軸のサーボモータ91の応答性が異なる場合でも、合成振動波形を正常な形状に近づけることができる。この結果、仮想軸制御を使用して行う振動切削加工において切り屑の分断を確実に行うことができる。 By performing the operation shown in FIG. 6, that is, the operation of adjusting the amplitude and phase of the command vibration waveform of each axis based on the FB vibration waveform of each axis for moving the tool, the responsiveness of the servomotor 91 of each axis is improved. Even if they are different, the synthetic vibration waveform can be brought close to the normal shape. As a result, chips can be reliably divided in the vibration cutting process performed by using the virtual axis control.

本実施の形態では、振動切削加工に仮想軸制御を適用する場合について説明したが、図11に示す傾斜軸制御を適用することも可能である。図11に示す傾斜軸制御は、図12に示す構成の工作機械、すなわち、サーボモータが取り付けられる軸(図11,図12ではX軸およびY軸)の角度が90°以外の工作機械を制御する場合に使用される。図11に示す例の場合、実Y軸とプログラム上のY軸(図示のy軸)との傾斜角度がθである。y軸の方向に工具を振動させる場合、実X軸および実Y軸のサーボモータを同期制御する必要があるが、上述した仮想軸制御を適用する場合と同様に、y軸の振動波形を生成し、これを傾斜角度θに基づいて実X軸および実Y軸に分配することで、実X軸および実Y軸の指令振動波形を生成すればよい。 In the present embodiment, the case where the virtual axis control is applied to the vibration cutting process has been described, but the tilt axis control shown in FIG. 11 can also be applied. The tilt axis control shown in FIG. 11 controls a machine tool having the configuration shown in FIG. 12, that is, a machine tool having an angle other than 90 ° on the axes (X-axis and Y-axis in FIGS. 11 and 12) to which the servomotor is attached. Used when doing. In the case of the example shown in FIG. 11, the inclination angle between the actual Y-axis and the program Y-axis (the y-axis in the figure) is θ. When vibrating the tool in the y-axis direction, it is necessary to synchronously control the real X-axis and real Y-axis servomotors, but the vibration waveform of the y-axis is generated as in the case of applying the virtual axis control described above. Then, by distributing this to the actual X-axis and the actual Y-axis based on the inclination angle θ, the commanded vibration waveforms of the actual X-axis and the actual Y-axis may be generated.

また、図13に示す構成の工作機械で振動切削加工を行うことも可能である。図13に示す工作機械は、工具を回転し、位置決めを行い、使用する構成である。また、工具の移動方向が、工作機械が有する制御軸(図示のX軸,Z軸)と一致していない。そのため、工具を振動させる場合、複数の軸のサーボモータを同期制御する必要があるが、上述した仮想軸制御および傾斜軸制御と同様の方法で複数の軸それぞれの指令振動波形を生成すればよい。 It is also possible to perform vibration cutting with the machine tool having the configuration shown in FIG. The machine tool shown in FIG. 13 has a configuration in which a tool is rotated, positioned, and used. Further, the moving direction of the tool does not match the control axes (X-axis and Z-axis in the figure) of the machine tool. Therefore, when the tool is vibrated, it is necessary to synchronously control the servomotors of a plurality of axes. However, the command vibration waveforms of the plurality of axes may be generated by the same method as the virtual axis control and the tilt axis control described above. ..

なお、図2に示す切削工具T1,T3,T5を使用する場合、仮想軸制御指令が実行されずに振動指令が実行されることになる。この場合、補間処理部38Xの分配比決定部381は、切削工具T1を使用するときは回転角度を90°、切削工具T3を使用するときは回転角度を0°、切削工具T5を使用するときは回転角度を−90°として分配比を決定する。 When the cutting tools T1, T3, and T5 shown in FIG. 2 are used, the vibration command is executed without executing the virtual axis control command. In this case, the distribution ratio determination unit 381 of the interpolation processing unit 38X has a rotation angle of 90 ° when the cutting tool T1 is used, a rotation angle of 0 ° when the cutting tool T3 is used, and when the cutting tool T5 is used. Determines the distribution ratio with the rotation angle as −90 °.

つづいて、数値制御装置1Xが備える制御演算部2Xのハードウェア構成について説明する。図14は、実施の形態1にかかる数値制御装置1Xが備える制御演算部2Xのハードウェア構成例を示す図である。 Next, the hardware configuration of the control calculation unit 2X included in the numerical control device 1X will be described. FIG. 14 is a diagram showing a hardware configuration example of the control calculation unit 2X included in the numerical control device 1X according to the first embodiment.

制御演算部2Xは、図14に示したプロセッサ101およびメモリ102により実現することができる。プロセッサ101の例は、CPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、DSP(Digital Signal Processor)ともいう)またはシステムLSI(Large Scale Integration)である。メモリ102の例は、RAM(Random Access Memory)またはROM(Read Only Memory)である。 The control calculation unit 2X can be realized by the processor 101 and the memory 102 shown in FIG. An example of the processor 101 is a CPU (Central Processing Unit, a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, a DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration). An example of the memory 102 is a RAM (Random Access Memory) or a ROM (Read Only Memory).

制御演算部2Xは、プロセッサ101が、メモリ102で記憶されている、制御演算部2Xの動作を実行するためのプログラムを読み出して実行することにより実現される。また、このプログラムは、制御演算部2Xの手順または方法をコンピュータに実行させるものであるともいえる。メモリ102は、プロセッサ101が各種処理を実行する際の一時メモリにも使用される。 The control calculation unit 2X is realized by the processor 101 reading and executing a program stored in the memory 102 for executing the operation of the control calculation unit 2X. It can also be said that this program causes the computer to execute the procedure or method of the control calculation unit 2X. The memory 102 is also used as a temporary memory when the processor 101 executes various processes.

プロセッサ101が実行するプログラムは、コンピュータで実行可能な、データ処理を行うための複数の命令を含むコンピュータ読取り可能かつ非遷移的な(non-transitory)記録媒体を有するコンピュータプログラムプロダクトであってもよい。プロセッサ101が実行するプログラムは、複数の命令がデータ処理を行うことをコンピュータに実行させる。 The program executed by the processor 101 may be a computer program product having a computer-readable and non-transitory recording medium containing a plurality of instructions for performing data processing, which can be executed by a computer. .. The program executed by the processor 101 causes the computer to execute data processing by a plurality of instructions.

また、制御演算部2Xを専用のハードウェアで実現してもよい。また、制御演算部2Xの機能について、一部を専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。 Further, the control calculation unit 2X may be realized by dedicated hardware. Further, the functions of the control calculation unit 2X may be partially realized by dedicated hardware and partly realized by software or firmware.

以上のように、本実施の形態にかかる数値制御装置1Xは、工具を振動させる際の工具の移動経路を示す振動波形を生成する振動波形生成部385と、実機械座標系を回転させて仮想機械座標系を設定する際の実機械座標系の回転角度に基づいて、工具を振動させる際の制御対象軸のそれぞれに振動波形を分配する際の分配比を決定する分配比決定部381と、振動波形と分配比とに基づいて、制御対象軸のそれぞれにおける工具の振動波形を生成し、生成した振動波形に基づいて各制御対象軸の振動移動量を算出する振動移動量算出部386を備える。これにより、工具の振動方向が複数の駆動軸を同期制御することにより実現される仮想軸の方向である場合でも、振動切削を行うことが可能となる。また、数値制御装置1Xは、制御対象軸のそれぞれにおける工具の実際の振動波形と、振動移動量算出部386が生成する制御対象軸のそれぞれにおける工具の振動波形とを比較する比較部383と、比較部383での比較結果に基づいて、振動移動量算出部386が生成する制御対象軸のそれぞれにおける工具の振動波形を調整する指令振動波形調整部384Xを備える。これにより、各制御対象軸のサーボモータ91の応答性が異なる場合でも、切り屑の分断を確実に行うことができる。 As described above, the numerical control device 1X according to the present embodiment is virtual by rotating the vibration waveform generation unit 385 that generates a vibration waveform indicating the movement path of the tool when the tool is vibrated and the actual machine coordinate system. A distribution ratio determination unit 381 that determines the distribution ratio when distributing the vibration waveform to each of the controlled target axes when the tool is vibrated, based on the rotation angle of the actual machine coordinate system when setting the machine coordinate system. A vibration movement amount calculation unit 386 is provided, which generates a vibration waveform of a tool on each of the control target axes based on the vibration waveform and the distribution ratio, and calculates the vibration movement amount of each control target axis based on the generated vibration waveform. .. As a result, vibration cutting can be performed even when the vibration direction of the tool is the direction of the virtual axis realized by synchronously controlling a plurality of drive axes. Further, the numerical control device 1X has a comparison unit 383 that compares the actual vibration waveform of the tool on each of the control target axes with the vibration waveform of the tool on each of the control target axes generated by the vibration movement amount calculation unit 386. A command vibration waveform adjusting unit 384X for adjusting the vibration waveform of the tool in each of the controlled target axes generated by the vibration moving amount calculation unit 386 based on the comparison result in the comparison unit 383 is provided. As a result, even if the responsiveness of the servomotor 91 of each control target axis is different, the chips can be reliably divided.

実施の形態2.
図15は、実施の形態2にかかる数値制御装置の構成例を示す図である。図15では、実施の形態1にかかる数値制御装置1Xと同じ構成要素に同一の符号を付している。
Embodiment 2.
FIG. 15 is a diagram showing a configuration example of the numerical control device according to the second embodiment. In FIG. 15, the same components as those of the numerical control device 1X according to the first embodiment are designated by the same reference numerals.

実施の形態2にかかる数値制御装置1Yは、実施の形態1にかかる数値制御装置1Xの制御演算部2Xを制御演算部2Yに置き換えた構成である。制御演算部2Yは、実施の形態1にかかる制御演算部2Xの補間処理部38Xを補間処理部38Yに置き換えるとともに、機械学習装置50を追加した構成である。制御演算部2Yの補間処理部38Yおよび機械学習装置50以外の構成は実施の形態1にかかる制御演算部2Xと同じであるため、説明は省略する。 The numerical control device 1Y according to the second embodiment has a configuration in which the control calculation unit 2X of the numerical control device 1X according to the first embodiment is replaced with the control calculation unit 2Y. The control calculation unit 2Y has a configuration in which the interpolation processing unit 38X of the control calculation unit 2X according to the first embodiment is replaced with the interpolation processing unit 38Y, and the machine learning device 50 is added. Since the configurations other than the interpolation processing unit 38Y and the machine learning device 50 of the control calculation unit 2Y are the same as those of the control calculation unit 2X according to the first embodiment, the description thereof will be omitted.

補間処理部38Yは、補間処理部38Xの指令振動波形調整部384Xを指令振動波形調整部384Yに置き換えた構成である。指令振動波形調整部384Yは、機械学習装置50が出力する振動波形補正情報に基づいて指令振動波形を補正する。機械学習装置50は、学習部51および状態観測部52を含む。 The interpolation processing unit 38Y has a configuration in which the command vibration waveform adjustment unit 384X of the interpolation processing unit 38X is replaced with the command vibration waveform adjustment unit 384Y. The command vibration waveform adjusting unit 384Y corrects the command vibration waveform based on the vibration waveform correction information output by the machine learning device 50. The machine learning device 50 includes a learning unit 51 and a state observing unit 52.

機械学習装置50は、共有エリア344に格納されている各軸のイナーシャ情報と、比較部383が各軸の振動波形とFB振動波形とを比較して得られる各軸の振動波形ずれ量と、パラメータ341に含まれる各軸のサーボパラメータの変更情報とを用いて機械学習を行い、指令振動波形調整部384Yが指令振動波形を補正する際に使用する振動波形補正情報を生成する。 The machine learning device 50 comprises the inertia information of each axis stored in the common area 344, the vibration waveform deviation amount of each axis obtained by the comparison unit 383 comparing the vibration waveform of each axis and the FB vibration waveform, and the vibration waveform deviation amount of each axis. Machine learning is performed using the change information of the servo parameters of each axis included in the parameter 341, and the vibration waveform correction information used when the command vibration waveform adjustment unit 384Y corrects the command vibration waveform is generated.

機械学習装置50が振動波形補正情報を推測するための学習に使用する振動波形ずれ量とは、振動波形とFB振動波形の振幅の差および位相の差である。振動波形とFB振動波形の振幅の差は、上述した振動振幅調整量である。また、各軸のサーボパラメータの変更情報に関して、各軸のサーボパラメータとは、上述した図6のステップS8で位相のずれを0に近づけるために変更する電流ループゲイン、速度ループゲインなどである。サーボパラメータの変更情報とは、サーボパラメータの変更内容を示す情報である。 The vibration waveform deviation amount used by the machine learning device 50 for learning to estimate the vibration waveform correction information is a difference in amplitude and a difference in phase between the vibration waveform and the FB vibration waveform. The difference in amplitude between the vibration waveform and the FB vibration waveform is the vibration amplitude adjustment amount described above. Further, regarding the change information of the servo parameters of each axis, the servo parameters of each axis are a current loop gain, a speed loop gain, and the like which are changed in step S8 of FIG. 6 described above in order to bring the phase shift closer to zero. The servo parameter change information is information indicating the change contents of the servo parameter.

また、各軸のイナーシャ情報に関して、各軸のサーボモータ91は、それぞれ、カップリング等のリンク機構を介して、機械のボールねじと接続される。また、ボールねじには機械の構造体が取り付けられており、この取り付けられる構造体は、各軸で通常異なっている。したがって、各サーボモータ91が同じ容量であっても、取り付けられる構造体が異なっている関係で、サーボモータ91のそれぞれにかかるイナーシャは異なってくる。実際、機械を新規にセットアップする時に、サーボモータが適正なトルクが出せるように、サーボモータの調整を行う。この調整を行う際に、サーボモータにかかるイナーシャ情報が必要になる。本実施の形態にかかる数値制御装置1Yは、各軸のサーボモータ91にかかるイナーシャを計測する機能を有し、この機能を使用して予め計測したイナーシャ情報を共有エリア344に格納済みであるものとする。なお、数値制御装置1Yがイナーシャの計測機能を有することは本発明を実現する上で必須ではない。機械をセットアップする際に作業者が各軸のイナーシャを測定してイナーシャ情報を作成し、作成したイナーシャ情報を記憶部34の共有エリア344または他のエリアに予め格納しておけば、機械学習装置50は学習を行うことができる。 Further, regarding the inertia information of each axis, the servomotor 91 of each axis is connected to the ball screw of the machine via a link mechanism such as a coupling. Further, a mechanical structure is attached to the ball screw, and the attached structure is usually different for each axis. Therefore, even if each servomotor 91 has the same capacity, the inertia applied to each of the servomotors 91 will be different because the structures to be attached are different. In fact, when setting up a new machine, the servo motor is adjusted so that the servo motor can produce an appropriate torque. When making this adjustment, inertia information related to the servo motor is required. The numerical control device 1Y according to the present embodiment has a function of measuring the inertia applied to the servomotor 91 of each axis, and the inertia information measured in advance using this function is stored in the shared area 344. And. It should be noted that it is not essential for the numerical control device 1Y to have an inertia measurement function in order to realize the present invention. When the machine is set up, the operator measures the inertia of each axis, creates inertia information, and stores the created inertia information in the shared area 344 of the storage unit 34 or another area in advance, so that the machine learning device can be used. 50 can perform learning.

状態観測部52は、データ観測した結果であるデータセットを学習部51に出力する。学習部51は、状態観測部52から入力されるデータセットに基づいて、振動波形補正情報を学習する。すなわち、状態観測部52は、共有エリア344に格納されている各軸のイナーシャ情報と、指令振動波形調整部384Yによる各軸のサーボパラメータの変更内容を示す変更情報と、比較部383で生成された各軸の振動波形ずれ量とを状態変数として観測し、状態変数に基づいて作成したデータセットを学習部51に出力する。学習部51は、状態観測部52から出力されるデータセットに基づいて、振動波形補正情報を学習する。ここで、データセットは、振動振幅調整量、各軸のイナーシャ情報、各軸のサーボパラメータ変更情報および各軸の振動波形ずれ量を互いに関連付けたデータである。振動波形補正情報は、指令振動波形を補正してFB振動波形に近づける際の振幅の補正量すなわち振動振幅調整量と、実施の形態1で説明した各軸のFB振動波形を指令振動波形に近づけるために行うサーボパラメータの調整内容とを示す。 The state observation unit 52 outputs a data set, which is the result of data observation, to the learning unit 51. The learning unit 51 learns the vibration waveform correction information based on the data set input from the state observation unit 52. That is, the state observation unit 52 is generated by the comparison unit 383, the inertia information of each axis stored in the common area 344, the change information indicating the change contents of the servo parameters of each axis by the command vibration waveform adjustment unit 384Y. The amount of vibration waveform deviation of each axis is observed as a state variable, and the data set created based on the state variable is output to the learning unit 51. The learning unit 51 learns the vibration waveform correction information based on the data set output from the state observation unit 52. Here, the data set is data in which the vibration amplitude adjustment amount, the inertia information of each axis, the servo parameter change information of each axis, and the vibration waveform deviation amount of each axis are associated with each other. The vibration waveform correction information includes the amplitude correction amount, that is, the vibration amplitude adjustment amount when the command vibration waveform is corrected and brought closer to the FB vibration waveform, and the FB vibration waveform of each axis described in the first embodiment is brought closer to the command vibration waveform. The adjustment contents of the servo parameters to be performed for this purpose are shown.

なお、機械学習装置50は、例えば、実施の形態1にかかる数値制御装置1Xにネットワークを介して接続され、数値制御装置1Xとは別個の装置であってもよい。この場合、機械学習装置50は、クラウドサーバ上に存在していてもよい。また、機械学習装置50は、図15に図示したように数値制御装置1Yに内蔵されていてもよい。 The machine learning device 50 may be connected to the numerical control device 1X according to the first embodiment via a network, and may be a device separate from the numerical control device 1X. In this case, the machine learning device 50 may exist on the cloud server. Further, the machine learning device 50 may be built in the numerical control device 1Y as shown in FIG.

学習部51は、例えば、ニューラルネットワークモデルに従って、いわゆる教師あり学習により、各軸のイナーシャ情報、各軸のサーボパラメータ変更情報および各軸の振動波形ずれ量を互いに関連付けたデータセットから学習する。ここで、教師あり学習とは、ある入力と結果のデータの組を大量に学習装置に与えることで、それらのデータセットにある特徴を学習し、入力から結果を推定するモデルをいう。本実施の形態にかかる数値制御装置1Yにおいては、各軸の振動波形ずれ量が教師データとなる。 The learning unit 51 learns the inertia information of each axis, the servo parameter change information of each axis, and the vibration waveform deviation amount of each axis from the data set associated with each other by, for example, supervised learning according to the neural network model. Here, supervised learning refers to a model in which a large number of sets of data of a certain input and a result are given to a learning device, features in those data sets are learned, and the result is estimated from the input. In the numerical control device 1Y according to the present embodiment, the amount of vibration waveform deviation of each axis is the teacher data.

ニューラルネットワークは、複数のニューロンからなる入力層、複数のニューロンからなる中間層および複数のニューロンからなる出力層で構成される。中間層は隠れ層とも呼ばれる。中間層は、1層、または2層以上でもよい。 A neural network is composed of an input layer composed of a plurality of neurons, an intermediate layer composed of a plurality of neurons, and an output layer composed of a plurality of neurons. The middle layer is also called the hidden layer. The intermediate layer may be one layer or two or more layers.

例えば、3層のニューラルネットワークであれば、複数の入力が入力層に入力されると、その値に重みを掛けて中間層に入力され、その結果にさらに重みを掛けて出力層から出力される。この出力結果は、各々の重みの値によって変わる。 For example, in the case of a three-layer neural network, when multiple inputs are input to the input layer, the values are weighted and input to the intermediate layer, and the result is further weighted and output from the output layer. .. This output result depends on the value of each weight.

本実施の形態にかかる機械学習装置50において、ニューラルネットワークは、状態観測部52で生成されるデータセットに従って、いわゆる教師あり学習により、振動波形補正情報を学習する。 In the machine learning device 50 according to the present embodiment, the neural network learns the vibration waveform correction information by so-called supervised learning according to the data set generated by the state observation unit 52.

すなわち、ニューラルネットワークの入力層には、各軸のイナーシャ情報、各軸のサーボパラメータ変更情報および各軸の振動波形ずれ量を互いに関連付けたデータセットが入力される。ニューラルネットワークは、データセットが入力されるごとに、出力層から出力される振動波形補正情報に従って指令振動波形調整部384Yが指令振動波形を調整したときの各軸の振動波形ずれ量が0に近づくように上記の重みそれぞれを個別に調整することで、学習を行う。 That is, the input layer of the neural network is input with the inertia information of each axis, the servo parameter change information of each axis, and the data set in which the vibration waveform deviation amount of each axis is associated with each other. In the neural network, each time a data set is input, the amount of vibration waveform deviation of each axis approaches 0 when the commanded vibration waveform adjusting unit 384Y adjusts the commanded vibration waveform according to the vibration waveform correction information output from the output layer. By adjusting each of the above weights individually as described above, learning is performed.

また、ニューラルネットワークは、いわゆる教師なし学習によって、振動波形補正情報を学習することもできる。教師なし学習とは、入力データのみを大量に機械学習装置50に与えることで、入力データがどのような分布をしているか学習し、対応する教師出力データを与えなくても、入力データに対して圧縮、分類、整形などを行う装置を学習する手法である。教師なし学習は、入力されるデータセットにある特徴を似た者どうしにクラスタリングすることなどができる。この結果を使って、何らかの基準を設けてそれを最適にするような出力の割り当てを行うことで、出力の予測を実現することできる。 The neural network can also learn the vibration waveform correction information by so-called unsupervised learning. In unsupervised learning, a large amount of input data is given to the machine learning device 50 to learn how the input data is distributed, and even if the corresponding teacher output data is not given, the input data is subjected to learning. It is a method of learning a device that performs compression, classification, shaping, and so on. Unsupervised learning can cluster features in the input dataset among similar people. Using this result, it is possible to predict the output by setting some criteria and allocating the output to optimize it.

また、機械学習装置50が数値制御装置1Yに内蔵されていない構成の場合、学習部51は、複数の数値制御装置1Yに対して作成されるデータセットに従って、振動波形補正情報を学習結果として出力してもよい。なお、学習部51は、同一の現場で使用される複数の数値制御装置1Yからデータセットを取得してもよいし、或いは、異なる現場で独立して稼働する複数の工作機械の数値制御装置1Yから収集されるデータセットを利用してもよい。本構成では、さらに、データセットを収集する数値制御装置1Yを途中で対象に追加し、或いは、逆に対象から切り離すことも可能である。また、ある数値制御装置1Yから取得したデータセットを用いて学習を行った機械学習装置50を、これとは別の数値制御装置1Yに取り付け、当該別の数値制御装置1Yからデータセットを取得して再学習を行い、学習結果を更新するようにしてもよい。 Further, when the machine learning device 50 is not built in the numerical control device 1Y, the learning unit 51 outputs vibration waveform correction information as a learning result according to the data sets created for the plurality of numerical control devices 1Y. You may. The learning unit 51 may acquire data sets from a plurality of numerical control devices 1Y used at the same site, or may obtain numerical control devices 1Y of a plurality of machine tools that operate independently at different sites. You may use the dataset collected from. In this configuration, it is also possible to add the numerical control device 1Y that collects the data set to the target on the way, or conversely, to separate it from the target. Further, the machine learning device 50 that has been trained using the data set acquired from a certain numerical control device 1Y is attached to another numerical control device 1Y, and the data set is acquired from the other numerical control device 1Y. The learning result may be updated by re-learning.

また、学習部51に用いられる学習アルゴリズムとしては、特徴量そのものの抽出を学習する、深層学習(Deep Learning)を用いることもでき、他の公知の方法、例えば遺伝的プログラミング、機能論理プログラミング、サポートベクターマシンなどに従って機械学習を実行してもよい。 Further, as the learning algorithm used in the learning unit 51, deep learning that learns the extraction of the feature amount itself can also be used, and other known methods such as genetic programming, functional logic programming, and support can be used. Machine learning may be performed according to a vector machine or the like.

機械学習装置50が出力する振動波形補正情報は指令振動波形調整部384Yに受け渡される。指令振動波形調整部384Yは、振動波形補正情報に従い各軸の指令振動波形を調整する。 The vibration waveform correction information output by the machine learning device 50 is passed to the command vibration waveform adjusting unit 384Y. The commanded vibration waveform adjusting unit 384Y adjusts the commanded vibration waveform of each axis according to the vibration waveform correction information.

このように、本実施の形態にかかる数値制御装置1Yは、各軸のイナーシャ情報と、各軸の振動波形ずれ量と、振動振幅調整量と、各軸のサーボパラメータの変更情報とを使用して機械学習を行う機械学習装置50を備える。指令振動波形調整部384Yは、機械学習装置50が機械学習を行い生成する振動波形補正情報に従い、各軸の指令振動波形を調整する。これにより、各制御対象軸のサーボモータ91の応答性が異なる場合でも、切り屑の分断を確実に行うことができる。 As described above, the numerical control device 1Y according to the present embodiment uses the inertia information of each axis, the vibration waveform deviation amount of each axis, the vibration amplitude adjustment amount, and the change information of the servo parameters of each axis. A machine learning device 50 for performing machine learning is provided. The commanded vibration waveform adjusting unit 384Y adjusts the commanded vibration waveform of each axis according to the vibration waveform correction information generated by machine learning by the machine learning device 50. As a result, even if the responsiveness of the servomotor 91 of each control target axis is different, the chips can be reliably divided.

なお、実施の形態2にかかる数値制御装置1Yが備える制御演算部2Yおよび機械学習装置50は、実施の形態1にかかる数値制御装置1Xが備える制御演算部2Xと同様に、図14に示すプロセッサ101およびメモリ102で実現することが可能である。 The control calculation unit 2Y and the machine learning device 50 included in the numerical control device 1Y according to the second embodiment are the processors shown in FIG. 14, similar to the control calculation unit 2X included in the numerical control device 1X according to the first embodiment. This can be achieved with 101 and memory 102.

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration shown in the above-described embodiment shows an example of the content of the present invention, can be combined with another known technique, and is one of the configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

1X,1Y 数値制御装置、2X,2Y 制御演算部、3 入力操作部、4 表示部、31 画面処理部、32 入力制御部、33 データ設定部、34 記憶部、35 制御信号処理部、36 PLC、37 解析処理部、38X,38Y 補間処理部、39 加減速処理部、40 軸データ入出力部、50 機械学習装置、51 学習部、52 状態観測部、90 駆動部、91 サーボモータ、92,95 検出器、93X X軸サーボ制御部、93Y Y軸サーボ制御部、94 主軸モータ、96 主軸制御部、341 パラメータ、342 表示データ、343 加工プログラム、344 共有エリア、371 移動指令解析部、372 振動指令解析部、381 分配比決定部、382 波形情報取得部、383 比較部、384X,384Y 指令振動波形調整部、385 振動波形生成部、386 振動移動量算出部。 1X, 1Y numerical control device, 2X, 2Y control calculation unit, 3 input operation unit, 4 display unit, 31 screen processing unit, 32 input control unit, 33 data setting unit, 34 storage unit, 35 control signal processing unit, 36 PLC , 37 Analysis processing unit, 38X, 38Y interpolation processing unit, 39 acceleration / deceleration processing unit, 40-axis data input / output unit, 50 machine learning device, 51 learning unit, 52 state observation unit, 90 drive unit, 91 servo motor, 92, 95 Detector, 93X X-axis servo control unit, 93Y Y-axis servo control unit, 94 spindle motor, 96 spindle control unit, 341 parameters, 342 display data, 343 machining program, 344 shared area, 371 movement command analysis unit, 372 vibration Command analysis unit, 381 distribution ratio determination unit, 382 waveform information acquisition unit, 383 comparison unit, 384X, 384Y command vibration waveform adjustment unit, 385 vibration waveform generation unit, 386 vibration movement amount calculation unit.

上述した課題を解決し、目的を達成するために、本発明は、加工プログラムに従って、複数の駆動軸を制御して工具を移動させる工作機械を制御する数値制御装置であって、工具を振動させながらワークを加工する際の工具の振動経路を示す振動波形を生成する振動波形生成部と、振動波形を、複数の駆動軸のいずれか一つの駆動軸である第1の軸に対し一定の角度となる第2の軸の方向への振動波形として、複数の駆動軸それぞれにおける工具の移動経路を示す駆動軸ごとの指令振動波形を生成する振動移動量算出部と、を備える。 In order to solve the above-mentioned problems and achieve the object, the present invention is a numerical control device that controls a machine tool that controls a plurality of drive shafts to move a tool according to a machining program, and vibrates the tool. While processing the work, the vibration waveform generator that generates the vibration waveform showing the vibration path of the tool and the vibration waveform are at a constant angle with respect to the first axis, which is one of the plurality of drive axes. As a vibration waveform in the direction of the second axis, a vibration movement amount calculation unit for generating a command vibration waveform for each drive shaft indicating a tool movement path in each of the plurality of drive shafts is provided.

Claims (8)

複数の駆動軸を制御して工具を移動させる工作機械を制御する数値制御装置であって、
前記工具を振動させながらワークを加工する際の前記工具の振動経路を示す振動波形を生成する振動波形生成部と、
前記工具を振動させる際の前記工具の振動方向と前記複数の駆動軸のいずれか一つの駆動軸である基準軸の方向の角度と、前記振動波形とに基づいて、前記複数の駆動軸それぞれにおける前記工具の移動経路を示す前記駆動軸ごとの指令振動波形を生成する振動移動量算出部と、
を備えることを特徴とする数値制御装置。
A numerical control device that controls a machine tool that controls multiple drive shafts to move tools.
A vibration waveform generator that generates a vibration waveform that indicates the vibration path of the tool when the work is machined while vibrating the tool.
In each of the plurality of drive shafts, based on the vibration direction of the tool when the tool is vibrated, the angle in the direction of the reference axis which is one of the plurality of drive shafts, and the vibration waveform. A vibration movement amount calculation unit that generates a command vibration waveform for each drive shaft indicating the movement path of the tool, and a vibration movement amount calculation unit.
A numerical control device characterized by being provided with.
前記工具を振動させる際の前記工具の振動方向と前記基準軸の方向の角度に基づいて、前記振動波形の成分を前記複数の駆動軸のそれぞれに分配する分配比を決定する分配比決定部、
を備え、
前記振動移動量算出部は、前記振動波形の成分を前記分配比に従い前記複数の駆動軸のそれぞれに分配して各前記駆動軸の前記指令振動波形を生成する、
ことを特徴とする請求項1に記載の数値制御装置。
A distribution ratio determining unit that determines a distribution ratio for distributing a component of the vibration waveform to each of the plurality of drive shafts based on an angle between the vibration direction of the tool and the direction of the reference axis when the tool is vibrated.
With
The vibration movement amount calculation unit distributes the components of the vibration waveform to each of the plurality of drive shafts according to the distribution ratio to generate the command vibration waveform of each drive shaft.
The numerical control device according to claim 1.
前記振動移動量算出部は、前記駆動軸ごとに、前記ワークを加工する際の前記工具の単位時間あたりの移動量を、前記工具の移動量に前記指令振動波形を重畳して生成する、
ことを特徴とする請求項1または2に記載の数値制御装置。
The vibration movement amount calculation unit generates the movement amount per unit time of the tool when machining the work for each drive shaft by superimposing the command vibration waveform on the movement amount of the tool.
The numerical control device according to claim 1 or 2.
前記工具を振動させたときの前記工具の実際の移動経路を示す前記駆動軸ごとのフィードバック振動波形と、前記駆動軸ごとの前記指令振動波形とを比較する比較部と、
前記比較部による比較結果に基づいて、前記駆動軸ごとの前記指令振動波形を調整する指令振動波形調整部と、
を備えることを特徴とする請求項1から3のいずれか一つに記載の数値制御装置。
A comparison unit that compares the feedback vibration waveform for each drive shaft, which indicates the actual movement path of the tool when the tool is vibrated, with the command vibration waveform for each drive shaft.
A command vibration waveform adjusting unit that adjusts the command vibration waveform for each drive shaft based on the comparison result by the comparison unit, and a command vibration waveform adjusting unit.
The numerical control device according to any one of claims 1 to 3, wherein the numerical control device is provided.
前記指令振動波形調整部は、各前記駆動軸のサーボパラメータを変更して前記指令振動波形を調整する、
ことを特徴とする請求項4に記載の数値制御装置。
The command vibration waveform adjusting unit adjusts the command vibration waveform by changing the servo parameters of each drive shaft.
The numerical control device according to claim 4.
前記比較部による比較結果と、前記指令振動波形調整部が前記指令振動波形を調整する際の各前記駆動軸の振動振幅調整量および各前記駆動軸のサーボパラメータの変更内容を示す変更情報と、前記複数の駆動軸それぞれのイナーシャ情報とを状態変数として観測する状態観測部と、
前記状態変数に基づいて作成されるデータセットに従って、各前記駆動軸の振動振幅の調整内容および各前記駆動軸の前記サーボパラメータの調整内容を示す振動波形補正情報を学習する学習部と、
を備えることを特徴とする請求項5に記載の数値制御装置。
The comparison result by the comparison unit, the change information indicating the vibration amplitude adjustment amount of each drive shaft when the command vibration waveform adjustment unit adjusts the command vibration waveform, and the change contents of the servo parameters of each drive shaft, and the change information. A state observing unit that observes the inertia information of each of the plurality of drive axes as a state variable, and
A learning unit that learns vibration waveform correction information indicating the adjustment content of the vibration amplitude of each drive shaft and the adjustment content of the servo parameter of each drive shaft according to the data set created based on the state variable.
The numerical control device according to claim 5, wherein the numerical control device is provided.
複数の駆動軸を制御して工具を移動させる工作機械を制御する数値制御装置が実行する数値制御方法であって、
前記工具を振動させながらワークを加工する際の前記工具の振動経路を示す振動波形を生成する振動波形生成ステップと、
前記工具を振動させる際の前記工具の振動方向と前記複数の駆動軸のいずれか一つの駆動軸である基準軸の方向の角度と、前記振動波形とに基づいて、前記複数の駆動軸それぞれにおける前記工具の移動経路を示す前記駆動軸ごとの指令振動波形を生成する指令振動波形生成ステップと、
を含むことを特徴とする数値制御方法。
It is a numerical control method executed by a numerical control device that controls a machine tool that controls multiple drive axes to move tools.
A vibration waveform generation step that generates a vibration waveform indicating a vibration path of the tool when machining a work while vibrating the tool, and a vibration waveform generation step.
In each of the plurality of drive shafts, based on the vibration direction of the tool when the tool is vibrated, the angle in the direction of the reference axis which is one of the plurality of drive shafts, and the vibration waveform. A command vibration waveform generation step for generating a command vibration waveform for each drive shaft indicating the movement path of the tool, and a command vibration waveform generation step.
A numerical control method characterized by including.
工作機械を制御する数値制御装置が工具を移動させる際に制御する複数の駆動軸のいずれか一つの駆動軸である基準軸の方向と前記工具を振動させる際の前記工具の振動方向とが異なる場合に、前記工具を振動させながらワークを加工する際の前記複数の駆動軸それぞれにおける前記工具の振動経路を示す前記駆動軸ごとの指令振動波形を調整する調整内容を学習する機械学習装置であって、
前記工具を振動させたときの前記工具の実際の移動経路を示す前記駆動軸ごとのフィードバック振動波形と前記駆動軸ごとの前記指令振動波形の比較結果と、前記駆動軸ごとの前記指令振動波形を調整する際の各前記駆動軸の振動振幅調整量および各前記駆動軸のサーボパラメータの変更内容を示す変更情報と、前記複数の駆動軸それぞれのイナーシャ情報と、を状態変数として観測する状態観測部と、
前記状態変数に基づいて作成されるデータセットに従って、各前記駆動軸の振動振幅の調整内容および各前記駆動軸の前記サーボパラメータの調整内容を示す振動波形補正情報を学習する学習部と、
を備えることを特徴とする機械学習装置。
The direction of the reference axis, which is one of the multiple drive shafts controlled by the numerical control device that controls the machine tool when moving the tool, is different from the vibration direction of the tool when the tool is vibrated. In this case, it is a machine learning device that learns adjustment contents for adjusting a command vibration waveform for each drive shaft indicating a vibration path of the tool in each of the plurality of drive shafts when machining a work while vibrating the tool. hand,
The comparison result of the feedback vibration waveform for each drive shaft and the command vibration waveform for each drive shaft showing the actual movement path of the tool when the tool is vibrated, and the command vibration waveform for each drive shaft are shown. A state observation unit that observes the amount of vibration amplitude adjustment of each drive shaft at the time of adjustment, change information indicating the change contents of the servo parameters of each drive shaft, and inertia information of each of the plurality of drive shafts as state variables. When,
A learning unit that learns vibration waveform correction information indicating the adjustment content of the vibration amplitude of each drive shaft and the adjustment content of the servo parameter of each drive shaft according to the data set created based on the state variable.
A machine learning device characterized by being equipped with.
JP2020558550A 2019-09-11 2019-09-11 Numerical control device, numerical control method and machine learning device Active JP6843314B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/035771 WO2021048959A1 (en) 2019-09-11 2019-09-11 Numerical control device, numerical control method, and machine learning device

Publications (2)

Publication Number Publication Date
JP6843314B1 JP6843314B1 (en) 2021-03-17
JPWO2021048959A1 true JPWO2021048959A1 (en) 2021-09-30

Family

ID=74860853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020558550A Active JP6843314B1 (en) 2019-09-11 2019-09-11 Numerical control device, numerical control method and machine learning device

Country Status (4)

Country Link
JP (1) JP6843314B1 (en)
CN (1) CN114424130A (en)
DE (1) DE112019007578T5 (en)
WO (1) WO2021048959A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112019007434T5 (en) * 2019-06-28 2022-02-24 Mitsubishi Electric Corporation Numerical control, machine learning apparatus and numerical control method
JPWO2022158415A1 (en) * 2021-01-21 2022-07-28
CN113655759B (en) * 2021-08-18 2022-10-18 哈尔滨工业大学 Method and device for setting rigidity of servo system and servo system
WO2023139743A1 (en) * 2022-01-21 2023-07-27 ファナック株式会社 Information processing device, machine tool control device, and computer program
WO2023171422A1 (en) * 2022-03-10 2023-09-14 株式会社ソニー・インタラクティブエンタテインメント Display control system, display control method, and program
CN116974239B (en) * 2023-09-22 2023-12-01 深圳市艾姆克斯科技有限公司 Processing track control method and system based on cnc engraving and milling machine

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5851670B2 (en) 1979-04-27 1983-11-17 新神戸電機株式会社 Method for manufacturing base for lead-acid battery
DE102011077568B4 (en) * 2011-06-15 2023-12-07 Dmg Mori Ultrasonic Lasertec Gmbh Machine tool, workpiece machining process
BR112015019038B1 (en) * 2013-02-12 2021-08-03 Mitsubishi Electric Corporation NUMERICAL CONTROL DEVICE BY WHICH MACHINING IS CARRIED OUT
CN105144008B (en) * 2014-03-17 2016-11-16 三菱电机株式会社 Numerical control device
US9886022B2 (en) * 2014-04-23 2018-02-06 Mitsubishi Electric Corporation Numerical control device
JP2016194860A (en) * 2015-04-01 2016-11-17 東芝機械株式会社 Vibration cutting machine and vibration cutting method
TWI697379B (en) * 2015-09-24 2020-07-01 日商西鐵城時計股份有限公司 Control device of machine tool and machine tool provided with the control device
JP6474449B2 (en) * 2017-04-07 2019-02-27 ファナック株式会社 Adjusting apparatus and adjusting method

Also Published As

Publication number Publication date
WO2021048959A1 (en) 2021-03-18
DE112019007578T5 (en) 2022-05-05
CN114424130A (en) 2022-04-29
JP6843314B1 (en) 2021-03-17

Similar Documents

Publication Publication Date Title
JP6843314B1 (en) Numerical control device, numerical control method and machine learning device
US10625355B2 (en) Numerical control device
JP5599523B1 (en) Numerical controller
TWI570532B (en) Numeral controlling device
WO2015140906A1 (en) Numerical control device
JP4813616B1 (en) Numerical control device for machine tool having speed control function during arc motion
JP5826444B1 (en) Numerical controller
JP6898530B2 (en) Numerical control device and numerical control method
US11474497B2 (en) Numerical control device, machine learning device, and numerical control method
JP6740483B1 (en) Numerical control device and numerical control method
WO2016038687A1 (en) Numerical control apparatus
JP2019188558A (en) Tool selection device and machine learning device
JP6813129B1 (en) Numerical control device, machine learning device, and numerical control method
JP7280310B2 (en) Numerical controller
JP7101883B2 (en) Numerical control device
WO2023209754A1 (en) Servo adjustment system
US20230037816A1 (en) Control device for machine tool

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201020

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201020

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20201020

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20210121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210222

R150 Certificate of patent or registration of utility model

Ref document number: 6843314

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250