JP2013202741A - Control device for machine tool and machine tool - Google Patents

Control device for machine tool and machine tool Download PDF

Info

Publication number
JP2013202741A
JP2013202741A JP2012075151A JP2012075151A JP2013202741A JP 2013202741 A JP2013202741 A JP 2013202741A JP 2012075151 A JP2012075151 A JP 2012075151A JP 2012075151 A JP2012075151 A JP 2012075151A JP 2013202741 A JP2013202741 A JP 2013202741A
Authority
JP
Japan
Prior art keywords
temperature
state
displacement
machine tool
state transition
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
JP2012075151A
Other languages
Japanese (ja)
Other versions
JP5865758B2 (en
Inventor
Shingo Senda
慎吾 千田
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
Priority to JP2012075151A priority Critical patent/JP5865758B2/en
Publication of JP2013202741A publication Critical patent/JP2013202741A/en
Application granted granted Critical
Publication of JP5865758B2 publication Critical patent/JP5865758B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
  • Numerical Control (AREA)
  • Automatic Control Of Machine Tools (AREA)
  • Machine Tool Sensing Apparatuses (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a control device for a machine tool capable of properly correcting displacement of a positional relationship between a tool and a workpiece caused by thermal displacement.SOLUTION: In the control device controlling the machine tool for processing the workpiece by moving tools, the control device includes: a temperature analysis section 32 for analyzing environmental temperature as a temperature of an environment where the machine tool is arranged and analyzing state transition of temperature change states which is a tendency of temperature changes of the machine tool from hour to hour; a correction quantity calculation section 36 for calculating an amount of displacement of the positional relationship between the tool and the workpiece caused by thermal displacement of a machine structure included in the machine tool on the basis of the analysis results of the environmental temperature and the analysis results of the state transition and calculating an amount of correction for correcting the amount of displacement; and a drive control section 33 for controlling motors 11x to 11z, and 11c for moving the tool by using the amount of correction.

Description

本発明は、工具と被加工物との間の熱変位に起因する位置関係の変位を補正する工作機械制御装置および工作機械に関する。   The present invention relates to a machine tool control device and a machine tool that correct displacement in a positional relationship caused by thermal displacement between a tool and a workpiece.

一般的に、工作機械で被加工物を加工する際には、駆動軸に取り付けられた工具と、定盤などに取り付けられた被加工物との位置関係を、測定作業などによって加工前に把握しておく。そして、位置関係を保った状態で作業者の指示する加工動作を工作機械が実行することで、被加工物が所望の形状に加工される。   Generally, when machining a work piece with a machine tool, the positional relationship between the tool attached to the drive shaft and the work piece attached to a surface plate is grasped before machining by measuring work etc. Keep it. Then, the machine tool performs a machining operation instructed by the operator while maintaining the positional relationship, whereby the workpiece is machined into a desired shape.

このような工作機械では、工作機械が有している駆動軸を手動操作や自動操作することで、工具と被加工物は作業者の意図する位置関係に保たれるが、制御装置が制御を行っていない軸に関しては、制御装置が位置関係を認識することはできない。例えば、工作機械の温度が上昇することによって機械の構造体である鋳物が熱膨張により伸びた場合、鋳物の伸びた量は変位量として位置関係に影響を及ぼし、作業者の意図した位置関係を崩すこととなる。すなわち、工作機械の設置環境の温度変化が大きい場合、工作機械の構造体は、設置環境の温度変化に応じて伸縮し、構造体の位置に変位が生じる。この変位によって工具と工作物の位置関係が所定量(以下、変位量という)だけずれてしまう。   In such a machine tool, the tool and workpiece are kept in the positional relationship intended by the operator by manually or automatically operating the drive shaft of the machine tool. The control device cannot recognize the positional relationship with respect to an axis that has not been performed. For example, when a casting that is a machine structure is stretched due to thermal expansion due to an increase in the temperature of the machine tool, the amount of elongation of the casting affects the positional relationship as a displacement amount, and the positional relationship intended by the operator is changed. It will break down. That is, when the temperature change of the installation environment of the machine tool is large, the structure of the machine tool expands and contracts according to the temperature change of the installation environment, and the position of the structure is displaced. This displacement causes the positional relationship between the tool and the workpiece to shift by a predetermined amount (hereinafter referred to as a displacement amount).

工作機械の構造体は、材質の違いや構造の違いによって部分的に異なった変位が生じるので、一律に伸縮するわけではなく、温度変化の状態によって変位の発生の仕方が異なる。そのため、精度良く位置関係を保てるよう変位量を抑制するためには、設置環境の温度変化は小さい方が好ましく、恒温環境に工作機械を設置するなどの対策がとられることもある。   Since the machine tool structure is partially displaced due to the difference in material and structure, it does not expand and contract uniformly, and the manner in which the displacement occurs differs depending on the temperature change state. Therefore, in order to suppress the amount of displacement so as to maintain the positional relationship with high accuracy, it is preferable that the temperature change in the installation environment is small, and measures such as installing a machine tool in a constant temperature environment may be taken.

設置環境の温度変化により発生する変位量に対して補正を行う従来技術として、制御装置が、設置環境の温度と工作機械の温度との温度差に基づいて、発生する変位量を想定し、想定した変位量を打ち消す方向に軸を補正する技術がある。   As a conventional technology for correcting displacement caused by temperature changes in the installation environment, the control device assumes the amount of displacement generated based on the temperature difference between the temperature of the installation environment and the temperature of the machine tool. There is a technique for correcting the axis in a direction that cancels the amount of displacement.

例えば、特許文献1には、温度検出器から検出される温度が所定時間でどれだけ変化したかの差分から変位量を想定し、変位量を打消す方向に補正をかけることで、変位を抑制することが記載されている。   For example, in Patent Document 1, a displacement amount is assumed from the difference in how much the temperature detected from the temperature detector has changed in a predetermined time, and the displacement is suppressed by correcting the displacement amount in a canceling direction. It is described to do.

また、特許文献2には、工作機械の温度が上昇または下降していく過程での変位量の検出精度を上げていく技術が記載されている。この技術では、工作機械の温度が上昇した場合と下降した場合とで、補正量を変えている。そして、温度の上昇時には変位量を少なめに設定し、温度が下降時には変位量を多めに設定することで、一定の係数を固定値とした熱変位補正方式に比べて補正効果が向上することが記載されている。   Patent Document 2 describes a technique for increasing the detection accuracy of a displacement amount in the process of increasing or decreasing the temperature of a machine tool. In this technique, the correction amount is changed depending on whether the temperature of the machine tool is increased or decreased. By setting a small amount of displacement when the temperature rises and setting a large amount of displacement when the temperature drops, the correction effect can be improved compared to the thermal displacement correction method with a constant coefficient as a fixed value. Have been described.

特開2003−94290号公報JP 2003-94290 A 特開平2−287108号公報JP-A-2-287108

上記前者の従来技術では、設置環境温度と工作機械本体との温度差によって生じる変位量は一定として考えているので、温度差が大きくなれば変位量は大きくなり、温度差が小さくなれば変位量は小さくなるものとして変位量を想定している。しかしながら、上記前者の従来技術で使用されている計算式は、所定の係数を固定値として使用しているので、特定の設置環境温度下や特定の動作条件下以外では変位抑制に対して十分な効果を得ることができないという問題があった。   In the former prior art, the amount of displacement caused by the temperature difference between the installation environment temperature and the machine tool body is assumed to be constant, so the amount of displacement increases as the temperature difference increases, and the amount of displacement increases as the temperature difference decreases. The amount of displacement is assumed to be small. However, since the calculation formula used in the former prior art uses a predetermined coefficient as a fixed value, it is sufficient for suppressing displacement except under a specific installation environment temperature or a specific operation condition. There was a problem that the effect could not be obtained.

また、工作機械に発生する変位は単純に温度上昇状態、温度下降状態で決まるものではないので、上記後者の従来技術では、変位抑制に対して十分な効果が得られないという問題があった。工作機械に発生する熱変位は、温度上昇状態であるか温度下降状態であるかだけでなく、他の影響も受けるからである。   Further, since the displacement generated in the machine tool is not simply determined by the temperature rise state and the temperature fall state, the latter prior art has a problem that a sufficient effect for displacement suppression cannot be obtained. This is because the thermal displacement generated in the machine tool is affected not only by the temperature rising state or the temperature falling state but also by other influences.

本発明は、上記に鑑みてなされたものであって、熱変位に起因する工具と被加工物との間の位置関係の変位を適切に補正することができる工作機械制御装置および工作機械を得ることを目的とする。   The present invention has been made in view of the above, and obtains a machine tool control device and a machine tool that can appropriately correct a displacement of a positional relationship between a tool and a workpiece caused by thermal displacement. For the purpose.

上述した課題を解決し、目的を達成するために、本発明は、工具を移動させて被加工物を加工する工作機械を制御する工作機械制御装置において、前記工作機械が設置された環境の温度である環境温度を解析するとともに、前記工作機械に関する時々刻々の温度変化の傾向である温度変化状態の状態遷移を解析する温度解析部と、前記環境温度の解析結果と、前記状態遷移の解析結果と、に基づいて、前記工作機械が備える機械構造体の熱変位に起因する前記工具と前記被加工物との間の位置関係の変位量を算出するとともに、前記変位量を補正する補正量を算出する補正量算出部と、前記工具を移動させる駆動部を、前記補正量を用いて制御する駆動制御部と、を有することを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides a machine tool control apparatus for controlling a machine tool that processes a workpiece by moving a tool, and a temperature of an environment in which the machine tool is installed. A temperature analysis unit that analyzes a state transition of a temperature change state that is a tendency of a temperature change with respect to the machine tool, an analysis result of the environment temperature, and an analysis result of the state transition And calculating a displacement amount of a positional relationship between the tool and the workpiece caused by thermal displacement of a machine structure included in the machine tool, and a correction amount for correcting the displacement amount. It has a correction amount calculation unit to be calculated, and a drive control unit that controls a drive unit for moving the tool using the correction amount.

本発明によれば、熱変位に起因する工具と被加工物との間の位置関係の変位を適切に補正することが可能になるという効果を奏する。   According to the present invention, it is possible to appropriately correct the displacement of the positional relationship between the tool and the workpiece due to the thermal displacement.

図1は、実施の形態1に係る放電加工機の構成を示す図である。FIG. 1 is a diagram illustrating a configuration of an electric discharge machine according to the first embodiment. 図2は、実施の形態1に係る制御装置の構成を示す図である。FIG. 2 is a diagram illustrating a configuration of the control device according to the first embodiment. 図3は、実施の形態1に係る放電加工機の動作処理手順を示すフローチャートである。FIG. 3 is a flowchart showing an operation processing procedure of the electric discharge machine according to the first embodiment. 図4−1は、放電加工機における温度変化と変位量の関係を説明するための図(1)である。FIG. 4-1 is a diagram (1) for explaining the relationship between a temperature change and a displacement amount in an electric discharge machine. 図4−2は、放電加工機における温度変化と変位量の関係を説明するための図(2)である。FIG. 4B is a diagram (2) for explaining the relationship between the temperature change and the displacement amount in the electric discharge machine. 図5は、温度変化の状態遷移とZ軸変位量との関係を説明するための図である。FIG. 5 is a diagram for explaining the relationship between the state transition of the temperature change and the Z-axis displacement amount. 図6は、実施の形態1に係る放電加工機が行う補正量算出処理の処理手順を示すフローチャートである。FIG. 6 is a flowchart showing a processing procedure of correction amount calculation processing performed by the electric discharge machine according to the first embodiment. 図7は、状態遷移の判断基準の一例を示す図である。FIG. 7 is a diagram illustrating an example of determination criteria for state transition. 図8−1は、温度安定状態から温度上昇状態に状態遷移した場合のZ軸変位量を説明するための図である。FIG. 8A is a diagram for explaining the Z-axis displacement when the state transition is from the temperature stable state to the temperature rising state. 図8−2は、温度安定状態から温度上昇状態に状態遷移した場合に設定される状態遷移係数の一例を示す図である。FIG. 8-2 is a diagram illustrating an example of a state transition coefficient that is set when a state transition is made from a temperature stable state to a temperature rising state. 図9は、表示装置に表示される情報の一例を示す図である。FIG. 9 is a diagram illustrating an example of information displayed on the display device. 図10は、急激な温度変化が発生した場合の状態遷移とZ軸変位量との関係を説明するための図である。FIG. 10 is a diagram for explaining the relationship between the state transition and the Z-axis displacement when a sudden temperature change occurs. 図11は、実施の形態2に係る放電加工機が行う補正量算出処理の処理手順を示すフローチャートである。FIG. 11 is a flowchart showing a processing procedure of correction amount calculation processing performed by the electric discharge machine according to the second embodiment. 図12−1は、局所的な発熱による温度変化があった場合のZ軸変位量を説明するための図である。FIG. 12A is a diagram for explaining the Z-axis displacement when there is a temperature change due to local heat generation. 図12−2は、局所的な発熱による温度変化があった場合に設定される状態遷移係数の一例を示す図である。FIG. 12-2 is a diagram illustrating an example of a state transition coefficient set when there is a temperature change due to local heat generation. 図13−1は、発熱が生じている駆動状態から発熱していない駆動状態に遷移した場合のZ軸変位量を説明するための図である。FIG. 13A is a diagram for explaining the Z-axis displacement when the driving state in which heat is generated is changed to the driving state in which heat is not generated. 図13−2は、発熱が生じている駆動状態から発熱していない駆動状態に遷移した場合に設定される状態遷移係数の一例を示す図である。FIG. 13B is a diagram illustrating an example of a state transition coefficient that is set when a transition is made from a drive state in which heat is generated to a drive state in which heat is not generated.

以下に、本発明の実施の形態に係る工作機械制御装置および工作機械を図面に基づいて詳細に説明する。なお、これらの実施の形態によりこの発明が限定されるものではない。以下の実施の形態では、工作機械が放電加工機であり、工作機械制御装置が放電加工機制御装置である場合について説明する。   Hereinafter, a machine tool control device and a machine tool according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to these embodiments. In the following embodiments, a case where the machine tool is an electric discharge machine and the machine tool control device is an electric discharge machine control device will be described.

実施の形態1.
図1は、実施の形態1に係る放電加工機の構成を示す図である。工作機械の一例である放電加工機(放電加工装置)1は、被加工物2を放電加工によって所望の形状に加工する装置である。本実施の形態の放電加工機1は、放電加工機1の状態(設置環境の温度変化、温度変化状態の遷移、駆動状態の変化)を判別し、判別した状態に応じて工具と被加工物との間の位置ずれを補正(熱変位補正)する機能(状態別熱変位補正機能)を備えている。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a configuration of an electric discharge machine according to the first embodiment. An electric discharge machine (electric discharge machine) 1 that is an example of a machine tool is an apparatus that processes a workpiece 2 into a desired shape by electric discharge machining. The electric discharge machine 1 according to the present embodiment discriminates the state of the electric discharge machine 1 (temperature change in installation environment, transition of temperature change state, change in drive state), and the tool and workpiece according to the determined state. And a function (thermal displacement correction function for each state) for correcting the positional deviation between the two (thermal displacement correction).

放電加工機1は、X軸方向に直線駆動するX軸部10x、Y軸方向に直線駆動するY軸部10y、Z軸方向に直線駆動するZ軸部10z、Z軸方向を回転軸として回転駆動するC軸部10cを有している。また、放電加工機1は、X軸部10x、Y軸部10y、Z軸部10z、C軸部10cを駆動させるためのモータ11x,11y,11z,11cを有している。   The electric discharge machine 1 rotates with the X axis part 10x linearly driven in the X axis direction, the Y axis part 10y linearly driven in the Y axis direction, the Z axis part 10z linearly driven in the Z axis direction, and the Z axis direction as the rotation axis. It has a C-axis part 10c to be driven. Moreover, the electric discharge machine 1 has motors 11x, 11y, 11z, and 11c for driving the X-axis part 10x, the Y-axis part 10y, the Z-axis part 10z, and the C-axis part 10c.

また、放電加工機1は、X軸部10x、Y軸部10y、Z軸部10z、C軸部10cを制御する制御装置30と、放電加工を行うための電気エネルギーを生成する電源22とを有している。なお、以下の説明では、モータ11x,11y,11z,11cをモータ群という場合がある。また、以下の説明では、X軸部10x、Y軸部10y、Z軸部10z、C軸部10cを軸部群という場合がある。   Further, the electric discharge machine 1 includes a control device 30 that controls the X-axis portion 10x, the Y-axis portion 10y, the Z-axis portion 10z, and the C-axis portion 10c, and a power source 22 that generates electrical energy for performing electric discharge machining. Have. In the following description, the motors 11x, 11y, 11z, and 11c may be referred to as a motor group. In the following description, the X-axis part 10x, the Y-axis part 10y, the Z-axis part 10z, and the C-axis part 10c may be referred to as an axis part group.

また、放電加工機1は、Z軸部10zに把持されて工具となる電極(工具電極)23と、被加工物2を固定するための定盤21と、温度検出器15〜17と、を有している。工具電極23は、被加工物2を加工する工具であり、X軸部10x、Y軸部10y、Z軸部10z、C軸部10cの動作に応じた位置に移動する。   In addition, the electric discharge machine 1 includes an electrode (tool electrode) 23 that is gripped by the Z-axis portion 10z and serves as a tool, a surface plate 21 for fixing the workpiece 2, and temperature detectors 15 to 17. Have. The tool electrode 23 is a tool for processing the workpiece 2 and moves to a position corresponding to the operations of the X-axis part 10x, the Y-axis part 10y, the Z-axis part 10z, and the C-axis part 10c.

温度検出器15〜17は、放電加工機1に関する時々刻々の温度を検出する。温度検出器15は、放電加工機1が設置された環境(設置環境)の温度(環境温度)を検出し、温度検出器16は、放電加工機1の構造体である鋳物の温度(鋳物温度)を検出し、温度検出器17は、局所発熱する部位に取付けられた局所発熱部の温度(局所発熱温度)を検出する。   The temperature detectors 15 to 17 detect the temperature of the electric discharge machine 1 every moment. The temperature detector 15 detects the temperature (environment temperature) of the environment (installation environment) in which the electric discharge machine 1 is installed, and the temperature detector 16 detects the temperature of the casting that is the structure of the electric discharge machine 1 (casting temperature). ), And the temperature detector 17 detects the temperature (local heat generation temperature) of the local heat generating portion attached to the part that generates local heat.

温度検出器15は、設置環境の温度変化を正確に捉えることができるよう温度変化が大きくなる位置に配置されることが好ましい。鋳物の温度は、設置環境の温度変化に対して緩やかに温度変化する。このため、温度検出器16は、鋳物の緩やかな温度変化を捉えることができる位置に配置されることが好ましい。換言すると、温度検出器15と温度検出器16から検出される温度が、設置環境の温度変化に対して大きな温度差を生じる位置に温度検出器15と温度検出器16が取付けられることが好ましい。   The temperature detector 15 is preferably arranged at a position where the temperature change becomes large so that the temperature change in the installation environment can be accurately captured. The temperature of the casting changes gradually with respect to the temperature change of the installation environment. For this reason, it is preferable that the temperature detector 16 is disposed at a position where a gradual temperature change of the casting can be captured. In other words, it is preferable that the temperature detector 15 and the temperature detector 16 are mounted at a position where the temperature detected from the temperature detector 15 and the temperature detector 16 causes a large temperature difference with respect to the temperature change of the installation environment.

また、温度検出器17は、局所的に温度変化が生じる位置であって、且つその温度変化が複数軸に対して熱変位を生じさせるものではなく、特定の軸に対してのみ熱変位を生じさせるような位置に取付けることが望ましい。   Further, the temperature detector 17 is a position where a temperature change locally occurs, and the temperature change does not cause thermal displacement with respect to a plurality of axes, and only causes thermal displacement with respect to a specific axis. It is desirable to install in such a position.

また、放電加工機1は、放電加工機1の温度に関する種々の情報(後述する環境温度、鋳物温度、局所発熱温度、温度変化状態など)を表示させる表示装置20を有している。表示装置20は、制御装置30からの指示に従って放電加工機1の温度に関する種々の情報を表示する。放電加工機1では、軸部群、モータ群が被加工物2の加工を行う加工部として機能し、制御装置30が加工部を制御する制御部として機能する。   The electric discharge machine 1 also has a display device 20 that displays various information related to the temperature of the electric discharge machine 1 (an environmental temperature, a casting temperature, a local heating temperature, a temperature change state, etc., which will be described later). The display device 20 displays various information related to the temperature of the electric discharge machine 1 in accordance with instructions from the control device 30. In the electric discharge machine 1, the shaft group and the motor group function as a processing unit that processes the workpiece 2, and the control device 30 functions as a control unit that controls the processing unit.

このように、放電加工機1は、X軸部10x、Y軸部10y、Z軸部10zのような直線座標系、C軸部10cのような回転座標系に分類される駆動軸を有している。放電加工機1は、各軸部を駆動することで、工作機械作業者の意図する座標に向けて工具を移動し、加工動作を行う。各軸部の動作は放電加工機1に取付けられた制御装置30により制御されており、手動操作や加工プログラムによる自動操作を行うことで、工作機械作業者の意図する座標に向けて各軸部が移動する。なお、放電加工機1は、A軸部やB軸部などの回転座標系に分類される駆動軸を有していてもよい。   As described above, the electric discharge machine 1 has drive shafts classified into a linear coordinate system such as the X-axis portion 10x, the Y-axis portion 10y, and the Z-axis portion 10z and a rotational coordinate system such as the C-axis portion 10c. ing. The electric discharge machine 1 moves each tool toward the coordinates intended by the machine tool operator by driving each shaft, and performs a machining operation. The operation of each shaft portion is controlled by a control device 30 attached to the electric discharge machine 1, and each shaft portion is directed toward the coordinates intended by the machine tool operator by performing manual operation or automatic operation by a machining program. Move. The electric discharge machine 1 may have a drive shaft classified into a rotary coordinate system such as an A-axis portion or a B-axis portion.

図2は、実施の形態1に係る制御装置の構成を示す図である。工作機械制御装置の一例である制御装置30は、温度記憶部31と、温度解析部32と、駆動制御部33と、位置認識部34Aと、位置記憶部34Bと、駆動状態認識部35と、補正量算出部36と、温度表示制御部37と、温度変化状態表示制御部38とを有している。   FIG. 2 is a diagram illustrating a configuration of the control device according to the first embodiment. A control device 30 which is an example of a machine tool control device includes a temperature storage unit 31, a temperature analysis unit 32, a drive control unit 33, a position recognition unit 34A, a position storage unit 34B, a drive state recognition unit 35, A correction amount calculation unit 36, a temperature display control unit 37, and a temperature change state display control unit 38 are provided.

温度記憶部31は、温度検出器15、温度検出器16、温度検出器17から検出される放電加工機1に関する温度(環境温度、鋳物温度、局所発熱温度)を記憶しておくメモリなどである。   The temperature storage unit 31 is a memory for storing the temperature (environment temperature, casting temperature, local heat generation temperature) related to the electric discharge machine 1 detected from the temperature detector 15, the temperature detector 16, and the temperature detector 17. .

温度解析部32は、放電加工機1が設置された環境の温度である環境温度を解析するとともに、放電加工機1に関する時々刻々の温度変化の傾向(温度変化状態)の状態遷移を解析する。温度解析部32は、温度記憶部31が記憶している温度に基づいて、放電加工機1の環境温度と、温度変化状態の状態遷移を解析する。   The temperature analysis unit 32 analyzes the environmental temperature, which is the temperature of the environment where the electric discharge machine 1 is installed, and analyzes the state transition of the temperature change tendency (temperature change state) with respect to the electric discharge machine 1. The temperature analysis unit 32 analyzes the environmental temperature of the electric discharge machine 1 and the state transition of the temperature change state based on the temperature stored in the temperature storage unit 31.

また、温度解析部32は、駆動状態認識部35から送られてくる軸部群(各軸部)の駆動状態を解析する。温度解析部32は、温度変化(環境温度、温度変化状態、駆動状態)に関する解析結果を補正量算出部36に送る。温度解析部32は、例えば、温度変化に関する解析結果として、熱変位(軸部の位置ずれ量)の変位量と温度変化との関係を示す式などを補正量算出部36に送る。   Further, the temperature analysis unit 32 analyzes the drive state of the shaft group (each shaft unit) sent from the drive state recognition unit 35. The temperature analysis unit 32 sends the analysis result regarding the temperature change (environment temperature, temperature change state, drive state) to the correction amount calculation unit 36. For example, the temperature analysis unit 32 sends to the correction amount calculation unit 36 an expression indicating the relationship between the displacement amount of the thermal displacement (position displacement amount of the shaft portion) and the temperature change as an analysis result regarding the temperature change.

駆動制御部33は、軸部群の駆動部であるモータ群(モータ11x,11y,11z,11c)の駆動を行う。駆動制御部33は、制御装置30に与えられた加工プログラムと、補正量算出部36から送られてくる補正量(駆動補正量)とを用いて、モータ群の駆動を行う。なお、駆動制御部33は、放電加工機1の使用者(工作機械使用者)によって行われる手動操作に基づいて、モータ群の駆動を行なってもよい。   The drive control unit 33 drives a motor group (motors 11x, 11y, 11z, and 11c) that is a driving unit of the shaft group. The drive control unit 33 drives the motor group using the machining program given to the control device 30 and the correction amount (drive correction amount) sent from the correction amount calculation unit 36. The drive control unit 33 may drive the motor group based on a manual operation performed by a user (machine tool user) of the electric discharge machine 1.

位置認識部34Aは、モータ群の駆動によって移動する軸部群(X軸部10x、Y軸部10y、Z軸部10z、C軸部10c)の現在位置を認識する。位置認識部34Aは、駆動制御部33がモータ11x,11y,11z,11cへ送る駆動指示に基づいて、軸部群の現在位置を認識する。   The position recognition unit 34A recognizes the current position of the shaft group (X-axis unit 10x, Y-axis unit 10y, Z-axis unit 10z, and C-axis unit 10c) that is moved by driving the motor group. The position recognizing unit 34A recognizes the current position of the shaft unit group based on the drive instruction sent from the drive control unit 33 to the motors 11x, 11y, 11z, and 11c.

位置記憶部34Bは、位置認識部34Aが認識した軸部群の現在位置を記憶しておくメモリなどである。位置記憶部34Bが記憶しておく軸部群の現在位置は、駆動制御部33によるフィードバック制御に用いられる。   The position storage unit 34B is a memory or the like that stores the current position of the shaft group recognized by the position recognition unit 34A. The current position of the shaft group stored in the position storage unit 34B is used for feedback control by the drive control unit 33.

駆動状態認識部35は、駆動制御部33がモータ11x,11y,11z,11cへ送る駆動指示に基づいて、軸部群の駆動状態を認識する。補正量算出部36は、温度解析部32から送られてくる温度変化に関する解析結果と温度変化状態(温度変化状態の解析結果)に基づいて、補正量(モータ群へ送る駆動量の補正量)を算出する。算出される補正量は、放電加工機1が備える機械構造体の熱変位に起因する工具電極23と被加工物2との間の位置関係の変位を補正する値である。補正量算出部36は、算出した補正量を駆動制御部33に送る。   The drive state recognition unit 35 recognizes the drive state of the shaft group based on a drive instruction sent from the drive control unit 33 to the motors 11x, 11y, 11z, and 11c. The correction amount calculation unit 36 corrects the correction amount (the correction amount of the drive amount sent to the motor group) based on the analysis result regarding the temperature change sent from the temperature analysis unit 32 and the temperature change state (analysis result of the temperature change state). Is calculated. The calculated correction amount is a value for correcting the displacement of the positional relationship between the tool electrode 23 and the workpiece 2 due to the thermal displacement of the machine structure provided in the electric discharge machine 1. The correction amount calculation unit 36 sends the calculated correction amount to the drive control unit 33.

温度表示制御部37は、温度記憶部31に記憶されている温度を表示装置20に表示させる。温度表示制御部37は、環境温度、鋳物温度、局所発熱温度を表示装置20に表示させることにより、工作機械使用者に環境温度、鋳物温度、局所発熱温度を通知する。   The temperature display control unit 37 causes the display device 20 to display the temperature stored in the temperature storage unit 31. The temperature display control unit 37 notifies the machine tool user of the environmental temperature, the casting temperature, and the local heating temperature by causing the display device 20 to display the environmental temperature, the casting temperature, and the local heating temperature.

温度変化状態表示制御部38は、温度解析部32で解析された温度変化状態を表示装置20に表示させる。温度変化状態表示制御部38は、温度変化状態を表示装置20に表示させることにより、工作機械使用者に温度変化状態を通知する。   The temperature change state display control unit 38 causes the display device 20 to display the temperature change state analyzed by the temperature analysis unit 32. The temperature change state display control unit 38 notifies the machine tool user of the temperature change state by causing the display device 20 to display the temperature change state.

表示装置20は、温度記憶部31に記憶されている温度や温度解析部32で解析された温度変化状態を表示する液晶モニタなどの表示装置である。表示装置20は、温度表示制御部37や温度変化状態表示制御部38の指示に従って、環境温度、鋳物温度、局所発熱温度、温度変化状態などを表示する。   The display device 20 is a display device such as a liquid crystal monitor that displays the temperature stored in the temperature storage unit 31 and the temperature change state analyzed by the temperature analysis unit 32. The display device 20 displays an environmental temperature, a casting temperature, a local heat generation temperature, a temperature change state, and the like according to instructions from the temperature display control unit 37 and the temperature change state display control unit 38.

つぎに、放電加工機1の動作処理手順について説明する。図3は、実施の形態1に係る放電加工機の動作処理手順を示すフローチャートである。ここでは、ある程度の時間の経過に伴って設置環境の温度が変化していく場所に放電加工機1が設置された場合の、放電加工機1の動作処理手順について説明する。   Next, an operation processing procedure of the electric discharge machine 1 will be described. FIG. 3 is a flowchart showing an operation processing procedure of the electric discharge machine according to the first embodiment. Here, an operation processing procedure of the electric discharge machine 1 when the electric discharge machine 1 is installed in a place where the temperature of the installation environment changes with a certain amount of time will be described.

温度検出器15〜17は、温度検出を常時行っており(ステップS1)、所定周期毎に温度記憶部31が検出温度の読取りを行う。ここでは、ある検出時間(検出タイミング)nにおいて温度検出器15〜17が検出した温度(検出温度)を、それぞれT1(n)、T2(n)、T3(n)として説明する。また、温度記憶部31は常時検出している温度の他に、各温度検出器15〜17が検出する温度の基準となる基準温度としてT1(1)、T2(1)、T3(1)を記憶している。   The temperature detectors 15 to 17 always perform temperature detection (step S1), and the temperature storage unit 31 reads the detected temperature every predetermined period. Here, the temperatures (detected temperatures) detected by the temperature detectors 15 to 17 in a certain detection time (detection timing) n will be described as T1 (n), T2 (n), and T3 (n), respectively. In addition to the temperature that is constantly detected, the temperature storage unit 31 uses T1 (1), T2 (1), and T3 (1) as reference temperatures that serve as references for the temperatures detected by the temperature detectors 15 to 17. I remember it.

なお、基準温度がT1(1)、T2(1)、T3(1)である場合の放電加工機1の各軸部(X軸部10x、Y軸部10y、Z軸部10z)の位置をX(1)、Y(1)、Z(1)とする。また、放電加工機1の各軸部の位置がX(1)、Y(1)、Z(1)の場合に、工具電極23と被加工物2との間の位置関係が正しく保たれているものとする。   In addition, the position of each shaft part (X-axis part 10x, Y-axis part 10y, Z-axis part 10z) of the electric discharge machine 1 when the reference temperature is T1 (1), T2 (1), T3 (1). Let X (1), Y (1), and Z (1). Further, when the position of each shaft portion of the electric discharge machine 1 is X (1), Y (1), Z (1), the positional relationship between the tool electrode 23 and the workpiece 2 is correctly maintained. It shall be.

制御装置30は、基準温度を取得していなければ(ステップS2、No)、基準温度を取得し、温度記憶部31に記憶させる(ステップS3)。そして、温度検出器15〜17は、温度検出を継続する(ステップS1)。   If the reference temperature has not been acquired (step S2, No), the control device 30 acquires the reference temperature and stores it in the temperature storage unit 31 (step S3). And the temperature detectors 15-17 continue temperature detection (step S1).

制御装置30は、基準温度を取得すると(ステップS2、Yes)、温度検出時間になったか否かを判断する(ステップS4)。温度検出時間でなければ(ステップS4、No)、温度検出器15〜17は、温度検出を継続する(ステップS1)。   When acquiring the reference temperature (step S2, Yes), the control device 30 determines whether or not the temperature detection time has come (step S4). If it is not temperature detection time (step S4, No), the temperature detectors 15-17 will continue temperature detection (step S1).

制御装置30は、温度検出時間になると(ステップS4、Yes)、温度検出器15〜17が検出した各温度を温度検出器15〜17から取得して温度記憶部31に記憶させる(ステップS5)。   When the temperature detection time comes (step S4, Yes), the control device 30 acquires the temperatures detected by the temperature detectors 15 to 17 from the temperature detectors 15 to 17 and stores them in the temperature storage unit 31 (step S5). .

ここで、放電加工機1の設置環境の温度が変化し、検出温度のT1(n)、T2(n)、T3(n)に温度が変化したとする。放電加工機1の構成物が設置環境の温度変化によって熱変位を起こすと考えた場合、検出時間nにおける各軸部の位置をX(n)、Y(n)、Z(n)とすると、熱変位によって生じる工具電極23と被加工物2との間の位置関係の変位量(位置ずれ量)は、以下の式(1)〜(3)で表される。なお、Hx(n)、Hy(n)、Hz(n)は、それぞれ工具電極23と被加工物2との間のX軸方向、Y軸方向、Z軸方向の位置の変位量である。   Here, it is assumed that the temperature of the installation environment of the electric discharge machine 1 has changed and the temperature has changed to the detected temperatures T1 (n), T2 (n), and T3 (n). When it is considered that the components of the electric discharge machine 1 cause thermal displacement due to temperature changes in the installation environment, the position of each shaft portion at the detection time n is X (n), Y (n), Z (n), A displacement amount (position shift amount) of the positional relationship between the tool electrode 23 and the workpiece 2 caused by the thermal displacement is expressed by the following equations (1) to (3). Hx (n), Hy (n), and Hz (n) are displacement amounts of positions in the X-axis direction, the Y-axis direction, and the Z-axis direction between the tool electrode 23 and the workpiece 2, respectively.

Hx(n)=X(n)−X(1)・・・(1)
Hy(n)=Y(n)−Y(1)・・・(2)
Hz(n)=Z(n)−Z(1)・・・(3)
Hx (n) = X (n) -X (1) (1)
Hy (n) = Y (n) −Y (1) (2)
Hz (n) = Z (n) −Z (1) (3)

これらの変位量が設置環境の温度変化によるものであるとした場合、変位量は温度変化との相関関係を持つ。ここで、変位量と温度変化の関係について説明する。なお、X軸方向の変位量と温度変化の関係、Y軸方向の変位量と温度変化の関係、Z軸方向の変位量と温度変化の関係は、それぞれ同様の関係を示すので、ここではZ軸方向の変位量と温度変化の関係について説明する。Z軸方向の変位量と温度変化の関係は、以下の式(4)によって表すことができる。   If these displacement amounts are due to temperature changes in the installation environment, the displacement amounts have a correlation with temperature changes. Here, the relationship between the displacement and the temperature change will be described. The relationship between the displacement amount in the X-axis direction and the temperature change, the relationship between the displacement amount in the Y-axis direction and the temperature change, and the relationship between the displacement amount in the Z-axis direction and the temperature change show the same relationship. The relationship between the axial displacement and the temperature change will be described. The relationship between the amount of displacement in the Z-axis direction and the temperature change can be expressed by the following equation (4).

Hz(n)=α・(T1(n)−T1(1))+β・(T2(n)−T2(1))+γ・(T3(n)−T3(1)) ・・・(4)   Hz (n) = α · (T1 (n) −T1 (1)) + β · (T2 (n) −T2 (1)) + γ · (T3 (n) −T3 (1)) (4)

式(4)は、基準温度であるT1(1)、T2(1)、T3(1)と検出時間nにおける検出温度であるT1(n)、T2(n)、T3(n)の温度差を比較することで、温度変化によって基準位置からどれだけの変位が生じたかを類推する式となっている。温度解析部32は、式(4)における係数α,β,γに、温度検出器15〜17から検出される各検出温度に対して相関関係を有する値を設定しておく。具体的には、温度検出器15で検出された温度に対して相関関係を有する値が係数αに設定され、温度検出器16で検出された温度に対して相関関係を有する値が係数βに設定され、温度検出器17で検出された温度に対して相関関係を有する値が係数γに設定される。   Equation (4) is a temperature difference between T1 (1), T2 (1), and T3 (1) that are reference temperatures and T1 (n), T2 (n), and T3 (n) that are detection temperatures at a detection time n. By comparing the above, the equation gives an analogy to how much displacement has occurred from the reference position due to temperature change. The temperature analysis unit 32 sets values having a correlation with the detected temperatures detected from the temperature detectors 15 to 17 in the coefficients α, β, and γ in Expression (4). Specifically, a value having a correlation with the temperature detected by the temperature detector 15 is set as the coefficient α, and a value having a correlation with the temperature detected by the temperature detector 16 is set as the coefficient β. A value that is set and has a correlation with the temperature detected by the temperature detector 17 is set as the coefficient γ.

補正量算出部36は、基準温度に対する温度変化と、検出温度に対して相関関係をもつ係数と、を用いて定義された式(4)などから変位量を算出(類推)する(ステップS6)。そして、補正量算出部36が、類推した変位量を打消す方向に各軸部の位置が補正されるような補正量を算出し、駆動制御部33が、算出された補正量をモータ群の駆動に反映することによって(ステップS7)、熱変位補正が行われる。この後、ステップS1〜S7の処理が繰り返される。   The correction amount calculation unit 36 calculates (analogizes) the displacement amount from the equation (4) defined using the temperature change with respect to the reference temperature and the coefficient having a correlation with the detected temperature (step S6). . Then, the correction amount calculation unit 36 calculates a correction amount such that the position of each shaft portion is corrected in a direction to cancel the estimated displacement amount, and the drive control unit 33 calculates the calculated correction amount of the motor group. By reflecting the driving (step S7), thermal displacement correction is performed. Thereafter, the processes of steps S1 to S7 are repeated.

ところで、設置環境と放電加工機1の温度差を比較することだけでは、発生する熱変位を想定することは難しい。放電加工機1が有する構造体の部分的な材質の違いや構造の違いによる影響、放電加工機1の駆動状態による局所的な発熱の影響など、設置環境と放電加工機1の温度差以外の様々な要因によって変位の発生の仕方は異なってくるからである。   By the way, it is difficult to assume the generated thermal displacement only by comparing the temperature difference between the installation environment and the electric discharge machine 1. Other than the temperature difference between the installation environment and the electrical discharge machine 1, such as the effect of partial material differences and structural differences of the structure of the electrical discharge machine 1, the effect of local heat generation due to the driving state of the electrical discharge machine 1, etc. This is because the manner of occurrence of displacement differs depending on various factors.

放電加工機1の構造体の部分的な材質の違いや構造の違いは、構造体の部分的な熱時定数の違いとなるので、温度変化状態がどのように遷移するかで変位の発生の仕方が異なってくる。例えば、温度変化状態として、放電加工機1の温度が徐々に上がっていく状態を温度上昇状態とし、温度が徐々に下がっていく状態を温度下降状態とし、温度が一定時間変化していない状態を温度安定状態とし、それぞれの状態の変化を状態遷移と呼ぶこととする。温度上昇状態時に生じる変位量を精度よく想定するために定義された一定の計算式で温度下降状態時に生じる変位量を想定しようとすると、そこで想定されてくる変位量は正しい変位量とは限らない。これは放電加工機1の構造部品が多種多様であるため、それぞれの熱時定数の違いなどによって、変位の発生の仕方が温度上昇状態と温度下降状態で異なるためである。   Differences in the material and structure of the structure of the electrical discharge machine 1 result in differences in the partial thermal time constant of the structure, so that displacement may occur depending on how the temperature change state transitions. The way is different. For example, as a temperature change state, a state in which the temperature of the electric discharge machine 1 gradually increases is a temperature increase state, a state in which the temperature gradually decreases is a temperature decrease state, and a state in which the temperature has not changed for a certain period of time. A temperature stable state is assumed, and each state change is called a state transition. If you try to assume the amount of displacement that occurs when the temperature is lowered using a fixed calculation formula that is defined to accurately estimate the amount of displacement that occurs when the temperature is rising, the amount of displacement that is assumed is not always the correct amount of displacement. . This is because there are a variety of structural parts of the electric discharge machine 1, and the manner in which the displacement occurs differs between the temperature rising state and the temperature falling state due to differences in the thermal time constants.

図4−1および図4−2は、放電加工機における温度変化と変位量の関係を説明するための図である。図4−1は、放電加工機が緩やかに温度変化した場合の変位量の変化を示す図であり、図4−2は、放電加工機が急激に温度変化した場合の変位量の変化を示す図である。   4A and 4B are diagrams for explaining the relationship between the temperature change and the displacement amount in the electric discharge machine. FIG. 4-1 is a diagram illustrating a change in the displacement amount when the temperature of the electric discharge machine changes gradually, and FIG. 4-2 illustrates a change in the displacement amount when the temperature of the electric discharge machine changes suddenly. FIG.

図4−1や図4−2に示すように、環境温度の温度変化状態が温度安定状態から温度上昇状態に状態遷移した場合、温度変化に対し、所定の熱時定数による遅れを伴って熱変位が発生する。そして、温度変化の勾配が緩やかであるか急激であるかによって、熱変位の発生の仕方(変位量の変化態様)が異なる。このように、放電加工機1の構造体には、部分的な材質の違いや構造に違いがあるので、変位量の変化を予め定義された一定の計算式から想定することは困難である。   As shown in FIG. 4A and FIG. 4B, when the temperature change state of the environmental temperature transitions from the temperature stable state to the temperature rise state, the heat changes with a delay due to a predetermined thermal time constant with respect to the temperature change. Displacement occurs. The manner of occurrence of thermal displacement (change mode of displacement amount) differs depending on whether the gradient of the temperature change is gentle or abrupt. Thus, since the structure of the electric discharge machine 1 has a partial difference in material and structure, it is difficult to assume a change in the amount of displacement from a predetermined formula.

温度変化の勾配が急激に変化する状態の1つとして、放電加工機1の駆動動作が挙げられる。設置環境の温度変化は、比較的緩やかな場合が多い。一方、直線軸の高速移動動作や、回転軸の高速回転動作が実施される場合、モータ群の負荷による発熱や、各軸部を保持している周辺部材の摩擦による発熱などにより、局所的に急激な温度変化が生じる場合がある。   As one of the states in which the gradient of the temperature change changes abruptly, there is a driving operation of the electric discharge machine 1. The temperature change in the installation environment is often relatively gradual. On the other hand, when a high-speed movement operation of the linear shaft or a high-speed rotation operation of the rotary shaft is performed, it is locally caused by heat generation due to the load of the motor group or heat generation due to friction of peripheral members holding each shaft portion. Rapid temperature changes may occur.

局所的な発熱を伴う駆動動作を行う工作機械では、発熱量がある程度一定になるまで暖機を行うことで、駆動制御が行われる前に意図的に変位を発生させておき、変位量の変化が略最小になってから位置を把握するための測定動作を行うことが一般的である。この場合、工作機械の稼動前に暖機を行うことで機械運転中の変位量の変化を抑制することが可能となるが、暖機に要する時間が必要である。また、加工の状態に合せて工作機械の動作が刻々と変化するような運用を行う場合、変位量を抑制することが難しい。   In machine tools that perform drive operations with local heat generation, warm-up is performed until the heat generation amount becomes constant to a certain extent, so that displacement is intentionally generated before drive control is performed, and the change in displacement amount Generally, a measurement operation for grasping the position is performed after the value becomes substantially minimum. In this case, it is possible to suppress a change in the amount of displacement during machine operation by performing warm-up before the machine tool is operated, but time required for warm-up is required. In addition, when the operation is performed such that the operation of the machine tool changes every moment according to the machining state, it is difficult to suppress the displacement amount.

切削を目的とした工作機械などの場合、回転軸の回転速度などから予め変位量を想定しておき、想定していた変位量を補正する技術がある。例えば、形彫放電加工機のように、工具と工作物との間の加工屑を排除する場合や、加工状態の安定を目的として軸を高速移動させるジャンプ制御などの場合は、加工の安定状態や進行状況に応じて軸の駆動速度や駆動量が刻々と変化する。このため、軸の駆動速度や駆動量が刻々と変化する際に発生する変位量を予め想定しておくことは難しいので、駆動状態の変化に応じた温度変化から変位量を想定する必要がある。   In the case of a machine tool for the purpose of cutting, there is a technique that assumes a displacement amount in advance from the rotational speed of a rotating shaft and corrects the assumed displacement amount. For example, when removing scraps between the tool and the workpiece, such as a sculpting electric discharge machine, or when jump control that moves the axis at high speed for the purpose of stabilizing the machining state, the machining stable state The driving speed and driving amount of the shaft change every moment depending on the progress. For this reason, it is difficult to assume in advance the amount of displacement that occurs when the shaft driving speed and amount of driving change every moment, so it is necessary to assume the amount of displacement from the temperature change according to the change in the driving state. .

このように複数の要因によって複合的に生じる熱変位は、発生する量を想定することが難しく、予め定義された一定の補正式で変位量を抑制していくことは困難である。そのため、制御装置30は、工作機械(放電加工機1)の設置環境の温度変化、温度変化状態の状態遷移、駆動状態の変化など、時々刻々と変化する工作機械の状態を識別し、各状態に対応したモータ群への駆動補正を行なうことによって変位量を抑制する。   In this way, it is difficult to assume the amount of thermal displacement that is generated in combination by a plurality of factors, and it is difficult to suppress the amount of displacement with a predetermined correction equation. Therefore, the control device 30 identifies the state of the machine tool that changes every moment, such as a temperature change in the installation environment of the machine tool (electric discharge machine 1), a state change in the temperature change state, a change in the drive state, and the like. The amount of displacement is suppressed by performing drive correction to the motor group corresponding to the above.

ここで、温度変化の状態遷移と各軸部群の変位量との関係について説明する。なお、各軸部群は、同様の変位量を有するので、ここではZ軸変位量について説明する。図5は、温度変化の状態遷移とZ軸変位量との関係を説明するための図である。まず、図5に示すような温度(環境温度、鋳物温度、局所発熱温度)の温度変化と、この温度変化によって生じるZ軸変位量に対する従来の補正後変位量について説明する。   Here, the relationship between the state transition of the temperature change and the displacement amount of each shaft group will be described. In addition, since each axial part group has the same displacement amount, Z-axis displacement amount is demonstrated here. FIG. 5 is a diagram for explaining the relationship between the state transition of the temperature change and the Z-axis displacement amount. First, the temperature change of the temperature (environment temperature, casting temperature, local heating temperature) as shown in FIG. 5 and the conventional corrected displacement amount with respect to the Z-axis displacement amount caused by the temperature change will be described.

温度変化状態は、温度安定状態、温度上昇状態、温度下降状態が混在しているものとする。温度変化状態は、例えば、温度検出器15で検出された温度に基づいて判定される。なお、温度変化状態は、温度検出器16,17で検出された温度を参照して判定してもよい。   It is assumed that the temperature change state includes a temperature stable state, a temperature rise state, and a temperature drop state. The temperature change state is determined based on, for example, the temperature detected by the temperature detector 15. The temperature change state may be determined with reference to the temperatures detected by the temperature detectors 16 and 17.

温度安定状態(1)おいては、変位量に変化が生じることはなく変位量が略一定となる。また、温度上昇状態(1),(2)、温度下降状態(1),(2)においては、所定の時定数分の遅れをもって、変位量の変化が発生する。また、温度安定状態(2)においては、温度上昇状態(2)からの状態遷移により、温度安定状態にも関わらず、変位量の変化が発生する。   In the temperature stable state (1), the displacement amount does not change and the displacement amount becomes substantially constant. Further, in the temperature rising states (1) and (2) and the temperature falling states (1) and (2), the displacement changes with a delay corresponding to a predetermined time constant. Further, in the temperature stable state (2), a change in displacement occurs due to the state transition from the temperature rising state (2), regardless of the temperature stable state.

一定の計算式でこの変位量を想定する従来技術の場合、温度安定状態(2)における変位量の変化(温度の状態遷移の変化)までは捉えることができないので、変位量の低減効果は少ししか見込めない。   In the case of the prior art that assumes this amount of displacement with a constant calculation formula, it is impossible to capture the change in the amount of displacement in the temperature stable state (2) (change in the state transition of temperature), so the effect of reducing the amount of displacement is a little. I can only expect.

図5における温度変化の傾向を見た場合、温度検出器15〜17が検出する各温度は、温度検出する対象物の違いや温度検出器15〜17の取付け位置の違いによって、温度上昇状態や温度下降状態の遷移タイミングが異なる。これを変位(Z軸変位量)と照らし合わせてみた場合、変位の大きさが変わる状態遷移のタイミングは、温度検出器15の温度変化に比較的近いタイミングとなる。一方、温度検出器16、温度検出器17の時定数分の遅れ分に関係して、温度上昇状態と温度下降状態のそれぞれで、変位量の変化の傾向が異なる。   When the tendency of the temperature change in FIG. 5 is seen, each temperature detected by the temperature detectors 15 to 17 depends on the temperature rise state depending on the difference in the object to be detected and the difference in the mounting position of the temperature detectors 15 to 17. The transition timing of the temperature drop state is different. When this is compared with the displacement (Z-axis displacement amount), the timing of the state transition in which the magnitude of the displacement changes is relatively close to the temperature change of the temperature detector 15. On the other hand, in relation to the delay of the time constants of the temperature detector 16 and the temperature detector 17, the tendency of the change in the displacement amount is different between the temperature rising state and the temperature falling state.

このように、温度の勾配が何れのタイミングで切替わったかによって変位量の変化態様が異なっており、温度安定状態であったとしても、前後の温度変化が温度上昇状態や温度下降状態となっている場合は、熱時定数の遅れ分の変位量が残存する。そのため、温度安定状態であるか、温度上昇状態か、温度下降状態かだけで単純に温度変化に相関をもつ係数(温度相関係数)α,β,γを決定することはできない。   In this way, the change mode of the displacement amount differs depending on at which timing the temperature gradient is switched, and even if the temperature is stable, the temperature change before and after becomes a temperature rising state or a temperature falling state. If there is, a displacement amount corresponding to the delay of the thermal time constant remains. Therefore, the coefficients (temperature correlation coefficients) α, β, γ that are simply correlated with the temperature change cannot be determined only in the temperature stable state, the temperature rising state, or the temperature falling state.

そこで、本実施の形態では、温度解析部32が、温度変化状態の遷移に基づいて、温度変化状態を解析する。なお、本実施の形態では、駆動状態の変化が変位量に影響を与えない場合について説明する。温度解析部32は、例えば、図6に示すアルゴリズムで温度変化状態の解析を行う。   Therefore, in the present embodiment, the temperature analysis unit 32 analyzes the temperature change state based on the transition of the temperature change state. In the present embodiment, a case will be described in which a change in driving state does not affect the amount of displacement. The temperature analysis unit 32 analyzes the temperature change state using, for example, an algorithm shown in FIG.

図6は、実施の形態1に係る放電加工機が行う補正量算出処理の処理手順を示すフローチャートである。前述したように、温度変化によって生じる変位量は、単純に温度上昇状態か温度下降状態かだけでは判断できない。このため、温度解析部32は、状態がどのように遷移していくかを判断(状態遷移を確認)し(ステップS11)、対象となる状態変化において最適となる係数α,β,γを設定する。本実施の意形態では、例えば、温度解析部32に予め状態遷移の判断基準を設定しておく。これにより、温度解析部32は、状態遷移の判断基準に基づいて、温度変化状態がどのように遷移していくかを判断する。   FIG. 6 is a flowchart showing a processing procedure of correction amount calculation processing performed by the electric discharge machine according to the first embodiment. As described above, the amount of displacement caused by a temperature change cannot be determined by simply determining whether the temperature is rising or falling. For this reason, the temperature analysis unit 32 determines how the state transitions (confirms the state transition) (step S11), and sets coefficients α, β, γ that are optimal in the target state change. To do. In the present embodiment, for example, a judgment criterion for state transition is set in the temperature analysis unit 32 in advance. Accordingly, the temperature analysis unit 32 determines how the temperature change state changes based on the determination criterion of the state transition.

温度解析部32は、状態遷移を認識していなければ(ステップS12、No)、基準温度と温度検出器15〜17が検出した検出温度とに基づいて、補正量を算出する(ステップS17)。一方、温度解析部32は、状態遷移を認識すると(ステップS12、Yes)、状態遷移の判断基準に基づいて、後述の状態遷移パターンを分析する(ステップS13)。   If the temperature analysis unit 32 does not recognize the state transition (No at Step S12), the temperature analysis unit 32 calculates a correction amount based on the reference temperature and the detected temperatures detected by the temperature detectors 15 to 17 (Step S17). On the other hand, when recognizing the state transition (step S12, Yes), the temperature analysis unit 32 analyzes a state transition pattern described later based on the determination criterion of the state transition (step S13).

図7は、状態遷移の判断基準の一例を示す図である。図7に示す判断基準情報51では、状態遷移パターンと状態遷移条件とが対応付けされている。判断基準情報51は、各状態遷移パターンが満たすべき状態遷移条件を規定している。換言すると、判断基準情報51に示した状態遷移条件を満たした場合に、この状態遷移条件に対応する状態遷移になったと判断される。   FIG. 7 is a diagram illustrating an example of determination criteria for state transition. In the criterion information 51 shown in FIG. 7, the state transition pattern and the state transition condition are associated with each other. The criterion information 51 defines the state transition conditions that each state transition pattern should satisfy. In other words, when the state transition condition indicated in the criterion information 51 is satisfied, it is determined that the state transition corresponding to the state transition condition has been reached.

温度解析部32は、ある温度検出時間nにおける温度と、一周期前の検出時間(n−1)における温度とを比較し、その温度差が所定の閾値を上回るか下回るかで温度が上昇しているのか下降しているのかの判断を行う。   The temperature analysis unit 32 compares the temperature at a certain temperature detection time n with the temperature at the detection time (n-1) one cycle before, and the temperature rises depending on whether the temperature difference exceeds or falls below a predetermined threshold. Judge whether it is falling or falling.

閾値を超えなかった場合、温度解析部32は、温度変化状態を安定状態として認識する。また、温度解析部32は、温度検出時間nと温度検出時間(n−1)との温度差からだけで上昇、下降、安定の各状態を判断するのではなく、過去複数回の状態に基づいて状態遷移を認識する。具体的には、温度解析部32は、過去複数回の検出周期に対して、上昇、下降、安定を判断し、規定された回数以上に渡って上昇、下降、安定の状態が継続した場合に、温度変化状態が遷移したと判定する。   When the threshold value is not exceeded, the temperature analysis unit 32 recognizes the temperature change state as a stable state. In addition, the temperature analysis unit 32 does not determine each of the rising, falling, and stable states based on the temperature difference between the temperature detection time n and the temperature detection time (n−1), but based on the past multiple times. To recognize state transitions. Specifically, the temperature analysis unit 32 determines ascending, descending, and stable for a plurality of detection cycles in the past, and when the ascending, descending, and stable states continue for a prescribed number of times or more. It is determined that the temperature change state has transitioned.

例えば、温度解析部32には、安定状態を示す閾値としてTst、上昇状態を示す閾値としてTup、下降状態を示す閾値としてTdnを設定しておく。温度解析部32は、状態遷移の判断を行う検出周期をm回とする。この場合において、検出時間nと温度検出時間(n−1)の温度差をΔTとすると、温度変化状態(温度推移の種類)の判断基準は以下のようになる。
・温度安定状態:−Tst≦ΔT≦Tst
・温度上昇状態:Tup≦ΔT
・温度下降状態:ΔT≦Tdn
For example, in the temperature analysis unit 32, Tst is set as a threshold indicating the stable state, Tup is set as the threshold indicating the rising state, and Tdn is set as the threshold indicating the falling state. The temperature analysis unit 32 sets the detection cycle for determining the state transition to m times. In this case, if the temperature difference between the detection time n and the temperature detection time (n−1) is ΔT, the criterion for determining the temperature change state (type of temperature transition) is as follows.
Temperature stable state: −Tst ≦ ΔT ≦ Tst
・ Temperature rise: Tup ≦ ΔT
・ Temperature drop state: ΔT ≦ Tdn

温度解析部32は、検出時間nを含む過去m回の温度検出周期の中で、上記判断基準を満たした温度検出時間が何回あったかを記憶しておく。温度解析部32は、この結果が状態遷移の遷移条件を満たす回数であるか否かで、状態遷移を判断する。   The temperature analysis unit 32 stores the number of times that the temperature detection time satisfying the above-described criterion has been detected in the past m temperature detection cycles including the detection time n. The temperature analysis unit 32 determines the state transition based on whether or not this result is the number of times that satisfies the state transition transition condition.

例えば、図7のパターンPaに示すように、温度解析部32が、a回の温度安定状態(条件1)とb回の温度上昇状態(条件2)を認識しており、かつ温度解析部32が温度検出時間nからみて過去連続c回分の温度上昇状態(条件3)を認識している場合、温度解析部32は、温度安定状態から温度上昇状態への状態遷移であると認識する。   For example, as shown in a pattern Pa in FIG. 7, the temperature analysis unit 32 recognizes a temperature stable state (condition 1) and b temperature rise states (condition 2), and the temperature analysis unit 32. Is recognized as a state transition from the temperature stable state to the temperature rising state when the temperature rising state (condition 3) for the past continuous c times is recognized from the temperature detection time n.

この状態遷移が認識された温度検出周期は、状態遷移周期として温度解析部32で記憶される。温度解析部32は、以降のモータ群の駆動補正に使用する係数α,β,γに、温度安定状態から温度上昇状態への状態遷移時用に予め調整しておいたα、β、γを設定する。このように、温度解析部32は、状態遷移パターンの分析結果に基づいて、温度相関を有した係数α,β,γを設定する(ステップS14)。   The temperature detection period in which the state transition is recognized is stored in the temperature analysis unit 32 as the state transition period. The temperature analysis unit 32 uses α, β, and γ that have been adjusted in advance for the state transition from the temperature stable state to the temperature rising state as coefficients α, β, and γ that are used for driving correction of the motor group thereafter. Set. In this way, the temperature analysis unit 32 sets the coefficients α, β, and γ having temperature correlation based on the analysis result of the state transition pattern (step S14).

温度解析部32は、状態遷移タイミングを確認し(ステップS15)、状態遷移タイミングに応じた補正係数である状態遷移係数St(n)を設定する(ステップS16)。状態遷移係数St(n)は、状態遷移が生じたと認識された検出時間(状態遷移タイミング)に対して重み付けを与える係数であり、ここでは温度変化に対する変位の熱時定数遅れを表すために使用される。   The temperature analysis unit 32 confirms the state transition timing (step S15), and sets a state transition coefficient St (n) that is a correction coefficient according to the state transition timing (step S16). The state transition coefficient St (n) is a coefficient that gives a weight to the detection time (state transition timing) in which it is recognized that the state transition has occurred. Here, the state transition coefficient St (n) is used to represent the thermal time constant delay of the displacement with respect to the temperature change. Is done.

温度安定状態から温度上昇状態に状態遷移したケースをパターンPaとした場合、パターンPaに対して設定された係数をそれぞれ係数αA,βA,γAとすると、状態遷移を加味する前の想定変位量であるHz’(n)は、以下の式(5),(6)の関係を満たす。   When the case where the state transition from the temperature stable state to the temperature rising state is assumed to be a pattern Pa, and the coefficients set for the pattern Pa are the coefficients αA, βA, and γA, respectively, the estimated displacement before taking the state transition into account A certain Hz ′ (n) satisfies the relationship of the following expressions (5) and (6).

Hz’(n)=αA・(T1(n)−T1(1))+βA・(T2(n)−T2(1))+γA・(T3(n)−T3(1))・・・(5)
Hz(n)=St(n)・Hz’(n)・・・(6)
Hz ′ (n) = αA · (T1 (n) −T1 (1)) + βA · (T2 (n) −T2 (1)) + γA · (T3 (n) −T3 (1)) (5) )
Hz (n) = St (n) · Hz ′ (n) (6)

