JP7123732B2 - Machine tool, program and correction amount calculation method - Google Patents

Machine tool, program and correction amount calculation method Download PDF

Info

Publication number
JP7123732B2
JP7123732B2 JP2018194829A JP2018194829A JP7123732B2 JP 7123732 B2 JP7123732 B2 JP 7123732B2 JP 2018194829 A JP2018194829 A JP 2018194829A JP 2018194829 A JP2018194829 A JP 2018194829A JP 7123732 B2 JP7123732 B2 JP 7123732B2
Authority
JP
Japan
Prior art keywords
thermal displacement
axis
detection
axial direction
correction amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018194829A
Other languages
Japanese (ja)
Other versions
JP2020062705A (en
Inventor
浩明 風間
義法 早川
Original Assignee
株式会社ツガミ
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 株式会社ツガミ filed Critical 株式会社ツガミ
Priority to JP2018194829A priority Critical patent/JP7123732B2/en
Publication of JP2020062705A publication Critical patent/JP2020062705A/en
Application granted granted Critical
Publication of JP7123732B2 publication Critical patent/JP7123732B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Description

本発明は、工作機械、プログラム及び補正量算出方法に関する。 The present invention relates to a machine tool, a program, and a correction amount calculation method.

従来の工作機械として、特許文献1には、ワーク(被加工物)と工具との相対位置を調整するために所定の軸方向に移動可能なスライド部を備え、スライド部の移動方向における熱変位補正をタッチスイッチの出力に基づき行う工作機械が開示されている。 As a conventional machine tool, Patent Document 1 discloses a slide portion that can move in a predetermined axial direction in order to adjust the relative position between a work (workpiece) and a tool, and thermal displacement in the moving direction of the slide portion. A machine tool is disclosed that performs correction based on the output of a touch switch.

また、特許文献2には、所定部分に埋設した温度センサの出力に基づき補正対象軸の熱変位補正を行う工作機械が開示されている。 Further, Patent Document 2 discloses a machine tool that corrects thermal displacement of a correction target axis based on the output of a temperature sensor embedded in a predetermined portion.

特許第5883264号公報Japanese Patent No. 5883264 特許第3136472号公報Japanese Patent No. 3136472

特許文献1のようにスライド部に対応して設けられるタッチスイッチを利用した技術では、スライド部と共に移動しない他ユニット(例えば主軸台など)に生じる熱変位を考慮した熱変位補正が困難である。 With the technique of using a touch switch provided corresponding to the slide portion as in Patent Document 1, it is difficult to correct thermal displacement in consideration of thermal displacement occurring in other units (such as the headstock) that do not move with the slide portion.

一方、特許文献2のように温度センサを利用した技術では、他ユニットに生じる熱変位を考慮した熱変位補正が可能であるが、図8に示すように、ワークの加工開始から所定期間(例えば数分間)において生じる急激な熱変位を補正することが困難である。これは、当該所定期間においては、温度センサが埋設された部分に十分に熱が伝わりきらず、補正対象の実際の温度と温度センサの検出温度とにずれが生じてしまうことに起因する。 On the other hand, in the technique using a temperature sensor as in Patent Document 2, it is possible to correct thermal displacement in consideration of thermal displacement occurring in other units, but as shown in FIG. It is difficult to compensate for sudden thermal displacements that occur in a few minutes). This is because the heat is not sufficiently transmitted to the portion where the temperature sensor is embedded during the predetermined period, causing a deviation between the actual temperature to be corrected and the temperature detected by the temperature sensor.

本発明は、上記実状に鑑みてなされたものであり、ワークの加工開始から良好に熱変位補正を行うことができるとともに、スライド部以外の構成に生じる熱変位も考慮した熱変位補正を行うことができる工作機械、プログラム及び補正量算出方法を提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned actual situation. It is an object of the present invention to provide a machine tool, a program, and a method for calculating a correction amount.

上記目的を達成するため、本発明の第1の観点に係る工作機械は、
基台に対して所定の軸方向に移動し、主軸に把持されたワークと該ワークを加工するための工具との前記軸方向における相対位置を調整するスライド部と、
前記基台に対して不動である検出部であって、前記検出部が前記スライド部に設けられたドグに接触したこと又は所定の距離だけ接近したことを検出する前記検出部と、
前記検出部が検出したことに基づいて検出時における前記スライド部の前記軸方向の位置である軸方向位置を取得し、少なくとも前記スライド部と異なる箇所に設けられた温度センサが検出した検出温度を取得し、取得した軸方向位置と検出温度との少なくともいずれかに基づいて前記軸方向の熱変位を補正するための補正量を算出する算出手段と、
目標位置に前記補正量を加味した位置に前記スライド部を移動させる駆動制御手段と、
を備え、
前記算出手段は、
各々異なる検出時に取得した複数の軸方向位置に基づいて前記熱変位の量を示す第1の値を算出し、検出温度に基づいて前記熱変位の量の推定値を示す第2の値を算出し、
ワークの加工開始から所定期間内では前記第1の値を用いて前記補正量を算出し、前記所定期間経過後では前記第2の値を用いて前記補正量を算出し、
前記第1の値は、前記所定期間内で時間的に変化する前記熱変位の量を示す。
In order to achieve the above object, the machine tool according to the first aspect of the present invention comprises:
a slide portion that moves in a predetermined axial direction with respect to the base and adjusts the relative position in the axial direction between the workpiece gripped by the spindle and the tool for processing the workpiece;
a detection unit that is immovable with respect to the base and detects that the detection unit has come into contact with a dog provided on the slide unit or has approached the dog by a predetermined distance;
Based on the detection by the detection unit , an axial position, which is the position of the slide unit in the axial direction at the time of detection, is acquired, and at least the detected temperature detected by a temperature sensor provided at a location different from the slide unit is obtained. calculating means for calculating a correction amount for correcting the thermal displacement in the axial direction based on at least one of the acquired axial position and the detected temperature;
drive control means for moving the slide portion to a position obtained by adding the correction amount to the target position;
with
The calculation means is
A first value indicative of the amount of thermal displacement is calculated based on a plurality of axial positions obtained during different detections, and a second value indicative of an estimated amount of thermal displacement is calculated based on the detected temperature. death,
calculating the correction amount using the first value within a predetermined period from the start of machining the workpiece, and calculating the correction amount using the second value after the predetermined period has elapsed ;
The first value indicates the amount of thermal displacement that changes over time within the predetermined period.

前記工作機械は、ワークを通すことが可能な中空部と、先端が前記中空部に向く前記工具とを有する工具部をさらに備え、
前記工具部は、前記スライド部とともに前記軸方向に移動可能であり、
前記軸方向はワークの径方向であり、
前記ドグ及び前記検出部は、前記軸方向において前記中空部よりも外側に位置する、ようにしてもよい。
The machine tool further comprises a tool portion having a hollow portion through which a workpiece can pass, and the tool having a tip facing the hollow portion,
The tool portion is movable in the axial direction together with the slide portion,
The axial direction is the radial direction of the workpiece,
The dog and the detection portion may be positioned outside the hollow portion in the axial direction.

上記目的を達成するため、本発明の第2の観点に係る工作機械は、 In order to achieve the above object, a machine tool according to a second aspect of the present invention comprises:
基台に対して所定の軸方向に移動し、主軸に把持されたワークと該ワークを加工するための工具との前記軸方向における相対位置を調整するスライド部と、 a slide portion that moves in a predetermined axial direction with respect to the base and adjusts the relative position in the axial direction between the workpiece gripped by the spindle and the tool for processing the workpiece;
前記スライド部と共に前記軸方向に移動する移動部と、前記軸方向には移動しない不動部とが接触したこと又は所定の距離だけ接近したことを検出する検出手段と、 detection means for detecting that the movable portion that moves in the axial direction together with the sliding portion and the stationary portion that does not move in the axial direction come into contact with each other or approach each other by a predetermined distance;
前記検出手段が検出したことに基づいて検出時における前記スライド部の前記軸方向の位置である軸方向位置を取得し、所定箇所に設けられた温度センサが検出した検出温度を取得し、取得した軸方向位置と検出温度との少なくともいずれかに基づいて前記軸方向の熱変位を補正するための補正量を算出する算出手段と、 Based on the detection by the detection means, the axial position, which is the axial position of the slide portion at the time of detection, is acquired, and the detected temperature detected by a temperature sensor provided at a predetermined location is acquired. calculation means for calculating a correction amount for correcting the thermal displacement in the axial direction based on at least one of the axial position and the detected temperature;
目標位置に前記補正量を加味した位置に前記スライド部を移動させる駆動制御手段と、 drive control means for moving the slide portion to a position obtained by adding the correction amount to the target position;
を備え、with
前記算出手段は、 The calculation means is
各々異なる検出時に取得した複数の軸方向位置に基づいて前記熱変位の量を示す第1の値を算出し、検出温度に基づいて前記熱変位の量の推定値を示す第2の値を算出し、 A first value indicative of the amount of thermal displacement is calculated based on a plurality of axial positions obtained during different detections, and a second value indicative of an estimated amount of thermal displacement is calculated based on the detected temperature. death,
ワークの加工開始から所定期間内では前記第1の値だけでなく前記第2の値も用いて前記補正量を算出し、前記所定期間経過後では前記第2の値を用いて前記補正量を算出する。 The correction amount is calculated using not only the first value but also the second value within a predetermined period from the start of machining of the workpiece, and the correction amount is calculated using the second value after the predetermined period has elapsed. calculate.

前記算出手段は、予め用意された互いに異なる長さの複数の期間の中から一の期間を前記所定期間として設定可能である、ようにしてもよい。 The calculating means may be capable of setting one period as the predetermined period from among a plurality of periods having mutually different lengths prepared in advance.

前記算出手段は、予め定められた条件に応じて前記所定期間を変更可能である、ようにしてもよい。 The calculation means may change the predetermined period according to a predetermined condition.

上記目的を達成するため、本発明の第の観点に係るプログラムは、
前記工作機械における前記軸方向の熱変位に応じた補正量を算出するためのプログラムであって、
コンピュータを前記算出手段及び前記駆動制御手段として機能させる。
In order to achieve the above object, a program according to the third aspect of the present invention,
A program for calculating a correction amount according to the thermal displacement in the axial direction of the machine tool,
A computer is caused to function as the calculation means and the drive control means.

本発明によれば、ワークの加工開始から良好に熱変位補正を行うことができるとともに、スライド部以外の構成に生じる熱変位も考慮した熱変位補正を行うことができる。 According to the present invention, it is possible to satisfactorily correct thermal displacement from the start of machining of a workpiece, and to perform thermal displacement correction in consideration of thermal displacement occurring in structures other than the slide portion.

本発明の一実施形態に係る工作機械をX軸方向から見た模式図である。It is a mimetic diagram which looked at the machine tool concerning one embodiment of the present invention from the direction of the X-axis. (a)は、主に第1加工機構をZ軸方向から見た図である。(b)は、第2加工機構をZ軸方向から見た図である。(a) is a view mainly of the first processing mechanism as seen from the Z-axis direction. (b) is a view of the second machining mechanism as seen from the Z-axis direction. 工作機械をY軸方向から見た図である。It is the figure which looked at the machine tool from the Y-axis direction. 温度センサの設置態様例を示す図である。It is a figure which shows the installation example of a temperature sensor. 工作機械をX軸方向から見た図であり、主に所定の温度センサの設置箇所を説明するための図である。FIG. 2 is a view of the machine tool as seen from the X-axis direction, and is a view mainly for explaining the installation locations of predetermined temperature sensors. 基準位置取得処理のフローチャートである。9 is a flowchart of reference position acquisition processing; 熱変位補正処理のフローチャートである。4 is a flowchart of thermal displacement correction processing; 従来の温度センサを利用する技術で生じていた、熱変位補正が困難となる期間を説明するための図である。FIG. 10 is a diagram for explaining a period during which thermal displacement correction becomes difficult, which occurs in a conventional technique using a temperature sensor;

本発明の一実施形態に係る工作機械について、図面を参照して説明する。図1に示す工作機械1は、2つの主軸で円柱状の被加工物(ワーク)Wの前面及び背面を加工する多機能旋盤として構成されている。 A machine tool according to an embodiment of the present invention will be described with reference to the drawings. A machine tool 1 shown in FIG. 1 is configured as a multi-function lathe for machining the front and back surfaces of a cylindrical workpiece (work) W with two spindles.

以下では説明の理解を容易にするため、ワークWの中心線に沿う水平方向を「Z軸方向」といい、鉛直方向を「Y軸方向」といい、Y軸及びZ軸方向に垂直な水平方向を「X軸方向」という。また、図中に矢印で示した、X、Y、Zの各軸において矢印の向く方向を+側とする。 In the following, to facilitate understanding of the explanation, the horizontal direction along the center line of the workpiece W will be called the “Z-axis direction”, the vertical direction will be called the “Y-axis direction”, and the horizontal direction perpendicular to the Y-axis and Z-axis directions will be called the “Y-axis direction”. The direction is called "X-axis direction". In addition, the directions of the arrows on the X, Y, and Z axes indicated by the arrows in the drawing are the + sides.