補正量算出部36は、Hz(n)を想定変位量として算出し、想定変位量を打消す方向への補正量を算出する(ステップS17)。そして、補正量算出部36は、算出した補正量を駆動制御部33に与える。   The correction amount calculation unit 36 calculates Hz (n) as an assumed displacement amount, and calculates a correction amount in a direction to cancel the assumed displacement amount (step S17). Then, the correction amount calculation unit 36 gives the calculated correction amount to the drive control unit 33.

ここで、状態遷移が認識されたタイミングと変位量の変化タイミングとの関係について説明する。図8−1は、温度安定状態から温度上昇状態に状態遷移した場合のZ軸変位量を説明するための図である。図8−1では、T1(n−7)〜T1(n−3)までが温度安定状態であり、T1(n−3)の後、温度上昇状態になる場合の変位量(Z軸変位量)の変化を示している。   Here, the relationship between the timing when the state transition is recognized and the change timing of the displacement amount will be described. FIG. 8A is a diagram for explaining the Z-axis displacement when the state transition is from the temperature stable state to the temperature rising state. In FIG. 8A, the displacement amount (Z-axis displacement amount) when T1 (n−7) to T1 (n−3) are in a temperature stable state and the temperature rises after T1 (n−3). ) Changes.

例えば、現在から見て最新の温度検出時間をT1(n)とし、検出周期毎に温度取得した過去の検出時間をそれぞれT1(n−1)、T1(n−2)、・・・とし、状態遷移が認識された温度検出時間(状態遷移時間)をT1(n−3)とする。この場合において、図8−1に示すような温度変化が生じると、状態遷移時間であるT1(n−3)に対して所定の遅れを持って変位量の変化が生じる。   For example, let T1 (n) be the latest temperature detection time viewed from the present, and T1 (n-1), T1 (n-2),... The temperature detection time (state transition time) in which the state transition is recognized is assumed to be T1 (n-3). In this case, when a temperature change as shown in FIG. 8A occurs, a change in the displacement amount occurs with a predetermined delay with respect to T1 (n-3) which is the state transition time.