工作機械1は、主に図1に示すように、工作機械1全体の台であるベッド2と、第1加工機構M1と、第2加工機構M2と、検出機構200と、温度センサSt(図4参照)と、制御部300と、を備える。 As shown mainly in FIG. 1, the machine tool 1 includes a bed 2 as a base for the entire machine tool 1, a first machining mechanism M1, a second machining mechanism M2, a detection mechanism 200, and a temperature sensor St (Fig. 4) and a control unit 300 .

(第1加工機構M1)
第1加工機構M1は、ワークWの前面(+Z軸方向に向く面)及び側面を加工する機構であり、ワーク保持部20と、第1Z軸スライド機構30と、工具移動機構40と、を備える。
(First processing mechanism M1)
The first machining mechanism M1 is a mechanism for machining the front surface (the surface facing the +Z-axis direction) and the side surface of the workpiece W, and includes a workpiece holding unit 20, a first Z-axis slide mechanism 30, and a tool moving mechanism 40. .

ワーク保持部20は、主軸21と、主軸21を回転可能に支持する主軸台22と、を備える。主軸台22には、ワーク回転用モータ(図示せず)が内蔵されている。このワーク回転用モータは、主軸21に備えられたチャック21aが把持するワークWを回転させる。 The work holding unit 20 includes a spindle 21 and a headstock 22 that rotatably supports the spindle 21 . The headstock 22 incorporates a work rotation motor (not shown). This work rotation motor rotates the work W gripped by a chuck 21 a provided on the main shaft 21 .

第1Z軸スライド機構30は、ワーク保持部20をZ軸方向に移動させるための機構であり、ベッド2上に取り付けられた軸受部31と、軸受部31に軸支されてZ軸方向に延びるボールねじ32と、ボールねじ32を回転させる第1Z軸モータ33と、主軸台22が設置される第1Z軸スライド部34と、を備える。第1Z軸スライド部34は、ボールねじ32と嵌合するナット35を有する。ナット35は、ボールねじ32が回転するとZ軸方向に移動する。
第1Z軸スライド機構30は、第1Z軸モータ33でボールねじ32を回転させることで、ナット35と共に第1Z軸スライド部34を移動させ、ワーク保持部20をZ軸方向に移動させる。したがって、第1加工機構M1では、ワークWをチャック21aで保持して前記ワーク回転用モータによって回転させながら、ワークWをZ軸方向に移動させることができる。
The first Z-axis slide mechanism 30 is a mechanism for moving the workpiece holding part 20 in the Z-axis direction, and is supported by a bearing part 31 mounted on the bed 2 and extending in the Z-axis direction. It includes a ball screw 32, a first Z-axis motor 33 that rotates the ball screw 32, and a first Z-axis slide section 34 on which the headstock 22 is installed. The first Z-axis slide portion 34 has a nut 35 that engages with the ball screw 32 . The nut 35 moves in the Z-axis direction when the ball screw 32 rotates.
The first Z-axis slide mechanism 30 rotates the ball screw 32 with the first Z-axis motor 33 to move the first Z-axis slide portion 34 together with the nut 35, thereby moving the workpiece holding portion 20 in the Z-axis direction. Therefore, in the first processing mechanism M1, the work W can be moved in the Z-axis direction while the work W is held by the chuck 21a and rotated by the work rotation motor.

工具移動機構40は、ワークWを加工するための工具Tf(図2(a)参照)をX軸方向及びY軸方向に移動させるための機構であり、ベッド2に固定された固定台41と、固定台41に設けられたX軸移動部44と、X軸移動部44に設けられたY軸移動部50と、を備える。 The tool moving mechanism 40 is a mechanism for moving a tool Tf (see FIG. 2(a)) for machining the workpiece W in the X-axis direction and the Y-axis direction. , an X-axis moving portion 44 provided on the fixed base 41 and a Y-axis moving portion 50 provided on the X-axis moving portion 44 .

固定台41は、X軸方向に延びるレール部Rx1と、Z軸方向に貫通する空洞部41Hに取付けられた中空のフランジ43aと、フランジ43aの内面に取付けられたガイドブッシュ43bと、を備える。ガイドブッシュ43bは、ワークWの保持や移動を補助する。また、固定台41は、図3に示すように、第1X軸スライド機構10を備える。 The fixed base 41 includes a rail portion Rx1 extending in the X-axis direction, a hollow flange 43a attached to a hollow portion 41H penetrating in the Z-axis direction, and a guide bush 43b attached to the inner surface of the flange 43a. The guide bush 43b assists in holding and moving the work W. The fixed table 41 also includes a first X-axis slide mechanism 10, as shown in FIG.

第1X軸スライド機構10は、X軸移動部44をX軸方向に移動させるための機構であり、固定台41に取り付けられた軸受部11と、軸受部11に軸支されてX軸方向に延びるボールねじ12と、ボールねじ12を回転させる第1X軸モータ13と、を備える。ボールねじ12と嵌合するナット15は、ボールねじ12が回転するとX軸方向に移動する。第1X軸スライド機構10は、第1X軸モータ13でボールねじ12を回転させることで、ナット15が設けられた後述の第1X軸スライド部45をX軸方向に移動させる。 The first X-axis slide mechanism 10 is a mechanism for moving the X-axis moving part 44 in the X-axis direction. An extending ball screw 12 and a first X-axis motor 13 for rotating the ball screw 12 are provided. A nut 15 fitted to the ball screw 12 moves in the X-axis direction when the ball screw 12 rotates. The first X-axis slide mechanism 10 rotates the ball screw 12 with the first X-axis motor 13, thereby moving a first X-axis slide portion 45 having a nut 15, which will be described later, in the X-axis direction.

X軸移動部44は、第1X軸スライド機構10によってレール部Rx1上をX軸方向に移動する部分であり、第1X軸スライド部45と、ガイド溝部Gx1、軸受部46と、ボールねじ47、及びY軸モータ48と、を備える。 The X-axis moving portion 44 is a portion that moves in the X-axis direction on the rail portion Rx1 by the first X-axis slide mechanism 10, and includes a first X-axis slide portion 45, a guide groove portion Gx1, a bearing portion 46, a ball screw 47, and a Y-axis motor 48 .

第1X軸スライド部45は、略平板状の形態を有する。ボールねじ47は、図1に示すように、この第1X軸スライド部45の内部に収納されている。ガイド溝部Gx1は、X軸方向に延び、当該略平板状の一方の面に設けられている。ガイド溝部Gx1は、固定台41のレール部Rx1と係合する。当該略平板状の他方の面には、図3に示すように、Y軸方向に延びるガイド溝部Gy1が設けられている。ガイド溝部Gy1は、Y軸移動部50のY軸方向への移動を案内する。第1X軸スライド部45には、主軸21に把持されたワークWが貫通しうる中空部45Hが形成されている。軸受部46は、ボールねじ47を回転可能に軸支し、このように軸支されたボールねじ47は、Y軸方向に延びるように配置され、Y軸モータ48によって回転される。 The first X-axis slide portion 45 has a substantially flat plate shape. The ball screw 47 is housed inside the first X-axis slide portion 45, as shown in FIG. The guide groove portion Gx1 extends in the X-axis direction and is provided on one surface of the substantially flat plate shape. The guide groove portion Gx1 engages with the rail portion Rx1 of the fixed base 41 . As shown in FIG. 3, a guide groove portion Gy1 extending in the Y-axis direction is provided on the other substantially flat surface. The guide groove portion Gy1 guides the movement of the Y-axis moving portion 50 in the Y-axis direction. The first X-axis slide portion 45 is formed with a hollow portion 45H through which the workpiece W gripped by the main shaft 21 can pass. The bearing portion 46 rotatably supports a ball screw 47 . The ball screw 47 thus supported is arranged to extend in the Y-axis direction and is rotated by a Y-axis motor 48 .

Y軸移動部50は、ガイド溝部Gy1に沿ってY軸方向に移動する部分であり、Y軸スライド部51と、Y軸スライド部51に設けられた工具保持部52及びナット53と、を備える。なお、Y軸移動部50は、X軸移動部44に設けられているため、第1X軸スライド機構10によってX軸移動部44がX軸方向に移動すると、Y軸移動部50もX軸方向に移動する。 The Y-axis moving portion 50 is a portion that moves in the Y-axis direction along the guide groove portion Gy1, and includes a Y-axis slide portion 51, and a tool holding portion 52 and a nut 53 provided on the Y-axis slide portion 51. . Since the Y-axis moving portion 50 is provided in the X-axis moving portion 44, when the X-axis moving portion 44 moves in the X-axis direction by the first X-axis slide mechanism 10, the Y-axis moving portion 50 also moves in the X-axis direction. move to

Y軸スライド部51は、略平板状の形態を有する。当該略平板状の主面(Y軸と平行な面)には、主軸21に把持されたワークWが貫通しうる中空部51Hが形成されている。
工具保持部52は、Y軸スライド部51の主面上に設けられている。工具保持部52は、図2(a)に示すように、中空部51Hの左右の端に沿うようにして配設される。工具保持部52は、複数のバイト、ドリル等から構成される工具Tfを保持する。工具Tfは、例えば、図2(a)に示すように、X軸方向且つ中空部51Hの中央部に向く9本のバイトと、-Z軸方向に向く4本のドリル(図2で点線で示した)と、から構成されている。工具Tfを構成するバイトは、ワークWを切断する切断用バイトを含む。また、工具Tfを構成するドリルによって、ワークWの正面を加工することができる。
Y軸スライド部51の工具保持部52が設けられた面の裏面には、Y軸方向に沿って延びるレール部Ry1が設けられている。レール部Ry1は、第1X軸スライド部45に設けられたガイド溝部Gy1内を摺動可能である。
第1加工機構M1は、Y軸モータ48でボールねじ47を回転させ、これにより、ボールねじ47と嵌合するナット53を移動させることで、Y軸移動部50をY軸方向に移動させる。
The Y-axis slide portion 51 has a substantially flat plate shape. A hollow portion 51H through which the workpiece W gripped by the main shaft 21 can pass is formed in the substantially flat main surface (the surface parallel to the Y-axis).
The tool holding portion 52 is provided on the main surface of the Y-axis slide portion 51 . As shown in FIG. 2A, the tool holding portion 52 is arranged along the left and right ends of the hollow portion 51H. The tool holding portion 52 holds a tool Tf including a plurality of cutting tools, drills, and the like. For example, as shown in FIG. 2(a), the tools Tf include nine tools facing the X-axis direction and toward the central portion of the hollow portion 51H, and four drills facing the −Z-axis direction (indicated by dotted lines in FIG. 2). shown) and Bits that constitute the tool Tf include a cutting bit that cuts the workpiece W. As shown in FIG. Moreover, the front surface of the workpiece W can be machined by the drill that constitutes the tool Tf.
A rail portion Ry1 extending along the Y-axis direction is provided on the back surface of the surface of the Y-axis slide portion 51 on which the tool holding portion 52 is provided. The rail portion Ry1 is slidable in the guide groove portion Gy1 provided in the first X-axis slide portion 45. As shown in FIG.
The first machining mechanism M1 rotates the ball screw 47 with the Y-axis motor 48, thereby moving the nut 53 fitted to the ball screw 47, thereby moving the Y-axis moving part 50 in the Y-axis direction.

上記構成により、工具移動機構40のX軸移動部44はX軸方向に、Y軸移動部50はY軸方向に移動可能となっている。それに伴い、工具TfもX軸及びY軸方向に移動可能となっている。 With the above configuration, the X-axis moving portion 44 of the tool moving mechanism 40 can move in the X-axis direction, and the Y-axis moving portion 50 can move in the Y-axis direction. Accordingly, the tool Tf is also movable in the X-axis and Y-axis directions.

(第2加工機構M2)
第2加工機構M2は、ワークWの背面(-Z軸方向に向く面)及び側面を加工する機構であり、ワーク保持部70と、第2Z軸スライド機構80と、第2X軸スライド機構90と、工具台100と、を備える。
(Second processing mechanism M2)
The second processing mechanism M2 is a mechanism for processing the back surface (the surface facing the −Z-axis direction) and the side surface of the work W, and includes a work holding unit 70, a second Z-axis slide mechanism 80, and a second X-axis slide mechanism 90. , and a tool table 100 .

ワーク保持部70は、主軸71と、主軸71を回転可能に支持する主軸台72と、を備える。主軸台72には、ワーク回転用モータ(図示せず)が内蔵されている。このワーク回転用モータは、主軸71に備えられたチャック71aが把持するワークWを回転させる。主軸台72は、第2X軸スライド機構90の後述する第2X軸スライド部91上に設置されている。 The work holding unit 70 includes a spindle 71 and a headstock 72 that rotatably supports the spindle 71 . The headstock 72 incorporates a work rotation motor (not shown). This work rotation motor rotates the work W gripped by a chuck 71 a provided on the main shaft 71 . The headstock 72 is installed on a second X-axis slide portion 91 of the second X-axis slide mechanism 90, which will be described later.

第2Z軸スライド機構80は、ワーク保持部70をZ軸方向に移動させるための機構であり、ベッド2上に固定された固定台60に設けられた軸受部81及び軸受部61と、軸受部81及び軸受部61に軸支されてZ軸方向に延びるボールねじ82と、ボールねじ82を回転させる第2Z軸モータ83と、第2X軸スライド機構90が設置される第2Z軸スライド部84と、図3に示すように、固定台60の上に設けられたレール部Rz2と、を備える。なお、軸受部81はボールねじ82の第2Z軸モータ83側を受け、軸受部61はボールねじ82の先端部を受ける。
第2Z軸スライド部84は、ボールねじ82と嵌合するナット85及びZ軸方向に延びるガイド溝部Gz2(図2(b)参照)を有する。ナット85は、ボールねじ82が回転するとZ軸方向に移動する。ガイド溝部Gz2は、レール部Rz2と係合する。
第2Z軸スライド機構80は、第2Z軸モータ83でボールねじ82を回転させることで、ナット85と共に第2Z軸スライド部84を移動させる。これにより、ワーク保持部70は、Z軸方向に延びたレール部Rz2上を移動することができる。
The second Z-axis slide mechanism 80 is a mechanism for moving the work holding portion 70 in the Z-axis direction, and includes a bearing portion 81 and a bearing portion 61 provided on a fixed table 60 fixed on the bed 2, and a bearing portion 81 and bearing 61 and extending in the Z-axis direction; a second Z-axis motor 83 that rotates the ball screw 82; , and a rail portion Rz2 provided on a fixed base 60, as shown in FIG. The bearing portion 81 receives the second Z-axis motor 83 side of the ball screw 82 , and the bearing portion 61 receives the tip portion of the ball screw 82 .
The second Z-axis slide portion 84 has a nut 85 fitted with the ball screw 82 and a guide groove portion Gz2 (see FIG. 2B) extending in the Z-axis direction. The nut 85 moves in the Z-axis direction when the ball screw 82 rotates. The guide groove portion Gz2 engages with the rail portion Rz2.
The second Z-axis slide mechanism 80 rotates the ball screw 82 with the second Z-axis motor 83 to move the second Z-axis slide portion 84 together with the nut 85 . Thereby, the work holding part 70 can move on the rail part Rz2 extending in the Z-axis direction.

第2X軸スライド機構90は、ワーク保持部70をX軸方向に移動させるための機構であり、図2(b)等に示すように、第2X軸スライド部91と、第2Z軸スライド部84上に設けられた軸受部92と、軸受部92に軸支されてX軸方向に延びるボールねじ93と、ボールねじ93を回転させる第2X軸モータ94と、を備える。
第2X軸スライド部91上には、主軸台72が設置されている。第2X軸スライド部91は、そのY軸方向下方に、ボールねじ93と嵌合するナット95(図3参照)及びX軸方向に延びるガイド溝部Gx2(図1、図3参照)を有する。ナット95は、ボールねじ93が回転するとX軸方向に移動する。ガイド溝部Gx2は、図1に示すようにレール部Rx2と係合する。
第2X軸スライド機構90は、第2X軸モータ94でボールねじ93を回転させることで、ナット95と共に第2X軸スライド部91を移動させる。これにより、ワーク保持部70は、X軸方向に延びたレール部Rx2上を移動することができる。なお、第2X軸スライド機構90は、第2Z軸スライド機構80上に配置されているため、第2Z軸スライド機構80によって第2Z軸スライド部84がZ軸方向に移動することで第2X軸スライド部91もZ軸方向に移動する。
The second X-axis slide mechanism 90 is a mechanism for moving the work holding portion 70 in the X-axis direction, and as shown in FIG. A bearing portion 92 provided above, a ball screw 93 that is supported by the bearing portion 92 and extends in the X-axis direction, and a second X-axis motor 94 that rotates the ball screw 93 are provided.
A headstock 72 is installed on the second X-axis slide portion 91 . The second X-axis slide portion 91 has a nut 95 (see FIG. 3) that engages with the ball screw 93 and a guide groove portion Gx2 (see FIGS. 1 and 3) extending in the X-axis direction below the second X-axis slide portion 91 . The nut 95 moves in the X-axis direction when the ball screw 93 rotates. The guide groove portion Gx2 engages with the rail portion Rx2 as shown in FIG.
The second X-axis slide mechanism 90 moves the second X-axis slide portion 91 together with the nut 95 by rotating the ball screw 93 with the second X-axis motor 94 . Thereby, the work holding part 70 can move on the rail part Rx2 extending in the X-axis direction. In addition, since the second X-axis slide mechanism 90 is arranged on the second Z-axis slide mechanism 80, the second Z-axis slide mechanism 80 moves the second Z-axis slide portion 84 in the Z-axis direction to move the second X-axis slide. The portion 91 also moves in the Z-axis direction.

上記構成により、ワーク保持部70に保持されたワークWは、X軸及びZ軸方向に移動可能となっている。 With the above configuration, the work W held by the work holding portion 70 is movable in the X-axis and Z-axis directions.

工具台100は、先端が+Z軸方向に向くように取り付けられたドリル、タップ、ターニングバイト、ボーリングバイト等の工具Trを保持する。本実施形態では、工具Trは、複数あり、例えば、図3に示すように、4つの工具TrがX軸方向に所定の間隔を空けて設けられることで、櫛歯状になっている。
工具台100は、図2(a)に示すように、ベッド2に設けられた支持部材101に支持され、ベッド2に対して不動となっている。工具台100が保持する工具Tr(図3参照)は、その先端(例えば、軸中心)が、第2加工機構M2のワーク保持部70が保持するワークWの軸中心に位置する高さとなるように配置されている。
The tool table 100 holds a tool Tr such as a drill, a tap, a turning bit, a boring bit, etc., which is attached so that the tip faces the +Z-axis direction. In this embodiment, there are a plurality of tools Tr. For example, as shown in FIG. 3, four tools Tr are provided at predetermined intervals in the X-axis direction to form a comb-like shape.
The tool table 100 is supported by a support member 101 provided on the bed 2 and is immovable with respect to the bed 2, as shown in FIG. 2(a). The tool Tr (see FIG. 3) held by the tool rest 100 is positioned so that its tip (for example, the center of the axis) is positioned at the center of the axis of the work W held by the work holding unit 70 of the second machining mechanism M2. are placed in

(検出機構200)
検出機構200は、検出部Sp1~Sp3と、ドグD1~D3とを備える。検出部Sp1,Sp2とドグD1,D2とは、第1加工機構M1に設けられる。検出部Sp3とドグD3とは、第2加工機構M2に設けられる。検出部Sp1~Sp3の各々は、例えばタッチスイッチから構成される。
(Detection mechanism 200)
The detection mechanism 200 includes detection units Sp1 to Sp3 and dogs D1 to D3. The detectors Sp1, Sp2 and the dogs D1, D2 are provided in the first machining mechanism M1. The detection part Sp3 and the dog D3 are provided in the second processing mechanism M2. Each of the detection units Sp1 to Sp3 is composed of, for example, a touch switch.

検出部Sp1は、第1加工機構M1の第1X軸スライド機構10におけるX軸方向の熱変位(主に、X軸方向に延びるボールねじ12に起因する熱変位)を測定するために設けられている。ボールねじ12は、第1X軸モータ13によって支持されているため、第1X軸モータ13等の発熱により熱変位が生じると-X軸方向に伸びる。 The detector Sp1 is provided to measure thermal displacement in the X-axis direction (mainly due to the ball screw 12 extending in the X-axis direction) in the first X-axis slide mechanism 10 of the first processing mechanism M1. there is Since the ball screw 12 is supported by the first X-axis motor 13, the ball screw 12 extends in the −X-axis direction when heat is generated by the first X-axis motor 13 or the like and causes thermal displacement.

検出部Sp1は、その先端部がドグD1に接触すると、接触したことを示すON信号を制御部300に供給する。ドグD1は、図3に示すように、第1X軸スライド部45の側面(-X方向に向く面)の一部として構成されている。ドグD1は、第1X軸スライド部45の移動に伴いX軸方向に移動する。検出部Sp1は、図2及び図3に示すように、固定台41から迫り出した取付部41aに取り付けられている。このように取り付けられた検出部Sp1は、ベッド2に対して不動であり、X軸方向には移動しない。検出部Sp1とドグD1とは、X軸方向において互いに対向する位置に配設されている。検出部Sp1とドグD1とは、ドグD1が第1X軸スライド部45の移動により-X軸方向に所定量だけ移動すると接触する。 When the tip portion of the detection portion Sp1 contacts the dog D1, the detection portion Sp1 supplies an ON signal indicating the contact to the control portion 300. As shown in FIG. As shown in FIG. 3, the dog D1 is formed as part of the side surface (the surface facing the -X direction) of the first X-axis slide portion 45. As shown in FIG. The dog D1 moves in the X-axis direction as the first X-axis slide portion 45 moves. The detection part Sp1 is attached to an attachment part 41a protruding from the fixing base 41, as shown in FIGS. The detector Sp1 attached in this manner is immobile with respect to the bed 2 and does not move in the X-axis direction. The detection part Sp1 and the dog D1 are arranged at positions facing each other in the X-axis direction. The detecting portion Sp1 and the dog D1 come into contact with each other when the dog D1 is moved by a predetermined amount in the -X-axis direction due to the movement of the first X-axis slide portion 45 .

特に、図3に示すように、ドグD1(第1X軸スライド部45と共にX軸方向に移動する移動部)及び検出部Sp1(X軸方向には移動しない不動部)は、X軸方向において中空部51Hよりも外側に位置する。また、ドグD1及び検出部Sp1は、X軸方向においてY軸スライド部51(工具部の一例)と重ならない位置にある。つまり、ドグD1と検出部Sp1とは、ワークWに向く工具Tfから離れた位置にある。このようにすることで、ワークWの加工において発生する切粉がドグD1及び検出部Sp1に付着することを抑制し、検出精度の低下を防止することができる。 In particular, as shown in FIG. 3, the dog D1 (moving portion that moves in the X-axis direction together with the first X-axis slide portion 45) and the detection portion Sp1 (non-moving portion that does not move in the X-axis direction) are hollow in the X-axis direction. It is positioned outside the portion 51H. Further, the dog D1 and the detecting portion Sp1 are positioned so as not to overlap the Y-axis slide portion 51 (an example of the tool portion) in the X-axis direction. In other words, the dog D1 and the detecting portion Sp1 are located away from the tool Tf facing the workpiece W. As shown in FIG. By doing so, it is possible to prevent chips generated during machining of the workpiece W from adhering to the dog D1 and the detection part Sp1, thereby preventing deterioration in detection accuracy.

また、検出部Sp1は、X軸方向において第1X軸スライド部45よりも外側に位置する。このように、信号を出力する検出部Sp1を、第1X軸スライド部45のように可動する部分に設けずに、ベッド2に対して不動となる部分に設けることにより、検出部Sp1に加わる振動を抑制することができ、検出精度の低下を防止することができる。 Further, the detection portion Sp1 is located outside the first X-axis slide portion 45 in the X-axis direction. In this way, by providing the detector Sp1 that outputs a signal to a portion that is immovable with respect to the bed 2 instead of providing it to a movable portion such as the first X-axis slide portion 45, the vibration applied to the detector Sp1 can be reduced. can be suppressed, and a decrease in detection accuracy can be prevented.

検出部Sp2は、第1加工機構M1のY軸移動部50におけるY軸方向の熱変位(主に、Y軸方向に延びるボールねじ47に起因する熱変位)を測定するために設けられている。ボールねじ47は、Y軸モータ48によって支持されているため、Y軸モータ48等の発熱により熱変位が生じると-Y軸方向に伸びる。 The detection part Sp2 is provided to measure thermal displacement in the Y-axis direction (mainly thermal displacement due to the ball screw 47 extending in the Y-axis direction) in the Y-axis moving part 50 of the first processing mechanism M1. . Since the ball screw 47 is supported by the Y-axis motor 48, the ball screw 47 extends in the -Y-axis direction when thermal displacement occurs due to heat generated by the Y-axis motor 48 or the like.

検出部Sp2は、その先端部がドグD2に接触すると、接触したことを示すON信号を制御部300に供給する。ドグD2は、図1に示すように、第1X軸スライド部45に設けられており、Y軸方向には移動しない。検出部Sp2は、図1に示すように、Y軸スライド部51から-Z方向に迫り出し、第1X軸スライド部45の裏側に至る取付部51aに取り付けられている。このように取り付けられた検出部Sp2は、Y軸スライド部51の移動に伴いY軸方向に移動する。検出部Sp2とドグD2とは、Y軸方向において互いに対向する位置に配設されている。検出部Sp2とドグD2とは、検出部Sp2がY軸スライド部51の移動により-Y軸方向に所定量だけ移動すると接触する。 When the tip portion of the detection portion Sp2 contacts the dog D2, the detection portion Sp2 supplies an ON signal indicating the contact to the control portion 300. As shown in FIG. As shown in FIG. 1, the dog D2 is provided on the first X-axis slide portion 45 and does not move in the Y-axis direction. The detector Sp2 is attached to a mounting portion 51a extending from the Y-axis slide portion 51 in the -Z direction and reaching the rear side of the first X-axis slide portion 45, as shown in FIG. The detection part Sp2 attached in this manner moves in the Y-axis direction as the Y-axis slide part 51 moves. The detection part Sp2 and the dog D2 are arranged at positions facing each other in the Y-axis direction. The detecting portion Sp2 and the dog D2 come into contact with each other when the detecting portion Sp2 is moved by a predetermined amount in the −Y-axis direction due to the movement of the Y-axis slide portion 51 .