このような遅れは、熱時定数遅れに起因するものであり、類推した熱時定数遅れを解消するための状態遷移係数としてSt(n)が設定される。例えば、状態遷移が発生した温度検出時間のT1(n−3)の次の検出周期であるT1(n−2)において、式(5)から算出される想定変位量Hz’(n)が、実際に放電加工機1に生じている変位量よりも大きな想定変位値が算出される場合がある。この場合、温度解析部32は、想定変位量の値が小さくなるような所定の係数をSt(n−2)に設定する。   Such a delay is caused by a thermal time constant delay, and St (n) is set as a state transition coefficient for eliminating the analog thermal time constant delay. For example, in T1 (n-2) which is the next detection cycle of T1 (n-3) of the temperature detection time at which the state transition has occurred, the assumed displacement amount Hz ′ (n) calculated from Expression (5) is In some cases, an assumed displacement value that is larger than the displacement amount actually generated in the electric discharge machine 1 may be calculated. In this case, the temperature analysis unit 32 sets a predetermined coefficient such that the value of the assumed displacement amount is small to St (n−2).

温度解析部32は、このSt(n−2)を想定変位量に掛け合わせることで、補正値が過剰に大きくなって悪影響を与えることを制限する。本実施の形態では、温度変化状態が温度安定状態、温度上昇状態、温度下降状態のように時間によって変化していく状態遷移を伴っていたとしても、このように温度変化と相関を持つ係数と熱時定数の変化を常時認識することによって、放電加工機1の変位を精度良く補正することができる。   The temperature analysis unit 32 multiplies St (n−2) by the estimated displacement amount, thereby limiting the correction value from becoming excessively large and having an adverse effect. In this embodiment, even if the temperature change state is accompanied by a state transition that changes with time such as a temperature stable state, a temperature rising state, and a temperature falling state, the coefficient having a correlation with the temperature change is By constantly recognizing changes in the thermal time constant, the displacement of the electric discharge machine 1 can be corrected with high accuracy.

図8−2は、温度安定状態から温度上昇状態に状態遷移した場合に設定される状態遷移係数の一例を示す図である。図8−2では、図8−1に示した温度変化状態(状態遷移)に対して設定される状態遷移係数の一例を示している。例えば、温度安定状態では状態遷移係数としてSt=1.0が設定される。また、温度変化状態の変化(状態遷移)が最初に認識された温度検出時間のT1(n−3)では、状態遷移係数としてSt=0.5が設定される。また、状態遷移が認識された後、温度上昇状態が続く場合は、T1(n−3)の状態遷移係数よりも少しずつ状態遷移係数が大きくなっていくよう状態遷移係数が設定される。ここでは、T1(n−2)にSt=0.7が設定され、T1(n−1)にSt=0.9が設定され、T1(n)にSt=1.0が設定されている場合を示している。   FIG. 8-2 is a diagram illustrating an example of a state transition coefficient that is set when a state transition is made from a temperature stable state to a temperature rising state. FIG. 8B illustrates an example of the state transition coefficient set for the temperature change state (state transition) illustrated in FIG. For example, St = 1.0 is set as the state transition coefficient in the temperature stable state. In addition, St = 0.5 is set as the state transition coefficient at T1 (n−3) of the temperature detection time when the temperature change state change (state transition) is first recognized. In addition, when the temperature rising state continues after the state transition is recognized, the state transition coefficient is set so that the state transition coefficient gradually becomes larger than the state transition coefficient of T1 (n-3). Here, St = 0.7 is set for T1 (n-2), St = 0.9 is set for T1 (n-1), and St = 1.0 is set for T1 (n). Shows the case.