検出部Sp3は、第2加工機構M2の第2Z軸スライド機構80におけるZ軸方向の熱変位(主に、Z軸方向に延びるボールねじ82に起因する熱変位)を測定するために設けられている。ボールねじ82は、第2Z軸モータ83によって支持されているため、第2Z軸モータ83等の発熱により熱変位が生じると-Z軸方向に伸びる。 The detector Sp3 is provided to measure thermal displacement in the Z-axis direction (mainly due to the ball screw 82 extending in the Z-axis direction) in the second Z-axis slide mechanism 80 of the second processing mechanism M2. there is Since the ball screw 82 is supported by the second Z-axis motor 83, the ball screw 82 extends in the −Z-axis direction when heat is generated by the second Z-axis motor 83 or the like and causes thermal displacement.

検出部Sp3は、その先端部がドグD3に接触すると、接触したことを示すON信号を制御部300に供給する。ドグD3は、図3に示すように、固定台60から+X方向に突出して設けられている。ドグD3は、ベッド2に対して不動であり、Z軸方向には移動しない。検出部Sp3は、図3に示すように、第2Z軸スライド部84から+Z方向に迫り出す取付部84aに取り付けられている。このように取り付けられた検出部Sp3は、第2Z軸スライド部84の移動に伴いZ軸方向に移動する。検出部Sp3とドグD3とは、Z軸方向において互いに対向する位置に配設されている。検出部Sp3とドグD3とは、検出部Sp3が第2Z軸スライド部84の移動により+Z軸方向に所定量だけ移動すると接触する。 When the tip portion of the detection portion Sp3 contacts the dog D3, the detection portion Sp3 supplies the control portion 300 with an ON signal indicating the contact. The dog D3 is provided so as to protrude from the fixed base 60 in the +X direction, as shown in FIG. The dog D3 is immobile with respect to the bed 2 and does not move in the Z-axis direction. As shown in FIG. 3, the detection part Sp3 is attached to an attachment part 84a protruding from the second Z-axis slide part 84 in the +Z direction. The detection part Sp3 attached in this manner moves in the Z-axis direction as the second Z-axis slide part 84 moves. The detection part Sp3 and the dog D3 are arranged at positions facing each other in the Z-axis direction. The detecting portion Sp3 and the dog D3 come into contact with each other when the detecting portion Sp3 moves in the +Z-axis direction by a predetermined amount due to movement of the second Z-axis slide portion 84 .

(温度センサSt)
温度センサStは、例えばサーミスタから構成され、複数設けられている。複数の温度センサStは、それぞれの設置箇所における検出温度を示す信号を制御部300に出力する。温度センサStは、図4に示すように設置箇所に直接挿入されるか、設置箇所に固定された金属製(例えばステンレス製)のブロックに挿入される態様(埋設態様)で設けられている。なお、例外として、後述する温度センサSt8は、埋設態様で設けられてはいない。
(Temperature sensor St)
The temperature sensor St is composed of, for example, a thermistor, and is provided in plurality. The multiple temperature sensors St output to the controller 300 a signal indicating the detected temperature at each installation location. As shown in FIG. 4, the temperature sensor St is provided in a mode (embedded mode) in which it is directly inserted into an installation location or inserted into a metal (for example, stainless steel) block fixed to the installation location. As an exception, a temperature sensor St8, which will be described later, is not provided in an embedded manner.

以下、複数の温度センサStの各々を設置箇所毎に符号を付し、温度センサSt1~St8とする。温度センサSt1、St4、St7、St8の各設置箇所を図3に示す。温度センサSt2、St3、St5の各設置箇所を図5に示す。温度センサSt6の設置箇所を図2(a)に示す。 Hereinafter, each of the plurality of temperature sensors St will be denoted by reference numerals for each installation position, and will be referred to as temperature sensors St1 to St8. FIG. 3 shows the locations where the temperature sensors St1, St4, St7, and St8 are installed. FIG. 5 shows the locations where the temperature sensors St2, St3, and St5 are installed. The location where the temperature sensor St6 is installed is shown in FIG. 2(a).

温度センサSt1~St3は、第1加工機構M1に設けられている。
温度センサSt1は、X軸方向に延びるボールねじ12の周囲温度を検出するものであり、例えば、固定台41における軸受部11の近傍位置に設けられている。
温度センサSt2は、Y軸方向に延びるボールねじ47の周囲温度を検出するものであり、例えば、第1X軸スライド部45における軸受部46の近傍位置に設けられている。
温度センサSt3は、固定台41の周囲温度を検出するものであり、例えば、固定台41における空洞部41Hの上方部分に設けられている。
The temperature sensors St1 to St3 are provided in the first processing mechanism M1.
The temperature sensor St1 detects the ambient temperature of the ball screw 12 extending in the X-axis direction, and is provided near the bearing portion 11 on the fixed base 41, for example.
The temperature sensor St<b>2 detects the ambient temperature of the ball screw 47 extending in the Y-axis direction, and is provided near the bearing portion 46 in the first X-axis slide portion 45 , for example.
The temperature sensor St3 detects the ambient temperature of the fixed table 41, and is provided, for example, in the upper portion of the cavity 41H in the fixed table 41. As shown in FIG.

温度センサSt4~St6は、第2加工機構M2に設けられている。
温度センサSt4は、X軸方向に延びるボールねじ93の周囲温度を検出するものであり、例えば、第2Z軸スライド部84における軸受部92の近傍位置に設けられている。
温度センサSt5は、Z軸方向に延びるボールねじ82の周囲温度を検出するものであり、例えば、固定台60における軸受部61の近傍位置に設けられている。
温度センサSt6は、工具台100の工具Tr(図3参照)の周囲温度を検出するものであり、例えば、支持部材101における工具台100の近傍位置に設けられている。
The temperature sensors St4 to St6 are provided in the second processing mechanism M2.
The temperature sensor St4 detects the ambient temperature of the ball screw 93 extending in the X-axis direction, and is provided near the bearing portion 92 in the second Z-axis slide portion 84, for example.
The temperature sensor St5 detects the ambient temperature of the ball screw 82 extending in the Z-axis direction, and is provided near the bearing portion 61 on the fixed base 60, for example.
The temperature sensor St6 detects the ambient temperature of the tool Tr (see FIG. 3) on the tool base 100, and is provided at a position near the tool base 100 on the support member 101, for example.

温度センサSt7は、ベッド2の周囲温度を検出するものであり、例えば、ベッド2の脚部2aに設けられている。
温度センサSt8は、室温(つまり、工作機械1自体の周囲温度)を検出するものであり、埋設されない態様で工作機械1における所定箇所に設けられている。
The temperature sensor St7 detects the ambient temperature of the bed 2, and is provided at the leg 2a of the bed 2, for example.
The temperature sensor St8 detects the room temperature (that is, the ambient temperature of the machine tool 1 itself), and is provided at a predetermined location in the machine tool 1 in a non-buried manner.

(制御部300)
制御部300は、工作機械1の各部の動作を制御するものであり、CPU(Central Processing Unit)、CPUによる処理の手順を定義したプログラムを記憶するROM(Read Only Memory)、ユーザによる適当な数値入力等を受けて実行されるプログラム及び必要な情報を一時的に記憶しておくRAM(Random Access Memory)、計時を行うタイマなどを備える。制御部300のROM内には、後述する「基準位置取得処理」及び「熱変位補正処理」を実行するためのプログラムPG(図1参照)が予め記憶されており、CPUは、これらプログラムを読み出し、実行する。なお、制御部300は、CPUと他の専用回路とが協働して工作機械1の各部の動作を制御するものであってもよい。
(control unit 300)
The control unit 300 controls the operation of each part of the machine tool 1, and includes a CPU (Central Processing Unit), a ROM (Read Only Memory) for storing a program defining the procedure of processing by the CPU, and an appropriate numerical value input by the user. It is equipped with a RAM (random access memory) that temporarily stores programs that are executed in response to input and other necessary information, and a timer that keeps time. A program PG (see FIG. 1) for executing a "reference position acquisition process" and a "thermal displacement correction process", which will be described later, is stored in advance in the ROM of the control unit 300, and the CPU reads out these programs. ,Run. Note that the control unit 300 may control the operation of each unit of the machine tool 1 in cooperation with the CPU and other dedicated circuits.

制御部300は、数値制御(NC(Numerical Control))によって、ワーク保持部20をZ軸方向に、工具保持部52をX軸及びY軸方向に移動させ、ワークWと工具Tfとの相対的な位置関係を適切に設定する。具体的には、第1加工機構M1のワーク回転用モータ、第1Z軸モータ33、第1X軸モータ13、Y軸モータ48を駆動制御することによって、上記関係を実現する。また、制御部300は、数値制御によって、ワーク保持部70をX軸及びZ軸方向に移動させ、ワークWと工具Trとの相対的な位置関係を適切に設定する。具体的には、第2加工機構M2のワーク回転用モータ、第2Z軸モータ83、第2X軸モータ94を駆動制御することによって、上記関係を実現する。 The control unit 300 moves the work holding unit 20 in the Z-axis direction and the tool holding unit 52 in the X-axis and Y-axis directions by numerical control (NC (Numerical Control)) to control the relative movement of the work W and the tool Tf. appropriate positional relationship. Specifically, the above relationship is realized by driving and controlling the work rotation motor, first Z-axis motor 33, first X-axis motor 13, and Y-axis motor 48 of the first machining mechanism M1. Also, the control unit 300 moves the work holding unit 70 in the X-axis and Z-axis directions by numerical control, and appropriately sets the relative positional relationship between the work W and the tool Tr. Specifically, the above relationship is realized by driving and controlling the work rotation motor, the second Z-axis motor 83, and the second X-axis motor 94 of the second machining mechanism M2.

次に、上記構成の工作機械1によるワークWの加工について説明する。本実施形態に係る工作機械1においては、まず第1加工機構M1においてワークWの一次加工を行い、次に、第2加工機構M2において一次加工が施されたワークWをさらに加工する(二次加工を行う)。この加工は、制御部300の制御の下で行われる。 Next, machining of the workpiece W by the machine tool 1 having the above configuration will be described. In the machine tool 1 according to the present embodiment, the first machining mechanism M1 first performs the primary machining of the workpiece W, and then the second machining mechanism M2 further processes the workpiece W that has undergone the primary machining (secondary machining). processing). This processing is performed under the control of the control unit 300 .

(ワークの加工について)
(1)一次加工
制御部300は、工具保持部52の複数の工具Tfのうち所定の工具Tfを割り出し、ワークWを加工する。具体的には、Y軸モータ48を駆動し、所望の工具TfがワークWと同じ高さに位置するようにY軸移動部50を移動させる。次に、制御部300は、ワーク回転用モータと第1Z軸モータ33を駆動し、ワークWを回転させながらZ軸方向に移動させ、また、これと同時又は時間差で第1X軸モータ13を駆動し、第1X軸スライド機構10によりX軸移動部44をワークWに向けて移動させる。
このようにして、バイト、ドリル等の工具TfをワークWの前面又は側面に当接させ、第1加工機構M1は、ワークWを一次加工する。
(Regarding work processing)
(1) Primary Machining The control unit 300 indexes a predetermined tool Tf from among the plurality of tools Tf of the tool holding unit 52 to machine the workpiece W. As shown in FIG. Specifically, the Y-axis motor 48 is driven to move the Y-axis moving unit 50 so that the desired tool Tf is positioned at the same height as the workpiece W. Next, the control unit 300 drives the work rotation motor and the first Z-axis motor 33 to move the work W in the Z-axis direction while rotating it, and at the same time or with a time lag, drives the first X-axis motor 13. Then, the X-axis moving part 44 is moved toward the work W by the first X-axis slide mechanism 10 .
In this way, the tool Tf such as a cutting tool or a drill is brought into contact with the front surface or side surface of the work W, and the work W is primarily processed by the first processing mechanism M1.

(2)二次加工
一次加工を終えると、制御部300は、第2Z軸モータ83及び第2X軸モータ94を駆動し、ワーク保持部70を移動させて、一次加工されたワークWを、チャック71aに把持させる。続いて、制御部300は、ワーク回転用モータと第1X軸モータ13を駆動し、第1X軸スライド部45をワークWに向けて移動させ、工具Tfの切断用バイトにより、ワークWを所望の位置で切断する。なお、図1等では、このようにワークWが切断された後の状態を示している。
続いて、制御部300は、工具台100の複数の工具Trのうち、所定の工具Trを割り出し、主軸71を回転させながら、第2Z軸スライド機構80及び第2X軸スライド機構90により、把持したワークWの背面又は側面に選択した工具Trに当接させ、さらにワークWを加工する。
このようにして、第2加工機構M2は、ワークWを二次加工する。
(2) Secondary Machining After completing the primary machining, the control unit 300 drives the second Z-axis motor 83 and the second X-axis motor 94 to move the workpiece holding unit 70, and chuck the workpiece W that has undergone the primary machining. 71a is made to grasp. Subsequently, the control unit 300 drives the work rotation motor and the first X-axis motor 13 to move the first X-axis slide unit 45 toward the work W, and the work W is moved to a desired position by the cutting bit of the tool Tf. Cut at position. It should be noted that FIG. 1 and the like show the state after the work W has been cut in this way.
Subsequently, the control unit 300 indexes a predetermined tool Tr from among the plurality of tools Tr on the tool table 100, and grips it by the second Z-axis slide mechanism 80 and the second X-axis slide mechanism 90 while rotating the main shaft 71. The selected tool Tr is brought into contact with the back surface or side surface of the work W, and the work W is processed further.
In this manner, the second processing mechanism M2 secondary-processes the workpiece W. As shown in FIG.