温度記憶部31で記憶されている温度および温度解析部32で解析された温度変化状態の解析結果は、それぞれ温度表示制御部37、温度変化状態表示制御部38による制御によって表示装置20で表示される。   The temperature stored in the temperature storage unit 31 and the analysis result of the temperature change state analyzed by the temperature analysis unit 32 are displayed on the display device 20 by control by the temperature display control unit 37 and the temperature change state display control unit 38, respectively. The

図9は、表示装置に表示される情報の一例を示す図である。図9では、表示装置20で表示される情報を概念的に図示している。図9に示すグラフは、横軸が時刻であり、縦軸が温度である。   FIG. 9 is a diagram illustrating an example of information displayed on the display device. In FIG. 9, information displayed on the display device 20 is conceptually illustrated. In the graph shown in FIG. 9, the horizontal axis represents time and the vertical axis represents temperature.

表示装置20における温度表示は、現在時刻が最新の時間となるので、表示の右端が現在の温度を示し、横軸を左に行くにつれて過去の温度が表示されている。そして、時刻の推移に応じて表示装置20の表示画面は更新されていく。表示装置20に表示される温度に関する情報は、所定の周期で更新されていき、解析周期に合わせて制御装置30が何れの温度変化状態であるかを認識したかが表示される。   In the temperature display on the display device 20, since the current time is the latest time, the right end of the display indicates the current temperature, and the past temperature is displayed on the left side of the horizontal axis. And the display screen of the display apparatus 20 is updated according to transition of time. Information on the temperature displayed on the display device 20 is updated at a predetermined cycle, and it is displayed which temperature change state the control device 30 recognizes in accordance with the analysis cycle.