以上のようにワークWを加工する工作機械1は、所定の工具Tf,Trの位置を割り出す際、測定対象の軸方向の熱変位に応じた「補正量」を加味した位置に割り出す。つまり、所定の工具Tf,TrとワークWとの相対位置を、設定された目標位置とする際には、当該目標位置に補正量を加味した位置とする。 As described above, the machine tool 1 that processes the workpiece W determines the positions of the predetermined tools Tf and Tr by taking into account the "correction amount" corresponding to the thermal displacement in the axial direction of the object to be measured. In other words, when the relative positions of the predetermined tools Tf, Tr and the workpiece W are set to the set target positions, the target positions are set to the positions to which the correction amount is added.

ここからは、補正量を算出するための処理について説明する。制御部300は、まず、後述の第1熱変位量を求めるための基準となる基準位置を取得する「基準位置取得処理」を実行し、その後に「熱変位補正処理」を実行する。 Processing for calculating the correction amount will now be described. The control unit 300 first executes a “reference position acquisition process” for acquiring a reference position that serves as a reference for obtaining a first thermal displacement amount, which will be described later, and then executes a “thermal displacement correction process”.

なお、制御部300は、第1加工機構M1におけるX軸方向の熱変位と、第1加工機構M1におけるY軸方向の熱変位と、第2加工機構M2におけるZ軸方向の熱変位とを補正可能であるが、各方向の熱変位補正の手法は同様である。そのため、以下では、主に第1加工機構M1におけるX軸方向の熱変位について説明する。 The control unit 300 corrects thermal displacement in the X-axis direction in the first machining mechanism M1, thermal displacement in the Y-axis direction in the first machining mechanism M1, and thermal displacement in the Z-axis direction in the second machining mechanism M2. Although possible, the approach to thermal displacement compensation in each direction is similar. Therefore, the thermal displacement in the X-axis direction in the first machining mechanism M1 will be mainly described below.

(基準位置取得処理)
図6のフローチャートを参照して、制御部300が実行する基準位置取得処理を説明する。この処理は、例えば、工作機械1の電源を投入したことを条件に開始される。
(Reference position acquisition processing)
Reference position acquisition processing executed by the control unit 300 will be described with reference to the flowchart of FIG. This process is started, for example, on the condition that the power of the machine tool 1 is turned on.

基準位置取得処理を開始すると、制御部300は、まず、第1X軸スライド部45を検出待機位置に移動させる(ステップS11)。具体的に、制御部300は、第1X軸モータ13を駆動し、第1X軸スライド部45を、ドグD1が検出部Sp1の先端部に近接する検出待機位置まで移動させる。検出待機位置は、ドグD1と検出部Sp1とが移動の反動によって誤って当接しない程度に両者の間に間隔を空けた位置であり、例えば、ドグD1と検出部Sp1先端との間の距離が、数mmになる位置である。 When starting the reference position acquisition process, the control section 300 first moves the first X-axis slide section 45 to the detection standby position (step S11). Specifically, the control section 300 drives the first X-axis motor 13 to move the first X-axis slide section 45 to the detection standby position where the dog D1 approaches the tip of the detection section Sp1. The detection standby position is a position in which the dog D1 and the detection part Sp1 are spaced apart from each other to the extent that they do not erroneously contact each other due to the recoil of movement. is a position of several millimeters.

続いて、制御部300は、第1X軸モータ13を駆動し、第1X軸スライド部45を-X方向に移動させることで、検出を開始する(ステップS12)。これにより、ドグD1は、徐々に検出部Sp1に近づいていく。ドグD1が検出部Sp1の先端部に接触すると、検出部Sp1は、検出信号(ON信号)を制御部300に供給する。制御部300は、この検出信号を受信することで、検出部Sp1がドグD1に接触したことを検出し、また、検出信号を受信した時点でのX座標を取得し(ステップS13)、RAM等に記憶する。ここで取得するX座標は、予め定められた任意の原点位置(X=0)に対する座標である。原点位置としては、例えば、第1X軸スライド部45が最も-X軸方向に移動した際の所定位置(例えばボールねじ12の先端位置)などであればよい。制御部300は、例えば、検出信号を受信した時点の第1X軸モータ13の回転数(回転数=回転角度/360°)にボールねじ12のリード(ボールねじ12の1回転あたりにナット15がX軸方向に進む距離)を掛けることにより、検出信号を受信した時点のX座標を取得する。制御部300は、取得したX座標を基準位置として記憶する。この基準位置は、後述の第1熱変位量を算出する際に用いられる。ステップS13の処理の実行後、基準位置取得処理は終了する。 Subsequently, the control unit 300 drives the first X-axis motor 13 to move the first X-axis slide unit 45 in the -X direction, thereby starting detection (step S12). As a result, the dog D1 gradually approaches the detector Sp1. When the dog D1 contacts the tip of the detection part Sp1, the detection part Sp1 supplies a detection signal (ON signal) to the control part 300. As shown in FIG. By receiving this detection signal, the control unit 300 detects that the detection unit Sp1 has come into contact with the dog D1, acquires the X-coordinate at the time of receiving the detection signal (step S13), stores the data in the RAM, etc. memorize to The X coordinate acquired here is the coordinate for an arbitrary predetermined origin position (X=0). The origin position may be, for example, a predetermined position (for example, the tip position of the ball screw 12) when the first X-axis slide portion 45 moves most in the -X-axis direction. For example, the control unit 300 adjusts the number of rotations of the first X-axis motor 13 (number of rotations=rotation angle/360°) at the time of receiving the detection signal to the lead of the ball screw 12 (the nut 15 rotates per rotation of the ball screw 12). X-coordinate at the time when the detection signal is received is obtained by multiplying by the distance traveled in the X-axis direction. Control unit 300 stores the acquired X coordinate as a reference position. This reference position is used when calculating a first thermal displacement amount, which will be described later. After executing the process of step S13, the reference position acquisition process ends.

次に、熱変位補正処理について、図7のフローチャートを参照して説明する。 Next, thermal displacement correction processing will be described with reference to the flowchart of FIG.

(熱変位補正処理)
制御部300は、例えば、ワークWの加工開始の指示を示す信号(以下、加工開始指示と言う。)を受け付けたことを条件に、熱変位補正処理を開始する。
(Thermal displacement correction processing)
The control unit 300 starts the thermal displacement correction process, for example, on the condition that a signal indicating an instruction to start machining the workpiece W (hereinafter referred to as a machining start instruction) is received.

まず、制御部300は、加工開始指示を受けてから、予め定めた所定期間が経過しているか否かを判別する(ステップS20)。所定期間は、温度センサStのみを利用した場合に良好な熱変位補正が困難となる期間(図8参照)よりも長い期間(例えば数分間)であり、予めROM内に記憶されている。 First, the control unit 300 determines whether or not a predetermined period of time has elapsed after receiving the machining start instruction (step S20). The predetermined period is a period (for example, several minutes) longer than the period (see FIG. 8) during which good thermal displacement correction becomes difficult when only the temperature sensor St is used, and is stored in advance in the ROM.

所定期間が経過していない場合(ステップS20;No)、制御部300は、前述のステップS11と同様に、第1X軸スライド部45を検出待機位置に移動させる(ステップS21)。以降、制御部300は、ステップS21~S23の処理を実行するが、これらの処理は、前述のステップS11~S13と同様である。 If the predetermined period has not elapsed (step S20; No), the control section 300 moves the first X-axis slide section 45 to the detection standby position (step S21), as in step S11 described above. After that, the control unit 300 executes the processes of steps S21 to S23, and these processes are the same as those of steps S11 to S13 described above.

制御部300は、検出部Sp1から検出信号を受信した時点におけるX座標を取得し(ステップS23)、RAM等に記憶すると、第1熱変位量αを算出する(ステップS24)。具体的には、制御部300は、ステップS23で取得したX座標からステップS13で取得した基準位置としてのX座標を減算した値を第1熱変位量αとして算出する。αが正の値であれば熱変位によってボールねじ12がαだけ伸びていることになる。一方、αが負の値であれば、熱変位によってボールねじ12がαだけ縮んでいることになる。 The control unit 300 acquires the X coordinate at the time of receiving the detection signal from the detection unit Sp1 (step S23), stores it in the RAM or the like, and calculates the first thermal displacement amount α (step S24). Specifically, the control unit 300 calculates a value obtained by subtracting the X coordinate as the reference position acquired in step S13 from the X coordinate acquired in step S23 as the first thermal displacement amount α. If α is a positive value, the ball screw 12 is elongated by α due to thermal displacement. On the other hand, if α is a negative value, it means that the ball screw 12 has contracted by α due to thermal displacement.

続いて、制御部300は、第1X軸スライド部45を加工待機位置に移動させてから、ワークWの加工を開始する(ステップS25)。加工待機位置は、例えば、検出待機位置と同様の位置などであればよい。 Subsequently, the control section 300 moves the first X-axis slide section 45 to the processing standby position, and then starts processing the workpiece W (step S25). The processing standby position may be, for example, the same position as the detection standby position.

ステップS25におけるワークWの加工は、前述の(ワークの加工について)で説明した手順(1)、(2)のように行われる。
所定期間が経過していない場合(ステップS20;No)においては、ステップS24で取得した第1熱変位量αをそのまま補正量とし、当該補正量を加味した位置に第1X軸スライド部45を移動させる。具体的に、制御部300は、予め設定された第1X軸スライド部45の目標座標をX=Aとすれば、当該目標座標に補正量αを加味した補正目標座標(X=A+α)の位置に、第1X軸スライド部45を移動させることで、第1加工機構M1にワークWを加工させる。
The machining of the workpiece W in step S25 is performed in the same manner as the procedures (1) and (2) described above in (Regarding machining of workpiece).
If the predetermined period has not elapsed (step S20; No), the first thermal displacement amount α obtained in step S24 is used as the correction amount, and the first X-axis slide portion 45 is moved to a position to which the correction amount is added. Let Specifically, if X=A is the preset target coordinate of the first X-axis slide unit 45, the control unit 300 adjusts the position of the corrected target coordinate (X=A+α) by adding the correction amount α to the target coordinate. Then, by moving the first X-axis slide portion 45, the work W is machined by the first machining mechanism M1.

一方、所定期間が経過している場合(ステップS20;Yes)、制御部300は、温度センサSt1~St8の各出力に基づき、各所の検出温度T1~T8を取得する(ステップS26)。 On the other hand, if the predetermined period has passed (step S20; Yes), the control unit 300 acquires the detected temperatures T1 to T8 at each location based on the outputs of the temperature sensors St1 to St8 (step S26).

続いて、制御部300は、取得した検出温度T1~T8と、予めROM内に記憶した補正式(数式のデータ)とに基づき、第2熱変位量βを算出する(ステップS27)。例えば、補正式は、予め定められた係数をa~iとして、「β=a・T1+b・T2+c・T3+d・T4+e・T5+f・T6+g・T7+h・T8+i」で表される式である。なお、係数a~iは、重回帰分析により予め決定することができる。制御部300は、取得した検出温度T1~T8を補正式に代入し、第2熱変位量βを算出する。 Subsequently, the control unit 300 calculates the second thermal displacement amount β based on the obtained detected temperatures T1 to T8 and the correction formula (formula data) stored in advance in the ROM (step S27). For example, the correction formula is a formula represented by "β=a·T1+b·T2+c·T3+d·T4+e·T5+f·T6+g·T7+h·T8+i" where a to i are predetermined coefficients. Note that the coefficients a to i can be determined in advance by multiple regression analysis. The control unit 300 substitutes the obtained detected temperatures T1 to T8 into the correction formula to calculate the second thermal displacement amount β.

続いて、制御部300は、前記と同様にワークWの加工を開始する(ステップS25)。ただし、所定期間が経過している場合(ステップS20;Yes)においては、ステップS27で取得した第2熱変位量βをそのまま補正量とし、当該補正量を加味した位置に第1X軸スライド部45を移動させる。具体的に、制御部300は、予め設定された第1X軸スライド部45の目標座標をX=Aとすれば、当該目標座標に補正量βを加味した補正目標座標(X=A+β)の位置に、第1X軸スライド部45を移動させることで、第1加工機構M1にワークWを加工させる。 Subsequently, the control section 300 starts machining the workpiece W in the same manner as described above (step S25). However, if the predetermined period has passed (step S20; Yes), the second thermal displacement amount β obtained in step S27 is used as the correction amount, and the first X-axis slide portion 45 is moved to the position to which the correction amount is added. to move. Specifically, if X=A is the preset target coordinate of the first X-axis slide unit 45, the control unit 300 adjusts the position of the corrected target coordinate (X=A+β) by adding the correction amount β to the target coordinate. Then, by moving the first X-axis slide portion 45, the work W is machined by the first machining mechanism M1.