表示装置20は、温度上昇状態と判断された解析周期では温度上昇状態を示すマーク41で温度変化状態を表示する。同様に、表示装置20は、温度下降状態と判断された解析周期では温度下降状態を示すマーク43で温度変化状態を示し、温度安定状態と判断された解析周期では温度安定状態を示すマーク42で温度変化状態を示す。なお、表示装置20は、温度検出器15〜17の故障や異常温度が検出された際には、マーク41〜43とは異なるマーク(例えば、×印)を表示してもよい。   The display device 20 displays the temperature change state with the mark 41 indicating the temperature rise state in the analysis cycle determined as the temperature rise state. Similarly, the display device 20 indicates a temperature change state by a mark 43 indicating a temperature decrease state in an analysis cycle determined as a temperature decrease state, and indicates a temperature stable state in an analysis cycle determined as a temperature stable state. Indicates the temperature change state. In addition, the display apparatus 20 may display a mark (for example, x mark) different from the marks 41 to 43 when a failure or abnormal temperature of the temperature detectors 15 to 17 is detected.

このように、表示装置20は、温度変化状態毎に種々のマークで視覚的に温度変化状態を表示するので、状態遷移を何れのタイミングで判断したかを工作機械使用者に明確に通知することができる。さらに、表示装置20は、各マーク41〜43を縦軸の温度に応じた位置に表示させることにより、設置環境の温度を工作機械使用者に示すことができる。また、表示装置20は、補正機能が正しく動作していることの確認や温度検出器15〜17の故障発生などを工作機械使用者に知らしめることができる。   Thus, since the display device 20 visually displays the temperature change state with various marks for each temperature change state, the machine tool user is clearly notified at which timing the state transition is determined. Can do. Further, the display device 20 can display the temperature of the installation environment to the machine tool user by displaying the marks 41 to 43 at positions corresponding to the temperature of the vertical axis. Further, the display device 20 can notify the machine tool user of confirmation that the correction function is operating correctly and the occurrence of a failure in the temperature detectors 15 to 17.

このように、本実施形態の制御装置30は、放電加工機1の設置環境の温度や温度変化状態(状態遷移)に基づいて、工具電極23と被加工物2との間の位置関係の変位(被加工物2に対する工具電極23の位置変位)を補正するための補正量を算出している。これにより、放電加工機1の設置環境の温度変化や、温度変化状態の遷移などの複合的な要因によって時々刻々と変化する熱変位を正確に算出できる。   As described above, the control device 30 of the present embodiment is configured to change the positional relationship between the tool electrode 23 and the workpiece 2 based on the temperature of the installation environment of the electric discharge machine 1 and the temperature change state (state transition). A correction amount for correcting (position displacement of the tool electrode 23 with respect to the workpiece 2) is calculated. Accordingly, it is possible to accurately calculate the thermal displacement that changes every moment due to a complex factor such as a temperature change in the installation environment of the electric discharge machine 1 or a transition of the temperature change state.

また、状態遷移条件に基づいて、状態遷移を判定しているので、放電加工機1の温度変化状態の状態遷移を正確に捉えることが可能となる。また、熱変位を正確に算出できるので、適切な補正量を算出することが可能となる。したがって、熱変位に起因する加工位置の位置ずれを抑制することが可能となる。   Moreover, since the state transition is determined based on the state transition condition, the state transition of the temperature change state of the electric discharge machine 1 can be accurately captured. In addition, since the thermal displacement can be accurately calculated, an appropriate correction amount can be calculated. Therefore, it is possible to suppress the displacement of the machining position due to the thermal displacement.

なお、本実施の形態では、係数α,β,γを用いてHz(n)を算出する場合について説明したが、γ・(T3(n)−T3(1))を用いることなく、α・(T1(n)−T1(1))とβ・(T2(n)−T2(1))を用いてHz(n)を算出してもよい。また、放電加工機1が本実施の形態の動作を行う場合、制御装置30は、駆動状態認識部35を備えていなくてもよい。   In the present embodiment, the case where Hz (n) is calculated using the coefficients α, β, and γ has been described, but α · (T3 (n) −T3 (1)) is not used and α · Hz (n) may be calculated using (T1 (n) −T1 (1)) and β · (T2 (n) −T2 (1)). Further, when the electric discharge machine 1 performs the operation of the present embodiment, the control device 30 may not include the drive state recognition unit 35.

このように、実施の形態1によれば、放電加工機1の温度や、温度変化状態の状態遷移に基づいて工具電極23と被加工物2との間の位置関係の変位を算出しているので、熱変位を適切に補正することが可能になる。したがって、熱変位に起因する加工精度の悪化を抑制することが可能となる。   Thus, according to the first embodiment, the displacement of the positional relationship between the tool electrode 23 and the workpiece 2 is calculated based on the temperature of the electric discharge machine 1 and the state transition of the temperature change state. Therefore, it becomes possible to correct | amend a thermal displacement appropriately. Therefore, it is possible to suppress the deterioration of processing accuracy due to thermal displacement.

実施の形態2.
つぎに、図10〜図13−2を用いてこの発明の実施の形態2について説明する。実施の形態2では、急激な温度変化が発生した場合(局所的な発熱が生じた場合)の、工具電極23と被加工物2との間の位置関係の変位算出方法について説明する。
Embodiment 2. FIG.
Next, a second embodiment of the present invention will be described with reference to FIGS. In the second embodiment, a displacement calculation method for the positional relationship between the tool electrode 23 and the workpiece 2 when a sudden temperature change occurs (when local heat generation occurs) will be described.

まず、急激な温度変化が発生した場合の状態遷移と各軸部群の変位量との関係について説明する。なお、各軸部群は、同様の変位量を有するので、ここではZ軸変位量について説明する。   First, the relationship between the state transition and the displacement amount of each shaft group when a sudden temperature change occurs will be described. In addition, since each axial part group has the same displacement amount, Z-axis displacement amount is demonstrated here.

図10は、急激な温度変化が発生した場合の状態遷移とZ軸変位量との関係を説明するための図である。まず、図10に示すような温度変化と、この温度変化によって生じるZ軸変位量に対する従来の補正後変位量について説明する。   FIG. 10 is a diagram for explaining the relationship between the state transition and the Z-axis displacement when a sudden temperature change occurs. First, a temperature change as shown in FIG. 10 and a conventional corrected displacement amount with respect to the Z-axis displacement amount caused by the temperature change will be described.

温度検出器17は、例えば特定の軸に対してのみ熱変位を生じさせるような温度変化が発生することが予めわかっている位置に取付けられている。この温度検出器17で温度変化が検出される駆動状態(大きな温度変化が生じる駆動状態)になった場合に、図10に示すような温度変化と変位量が生じたとする。   The temperature detector 17 is attached to a position where it is known in advance that a temperature change that causes a thermal displacement only with respect to a specific axis, for example, occurs. Assume that a temperature change and a displacement amount as shown in FIG. 10 occur in a driving state in which a temperature change is detected by the temperature detector 17 (a driving state in which a large temperature change occurs).

図10では、温度変化状態が、以下の順番で変化する場合を示している。すなわち、図10では、温度安定状態(1)、温度下降状態(1)、温度上昇状態(1)、特定温度上昇状態、温度安定状態(2)、特定温度下降状態、温度下降状態(2)、温度上昇状態(2)、温度安定状態(3)の順番で温度変化状態が変化している場合を示している。   FIG. 10 shows a case where the temperature change state changes in the following order. That is, in FIG. 10, the temperature stable state (1), the temperature lowered state (1), the temperature raised state (1), the specific temperature raised state, the temperature stable state (2), the specific temperature lowered state, and the temperature lowered state (2). The temperature change state is changing in the order of the temperature rise state (2) and the temperature stable state (3).

局所的な発熱による温度変化があった場合、本実施の形態の温度解析部32は、例えば、図11に示すアルゴリズムで、局所発熱温度変化の解析と、温度変化状態の解析を行う。図11は、実施の形態2に係る放電加工機が行う補正量算出処理の処理手順を示すフローチャートである。なお、図11に示す処理のうち実施の形態1の図6で説明した処理と同様の処理については、その説明を省略する。   When there is a temperature change due to local heat generation, the temperature analysis unit 32 according to the present embodiment performs an analysis of the local heat generation temperature change and an analysis of the temperature change state using, for example, an algorithm shown in FIG. FIG. 11 is a flowchart showing a processing procedure of correction amount calculation processing performed by the electric discharge machine according to the second embodiment. Note that the description of the same processes as those illustrated in FIG. 6 according to the first embodiment among the processes illustrated in FIG. 11 is omitted.

駆動状態認識部35は、駆動制御部33がモータ11x,11y,11z,11cへ送る駆動指示に基づいて、軸部群の駆動状態を確認する(ステップS31)。駆動状態認識部35は、局所的な発熱(温度変化)を生じる駆動状態(特定駆動状態)が開始されていないと判断すると(ステップS32、No)、状態遷移を確認する(ステップS34)。その後、制御装置30は、実施の形態1で説明したステップS12〜S17に対応する処理として、ステップS35〜S40の処理を行う。   The drive state recognition unit 35 confirms the drive state of the shaft group based on the drive instruction sent from the drive control unit 33 to the motors 11x, 11y, 11z, and 11c (step S31). When the drive state recognition unit 35 determines that the drive state (specific drive state) that causes local heat generation (temperature change) has not been started (No in step S32), it checks the state transition (step S34). Then, the control apparatus 30 performs the process of step S35-S40 as a process corresponding to step S12-S17 demonstrated in Embodiment 1. FIG.

一方、駆動状態認識部35は、局所的な発熱(温度変化)を生じる駆動状態(特定駆動状態)が開始されたと判断すると(ステップS32、Yes)、特定駆動状態になったことを温度解析部32に通知する。ここでいう局所的な温度変化を生じる駆動状態の開始は、駆動制御部33が特定の駆動指令(局所発熱を発生させる駆動指令)をモータ群の何れかに送ったか否かなどの判断基準などに基づいて判断される。駆動状態認識部35は、特定の駆動指令が有った場合に、特定駆動状態が開始されたと判断する。   On the other hand, when the drive state recognition unit 35 determines that the drive state (specific drive state) that causes local heat generation (temperature change) has started (step S32, Yes), the temperature analysis unit determines that the specific drive state has been reached. 32. The start of the drive state that causes the local temperature change here is a judgment criterion such as whether or not the drive control unit 33 has sent a specific drive command (a drive command for generating local heat generation) to any of the motor groups. Is determined based on The drive state recognition unit 35 determines that the specific drive state is started when there is a specific drive command.

特定駆動状態が開始されると、温度変化状態は、温度安定状態から急激な温度上昇状態に遷移する。温度解析部32は、温度安定状態から急激な温度上昇状態に遷移したケースであるか否かを判断する。温度安定状態から急激な温度上昇状態への状態遷移に対応する状態遷移条件を満たす場合、温度解析部32は、温度安定状態から急激な温度上昇状態に状態遷移したと認識する。この状態遷移のケースをパターンPgとした場合、温度解析部32は、パターンPgに応じた係数α,β,γ(特定駆動状態用)、および状態遷移係数St(n)を設定する。   When the specific drive state is started, the temperature change state transitions from a temperature stable state to a rapid temperature rise state. The temperature analysis unit 32 determines whether or not this is a case where the temperature transitions from a stable temperature state to a sudden temperature rise state. When the state transition condition corresponding to the state transition from the temperature stable state to the rapid temperature rise state is satisfied, the temperature analysis unit 32 recognizes that the state transition has been made from the temperature stable state to the rapid temperature rise state. When the state transition case is a pattern Pg, the temperature analysis unit 32 sets coefficients α, β, γ (for a specific drive state) and a state transition coefficient St (n) corresponding to the pattern Pg.

パターンPgに対して設定された係数をそれぞれ係数αG,βG,γGとすると、状態遷移を加味する前の想定変位量であるHz’(n)は、以下の式(7),(8)の関係を満たす。   Assuming that the coefficients set for the pattern Pg are coefficients αG, βG, and γG, respectively, Hz ′ (n) that is an assumed displacement amount before taking the state transition into consideration is expressed by the following equations (7) and (8). Satisfy the relationship.

Hz’(n)=αG・(T1(n)−T1(1))+βG・(T2(n)−T2(1))+γG・(T3(n)−T3(1))・・・(7)
Hz(n)=St(n)・Hz’(n)・・・(8)
Hz ′ (n) = αG · (T1 (n) −T1 (1)) + βG · (T2 (n) −T2 (1)) + γG · (T3 (n) −T3 (1)) (7) )
Hz (n) = St (n) · Hz ′ (n) (8)

このとき、温度解析部32は、急激な温度上昇に対して急激に変位量が変化していくと判断し、パターンPgに応じた状態遷移係数St(n)を設定する。具体的には、温度解析部32は、状態遷移が生じたと認識された検出時間に、実施の形態1の図7で示したパターンPaの場合よりも熱時定数が大きくなるように状態遷移係数St(n)を設定する。   At this time, the temperature analysis unit 32 determines that the amount of displacement changes suddenly with respect to the rapid temperature rise, and sets the state transition coefficient St (n) according to the pattern Pg. Specifically, the temperature analysis unit 32 detects the state transition coefficient so that the thermal time constant becomes larger than the case of the pattern Pa shown in FIG. 7 of the first embodiment at the detection time when the state transition is recognized. Set St (n).

例えば、現在から見て最新の温度検出時間をT1(n)とし、検出周期毎に温度取得した過去の検出時間をそれぞれT1(n−1)、T1(n−2)、・・・とする。この場合において、図12−1に示すような温度変化が生じると、急激な温度変化に対して生じる変位量は、温度の検出周期に対して早い速度で変化する可能性がある。   For example, the latest temperature detection time viewed from the current time is T1 (n), and the past detection times acquired at each detection cycle are T1 (n-1), T1 (n-2),. . In this case, when a temperature change as shown in FIG. 12A occurs, the amount of displacement caused by the rapid temperature change may change at a high speed with respect to the temperature detection cycle.

図12−1は、局所的な発熱による温度変化があった場合のZ軸変位量を説明するための図である。図12−1では、T1(n−7)〜T1(n−3)までが温度安定状態であり、T1(n−3)の後、局所的な発熱による温度変化(局所発熱温度変化)があった場合の変位量(Z軸変位量)の変化を示している。   FIG. 12A is a diagram for explaining the Z-axis displacement when there is a temperature change due to local heat generation. In FIG. 12A, T1 (n-7) to T1 (n-3) are in a temperature stable state, and after T1 (n-3), a temperature change due to local heat generation (local heat generation temperature change) occurs. The change of the displacement amount (Z-axis displacement amount) in the case of being present is shown.

図12−1に示す例では、局所的な発熱による温度変化があった場合に、温度の検出周期に対して早い速度で変位量が変化している。検出周期の遅れは補正量の反映遅れとなるので、急峻な反映を行う係数としてSt(n)が設定される。制御装置30は、急激な変位量の発生に対し、すぐに変位を打消すように補正量を制御することで、放電加工機1の変位に即した補正を行うことができる。   In the example shown in FIG. 12A, when there is a temperature change due to local heat generation, the amount of displacement changes at a speed faster than the temperature detection cycle. Since the delay of the detection cycle becomes a reflection delay of the correction amount, St (n) is set as a coefficient for performing a sharp reflection. The control device 30 can perform correction in accordance with the displacement of the electric discharge machine 1 by controlling the correction amount so as to cancel the displacement immediately in response to the sudden generation of the displacement amount.

図12−2は、局所的な発熱による温度変化があった場合に設定される状態遷移係数の一例を示す図である。図12−2では、図12−1に示した温度変化状態(状態遷移)に対して設定される状態遷移係数の一例を示している。例えば、温度安定状態では状態遷移係数としてSt=1.0が設定される。また、局所的な発熱による温度変化(状態遷移)が最初に認識された温度検出時間のT1(n−3)では、状態遷移係数としてSt=2.0が設定される。また、状態遷移が認識された後、温度上昇状態が続く場合は、T1(n−3)の状態遷移係数よりも少しずつ状態遷移係数が小さくなっていくよう状態遷移係数が設定される。ここでは、T1(n−2)にSt=1.5が設定され、T1(n−1)にSt=1.2が設定され、T1(n)にSt=1.0が設定されている場合を示している。   FIG. 12-2 is a diagram illustrating an example of a state transition coefficient set when there is a temperature change due to local heat generation. 12B illustrates an example of the state transition coefficient set for the temperature change state (state transition) illustrated in FIG. For example, St = 1.0 is set as the state transition coefficient in the temperature stable state. Moreover, St = 2.0 is set as the state transition coefficient at T1 (n-3) of the temperature detection time when the temperature change (state transition) due to local heat generation is first recognized. In addition, when the temperature rising state continues after the state transition is recognized, the state transition coefficient is set so that the state transition coefficient gradually becomes smaller than the state transition coefficient of T1 (n-3). Here, St = 1.5 is set for T1 (n-2), St = 1.2 is set for T1 (n-1), and St = 1.0 is set for T1 (n). Shows the case.

同様に、発熱が生じている駆動状態(温度安定状態)から、発熱していない駆動状態(急激な温度下降状態)に温度変化状態が変化した場合(特定駆動状態が終了した場合)、駆動状態認識部35は、駆動状態の変化を温度解析部32に通知する。   Similarly, when the temperature change state changes (when the specific drive state ends) from the drive state where the heat is generated (temperature stable state) to the drive state where the heat is not generated (rapid temperature drop state), the drive state The recognition unit 35 notifies the temperature analysis unit 32 of the change in the driving state.

特定駆動状態が終了すると、温度変化状態は、温度安定状態から急激な温度下降状態に遷移する。温度解析部32は、温度安定状態から急激な温度下降状態に遷移したケースであるか否かを判断する。温度安定状態から急激な温度下降状態への状態遷移に対応する状態遷移条件を満たす場合、温度解析部32は、温度安定状態から急激な温度下降状態に状態遷移したと認識する。この状態遷移のケースをパターンPhとした場合、温度解析部32は、パターンPhに応じた係数α,β,γ(特定駆動状態用)、および状態遷移係数St(n)を設定する。   When the specific drive state ends, the temperature change state transitions from a temperature stable state to a rapid temperature drop state. The temperature analysis unit 32 determines whether or not this is a case where the temperature transitions from a stable temperature state to a sudden temperature decrease state. When the state transition condition corresponding to the state transition from the temperature stable state to the rapid temperature decrease state is satisfied, the temperature analysis unit 32 recognizes that the state transition has been made from the temperature stable state to the rapid temperature decrease state. When the state transition case is the pattern Ph, the temperature analysis unit 32 sets coefficients α, β, γ (for a specific drive state) and a state transition coefficient St (n) corresponding to the pattern Ph.

パターンPhに対して設定された係数をそれぞれ係数αH,βH,γHとすると、状態遷移を加味する前の想定変位量であるHz’(n)は、以下の式(9),(10)の関係を満たす。   Assuming that the coefficients set for the pattern Ph are coefficients αH, βH, and γH, respectively, Hz ′ (n) that is an assumed displacement amount before taking the state transition into consideration is expressed by the following equations (9) and (10). Satisfy the relationship.

Hz’(n)=αH・(T1(n)−T1(1))+βH・(T2(n)−T2(1))+γH・(T3(n)−T3(1))・・・(9)
Hz(n)=St(n)・Hz’(n)・・・(10)
Hz ′ (n) = αH · (T1 (n) −T1 (1)) + βH · (T2 (n) −T2 (1)) + γH · (T3 (n) −T3 (1)) (9) )
Hz (n) = St (n) · Hz ′ (n) (10)

このとき、温度解析部32は、図13−1に示すように、急激な温度下降に対して緩やかに変位量が変化していくと判断し、パターンPhに応じた状態遷移係数St(n)を設定する。具体的には、温度解析部32は、状態遷移が生じたと認識された検出時間の状態遷移係数St(n)に対して熱時定数を設定する。   At this time, as shown in FIG. 13A, the temperature analysis unit 32 determines that the amount of displacement gradually changes with a rapid temperature drop, and the state transition coefficient St (n) corresponding to the pattern Ph. Set. Specifically, the temperature analysis unit 32 sets a thermal time constant for the state transition coefficient St (n) of the detection time when it is recognized that the state transition has occurred.

図13−1は、発熱が生じている駆動状態から発熱していない駆動状態に遷移した場合のZ軸変位量を説明するための図である。図13−1では、T1(n−7)〜T1(n−3)までが局所的な発熱の生じている状態であり、T1(n−3)の後、発熱の発生していない状態に遷移した場合の変位量(Z軸変位量)の変化を示している。   FIG. 13A is a diagram for explaining the Z-axis displacement when the driving state in which heat is generated is changed to the driving state in which heat is not generated. In FIG. 13A, T1 (n−7) to T1 (n−3) are in a state where local heat generation occurs, and no heat generation occurs after T1 (n−3). A change in the displacement amount (Z-axis displacement amount) in the case of transition is shown.

図13−1に示す例では、局所的な発熱が無くなった場合に、温度の検出周期に対して早い速度で変位量が変化している。検出周期の遅れは補正量の反映遅れとなるので、急峻な反映を行う係数としてSt(n)が設定される。   In the example shown in FIG. 13A, when the local heat generation disappears, the displacement amount changes at a speed faster than the temperature detection cycle. Since the delay of the detection cycle becomes a reflection delay of the correction amount, St (n) is set as a coefficient for performing a sharp reflection.

局所的な発熱が生じる駆動状態から、発熱しない駆動状態に状態が変化すると、急激な温度変化を伴うので、式(9)をそのまま適用すると、算出される変位量が大きくなる。ところが、実際の放電加工機1は所定の熱時定数をもって緩やかに変位していく。そのため、制御装置30は、状態遷移が生じたことを認識した検出時間以降に状態遷移係数St(n)による重み付けを行うことで、急激な温度変化が発生した場合でも、緩やかに変位を打消すように補正量を制御する。   If the state changes from a driving state in which local heat generation occurs to a driving state in which heat generation does not occur, an abrupt temperature change is caused. Therefore, if the equation (9) is applied as it is, the calculated displacement amount increases. However, the actual electric discharge machine 1 is gradually displaced with a predetermined thermal time constant. For this reason, the control device 30 performs the weighting by the state transition coefficient St (n) after the detection time when it is recognized that the state transition has occurred, so that the displacement is gradually canceled even when a sudden temperature change occurs. Thus, the correction amount is controlled.

図13−2は、局所的な発熱による温度変化があった場合に設定される状態遷移係数の一例を示す図である。図13−2では、図13−1に示した温度変化状態(状態遷移)に対して設定される状態遷移係数の一例を示している。例えば、温度安定状態では状態遷移係数としてSt=1.0が設定される。また、局所的な発熱が無くなったこと(状態遷移)が最初に認識された温度検出時間のT1(n−3)では、状態遷移係数としてSt=0.7が設定される。また、状態遷移が認識された後、温度上昇状態が続く場合は、T1(n−3)の状態遷移係数よりも少しずつ状態遷移係数が大きくなっていくよう状態遷移係数が設定される。ここでは、T1(n−2)にSt=0.8が設定され、T1(n−1)にSt=0.9が設定され、T1(n)にSt=1.0が設定されている場合を示している。   FIG. 13B is a diagram illustrating an example of a state transition coefficient set when there is a temperature change due to local heat generation. FIG. 13-2 illustrates an example of a state transition coefficient set for the temperature change state (state transition) illustrated in FIG. For example, St = 1.0 is set as the state transition coefficient in the temperature stable state. In addition, St = 0.7 is set as the state transition coefficient at T1 (n−3) of the temperature detection time when the local heat generation is no longer detected (state transition). In addition, when the temperature rising state continues after the state transition is recognized, the state transition coefficient is set so that the state transition coefficient gradually becomes larger than the state transition coefficient of T1 (n-3). Here, St = 0.8 is set for T1 (n−2), St = 0.9 is set for T1 (n−1), and St = 1.0 is set for T1 (n). Shows the case.