制御部300は、1つのワークWの加工を終えると、処理をステップS20に戻す。制御部300は、加工終了の指示を示す信号を受信するまで、上記処理を繰り返し実行する。なお、検出温度T1~T8の取得と、取得した検出温度T1~T8に基づく第2熱変位量βの算出とは、1つのワークWの加工中において所定周期で実行してもよい。また、複数の工具Tfのうち任意の工具を割り出す際にのみ、熱変位処理を実行するようにしてもよい。 After finishing machining one workpiece W, the control unit 300 returns the process to step S20. The control unit 300 repeatedly executes the above process until receiving a signal indicating an instruction to end processing. The acquisition of the detected temperatures T1 to T8 and the calculation of the second thermal displacement amount β based on the acquired detected temperatures T1 to T8 may be performed at predetermined intervals while one work W is being processed. Alternatively, the thermal displacement process may be performed only when an arbitrary tool is indexed from the plurality of tools Tf.

第1加工機構M1におけるY軸方向の熱変位の補正と、第2加工機構M2におけるZ軸方向の熱変位の補正も同様に行うことができる。
簡潔に説明すれば、第1加工機構M1におけるY軸方向の熱変位を補正する場合、制御部300は、基準位置取得処理において、Y軸移動部50を-Y方向に移動させることで検出部Sp2をドグD2に接触させ、Y座標の基準位置を取得すればよい。そして、熱変位補正処理において、所定期間内であればY軸方向における第1熱変位量を補正量とし、所定期間経過後であれば温度センサStの検出温度に基づいて算出したY軸方向における第2熱変位量を補正量とすればよい。
また、第2加工機構M2におけるZ軸方向の熱変位を補正する場合、制御部300は、基準位置取得処理において、第2Z軸スライド部84を+Z方向に移動させることで検出部Sp3をドグD3に接触させ、Z座標の基準位置を取得すればよい。そして、熱変位補正処理において、所定期間内であればZ軸方向における第1熱変位量を補正量とし、所定期間経過後であれば温度センサStの検出温度に基づいて算出したZ軸方向における第2熱変位量を補正量とすればよい。
なお、第2熱変位量を求める際に用いる補正式の各係数の値は、熱変位の補正対象の軸毎に重回帰分析により予め決定することができる。
Correction of thermal displacement in the Y-axis direction in the first machining mechanism M1 and correction of thermal displacement in the Z-axis direction in the second machining mechanism M2 can be performed in the same manner.
Briefly, when correcting the thermal displacement in the Y-axis direction in the first machining mechanism M1, the control unit 300 moves the Y-axis moving unit 50 in the -Y direction in the reference position acquisition process, so that the detection unit Sp2 is brought into contact with dog D2 to acquire the reference position of the Y coordinate. In the thermal displacement correction process, the first thermal displacement amount in the Y-axis direction is used as the correction amount within the predetermined period, and The second thermal displacement amount may be used as the correction amount.
Further, when correcting thermal displacement in the Z-axis direction in the second machining mechanism M2, the control unit 300 moves the second Z-axis slide unit 84 in the +Z direction in the reference position acquisition process, thereby moving the detection unit Sp3 to the dog D3. to obtain the reference position of the Z coordinate. In the thermal displacement correction process, the first thermal displacement amount in the Z-axis direction is used as the correction amount within the predetermined period, and The second thermal displacement amount may be used as the correction amount.
The value of each coefficient of the correction formula used when obtaining the second thermal displacement amount can be determined in advance by multiple regression analysis for each axis to be corrected for thermal displacement.

なお、本発明は以上の実施形態及び図面によって限定されるものではない。本発明の要旨を変更しない範囲で、適宜、変更(構成要素の削除も含む)を加えることが可能である。 In addition, this invention is not limited by the above embodiment and drawing. Modifications (including deletion of components) can be made as appropriate without changing the gist of the present invention.

以上では、ドグD1が第1X軸スライド部45と共にX軸方向に移動する移動部であり、検出部Sp1がX軸方向には移動しない不動部である例を説明したが、ドグD1と検出部Sp1とは相対的にX軸方向に移動するように配置されればよく、移動部と不動部との関係を逆にしてもよい。つまり、検出部Sp1を第1X軸スライド部45と共にX軸方向に移動する移動部とし、ドグD1をX軸方向には移動しない不動部としてもよい。また、検出部Sp2及びドグD2のY軸方向における相対的移動関係や、検出部Sp3及びドグD3のZ軸方向における相対的移動関係についても、同様である。 An example has been described above in which the dog D1 is a moving portion that moves in the X-axis direction together with the first X-axis slide portion 45, and the detection portion Sp1 is a stationary portion that does not move in the X-axis direction. Sp1 may be arranged so as to move in the X-axis direction, and the relationship between the moving part and the immovable part may be reversed. That is, the detecting portion Sp1 may be a moving portion that moves in the X-axis direction together with the first X-axis sliding portion 45, and the dog D1 may be a stationary portion that does not move in the X-axis direction. The same applies to the relative movement relationship between the detection part Sp2 and the dog D2 in the Y-axis direction and the relative movement relationship between the detection part Sp3 and the dog D3 in the Z-axis direction.

また、X、Y、Zの各軸方向に対応して、第1加工機構M1の制御軸をX1、Y1、Z1とし、第2加工機構M2の制御軸をX2、Y2、Z2とすると、以上では、X1、Y1、Z2の各軸において熱変位を補正する例を説明したが、これに限られない。X1、Y1、Z1、X2、Y2、Z2の各軸のうち、どの軸を熱変位の補正対象軸とするかは任意である。 Further, if the control axes of the first machining mechanism M1 are X1, Y1, and Z1, and the control axes of the second machining mechanism M2 are X2, Y2, and Z2 corresponding to the X, Y, and Z axial directions, the above Although an example of correcting thermal displacement in each of the X1, Y1, and Z2 axes has been described, the present invention is not limited to this. It is arbitrary which of the X1, Y1, Z1, X2, Y2, and Z2 axes is used as the thermal displacement correction target axis.

以上では、複数の温度センサStが温度センサSt1~St8の8つである例を示したが、複数の温度センサStの設置箇所や数は任意である。また、温度センサStは、サーミスタを利用したものに限られず、例えば、赤外線輻射により温度を検出するものや、半導体式温度センサなどであってもよい。 In the above example, eight temperature sensors St1 to St8 are used as the plurality of temperature sensors St, but the location and number of the plurality of temperature sensors St are arbitrary. Further, the temperature sensor St is not limited to one using a thermistor, and may be, for example, a sensor that detects temperature by infrared radiation, a semiconductor temperature sensor, or the like.

また、以上では、予めROM内に記憶した補正式(数式を示すデータ)に基づいて、第2熱変位量を算出する例を説明したが、予めROM内に記憶したテーブルデータを用いて第2熱変位量を算出してもよい。テーブルデータは、温度センサStの設置箇所毎の検出温度に、予め定めた設定値(例えば、設置箇所毎の熱変位を示す値)を対応させて構成することができる。例えば、制御部300は、テーブルデータを参照して各検出温度に対応する設定値を複数取得し、取得した複数の設定値を合算することで第2熱変位量を得ることができる。 In the above description, an example of calculating the second thermal displacement amount based on the correction formula (data representing the formula) stored in advance in the ROM has been described. A thermal displacement amount may be calculated. The table data can be configured by associating a predetermined set value (for example, a value indicating thermal displacement at each installation location) with the detected temperature at each installation location of the temperature sensor St. For example, the control unit 300 can acquire a plurality of set values corresponding to each detected temperature by referring to table data, and add up the acquired set values to obtain the second thermal displacement amount.

また、以上では、ワークWの加工開始から所定期間内では第1熱変位量をそのまま熱変位の補正量とし、所定期間経過後では第2熱変位量をそのまま熱変位の補正量とした例を説明したが、これに限られない。例えば、所定期間内で取得した第1熱変位量に係数を掛けたものを熱変位の補正量としてもよいし、所定期間経過後に取得した第2熱変位量に係数を掛けたものを熱変位の補正量としてもよい。 In the above description, the first thermal displacement amount is used as the thermal displacement correction amount within a predetermined period from the start of machining of the workpiece W, and the second thermal displacement amount is used as the thermal displacement correction amount after the predetermined period has elapsed. Illustrated, but not limited to. For example, the thermal displacement correction amount may be obtained by multiplying the first amount of thermal displacement obtained within a predetermined period by a coefficient, or by multiplying the second amount of thermal displacement obtained after the elapse of the predetermined period by a coefficient. may be the correction amount.

また、ワークWの加工開始から所定期間内において第1熱変位量だけでなく第2熱変位量を算出し、当該所定期間内において第1熱変位量と第2熱変位量とに基づいて補正量を算出してもよい。こうした場合、第1熱変位量と第2熱変位量の単純平均や加重平均を求め、求めた値を熱変位の補正量とすることができる。なお、当該所定期間内では、図8に示すように、温度センサStの出力のみに基づく熱変位補正は困難であるため、加重平均を用いて補正量を求める場合は、温度センサStの出力に基づいて算出される第2熱変位量よりも、検出部Sp1の出力に基づいて算出される第1熱変位量のほうが優先的に作用する演算を行うことが好ましい。また、所定期間経過後において第2熱変位量だけでなく第1熱変位量を算出し、第1熱変位量と第2熱変位量とに基づいて補正量を算出してもよい。 Further, not only the first thermal displacement amount but also the second thermal displacement amount are calculated within a predetermined period from the start of machining of the workpiece W, and correction is performed based on the first thermal displacement amount and the second thermal displacement amount within the predetermined period. amount may be calculated. In such a case, a simple average or a weighted average of the first thermal displacement amount and the second thermal displacement amount can be obtained, and the obtained value can be used as the thermal displacement correction amount. As shown in FIG. 8, it is difficult to correct thermal displacement based only on the output of the temperature sensor St within the predetermined period. It is preferable to perform a calculation in which the first thermal displacement amount calculated based on the output of the detection unit Sp1 acts preferentially over the second thermal displacement amount calculated based on the above. Alternatively, after a predetermined period of time has elapsed, not only the second thermal displacement amount but also the first thermal displacement amount may be calculated, and the correction amount may be calculated based on the first thermal displacement amount and the second thermal displacement amount.

また、以上では、検出部Sp1(検出部Sp2、Sp3も同様)がタッチスイッチ(接触センサの一例)から構成される例を示したが、これに限られない。検出部Sp1は、非接触センサであってもよい。非接触センサは、例えば、渦電流式距離測定器であり、自機と対象物であるドグD1(ドグD2、D3も同様)との距離を測定し、計測値を制御部300に供給するものである。具体的には、制御部300は、渦電流式距離測定器が備えるコイルに高周波電流を流し、電磁誘導作用によってドグD1の表面に渦電流を発生させることで、両者の距離に応じて変化するコイルのインピーダンスを取得し、取得したインピーダンス値に基づいて前記距離を測定する。この場合、制御部300は、上記ステップS13及びステップS23において、予め記憶しておいた距離に、測定値が達した時点での座標を取得すればよい。また、接触センサはタッチスイッチに限られず、非接触センサは渦電流式距離測定器に限られない。接触センサ、非接触センサともに、公知の各種センサの中から任意に選択してもよい。 In the above description, an example in which the detection unit Sp1 (the same applies to the detection units Sp2 and Sp3) is configured by a touch switch (an example of a contact sensor) is shown, but the present invention is not limited to this. The detector Sp1 may be a non-contact sensor. The non-contact sensor is, for example, an eddy-current distance measuring device, which measures the distance between itself and the target dog D1 (the same applies to dogs D2 and D3) and supplies the measured value to the control unit 300. is. Specifically, the control unit 300 causes a high-frequency current to flow through a coil included in the eddy-current distance measuring device, and generates an eddy current on the surface of the dog D1 by electromagnetic induction, thereby changing the distance between the two. Obtaining the impedance of the coil and measuring the distance based on the obtained impedance value. In this case, in steps S13 and S23, the control unit 300 may acquire the coordinates at the time when the measured value reaches the previously stored distance. Moreover, the contact sensor is not limited to the touch switch, and the non-contact sensor is not limited to the eddy current distance measuring device. Both the contact sensor and the non-contact sensor may be arbitrarily selected from various known sensors.

以上では、制御部300は、ワーク加工を開始し(ステップS25)、1つのワークWを加工するとステップS20に処理を戻すものとしたが、これに限られない。制御部300は、複数のワークWを加工した後や所定の加工期間経過後に、ステップS20の処理に戻すものとしてもよい。 In the above description, the control unit 300 starts machining the workpiece (step S25), and after machining one workpiece W, returns the process to step S20, but the present invention is not limited to this. The control unit 300 may return to the process of step S20 after machining a plurality of works W or after a predetermined machining period has elapsed.