このように、設置環境の温度変化だけでなく、局所的な温度変化が生じるような駆動状態で放電加工機1が使用されたとしても、温度変化と相関を持つ係数と熱時定数の変化を常時認識することによって、放電加工機1自身の発熱よる変位を精度良く補正することができる。   Thus, even if the electric discharge machine 1 is used in a driving state in which not only the temperature change of the installation environment but also a local temperature change occurs, the coefficient correlated with the temperature change and the change of the thermal time constant are changed. By always recognizing, the displacement caused by the heat generated by the electric discharge machine 1 itself can be accurately corrected.

パターンPgやパターンPhに応じた係数として、温度相関を有した特定駆動状態用の係数α,β,γが設定されると(ステップS33)、温度解析部32は、状態がどのように遷移していくかを判断(状態遷移を確認)する(ステップS34)。その後、制御装置30は、実施の形態1で説明したステップS12〜S17に対応する処理として、ステップS35〜S40の処理を行う。なお、本実施の形態のステップS37では、温度解析部32が、状態遷移パターンの分析結果に基づいて、温度相関を有した係数α,β,γを再設定する。   When the coefficients α, β, and γ for the specific driving state having temperature correlation are set as the coefficients according to the pattern Pg and the pattern Ph (step S33), the temperature analysis unit 32 determines how the state changes. It is determined (confirms the state transition) (step S34). Then, the control apparatus 30 performs the process of step S35-S40 as a process corresponding to step S12-S17 demonstrated in Embodiment 1. FIG. In step S37 of the present embodiment, the temperature analysis unit 32 resets the coefficients α, β, and γ having temperature correlation based on the analysis result of the state transition pattern.

このように、実施の形態2によれば、急激な温度変化が発生した場合であっても、放電加工機1の温度や温度変化状態の状態遷移に基づいて工具電極23と被加工物2との間の位置関係の変位を算出しているので、熱変位を適切に補正することが可能になる。したがって、熱変位に起因する加工精度の悪化を抑制することが可能となる。   As described above, according to the second embodiment, the tool electrode 23 and the workpiece 2 are processed based on the temperature transition of the electric discharge machine 1 and the state transition of the temperature change state even when a sudden temperature change occurs. Since the displacement of the positional relationship between is calculated, it becomes possible to correct | amend a thermal displacement appropriately. Therefore, it is possible to suppress the deterioration of processing accuracy due to thermal displacement.

以上のように、本発明に係る工作機械制御装置および工作機械は、熱変位に起因する工具と被加工物との間の位置関係の変位の補正に適している。   As described above, the machine tool control device and the machine tool according to the present invention are suitable for correcting displacement in the positional relationship between the tool and the workpiece due to thermal displacement.

1 放電加工機
2 被加工物
10c C軸部
10x X軸部
10y Y軸部
10z Z軸部
11x,11y,11z,11c モータ
15〜17 温度検出器
20 表示装置
23 工具電極
30 制御装置
32 温度解析部
33 駆動制御部
35 駆動状態認識部
36 補正量算出部

DESCRIPTION OF SYMBOLS 1 Electric discharge machine 2 Work piece 10c C-axis part 10x X-axis part 10y Y-axis part 10z Z-axis part 11x, 11y, 11z, 11c Motor 15-17 Temperature detector 20 Display apparatus 23 Tool electrode 30 Control apparatus 32 Temperature analysis Unit 33 drive control unit 35 drive state recognition unit 36 correction amount calculation unit

Claims (8)

工具を移動させて被加工物を加工する工作機械を制御する工作機械制御装置において、
前記工作機械が設置された環境の温度である環境温度を解析するとともに、前記工作機械に関する時々刻々の温度変化の傾向である温度変化状態の状態遷移を解析する温度解析部と、
前記環境温度の解析結果と、前記状態遷移の解析結果と、に基づいて、前記工作機械が備える機械構造体の熱変位に起因する前記工具と前記被加工物との間の位置関係の変位量を算出するとともに、前記変位量を補正する補正量を算出する補正量算出部と、
前記工具を移動させる駆動部を、前記補正量を用いて制御する駆動制御部と、
を有することを特徴とする工作機械制御装置。
In a machine tool control device that controls a machine tool that processes a workpiece by moving a tool,
A temperature analysis unit that analyzes an environmental temperature that is a temperature of an environment in which the machine tool is installed, and that analyzes a state transition of a temperature change state that is a tendency of a temperature change with respect to the machine tool;
Based on the analysis result of the environmental temperature and the analysis result of the state transition, the displacement amount of the positional relationship between the tool and the workpiece due to the thermal displacement of the machine structure included in the machine tool And a correction amount calculation unit for calculating a correction amount for correcting the displacement amount;
A drive control unit that controls the drive unit that moves the tool using the correction amount; and
A machine tool control device comprising:
前記温度解析部は、
前記工作機械のうち局所発熱する部位で測定された時々刻々の温度変化である局所発熱温度変化をさらに解析し、前記局所発熱温度変化の解析結果を用いて前記変位量を算出することを特徴とする請求項1に記載の工作機械制御装置。
The temperature analysis unit
The machine tool further analyzes a local heat generation temperature change, which is an instantaneous temperature change measured at a site that generates local heat, and calculates the displacement amount using an analysis result of the local heat generation temperature change. The machine tool control device according to claim 1.
前記駆動制御部の動作に基づいて、前記駆動部の駆動状態を認識する駆動状態認識部をさらに有し、
前記温度解析部は、
前記駆動部の駆動状態に基づいて前記状態遷移を解析することを特徴とする請求項2に記載の工作機械制御装置。
A driving state recognition unit for recognizing a driving state of the driving unit based on an operation of the driving control unit;
The temperature analysis unit
The machine tool control device according to claim 2, wherein the state transition is analyzed based on a drive state of the drive unit.
前記温度解析部は、
前記状態遷移が生じたタイミングに対して重み付けを与える係数であって前記局所発熱温度変化に対する熱変位の熱時定数遅れを表す補正係数を、前記局所発熱温度変化の解析結果に基づいて設定し、設定した補正係数を用いて前記変位量を算出することを特徴とする請求項2または3に記載の工作機械制御装置。
The temperature analysis unit
A coefficient that gives weight to the timing at which the state transition occurs, and a correction coefficient that represents a thermal time constant delay of thermal displacement with respect to the local heat generation temperature change is set based on the analysis result of the local heat generation temperature change, The machine tool control device according to claim 2 or 3, wherein the displacement amount is calculated using a set correction coefficient.
前記温度解析部は、
前記状態遷移が生じたタイミングに対して重み付けを与える係数であって前記状態遷移に対する熱変位の熱時定数遅れを表す補正係数を、前記状態遷移の解析結果に基づいて設定し、設定した補正係数を用いて前記変位量を算出することを特徴とする請求項1に記載の工作機械制御装置。
The temperature analysis unit
A correction coefficient that gives a weight to the timing at which the state transition occurs and sets a correction coefficient that represents a thermal time constant delay of the thermal displacement with respect to the state transition, based on the analysis result of the state transition. The machine tool control device according to claim 1, wherein the displacement amount is calculated by using a machine tool.
前記温度変化状態は、温度が安定した状態である温度安定状態、温度が上昇している状態である温度上昇状態および温度が下降している状態である温度下降状態の何れかであることを特徴とする請求項1に記載の工作機械制御装置。   The temperature change state is any one of a temperature stable state where the temperature is stable, a temperature rising state where the temperature is rising, and a temperature falling state where the temperature is falling. The machine tool control device according to claim 1. 工具を移動させて被加工物を加工する工作機械において、
前記被加工物の加工を行う加工部と、
前記加工部を制御する制御部と、
を備え、
前記制御部は、
前記加工部が設置された環境の温度である環境温度を解析するとともに、前記加工部に関する時々刻々の温度変化の傾向である温度変化状態の状態遷移を解析する温度解析部と、
前記環境温度の解析結果と、前記状態遷移の解析結果と、に基づいて、前記加工部が備える機械構造体の熱変位に起因する前記工具と前記被加工物との間の位置関係の変位量を算出するとともに、前記変位量を補正する補正量を算出する補正量算出部と、
前記工具を移動させる駆動部を、前記補正量を用いて制御する駆動制御部と、
を有することを特徴とする工作機械。
In machine tools that move workpieces and process workpieces,
A processing section for processing the workpiece;
A control unit for controlling the processing unit;
With
The controller is
Analyzing the environmental temperature, which is the temperature of the environment in which the processing unit is installed, and analyzing the state transition of the temperature change state, which is the tendency of the temperature change with respect to the processing unit,
Based on the analysis result of the environmental temperature and the analysis result of the state transition, the displacement amount of the positional relationship between the tool and the workpiece due to the thermal displacement of the mechanical structure included in the processing unit And a correction amount calculation unit for calculating a correction amount for correcting the displacement amount;
A drive control unit that controls the drive unit that moves the tool using the correction amount; and
A machine tool characterized by comprising:
前記環境温度および前記状態遷移の解析結果を表示する表示部をさらに備えることを特徴とする請求項7に記載の工作機械。   The machine tool according to claim 7, further comprising a display unit that displays an analysis result of the environmental temperature and the state transition.
JP2012075151A 2012-03-28 2012-03-28 Machine tool control device and machine tool Active JP5865758B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012075151A JP5865758B2 (en) 2012-03-28 2012-03-28 Machine tool control device and machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012075151A JP5865758B2 (en) 2012-03-28 2012-03-28 Machine tool control device and machine tool

Publications (2)

Publication Number Publication Date
JP2013202741A true JP2013202741A (en) 2013-10-07
JP5865758B2 JP5865758B2 (en) 2016-02-17

Family

ID=49522408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012075151A Active JP5865758B2 (en) 2012-03-28 2012-03-28 Machine tool control device and machine tool

Country Status (1)

Country Link
JP (1) JP5865758B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017024108A (en) * 2015-07-21 2017-02-02 ファナック株式会社 Machine tool thermal displacement correction apparatus
US9746858B2 (en) 2013-10-22 2017-08-29 Fanuc Corporation Control device for automatically starting warm-up
JP2018001331A (en) * 2016-06-30 2018-01-11 富士通株式会社 Correction device, correction method, and correction program
JP2019005836A (en) * 2017-06-23 2019-01-17 中村留精密工業株式会社 Correction method of thermal displacement of machine tool
JP7387079B1 (en) 2023-05-15 2023-11-27 三菱電機株式会社 wire electrical discharge machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06226590A (en) * 1993-01-28 1994-08-16 Toshiba Mach Co Ltd Thermal displacement correcting device of machine tool
JP2003245844A (en) * 2002-02-25 2003-09-02 Horkos Corp Simple method of correcting heat displacement in machine tool
JP2011161519A (en) * 2010-02-04 2011-08-25 Jtekt Corp Method and device for controlling machine tool

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06226590A (en) * 1993-01-28 1994-08-16 Toshiba Mach Co Ltd Thermal displacement correcting device of machine tool
JP2003245844A (en) * 2002-02-25 2003-09-02 Horkos Corp Simple method of correcting heat displacement in machine tool
JP2011161519A (en) * 2010-02-04 2011-08-25 Jtekt Corp Method and device for controlling machine tool

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9746858B2 (en) 2013-10-22 2017-08-29 Fanuc Corporation Control device for automatically starting warm-up
JP2017024108A (en) * 2015-07-21 2017-02-02 ファナック株式会社 Machine tool thermal displacement correction apparatus
JP2018001331A (en) * 2016-06-30 2018-01-11 富士通株式会社 Correction device, correction method, and correction program
JP2019005836A (en) * 2017-06-23 2019-01-17 中村留精密工業株式会社 Correction method of thermal displacement of machine tool
JP7387079B1 (en) 2023-05-15 2023-11-27 三菱電機株式会社 wire electrical discharge machine

Also Published As

Publication number Publication date
JP5865758B2 (en) 2016-02-17

Similar Documents

Publication Publication Date Title
JP5865758B2 (en) Machine tool control device and machine tool
JP5941083B2 (en) Robot controller that detects contact with external environment
JP5566469B2 (en) Numerical control method
JP5739501B2 (en) Machine Tools
EP3168001A1 (en) Machine tool equipped with device for changing setting of thermal displacement correction amount
JP4182082B2 (en) Machine Tools
JP5837148B1 (en) Machine tool thermal displacement compensation device
JP2008183680A (en) Loading machine controller and its collision detecting threshold value renewing method
JP5955479B1 (en) Display device
TWI667096B (en) Wire electric discharge machine
JP2006281421A (en) Robot and abnormality detection method of robot
JP6190882B2 (en) An automatic system that can estimate where maintenance is needed
JP6464226B2 (en) Electric motor control device
CN106862742A (en) Spot welding system
JP2017046487A (en) Motor controller with flux control unit, and machine learning apparatus and method thereof
JP2019144809A (en) Servo control device
JP6137379B2 (en) Robot equipment
US9912215B2 (en) Motor control device for estimating temperature of windings, and method for calculating allowable duty cycle time for machine
KR20120061148A (en) Apparatus for controlling velocity of motor and method thereof
JP5371882B2 (en) Force control device
JP2021022074A (en) Failure prediction system
JP2016162179A (en) Numerical control device for avoiding spindle overheat
JP5823166B2 (en) Control parameter estimation method and control parameter setting device
JP2009129395A (en) Numerical control apparatus, computer program and storage medium
JP2007007752A (en) Displacement correcting method of spindle tool tip

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150731

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151228

R150 Certificate of patent or registration of utility model

Ref document number: 5865758

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250