また、以上のステップS20では、所定期間との比較対象となる期間(以下、対象期間Tと言う。)を、加工開始指示を受けた時点からの経過期間として説明したが、これに限られない。例えば、対象期間Tを、工作機械1の加工期間(稼働期間)の合算をTaとし、工作機械1の稼働停止期間の合算をTbとした場合に、T=Ta-γ・Tb(γは係数)で算出できる値としてもよい。なお、係数γは、熱変形に及ぼす影響が稼働停止期間と加工期間とで異なることを考慮した値であり、任意であるが、例えばγ=2とすることができる。つまり、制御部300は、上記式により対象期間Tを算出可能であり、ステップS20を実行する際に、算出した対象期間Tが予め定めた所定期間よりも大きいか否かを判別してもよい。また、所定期間を複数用意する、又は、可変とし、条件に応じて所定期間を変更可能な構成(例えば、1つのワークWの加工毎に熱変位補正処理を実行する場合と、複数のワークWの加工毎に熱変位補正処理を実行する場合とで異なる所定期間を設定可能な構成など)を採用してもよい。 Further, in step S20 described above, the period to be compared with the predetermined period (hereinafter referred to as the target period T) has been described as the elapsed period from the time when the machining start instruction is received, but it is not limited to this. . For example, if the target period T is Ta, which is the sum of the machining periods (operating periods) of the machine tool 1, and Tb, which is the sum of the non-operating periods of the machine tool 1, T = Ta - γ Tb (γ is a coefficient ) may be a value that can be calculated by Note that the coefficient γ is a value considering that the influence on thermal deformation is different between the operation stop period and the machining period, and is arbitrary, but can be set to γ=2, for example. That is, the control unit 300 can calculate the target period T using the above formula, and may determine whether the calculated target period T is longer than a predetermined period when executing step S20. . In addition, a plurality of predetermined periods are prepared or variable, and the predetermined period can be changed according to conditions (for example, when performing thermal displacement correction processing for each workpiece W processing, when a plurality of workpieces W A configuration in which a different predetermined period can be set depending on whether the thermal displacement correction process is executed for each machining may be adopted.

また、以上では、工具台100をベッド2に対して不動であるものとしたがこれに限られない。工具台100は、例えば、主軸71に対する工具Trの高さ方向の位置を調整することが可能な、Y軸方向に移動できるものであってもよい。 Moreover, although the tool table 100 is assumed to be immovable with respect to the bed 2 in the above description, the present invention is not limited to this. The tool table 100 may be movable in the Y-axis direction, for example, to adjust the position of the tool Tr in the height direction with respect to the spindle 71 .

また、以上では、工作機械1を多機能旋盤として説明したが、これに限られない。第1加工機構M1のみに相当する工作機械や、第2加工機構M2のみに相当する工作機械であってもよい。また、工作機械は、フライス盤、ボール盤等であってもよい。 Moreover, although the machine tool 1 has been described above as a multifunctional lathe, it is not limited to this. A machine tool corresponding to only the first machining mechanism M1 or a machine tool corresponding to only the second machining mechanism M2 may be used. Also, the machine tool may be a milling machine, a drilling machine, or the like.

また、基準位置取得処理、熱変位補正処理を制御部300のCPUが実行するための動作プログラム(プログラムPG)は、制御部300のROMに予め記憶されているものとして説明したが、このような動作プログラム及び各種データは、工作機械1に含まれるコンピュータに対して、着脱自在の記録媒体により配布・提供されてもよい。さらに、動作プログラム及び各種データは、電気通信ネットワーク等を介して接続された他の機器からダウンロードすることによって配布されるようにしてもよい。 Further, although the operation program (program PG) for the CPU of the control unit 300 to execute the reference position acquisition process and the thermal displacement correction process is pre-stored in the ROM of the control unit 300, The operating program and various data may be distributed/provided to the computer included in the machine tool 1 via a detachable recording medium. Furthermore, the operating program and various data may be distributed by being downloaded from another device connected via a telecommunications network or the like.

そして、各処理の実行形態も、着脱自在の記録媒体を装着することにより実行するものだけではなく、電気通信ネットワーク等を介してダウンロードした動作プログラム及び各種データを内蔵の記憶装置に一旦格納することにより実行可能としてもよいし、電気通信ネットワーク等を介して接続された他の機器側のハードウェア資源を用いて直接実行してもよい。さらには、他の機器と電気通信ネットワーク等を介して各種データの交換を行うことにより各処理を実行してもよい。 Moreover, each process can be executed not only by loading a detachable recording medium, but also by temporarily storing an operation program and various data downloaded via a telecommunication network or the like in a built-in storage device. Alternatively, it may be directly executed using hardware resources of another device connected via a telecommunications network or the like. Furthermore, each processing may be executed by exchanging various data with other devices via a telecommunication network or the like.

(1)以上に説明した工作機械1は、基台(ベッドS)に対して所定の軸方向(例えばX軸方向)に移動し、主軸に把持されたワークWと該ワークWを加工するための工具との軸方向における相対位置を調整するスライド部(例えば第1X軸スライド部45)と、スライド部と共に軸方向に移動する移動部(例えばドグD1)と、軸方向には移動しない不動部(例えば検出部Sp1)とが接触したこと又は所定の距離だけ接近したことを検出する検出手段(検出機構200)と、制御部300と、を備える。
制御部300は、算出手段及び駆動制御手段として機能する。算出手段は、検出手段が検出したことに基づいて検出時におけるスライド部の軸方向の位置である軸方向位置を取得し、所定箇所に設けられた温度センサStが検出した検出温度を取得し、取得した軸方向位置と検出温度との少なくともいずれかに基づいて軸方向の熱変位を補正するための補正量を算出する。駆動制御手段は、目標位置に補正量を加味した位置にスライド部を移動させる。
算出手段は、各々異なる検出時に取得した複数の軸方向位置に基づいて熱変位の量を示す第1の値(第1熱変位量)を算出し、検出温度に基づいて熱変位の量の推定値を示す第2の値(第2熱変位量)を算出し、ワークの加工開始から所定期間内では第1の値を用いて補正量を算出し、所定期間経過後では第2の値を用いて補正量を算出する。
(1) The machine tool 1 described above moves in a predetermined axial direction (for example, the X-axis direction) with respect to a base (bed S) to machine the work W gripped by the main shaft and the work W. A slide portion (e.g., the first X-axis slide portion 45) that adjusts the relative position in the axial direction with the tool, a moving portion (e.g., dog D1) that moves in the axial direction together with the slide portion, and a stationary portion that does not move in the axial direction (for example, the detection unit Sp1) and a detection means (detection mechanism 200) for detecting contact or approach by a predetermined distance;
The control unit 300 functions as calculation means and drive control means. The calculation means acquires an axial position, which is the axial position of the slide portion at the time of detection, based on the detection by the detection means, acquires a detected temperature detected by a temperature sensor St provided at a predetermined location, A correction amount for correcting thermal displacement in the axial direction is calculated based on at least one of the acquired axial position and the detected temperature. The drive control means moves the slide portion to a position obtained by adding a correction amount to the target position.
The calculation means calculates a first value (first thermal displacement amount) indicating the amount of thermal displacement based on a plurality of axial positions acquired at different detection times, and estimates the amount of thermal displacement based on the detected temperature. A second value (second thermal displacement amount) indicating a value is calculated, the correction amount is calculated using the first value within a predetermined period from the start of machining of the work, and the second value is calculated after the predetermined period has passed. is used to calculate the correction amount.

上記(1)の構成によれば、ワークWの加工開始から良好に熱変位補正を行うことができるとともに、スライド部以外の構成に生じる熱変位も考慮した熱変位補正を行うことができる。なお、スライド部の一例をY軸スライド部51とした場合は、検出部Sp2が移動部の一例となり、ドグD2が不動部の一例となる。また、スライド部の一例を第2Z軸スライド部84とした場合は、検出部Sp3が移動部の一例となり、ドグD3が不動部の一例となる。 According to the configuration (1) above, it is possible to satisfactorily correct thermal displacement from the start of machining of the workpiece W, and to perform thermal displacement correction in consideration of thermal displacement occurring in structures other than the slide portion. Note that when an example of the sliding portion is the Y-axis sliding portion 51, the detection portion Sp2 is an example of the moving portion, and the dog D2 is an example of the immovable portion. Further, when an example of the slide portion is the second Z-axis slide portion 84, the detection portion Sp3 is an example of the moving portion, and the dog D3 is an example of the immovable portion.

(2)また、工作機械1は、ワークWを通すことが可能な中空部51Hと、先端が中空部51Hに向く工具Tfとを有する工具部(工具保持部52が設けられたY軸スライド部51)をさらに備える。Y軸移動部50はX軸移動部44に設けられているため、当該工具部は、第1X軸スライド部45(スライド部)とともにX軸方向に移動可能である。また、ドグD1及び検出部Sp1は、X軸方向において中空部51Hよりも外側に位置する。 (2) The machine tool 1 has a hollow portion 51H through which the workpiece W can pass, and a tool portion (a Y-axis slide portion provided with the tool holding portion 52) having a tool Tf whose tip faces the hollow portion 51H. 51). Since the Y-axis moving portion 50 is provided in the X-axis moving portion 44, the tool portion can move in the X-axis direction together with the first X-axis sliding portion 45 (slide portion). Further, the dog D1 and the detection portion Sp1 are positioned outside the hollow portion 51H in the X-axis direction.

上記(2)の構成によれば、前述のように、ワークWの加工において発生する切粉がドグD1及び検出部Sp1に付着することを抑制し、検出精度の低下を防止することができる。また、X軸方向はワークWの径方向であるため、ワークWの径方向における加工精度を高めることができる。 According to the configuration (2) above, as described above, it is possible to prevent chips generated during machining of the workpiece W from adhering to the dog D1 and the detecting portion Sp1, thereby preventing deterioration in detection accuracy. Moreover, since the X-axis direction is the radial direction of the workpiece W, machining accuracy in the radial direction of the workpiece W can be enhanced.

(3)また、ドグD1及び検出部Sp1は、X軸方向において工具部(工具保持部52が設けられたY軸スライド部51)と重ならない位置にある。 (3) In addition, the dog D1 and the detection portion Sp1 are positioned so as not to overlap the tool portion (the Y-axis slide portion 51 provided with the tool holding portion 52) in the X-axis direction.

上記(3)の構成によれば、前述のように、ワークWの加工において発生する切粉がドグD1及び検出部Sp1に付着することを抑制し、検出精度の低下を防止することができる。 According to the above configuration (3), as described above, it is possible to prevent chips generated during machining of the workpiece W from adhering to the dog D1 and the detection part Sp1, thereby preventing deterioration in detection accuracy.

(4)また、不動部としての検出部Sp1は、X軸方向において第1X軸スライド部45よりも外側に位置する接触センサである。 (4) Further, the detection portion Sp1 as a stationary portion is a contact sensor located outside the first X-axis slide portion 45 in the X-axis direction.

上記(4)の構成によれば、前述のように、検出部Sp1に加わる振動を抑制することができ、検出精度の低下を防止することができる。 According to the above configuration (4), as described above, it is possible to suppress the vibration applied to the detection part Sp1, and prevent deterioration of the detection accuracy.

(5)また、算出手段は、複数の温度センサStの各々から検出温度を取得し、複数の温度センサは、第1X軸スライド部45(スライド部)をX軸方向に移動させるためのボールねじ12の周囲温度を検出する温度センサSt1と、ボールねじ12以外の構成の周囲温度を検出する温度センサSt2~St8とを含む。 (5) Further, the calculation means acquires the detected temperature from each of the plurality of temperature sensors St, and the plurality of temperature sensors is a ball screw for moving the first X-axis slide portion 45 (slide portion) in the X-axis direction. 12, and temperature sensors St2 to St8 for detecting the ambient temperature of components other than the ball screw 12. FIG.

上記(5)の構成によれば、スライド部と共に移動しない他ユニットに生じる熱変位を考慮した熱変位補正が可能である。 With configuration (5) above, it is possible to perform thermal displacement correction in consideration of thermal displacement occurring in other units that do not move together with the slide portion.

(6)また、算出手段は、所定期間内では、第1熱変位量(第1の値)だけでなく第2熱変位量(第2の値)も用いて補正量を算出してもよい。 (6) Further, the calculation means may calculate the correction amount using not only the first thermal displacement amount (first value) but also the second thermal displacement amount (second value) within the predetermined period. .

(7)以上に説明したプログラムPGは、工作機械1における所定の軸方向の熱変位に応じた補正量を算出するためのものであって、制御部300(コンピュータの一例)に、検出手段が検出したことに基づいて検出時におけるスライド部の軸方向の位置である軸方向位置を取得する処理と、工作機械1の所定箇所に設けられた温度センサが検出した検出温度を取得する処理と、取得した軸方向位置と検出温度との少なくともいずれかに基づいて熱変位を補正するための補正量を算出する算出処理と、を実行させる。算出処理では、各々異なる検出時に取得した複数の軸方向位置に基づいて熱変位の量を示す第1の値を算出し、検出温度に基づいて熱変位の量の推定値を示す第2の値を算出し、ワークWの加工開始から所定期間内では第1の値を用いて補正量を算出し、所定期間経過後では第2の値を用いて補正量を算出する。 (7) The program PG described above is for calculating the correction amount according to the thermal displacement in the predetermined axial direction in the machine tool 1. The control unit 300 (an example of a computer) includes A process of acquiring the axial position, which is the axial position of the slide portion at the time of detection, based on the detection, a process of acquiring the detected temperature detected by a temperature sensor provided at a predetermined location of the machine tool 1, and a calculation process for calculating a correction amount for correcting thermal displacement based on at least one of the acquired axial position and the detected temperature. In the calculation process, a first value indicative of the amount of thermal displacement is calculated based on a plurality of axial positions obtained during different detections, and a second value indicative of an estimated amount of thermal displacement is calculated based on the detected temperature. is calculated, the correction amount is calculated using the first value within a predetermined period from the start of machining of the workpiece W, and the correction amount is calculated using the second value after the predetermined period has elapsed.

(8)以上に説明した工作機械1における所定の軸方向の熱変位に応じた補正量を算出する補正量算出方法は、検出手段が検出したことに基づいて検出時におけるスライド部の軸方向の位置である軸方向位置を取得するステップと、工作機械1の所定箇所に設けられた温度センサが検出した検出温度を取得するステップと、取得した軸方向位置と検出温度との少なくともいずれかに基づいて熱変位を補正するための補正量を算出する算出ステップと、を備える。算出ステップでは、各々異なる検出時に取得した複数の軸方向位置に基づいて熱変位の量を示す第1の値を算出し、検出温度に基づいて熱変位の量の推定値を示す第2の値を算出し、ワークWの加工開始から所定期間内では第1の値を用いて補正量を算出し、所定期間経過後では第2の値を用いて補正量を算出する。 (8) The correction amount calculation method for calculating the correction amount according to the thermal displacement in the predetermined axial direction in the machine tool 1 described above is based on the detection by the detection means of the axial direction of the slide portion at the time of detection. a step of acquiring an axial position that is a position; a step of acquiring a detected temperature detected by a temperature sensor provided at a predetermined location of the machine tool 1; and a calculating step of calculating a correction amount for correcting the thermal displacement. In the calculating step, a first value indicative of the amount of thermal displacement is calculated based on a plurality of axial positions obtained during different detections, and a second value indicative of an estimated amount of thermal displacement is calculated based on the detected temperature. is calculated, the correction amount is calculated using the first value within a predetermined period from the start of machining of the workpiece W, and the correction amount is calculated using the second value after the predetermined period has elapsed.

上記(7)や(8)の構成によって算出した補正量を用いれば、ワークWの加工開始から良好に熱変位補正を行うことができるとともに、スライド部以外の構成に生じる熱変位も考慮した熱変位補正を行うことができる。 By using the correction amounts calculated by the configurations of (7) and (8) above, it is possible to satisfactorily correct the thermal displacement from the start of processing of the workpiece W, and also consider the thermal displacement occurring in the structure other than the slide portion. Displacement correction can be performed.

以上の説明では、本発明の理解を容易にするために、公知の技術的事項の説明を適宜省略した。 In the above description, descriptions of well-known technical matters are omitted as appropriate in order to facilitate understanding of the present invention.

1…工作機械
2…ベッド
M1…第1加工機構
10…第1X軸スライド機構
20…ワーク保持部
30…第1Z軸スライド機構
40…工具移動機構
41…固定台
44…X軸移動部
45…第1X軸スライド部
50…Y軸移動部
M2…第2加工機構
60…固定台
70…ワーク保持部
80…第2Z軸スライド機構
90…第2X軸スライド機構
100…工具台
200…検出機構
Sp1~Sp3…検出部
D1~D3…ドグ
St(St1~St8)…温度センサ
300…制御部
DESCRIPTION OF SYMBOLS 1... Machine tool 2... Bed M1... 1st processing mechanism 10... 1st X-axis slide mechanism 20... Work holding part 30... 1st Z-axis slide mechanism 40... Tool moving mechanism 41... Fixing base 44... X-axis moving part 45... 1st 1 X-axis slide part 50 Y-axis moving part M2 Second processing mechanism 60 Fixing table 70 Work holding part 80 Second Z-axis slide mechanism 90 Second X-axis slide mechanism 100 Tool table 200 Detection mechanism Sp1 to Sp3 Detector D1 to D3 Dog St (St1 to St8) Temperature sensor 300 Control unit

Claims (6)

基台に対して所定の軸方向に移動し、主軸に把持されたワークと該ワークを加工するための工具との前記軸方向における相対位置を調整するスライド部と、
前記基台に対して不動である検出部であって、前記検出部が前記スライド部に設けられたドグに接触したこと又は所定の距離だけ接近したことを検出する前記検出部と、
前記検出部が検出したことに基づいて検出時における前記スライド部の前記軸方向の位置である軸方向位置を取得し、少なくとも前記スライド部と異なる箇所に設けられた温度センサが検出した検出温度を取得し、取得した軸方向位置と検出温度との少なくともいずれかに基づいて前記軸方向の熱変位を補正するための補正量を算出する算出手段と、
目標位置に前記補正量を加味した位置に前記スライド部を移動させる駆動制御手段と、
を備え、
前記算出手段は、
各々異なる検出時に取得した複数の軸方向位置に基づいて前記熱変位の量を示す第1の値を算出し、検出温度に基づいて前記熱変位の量の推定値を示す第2の値を算出し、
ワークの加工開始から所定期間内では前記第1の値を用いて前記補正量を算出し、前記所定期間経過後では前記第2の値を用いて前記補正量を算出し、
前記第1の値は、前記所定期間内で時間的に変化する前記熱変位の量を示す、
工作機械。
a slide portion that moves in a predetermined axial direction with respect to the base and adjusts the relative position in the axial direction between the workpiece gripped by the spindle and the tool for processing the workpiece;
a detection unit that is immovable with respect to the base and detects that the detection unit has come into contact with a dog provided on the slide unit or has approached the dog by a predetermined distance;
Based on the detection by the detection unit , an axial position, which is the position of the slide unit in the axial direction at the time of detection, is acquired, and at least the detected temperature detected by a temperature sensor provided at a location different from the slide unit is obtained. calculating means for calculating a correction amount for correcting the thermal displacement in the axial direction based on at least one of the acquired axial position and the detected temperature;
drive control means for moving the slide portion to a position obtained by adding the correction amount to the target position;
with
The calculation means is
A first value indicative of the amount of thermal displacement is calculated based on a plurality of axial positions obtained during different detections, and a second value indicative of an estimated amount of thermal displacement is calculated based on the detected temperature. death,
calculating the correction amount using the first value within a predetermined period from the start of machining the workpiece, and calculating the correction amount using the second value after the predetermined period has elapsed ;
the first value indicates an amount of the thermal displacement that changes over time within the predetermined period;
Machine Tools.
ワークを通すことが可能な中空部と、先端が前記中空部に向く前記工具とを有する工具部をさらに備え、
前記工具部は、前記スライド部とともに前記軸方向に移動可能であり、
前記軸方向はワークの径方向であり、
前記ドグ及び前記検出部は、前記軸方向において前記中空部よりも外側に位置する、
請求項1に記載の工作機械。
further comprising a tool portion having a hollow portion through which a work can be passed, and the tool having a tip facing the hollow portion;
The tool portion is movable in the axial direction together with the slide portion,
The axial direction is the radial direction of the workpiece,
The dog and the detection portion are positioned outside the hollow portion in the axial direction,
A machine tool according to claim 1.
基台に対して所定の軸方向に移動し、主軸に把持されたワークと該ワークを加工するための工具との前記軸方向における相対位置を調整するスライド部と、
前記スライド部と共に前記軸方向に移動する移動部と、前記軸方向には移動しない不動部とが接触したこと又は所定の距離だけ接近したことを検出する検出手段と、
前記検出手段が検出したことに基づいて検出時における前記スライド部の前記軸方向の位置である軸方向位置を取得し、所定箇所に設けられた温度センサが検出した検出温度を取得し、取得した軸方向位置と検出温度との少なくともいずれかに基づいて前記軸方向の熱変位を補正するための補正量を算出する算出手段と、
目標位置に前記補正量を加味した位置に前記スライド部を移動させる駆動制御手段と、
を備え、
前記算出手段は、
各々異なる検出時に取得した複数の軸方向位置に基づいて前記熱変位の量を示す第1の値を算出し、検出温度に基づいて前記熱変位の量の推定値を示す第2の値を算出し、
ワークの加工開始から所定期間内では前記第1の値だけでなく前記第2の値も用いて前記補正量を算出し、前記所定期間経過後では前記第2の値を用いて前記補正量を算出する、
工作機械。
a slide portion that moves in a predetermined axial direction with respect to the base and adjusts the relative position in the axial direction between the workpiece gripped by the spindle and the tool for processing the workpiece;
detection means for detecting that the movable portion that moves in the axial direction together with the sliding portion and the stationary portion that does not move in the axial direction come into contact with each other or approach each other by a predetermined distance;
Based on the detection by the detection means, the axial position, which is the axial position of the slide portion at the time of detection, is acquired, and the detected temperature detected by a temperature sensor provided at a predetermined location is acquired. calculation means for calculating a correction amount for correcting the thermal displacement in the axial direction based on at least one of the axial position and the detected temperature;
drive control means for moving the slide portion to a position obtained by adding the correction amount to the target position;
with
The calculation means is
A first value indicative of the amount of thermal displacement is calculated based on a plurality of axial positions obtained during different detections, and a second value indicative of an estimated amount of thermal displacement is calculated based on the detected temperature. death,
The correction amount is calculated using not only the first value but also the second value within a predetermined period from the start of machining of the workpiece, and the correction amount is calculated using the second value after the predetermined period has elapsed. calculate,
Machine Tools.
前記算出手段は、予め用意された互いに異なる長さの複数の期間の中から一の期間を前記所定期間として設定可能である、 The calculating means can set one period as the predetermined period from among a plurality of periods of different lengths prepared in advance,
請求項1乃至3のいずれか1項に記載の工作機械。 A machine tool according to any one of claims 1 to 3.
前記算出手段は、予め定められた条件に応じて前記所定期間を変更可能である、 The calculation means can change the predetermined period according to a predetermined condition,
請求項1乃至4のいずれか1項に記載の工作機械。 A machine tool according to any one of claims 1 to 4.
請求項1乃至5のいずれか1項に記載の工作機械における前記軸方向の熱変位に応じた補正量を算出するためのプログラムであって、
コンピュータを前記算出手段及び前記駆動制御手段として機能させる、
プログラム。
A program for calculating a correction amount according to thermal displacement in the axial direction in the machine tool according to any one of claims 1 to 5 ,
causing a computer to function as the calculation means and the drive control means;
program.
JP2018194829A 2018-10-16 2018-10-16 Machine tool, program and correction amount calculation method Active JP7123732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018194829A JP7123732B2 (en) 2018-10-16 2018-10-16 Machine tool, program and correction amount calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018194829A JP7123732B2 (en) 2018-10-16 2018-10-16 Machine tool, program and correction amount calculation method

Publications (2)

Publication Number Publication Date
JP2020062705A JP2020062705A (en) 2020-04-23
JP7123732B2 true JP7123732B2 (en) 2022-08-23

Family

ID=70386526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018194829A Active JP7123732B2 (en) 2018-10-16 2018-10-16 Machine tool, program and correction amount calculation method

Country Status (1)

Country Link
JP (1) JP7123732B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012024869A (en) 2010-07-22 2012-02-09 Jtekt Corp Method and device for correcting thermal displacement of machine tool
US20120294688A1 (en) 2011-05-18 2012-11-22 The Department Of Electrical Engineering, National Chang-Hua University Of Education Spindle control system for a milling machine
JP2013082022A (en) 2011-10-06 2013-05-09 Tsugami Corp Machine tool, control device, program, and machining method by machine tool
JP2016179525A (en) 2015-03-24 2016-10-13 三井精機工業株式会社 Machine tool and thermal displacement correction method in machine tool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07132438A (en) * 1993-11-05 1995-05-23 Enshu Ltd Ball screw thermal displacement correcting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012024869A (en) 2010-07-22 2012-02-09 Jtekt Corp Method and device for correcting thermal displacement of machine tool
US20120294688A1 (en) 2011-05-18 2012-11-22 The Department Of Electrical Engineering, National Chang-Hua University Of Education Spindle control system for a milling machine
JP2013082022A (en) 2011-10-06 2013-05-09 Tsugami Corp Machine tool, control device, program, and machining method by machine tool
JP2016179525A (en) 2015-03-24 2016-10-13 三井精機工業株式会社 Machine tool and thermal displacement correction method in machine tool

Also Published As

Publication number Publication date
JP2020062705A (en) 2020-04-23

Similar Documents

Publication Publication Date Title
JP5883264B2 (en) Machine tool, control device, program, and machining method by machine tool
JP5515639B2 (en) Machine Tools
JP4469325B2 (en) Thermal displacement correction device
JP5673855B2 (en) Machine Tools
JP5545025B2 (en) Machine Tools
JP4559277B2 (en) NC machine tool thermal displacement compensation method
JPH1158179A (en) Heat displacement correcting method of machine tool and device therefor
JP7123732B2 (en) Machine tool, program and correction amount calculation method
JP6842146B2 (en) How to correct machine tool machining errors
JP2001030141A (en) Thin pipe machining method and its device
JP2008264883A (en) Machining device
JP2018079526A (en) Machine tool and working method
JP3756793B2 (en) Machine tool thermal displacement compensation device
JP5846400B2 (en) Machine tool and its thermal deformation correction method
JP2006116654A (en) Thermal deformation correction method and thermal deformation correcting device of nc machine tool
JP7090018B2 (en) Machine Tools
JP7103136B2 (en) Machine tools and processing methods
JP5531640B2 (en) Feed control device for machine tools
JP2017144527A (en) Correction method of thermal displacement of machine tool
JP6721805B1 (en) Machine Tools
JP4082598B2 (en) Method and apparatus for correcting thermal displacement of numerically controlled machine tool
JP2009258997A (en) Working machine
JP7155843B2 (en) Machine tools and processing methods
JP2022120886A (en) Machine tool
TW202330151A (en) Machining apparatus and control method thereof can determine thermal saturation occurred in apparatus according to actual situation of machining device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220412

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220810

R150 Certificate of patent or registration of utility model

Ref document number: 7123732

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150