JP2012032848A - Numerical control device for multi-spindle machine for machining slope face - Google Patents

Numerical control device for multi-spindle machine for machining slope face Download PDF

Info

Publication number
JP2012032848A
JP2012032848A JP2010169053A JP2010169053A JP2012032848A JP 2012032848 A JP2012032848 A JP 2012032848A JP 2010169053 A JP2010169053 A JP 2010169053A JP 2010169053 A JP2010169053 A JP 2010169053A JP 2012032848 A JP2012032848 A JP 2012032848A
Authority
JP
Japan
Prior art keywords
coordinate system
axis
tool
rotation
axes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010169053A
Other languages
Japanese (ja)
Other versions
JP4945664B2 (en
Inventor
Toshiaki Otsuki
俊明 大槻
Soichiro Ide
聡一郎 井出
Osamu Hanaoka
修 花岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP2010169053A priority Critical patent/JP4945664B2/en
Priority to DE201110108282 priority patent/DE102011108282B4/en
Priority to CN2011102195655A priority patent/CN102375432B/en
Publication of JP2012032848A publication Critical patent/JP2012032848A/en
Application granted granted Critical
Publication of JP4945664B2 publication Critical patent/JP4945664B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/007Automatic control or regulation of feed movement, cutting velocity or position of tool or work while the tool acts upon the workpiece
    • B23Q15/14Control or regulation of the orientation of the tool with respect to the work
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/402Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for positioning, e.g. centring a tool relative to a hole in the workpiece, additional detection means to correct position
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
    • G05B19/4086Coordinate conversions; Other special calculations

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a numerical control device, for multi-axis machines for machining slope faces, capable of parallelizing the direction of a feature coordinate system (Xf, Yf, Zf) to the direction of a tool coordinate system (Xt, Yt, Zt) even to any feature coordinate system command.SOLUTION: This numerical control device controls a multi-spindle machine which performs machining on a slope face of a workpiece by three linear-motion axes for controlling at least the position of a tool with respect to the workpiece attached to a table and three rotational-motion axes for controlling the direction of the tool with respect to the tool. This numerical control device analyzes a command program 81 by analysis means 82, interpolates it by interpolation means 83, drives servos 90x, 90y, 90z, 90a, 90b, and 90c of the respective axes, calculates the positions of the three rotational-motion axes such that the tool coordinate system, or a coordinate system mounted on the tool and moving along with the movement of the tool, is parallelized with the feature coordinate system, or a coordinate system representing the slope face on the workpiece, and drives the three rotational-motion axes.

Description

本発明は、少なくとも直線軸3軸と回転軸3軸とを有する多軸加工機を制御する数値制御装置に関する。特に、テーブル上のワークにおける傾斜面を加工する場合、傾斜面における座標系であるフィーチャ座標系を指令し工具に載る座標系である工具座標系がフィーチャ座標系に平行な方向となるように回転軸を制御する数値制御装置に関する。   The present invention relates to a numerical control device for controlling a multi-axis machining machine having at least three linear axes and three rotation axes. In particular, when machining an inclined surface of a workpiece on a table, the feature coordinate system that is the coordinate system on the inclined surface is commanded, and the tool coordinate system that is the coordinate system placed on the tool is rotated in a direction parallel to the feature coordinate system. The present invention relates to a numerical controller for controlling an axis.

特許文献1には、直線軸3軸と回転軸2軸からなる5軸加工機を対象とし、ワーク上の傾斜面における加工方法が述べられている。5軸加工機には大きく分けて「工具ヘッド回転型」、「テーブル回転型」、「混合型(工具ヘッド、テーブル、両方とも回転)」の3つがある。
本発明は、5軸加工機ではなく、少なくとも直線軸3軸と回転軸3軸からなる多軸加工機を対象としている。図1〜図4は本発明の数値制御装置が制御する多軸加工機の例である。図1に示される例は回転軸3軸で工具ヘッドを回転する工具ヘッド回転型である。図2に示される例はテーブル2軸混合型(回転軸2軸でテーブルを回転し、回転軸1軸で工具ヘッドを回転)、図3に示される例は工具ヘッド2軸混合型(回転軸2軸で工具ヘッドを回転し、回転軸1軸でテーブルを回転)、図4に示される例は回転軸3軸でテーブルを回転するテーブル回転型である。
特許文献2には、第3回転軸の工具位相の制御も含めた工具先端点制御指令に対して、座標変換(傾斜面加工指令)が可能な工具位相制御用数値制御装置が開示されている。
Patent Document 1 describes a machining method on an inclined surface on a workpiece for a five-axis machining machine including three linear axes and two rotation axes. There are three types of 5-axis processing machines: “tool head rotating type”, “table rotating type”, and “mixed type (rotating both tool head and table)”.
The present invention is not a 5-axis machine, but a multi-axis machine having at least 3 linear axes and 3 rotary axes. 1 to 4 are examples of a multi-axis machine controlled by the numerical controller of the present invention. The example shown in FIG. 1 is a tool head rotating type that rotates a tool head around three rotation axes. The example shown in FIG. 2 is a table biaxial mixing type (rotating the table with two rotating shafts and rotating the tool head with one rotating shaft), and the example shown in FIG. The example shown in FIG. 4 is a table rotation type in which the table is rotated by three rotation axes. The tool head is rotated by two axes and the table is rotated by one rotation axis.
Patent Document 2 discloses a numerical control device for tool phase control capable of coordinate transformation (inclined surface machining command) with respect to a tool tip point control command including control of the tool phase of the third rotation axis. .

特開2005−305579号公報JP 2005-305579 A 特開2009−301232号公報JP 2009-301232 A

ワーク上の傾斜面加工のための指令を傾斜面加工指令と呼び、傾斜面加工指令で指令する傾斜面の座標系をフィーチャ座標系と呼ぶ。
工具移動とともに移動する座標系を工具座標系と呼ぶ。つまり、工具座標系とは、回転軸3軸がそれぞれ基準位置である時の工具のX,Y,Z移動方向を表し工具に載って工具の移動と共に移動する座標系である。
例えば図3の機械において工具ヘッド回転軸が基準位置A=A0、B=B0にある時工具方向はZ軸方向とすると、その時の工具座標系は図5の(Xt,Yt,Zt)で表され、X,Y,Z軸移動およびA,B軸移動とともに図6のように変化する。ここで、機械座標系は機械に固定された座標系である。また、例えば工具ヘッド回転軸が存在しない図4の機械においては、図7の(Xt,Yt,Zt)で示す座標系を工具座標系とする。
A command for machining the inclined surface on the workpiece is called an inclined surface machining command, and a coordinate system of the inclined surface commanded by the inclined surface machining command is called a feature coordinate system.
A coordinate system that moves with the tool movement is called a tool coordinate system. That is, the tool coordinate system is a coordinate system that represents the X, Y, and Z movement directions of the tool when the three rotation axes are the reference positions, and moves along with the movement of the tool on the tool.
For example, when the tool head rotation axis is at the reference position A = A0 and B = B0 in the machine of FIG. 3, and the tool direction is the Z-axis direction, the tool coordinate system at that time is represented by (Xt, Yt, Zt) in FIG. Then, it changes as shown in FIG. 6 along with X, Y, Z axis movement and A, B axis movement. Here, the machine coordinate system is a coordinate system fixed to the machine. Further, for example, in the machine of FIG. 4 where there is no tool head rotation axis, the coordinate system indicated by (Xt, Yt, Zt) of FIG. 7 is the tool coordinate system.

傾斜面加工において、次の1),2)のようにフィーチャ座標系と工具座標系との関係を保持する(平行シフトの関係にする)ことが重要である加工がある。   In the inclined surface machining, there is machining in which it is important to maintain the relationship between the feature coordinate system and the tool coordinate system (to make a parallel shift relationship) as in the following 1) and 2).

1)フィーチャ座標系と工具位相の関係を保持することが重要な加工
特許文献2では、ファイバプレースメント機によるファイバプレースメント加工に関する技術が記載されている。傾斜面におけるフィーチャ座標系でのXY指令方向に垂直な方向にローラ方向(工具位相)を保つ必要があり、そのようにローラ方向が第3回転軸で制御されている。工具座標系とフィーチャ座標系を平行な関係にすることができれば、特許文献2のような第3回転軸の特別な制御は不要である。
1) Machining where it is important to maintain the relationship between the feature coordinate system and the tool phase
Patent Document 2 describes a technique related to fiber placement processing using a fiber placement machine. It is necessary to keep the roller direction (tool phase) in a direction perpendicular to the XY command direction in the feature coordinate system on the inclined surface, and the roller direction is controlled by the third rotation axis as such. If the tool coordinate system and the feature coordinate system can be in a parallel relationship, special control of the third rotation axis as in Patent Document 2 is unnecessary.

ただし、本発明により工具座標系とフィーチャ座標系を平行な関係にする場合は、工具方向を制御する回転軸3軸と工具位相を制御する回転軸1軸を持つ機械を対象とする。したがって、特許文献2は、工具方向を制御する回転軸2軸とローラ方向(工具位相)を制御する第3回転軸が装備されている機械に対する技術としては有効な技術である。   However, when the tool coordinate system and the feature coordinate system are in a parallel relationship according to the present invention, a machine having three rotation axes for controlling the tool direction and one rotation axis for controlling the tool phase is targeted. Therefore, Patent Document 2 is an effective technique as a technique for a machine equipped with two rotating shafts for controlling the tool direction and a third rotating shaft for controlling the roller direction (tool phase).

2)フィーチャ座標系のXY方向と工具座標系のXY方向を平行にさせるのが望ましい加工
例えば図4のテーブル回転型多軸加工機で、図7のようなフィーチャ座標系(Xf,Yf)上で矩形経路を加工する場合、図7のワークと工具の位置関係のまま工具座標系(Xt,Yt)のX,Y軸(この例では機械座標系のX軸、Y軸と同じ)を同時動作させて加工することもできる。
2) It is desirable to make the XY direction of the feature coordinate system and the XY direction of the tool coordinate system parallel to each other.
For example, when a rectangular path is machined on the feature coordinate system (Xf, Yf) as shown in FIG. 7 with the table rotary multi-axis machine shown in FIG. 4, the tool coordinate system ( Xt, Yt) X and Y axes (in this example, the same as the X axis and Y axis of the machine coordinate system) can be processed simultaneously.

しかし、図8のようにフィーチャ座標系の(Xf,Yf)方向と工具座標系のXY方向を平行にさせて加工することが望ましい。このケースでは図7のようなワークと工具の位置関係で加工するとX,Y軸の同時動作となり、X,Y軸の両方にバックラッシが発生するなど、少し加工が不安定になる。図8のようにフィーチャ座標系の(Xf,Yf)方向と工具座標系の(Xt,Yt)方向を平行にさせて加工すればX軸のみのバックラッシ発生および1軸のみの動作となり、少し加工が安定し高精度の加工となる。この例はごく簡単な例だが、一般にCAMはフィーチャ座標系の(Xf,Yf)方向と工具座標系の(Xt,Yt)方向が平行であることを想定してプログラムを作成することも多い。したがって、フィーチャ座標系の(Xf,Yf)方向と工具座標系の(Xt,Yt)方向を平行にさせて加工することが望ましい。   However, as shown in FIG. 8, it is desirable that the (Xf, Yf) direction of the feature coordinate system and the XY direction of the tool coordinate system be made parallel to each other. In this case, if machining is performed in the positional relationship between the workpiece and the tool as shown in FIG. 7, the X and Y axes are operated simultaneously, and backlash occurs on both the X and Y axes, and the machining becomes slightly unstable. If machining is performed with the (Xf, Yf) direction of the feature coordinate system and the (Xt, Yt) direction of the tool coordinate system parallel to each other as shown in FIG. 8, backlash occurs only on the X axis and only one axis moves. Is stable and highly accurate. Although this example is a very simple example, in general, a CAM often creates a program assuming that the (Xf, Yf) direction of the feature coordinate system and the (Xt, Yt) direction of the tool coordinate system are parallel. Therefore, it is desirable to perform machining with the (Xf, Yf) direction of the feature coordinate system and the (Xt, Yt) direction of the tool coordinate system parallel.

また、機械構造上フィーチャ座標系の(Xf,Yf,Zf)方向と工具座標系の(Xt,Yt,Zt)方向を平行にさせないと各軸のストロークを越えてしまう場合もある。5軸加工機では軸数の不足から一般にフィーチャ座標系の(Xf,Yf,Zf)方向と工具座標系の(Xt,Yt,Zt)方向を平行にさせることができなかった。そのことは、例えば特許文献1の請求項1に「Z軸まわりの回転角」が発生することが述べられており、この角度分フィーチャ座標系の(Xf,Yf)方向は工具座標系の(Xt,Yt)方向から回転するため、フィーチャ座標系の(Xf,Yf)方向と工具座標系の(Xt,Yt)方向を平行にさせることができなかった。   In addition, the stroke of each axis may be exceeded unless the (Xf, Yf, Zf) direction of the feature coordinate system and the (Xt, Yt, Zt) direction of the tool coordinate system are parallel to each other because of the mechanical structure. In a 5-axis machine, the (Xf, Yf, Zf) direction of the feature coordinate system and the (Xt, Yt, Zt) direction of the tool coordinate system cannot generally be made parallel due to a lack of the number of axes. For example, in claim 1 of Patent Document 1, it is stated that a “rotation angle about the Z axis” occurs, and the (Xf, Yf) direction of the feature coordinate system corresponds to ( Since it rotates from the (Xt, Yt) direction, the (Xf, Yf) direction of the feature coordinate system and the (Xt, Yt) direction of the tool coordinate system cannot be made parallel.

上述したように本発明の課題は、少なくとも直線軸3軸と工具方向を制御する回転軸として3軸存在する工作機械において、どのようなフィーチャ座標系指令に対してもフィーチャ座標系の(Xf,Yf,Zf)方向と工具座標系の(Xt,Yt,Zt)方向を平行にさせることが可能となる数値制御装置を提供することである。   As described above, the problem of the present invention is that a machine tool having at least three linear axes and three rotation axes for controlling the tool direction has a feature coordinate system (Xf, The present invention is to provide a numerical control device capable of making the (Yf, Zf) direction and the (Xt, Yt, Zt) direction of the tool coordinate system parallel to each other.

本願の請求項1に係る発明は、テーブルに取付けられたワークに対して少なくともワークに対する工具位置を制御する直線軸3軸とワークに対する工具方向を制御する回転軸3軸によって前記ワークの傾斜面上で加工を行う多軸加工機を制御する数値制御装置において、前記ワーク上の前記傾斜面を表す座標系であるフィーチャ座標系の指令を解析するフィーチャ座標系指令解析手段と、工具に載って工具の移動と共に移動する座標系である工具座標系が前記フィーチャ座標系に平行となるように前記回転軸3軸を動作させる指令である工具座標系制御指令を解析する工具座標系制御指令解析手段と、前記工具座標系制御指令によって、前記工具座標系が前記フィーチャ座標系に平行となるように前記回転軸3軸の位置を演算する回転軸3軸演算手段と、前記回転軸3軸を前記回転軸3軸演算手段で求めた位置へ駆動する手段を有する数値制御装置である。   In the invention according to claim 1 of the present application, the workpiece is mounted on the inclined surface of the workpiece by at least three linear shafts for controlling the tool position with respect to the workpiece and three rotation shafts for controlling the tool direction with respect to the workpiece. In a numerical control apparatus for controlling a multi-axis machining machine that performs machining with a feature coordinate system command analysis means for analyzing a command of a feature coordinate system that is a coordinate system representing the inclined surface on the workpiece, and a tool mounted on the tool A tool coordinate system control command analysis means for analyzing a tool coordinate system control command that is a command for operating the three rotation axes so that a tool coordinate system that is a coordinate system that moves with the movement of the tool is parallel to the feature coordinate system; The three rotation axes that calculate the positions of the three rotation axes so that the tool coordinate system is parallel to the feature coordinate system by the tool coordinate system control command A calculation unit, a numerical control apparatus having a means for driving the position determined by the rotary shaft 3 axes the rotation shaft 3 axis calculation means.

請求項2に係る発明は、前記テーブルに載って前記テーブルの移動と共に移動する座標系であるテーブル座標系において、前記回転軸3軸が前記回転軸3軸演算手段で求めた位置へ移動しても工具先端点位置が保持される前記直線軸3軸の補正移動量を補間周期毎に演算する直線軸3軸演算手段と、前記直線軸3軸を前記直線軸3軸演算手段で求めた前記補正移動量分駆動する手段を有する請求項1に記載の数値制御装置である。   According to a second aspect of the present invention, in the table coordinate system, which is a coordinate system that is mounted on the table and moves with the movement of the table, the three rotation shafts move to the position obtained by the rotation shaft three-axis calculation means. The linear axis triaxial computing means for computing the correction movement amount of the linear axis triaxial at which the tool tip point position is held for each interpolation period, and the linear axis triaxial is obtained by the linear axis triaxial computing means. The numerical control apparatus according to claim 1, further comprising means for driving the correction movement amount.

請求項3に係る発明は、前記多軸加工機は、前記回転軸3軸で工具ヘッドを回転する6軸加工機、前記回転軸3軸のうち回転軸2軸でテーブルを回転し他の回転軸1軸で工具ヘッドを回転する6軸加工機、前記回転軸3軸のうち回転軸2軸で工具ヘッドを回転し他の回転軸1軸でテーブルを回転する6軸加工機、または前記回転軸3軸でテーブルを回転する6軸加工機である請求項1〜3のいずれか1つに記載の数値制御装置である。   According to a third aspect of the present invention, the multi-axis processing machine is a six-axis processing machine that rotates a tool head with the three rotation shafts, and rotates the table with two rotation shafts among the three rotation shafts to perform other rotations. A six-axis machine that rotates the tool head with one axis, a six-axis machine that rotates the tool head with two rotation axes among the three rotation axes, and rotates the table with one other rotation axis, or the rotation The numerical control device according to claim 1, wherein the numerical control device is a six-axis processing machine that rotates a table with three axes.

本発明により、少なくとも直線軸3軸と工具方向を制御する回転軸として3軸存在する工作機械において、どのようなフィーチャ座標系指令に対してもフィーチャ座標系の(Xf,Yf,Zf)方向と工具座標系の(Xt,Yt,Zt)方向を平行にさせることが可能となる数値制御装置を提供できる。   According to the present invention, in a machine tool having at least three linear axes and three rotation axes for controlling the tool direction, the (Xf, Yf, Zf) direction of the feature coordinate system can be used for any feature coordinate system command. It is possible to provide a numerical control device that can make the (Xt, Yt, Zt) directions of the tool coordinate system parallel.

回転軸3軸で工具ヘッドを回転する工具ヘッド回転型の例を説明する図である。It is a figure explaining the example of the tool head rotation type which rotates a tool head by the rotating shaft 3 axis | shaft. テーブル2軸混合型(回転軸2軸でテーブルを回転し、回転軸1軸で工具ヘッドを回転)の例を説明する図である。It is a figure explaining the example of a table 2 axis | shaft mixed type (a table is rotated with 2 rotating shafts, and a tool head is rotated with 1 rotating shaft). 工具ヘッド2軸混合型(回転軸2軸で工具ヘッドを回転し、回転軸1軸でテーブルを回転)の例を説明する図である。It is a figure explaining the example of a tool head 2 axis | shaft mixed type (A tool head is rotated with 2 rotating shafts, and a table is rotated with 1 rotating shaft.). 回転軸3軸でテーブルを回転するテーブル回転型の例を説明する図である。It is a figure explaining the example of the table rotation type which rotates a table by the rotating shaft 3 axis | shaft. 図3の機械において工具座標系を説明する図である。It is a figure explaining a tool coordinate system in the machine of FIG. X,Y,Z軸移動およびA,B軸移動とともに工具座標系が変化することを説明する図である。It is a figure explaining that a tool coordinate system changes with X, Y, Z-axis movement and A, B-axis movement. 図4のテーブル回転型多軸加工機を用いてフィーチャ座標系(Xf,Yf)上で矩形経路を加工する場合を説明する図である。It is a figure explaining the case where a rectangular path | route is processed on a feature coordinate system (Xf, Yf) using the table rotation type multi-axis processing machine of FIG. フィーチャ座標系の(Xf,Yf)方向と工具座標系の(Xt,Yt)方向を平行にさせて加工することが望ましいことを説明する図である。It is a figure explaining that it is desirable to process by making the (Xf, Yf) direction of a feature coordinate system and the (Xt, Yt) direction of a tool coordinate system parallel. 機械座標系、テーブル座標系、およびフィーチャ座標系の関係を説明する図である。It is a figure explaining the relationship between a machine coordinate system, a table coordinate system, and a feature coordinate system. 傾斜面加工指令モードを指令するブロックを含む指令プログラムの例である。It is an example of the command program containing the block which commands an inclined surface process command mode. 工具ヘッド回転から発生する補正移動量を説明する図である。It is a figure explaining the correction | amendment movement amount which arises from tool head rotation. テーブル回転から発生する補正移動量を説明する図である。It is a figure explaining the correction | amendment movement amount which arises from table rotation. 本発明に係る数値制御装置の機能ブロック図である。It is a functional block diagram of the numerical control apparatus which concerns on this invention. フィーチャ座標系指令解析手段、工具座標系指令解析手段、回転軸3軸演算手段における処理を説明するフローチャートである。It is a flowchart explaining the process in a feature coordinate system command analysis means, a tool coordinate system command analysis means, and a rotation axis 3 axis calculation means. 直線軸3軸演算手段の処理を説明するフローチャートである。It is a flowchart explaining the process of a linear axis | shaft 3 axis | shaft calculating means. 本発明の一実施形態である傾斜面を加工する多軸加工機用数値制御装置のブロック図である。It is a block diagram of a numerical control device for a multi-axis machine that processes an inclined surface according to an embodiment of the present invention.

以下、本発明の実施形態を図面と共に説明する。
回転軸3軸を、A軸、B軸、C軸とし、機械構成上の工具からテーブルへの軸順はA軸,B軸,C軸の順とする。テーブル回転軸が複数である場合それらは交叉する。工具ヘッド回転軸が複数ある場合もそれらは交叉するとともに工具中心軸とも交叉するとする。工具座標系原点は、工具ヘッド回転軸が複数ある場合はそれらの交叉位置、工具ヘッド回転軸が1軸の場合はその回転軸と工具中心軸との交叉位置、工具ヘッド回転軸が存在しない場合は工具軸と工具ヘッド端面の交叉位置とする。テーブル回転軸が複数ある場合テーブル回転軸交叉位置を原点(P0)とし、テーブル回転軸が1軸である場合その回転中心の適当な位置を原点(P0)とし、テーブル移動とともに移動する座標系をテーブル座標系とする。テーブル回転軸が存在しない場合(工具ヘッド回転型)は、機械座標系原点からP0離れた位置をテーブル座標系原点とする。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The three rotation axes are the A axis, the B axis, and the C axis, and the axis order from the tool to the table in the machine configuration is the order of the A axis, the B axis, and the C axis. If there are multiple table rotation axes, they intersect. When there are a plurality of tool head rotation axes, they intersect and also intersect with the tool center axis. The tool coordinate system origin is the crossover position when there are multiple tool head rotation axes, the crossover position between the rotation axis and the tool center axis when there is one tool head rotation axis, and the tool head rotation axis does not exist Is the intersection of the tool axis and the end face of the tool head. If there are multiple table rotation axes, the table rotation axis crossing position is the origin (P0). If the table rotation axis is one axis, the appropriate position of the rotation center is the origin (P0). The table coordinate system is used. When the table rotation axis does not exist (tool head rotation type), the position that is P0 away from the machine coordinate system origin is set as the table coordinate system origin.

ここでは、A,B,C軸の基準位置は、A=0,B=0,C=0度の位置とし、その時のテーブル座標系、工具座標系は機械座標系と平行であるとする。また、その時のフィーチャ座標系を(Xf,Yf,Zf)としたとき、Xf方向のテーブル座標系上の単位ベクトルをi(ix,iy,iz)Tとする。同様にZf方向をk(kx,ky,kz)Tとする(図9参照)。ここで「T」は転置を表すが、以降自明な場合特に記載しない。 Here, it is assumed that the reference positions of the A, B, and C axes are positions of A = 0, B = 0, and C = 0 degrees, and the table coordinate system and tool coordinate system at that time are parallel to the machine coordinate system. If the feature coordinate system at that time is (Xf, Yf, Zf), the unit vector on the table coordinate system in the Xf direction is i (ix, iy, iz) T. Similarly, let the Zf direction be k (kx, ky, kz) T (see FIG. 9). Here, “ T ” represents transposition, but will not be described in particular if it is obvious thereafter.

フィーチャ座標系の指令の仕方については、特許文献1や特許文献2には、接線方向ベクトル(上記のXf方向)と法線方向ベクトル(上記のZf方向)で指令する方法や、オイラー角で指令する方法が記載されている。その他にも、ロール・ピッチ・ヨー角で指令する方法、投影角で指令する方法、3点位置で指令する方法、工具方向で指令する方法など様々な指令方法がある。なお、ここではA=0,B=0,C=0度の位置を基準位置としたが、他の位置を基準位置とする場合は、上記の「A=0,B=0,C=0度の位置」という条件を他の基準位置とすればよい。   Regarding how to command the feature coordinate system, in Patent Document 1 and Patent Document 2, there are a method of commanding with a tangential direction vector (Xf direction above) and a normal direction vector (Zf direction above), or a command with Euler angles. How to do is described. In addition, there are various command methods such as a command method using a roll, pitch, and yaw angle, a command method using a projection angle, a command method using a three-point position, and a command method using a tool direction. Here, the position at A = 0, B = 0, and C = 0 degrees is set as the reference position. However, when the other position is set as the reference position, the above-described “A = 0, B = 0, C = 0. The condition “degree position” may be set as another reference position.

次に、指令プログラムについて説明する。
指令プログラムは図10のような指令である。G68.2は傾斜面加工指令モードを指令するGコードであり、G68.2ブロックのX_Y_Z_でテーブル座標系上のフィーチャ座標系原点位置(図9中のPf)を指令し、I_J_K_でフィーチャ座標系の傾き角を指令する。これにより、フィーチャ座標系(Xf,Yf,Zf)(図9参照)が指令される。
G68.2ブロックがフィーチャ座標系指令であり、このブロックを解析する手段がフィーチャ座標系指令解析手段である。傾き角の指令にはオイラー角、ロール・ピッチ・ヨー角など様々な指令方法がある。G53.1がフィーチャ座標系の(Xf,Yf,Zf)方向と工具座標系の(Xt,Yt,Zt)方向を平行にさせるように回転軸を動作させる工具座標系制御指令であり、このブロックを解析する手段が工具座標系制御指令解析手段である。
G69は傾斜面加工指令モードのキャンセルの指令である。その間にはフィーチャ座標系上で通常の直線補間や円弧補間などを指令でき、X_Y_Z_指令はその加工指令位置を示す。
Next, the command program will be described.
The command program is a command as shown in FIG. G68.2 is a G code for instructing an inclined surface machining command mode, and the feature coordinate system origin position (Pf in FIG. 9) on the table coordinate system is designated by X_Y_Z_ of the G68.2 block, and the feature coordinate system is designated by I_J_K_. Command the tilt angle. Thereby, the feature coordinate system (Xf, Yf, Zf) (see FIG. 9) is commanded.
The G68.2 block is a feature coordinate system command, and means for analyzing this block is feature coordinate system command analysis means. There are various command methods for tilt angle such as Euler angle, roll, pitch, and yaw angle. G53.1 is a tool coordinate system control command for operating the rotation axis so that the (Xf, Yf, Zf) direction of the feature coordinate system and the (Xt, Yt, Zt) direction of the tool coordinate system are parallel to each other. Is a tool coordinate system control command analysis means.
G69 is a command for canceling the inclined surface machining command mode. In the meantime, normal linear interpolation, circular interpolation, etc. can be commanded on the feature coordinate system, and the X_Y_Z_ command indicates the machining command position.

次に、演算方法を説明する。
1)回転軸の演算方法
工具座標系がフィーチャ座標系に平行となるように回転軸3軸の位置を演算することは、(ix,iy,iz)、(kx,ky,kz)とAt,Bt,Ctに関する数1式の方程式を解いてAt,Bt,Ctを得ることである。これが回転軸3軸演算手段における演算である(図13,図14を参照)。
Next, a calculation method will be described.
1) Rotation axis calculation method
Calculating the positions of the three rotation axes so that the tool coordinate system is parallel to the feature coordinate system is expressed by Equation 1 regarding (ix, iy, iz), (kx, ky, kz) and At, Bt, Ct. To obtain At, Bt, and Ct. This is the calculation in the rotation axis triaxial calculation means (see FIGS. 13 and 14).

Rat,Rbt,Rctを積算することは、回転軸A,B,C軸をAt,Bt,Ctだけ回転することによる工具座標系からテーブル座標系への回転変換である。したがって、数1式を解くことは、工具座標系のX方向(1,0,0)、Z方向(0,0,1)が回転軸A,B,C軸を回転することによる工具座標系からテーブル座標系への回転変換によってテーブル座標系で指令されたフィーチャ座標系のXf方向(ix,iy,iz),Zf方向(kx,ky,kz)となる回転軸A,B,C軸の位置At,Bt,Ctを求めることである。   Accumulating Rat, Rbt, and Rct is rotational conversion from the tool coordinate system to the table coordinate system by rotating the rotation axes A, B, and C by At, Bt, and Ct. Therefore, solving Equation 1 is to use the tool coordinate system in which the X direction (1, 0, 0) and Z direction (0, 0, 1) of the tool coordinate system rotate the rotation axes A, B, and C. Of the rotation axes A, B, and C in the Xf direction (ix, iy, iz) and Zf direction (kx, ky, kz) of the feature coordinate system commanded in the table coordinate system by rotational conversion from to the table coordinate system The positions At, Bt, and Ct are obtained.

これは、数2式のように解くことができる。この解き方は1例であり、他の解き方もある。   This can be solved as shown in Equation 2. This solving method is an example, and there are other solving methods.

回転軸A,B,C軸を求めたAt,Bt,Ctの位置に移動する移動指令を作成しその指令によってA,B,C軸を移動することにより、工具座標系がフィーチャ座標系に平行となるようにすることができる。
なお、段落「0007」では容易な理解のために「本発明により工具座標系とフィーチャ座標系を平行な関係にする場合は、工具方向を制御する回転軸3軸と工具位相を制御する回転軸1軸を持つ機械を対象とする。」と記載したが、実際は工具位相として上記Xf方向(ix,iy,iz)がブロック毎または補間周期毎に変化するとすれば、そのXf方向(およびZf方向)に対して数1式,数2式を適用することによって、工具位相を制御する回転軸1軸を持たず工具方向を制御する回転軸3軸のみを持つ機械であっても、工具位相を指令された方向に制御することは可能である。
By creating a movement command to move to the positions of At, Bt, and Ct for which the rotation axes A, B, and C are obtained, and moving the A, B, and C axes by the command, the tool coordinate system is parallel to the feature coordinate system. Can be.
In the paragraph “0007”, for easy understanding, “when the tool coordinate system and the feature coordinate system are in a parallel relationship according to the present invention, the three rotation axes for controlling the tool direction and the rotation axis for controlling the tool phase” However, in reality, if the Xf direction (ix, iy, iz) changes as a tool phase for each block or every interpolation cycle, the Xf direction (and the Zf direction). By applying the formula 1 and the formula 2, the tool phase can be obtained even in a machine having only one rotary axis for controlling the tool direction without having one rotary axis for controlling the tool phase. It is possible to control in the commanded direction.

2)工具先端点保持の直線軸の演算方法
上記で求めた位置に回転軸3軸を動作させることにより、工具ヘッドまたはテーブルが回転する。この時、直線軸3軸は移動しないとすると、テーブル座標系上で工具先端点が移動する。回転軸動作によって工具先端点が移動するとワークなどに接触する危険性があり、工具先端点が移動することは望ましくない場合がある。その場合は、回転軸3軸の動作とともにテーブル座標系上で工具先端点が保持されるように直線軸3軸も補正移動を行う。
2) Calculation method of linear axis for holding tool tip point The tool head or table is rotated by operating the three rotation axes at the position obtained above. At this time, if the three linear axes do not move, the tool tip moves on the table coordinate system. When the tool tip point moves due to the rotation axis operation, there is a risk of contact with a workpiece or the like, and it may be undesirable for the tool tip point to move. In that case, the three linear axes are also corrected and moved so that the tool tip point is held on the table coordinate system along with the operation of the three rotational axes.

プログラム指令としては図10におけるG53.1の代わりにG53.6を指令する。G53.6は、フィーチャ座標系の(Xf,Yf,Zf)方向と工具座標系の(Xt,Yt,Zt)方向を平行にさせるように回転軸を動作させるとともに、テーブル座標系上の工具先端点位置を保持するように直線軸3軸も補正移動を行う指令でもある。これも工具座標系制御指令である。
次に、直線軸3軸の補正移動量の求め方を説明する。
As a program command, G53.6 is commanded instead of G53.1 in FIG. G53.6 operates the rotation axis so that the (Xf, Yf, Zf) direction of the feature coordinate system and the (Xt, Yt, Zt) direction of the tool coordinate system are parallel, and the tool tip on the table coordinate system. It is also a command to perform the correction movement of the three linear axes so as to hold the point positions. This is also a tool coordinate system control command.
Next, how to obtain the correction movement amount of the three linear axes will be described.

2−1)工具ヘッド回転から発生する補正移動量
工具ヘッドが回転することから発生する直線軸3軸の補正移動量Cmh(Cmhx,Cmhy,Cmhz)は数3式のように計算する。この計算は補間周期毎に行う。ここでは、補間周期t1から補間周期t2への直線軸3軸の補正移動量Cmhの計算である。これは、図11のように工具ヘッド回転によって発生する工具先端点の移動量を反転した移動量である。
2-1) Corrected Movement Amount Generated by Tool Head Rotation Corrected movement amount Cmh (Cmhx, Cmhy, Cmhz) of the three linear axes generated by the rotation of the tool head is calculated as shown in Equation 3. This calculation is performed every interpolation period. Here, the correction movement amount Cmh of the three linear axes from the interpolation cycle t1 to the interpolation cycle t2 is calculated. This is a movement amount obtained by reversing the movement amount of the tool tip point generated by the rotation of the tool head as shown in FIG.

T0は基準位置A=0,B=0,C=0における工具長補正ベクトル(基準工具長補正ベクトル)である。
Tl1は補間周期t1における回転軸位置A=A1,B=B1,C=C1での工具長補正ベクトルであり、Tl1=Rh1*T0である。Tl2は補間周期t2における回転軸位置A=A2,B=B2,C=C2での工具長補正ベクトルであり、Tl2=Rh2*T0である。RhαはRcα,Rbα,Raα(α=1,2)のうち工具ヘッド回転に関わる回転軸の補間周期tα(α=1,2)における回転軸位置によるマトリックスの積である。つまり、図1の例では、Rhα=Rcα*Rbα*Raα、図2の例では、Rhα=Raα、図3の例では、Rhα=Rbα*Raα、図4の例では、Rhαは単位マトリックスである。Rcα,Rbα,Raα(α=1,2)は数4式のように表される。
T0 is a tool length correction vector (reference tool length correction vector) at the reference positions A = 0, B = 0, and C = 0.
Tl1 is a tool length correction vector at the rotation axis position A = A1, B = B1, C = C1 in the interpolation cycle t1, and Tl1 = Rh1 * T0. Tl2 is a tool length correction vector at the rotation axis positions A = A2, B = B2, C = C2 in the interpolation cycle t2, and Tl2 = Rh2 * T0. Rhα is a matrix product according to the rotation axis position in the interpolation cycle tα (α = 1, 2) of the rotation axis related to the rotation of the tool head among Rcα, Rbα, Raα (α = 1, 2). That is, Rhα = Rcα * Rbα * Raα in the example of FIG. 1, Rhα = Raα in the example of FIG. 2, Rhα = Rbα * Raα in the example of FIG. 3, and Rhα in the example of FIG. 4 is a unit matrix. . Rcα, Rbα, Raα (α = 1, 2) are expressed by the following equation (4).

2−2)テーブル回転から発生する補正移動量
テーブルが回転することから発生する直線軸3軸の補正移動量Cmt(Cmtx,Cmty,Cmtz)は数5式のように計算する。この計算は補間周期毎に行う。ここでは、補間周期t1から補間周期t2への直線軸3軸の補正移動量Cmtの計算である。これは、図12のようにテーブル回転に対してテーブルと工具先端点の相対位置が保持されるように工具先端点を追従させる移動量である。
2-2) Correction movement amount generated from table rotation The correction movement amount Cmt (Cmtx, Cmty, Cmtz) of the three linear axes generated from the rotation of the table is calculated as shown in Equation 5. This calculation is performed every interpolation period. Here, the correction movement amount Cmt of the three linear axes from the interpolation cycle t1 to the interpolation cycle t2 is calculated. This is the amount of movement that causes the tool tip to follow so that the relative position of the table and the tool tip is maintained with respect to the table rotation as shown in FIG.

RtαはRcα,Rbα,Raα(α=1,2)のうちテーブル回転に関わる回転軸の補間周期tαにおける回転軸位置Aα,Bα,Cα(α=1,2)によるマトリックスの積である。つまり、図1の例では、Rtαは単位マトリックス、図2の例では、Rtα=Rcα*Rbα、図3の例では、Rtα=Rcα、図4の例では、Rtα=Rcα*Rbα*Raαである。Rtα―1はそれらの逆マトリックスである。Rcα,Rbα,Raα(α=1,2)については数4式に記載している。 Rtα is a matrix product of the rotation axis positions Aα, Bα, Cα (α = 1, 2) in the interpolation cycle tα of the rotation axis related to table rotation among Rcα, Rbα, Raα (α = 1, 2). That is, in the example of FIG. 1, Rtα is a unit matrix, in the example of FIG. 2, Rtα = Rcα * Rbα, in the example of FIG. 3, Rtα = Rcα, and in the example of FIG. 4, Rtα = Rcα * Rbα * Raα. . Rtα −1 is their inverse matrix. Rcα, Rbα, Raα (α = 1, 2) are described in Formula 4.

TpはG53.6指令時の工具先端点ベクトル(テーブル回転中心(=テーブル座標系原点)から工具先端点へのテーブル座標系上のベクトル)であり、数6式のように計算される。
TlはG53.6指令時の機械座標系での工具長補正ベクトル、PmはG53.6指令時の機械座標系でのX,Y,Z軸位置、P0は機械座標系におけるテーブル座標系原点である。
Tp is the tool tip point vector (the vector on the table coordinate system from the table rotation center (= table coordinate system origin) to the tool tip point) at the time of the command G53.6, and is calculated as shown in Equation 6.
Tl is the tool length correction vector in the machine coordinate system at the time of G53.6 command, Pm is the X, Y, Z axis position in the machine coordinate system at the time of G53.6 command, P0 is the table coordinate system origin in the machine coordinate system is there.

Rhcは、G53.6指令時の工具ヘッド回転に関わる回転軸位置によるマトリックスの積である。つまり、G53.6指令時のA,B,C軸位置をAc,Bc,Ccとすると、図1の例では、Rhc=Rcc*Rbc*Rac、図2の例では、Rhc=Rac、図3の例では、Rhc=Rbc*Rac、図4の例では、Rhcは単位マトリックスである。同様に、Rtcは、G53.6指令時のテーブル回転に関わる回転軸位置によるマトリックスの積である。つまり、図1の例では、Rtcは単位マトリックス、図2の例では、Rtc=Rcc*Rbc、図3の例では、Rtc=Rcc、図4の例では、Rtc=Rcc*Rbc*Racである。   Rhc is the product of the matrix by the rotation axis position related to the rotation of the tool head at the time of G53.6 command. That is, assuming that the A, B, and C axis positions at the time of the G53.6 command are Ac, Bc, and Cc, Rhc = Rcc * Rbc * Rac in the example of FIG. 1, Rhc = Rac in the example of FIG. In the example of FIG. 4, Rhc = Rbc * Rac, and in the example of FIG. 4, Rhc is a unit matrix. Similarly, Rtc is a matrix product based on the rotation axis position related to the table rotation at the time of the G53.6 command. That is, Rtc is a unit matrix in the example of FIG. 1, Rtc = Rcc * Rbc in the example of FIG. 2, Rtc = Rcc in the example of FIG. 3, and Rtc = Rcc * Rbc * Rac in the example of FIG. .

Rac,Rbc,Rccは数4式と同様、次の数7式のように表される。   Rac, Rbc, and Rcc are represented by the following formula 7, similar to the formula 4.

なお、図12は工具ヘッドとテーブルに回転軸を持った多軸加工機を模した図である。工具ヘッドに回転軸1軸、テーブルに回転軸1軸を持ちそれらの回転軸中心が平行であるイメージの図としているが、図示の便宜上そのような構成にしているものである。つまり、図1〜図4のように、一般に工具ヘッドの回転軸中心とテーブルの回転軸中心は平行ではなく、かつそれぞれ0〜3軸の回転軸を持つが、図示の便宜上、回転軸中心が紙面に垂直な工具ヘッドの回転軸1軸、テーブルの回転軸1軸のイメージでそれらを統一的かつ概念的に表している。   FIG. 12 is a diagram simulating a multi-axis processing machine having a rotating shaft on the tool head and the table. Although the drawing shows an image in which the tool head has one rotating shaft and the table has one rotating shaft, the centers of the rotating shafts are parallel to each other. That is, as shown in FIGS. 1 to 4, generally, the rotation axis center of the tool head and the rotation axis center of the table are not parallel and each has 0 to 3 rotation axes. These images are unified and conceptually represented by an image of one rotation axis of the tool head perpendicular to the paper surface and one rotation axis of the table.

2−3)統合補正移動量
工具ヘッド回転とテーブル回転から発生する補正移動量を数8式のように統合する。これが、直線軸3軸演算手段による工具先端点位置を保持する直線軸3軸の補正移動量Cmc(Cmcx,Cmcy,Cmcz)である。直線軸3軸は、前回補間周期をt1、今回補間周期をt2として、補間周期毎にこの補正移動量分の移動を行う。
2-3) Integrated correction movement amount The correction movement amount generated from the tool head rotation and the table rotation is integrated as shown in Formula 8. This is the correction movement amount Cmc (Cmcx, Cmcy, Cmcz) of the three linear axes that hold the tool tip point position by the linear axis three-axis computing means. The three linear axes move by the correction movement amount for each interpolation period, with the previous interpolation period being t1 and the current interpolation period being t2.

一般に、工作機械を制御する数値制御装置は、指令プログラム81を解析手段82で解析し補間手段83で補間し各軸のサーボ90x,90y,90z,90a,90b,90cを駆動する。本発明におけるフィーチャ座標系指令解析手段84、工具座標系制御指令解析手段85、回転軸3軸演算手段86は、解析手段82に属する。直線軸3軸演算手段87は補間手段83に属する(図13参照)。   In general, a numerical control device that controls a machine tool analyzes a command program 81 with an analysis unit 82 and interpolates with an interpolation unit 83 to drive servos 90x, 90y, 90z, 90a, 90b, and 90c for each axis. The feature coordinate system command analysis means 84, the tool coordinate system control command analysis means 85, and the rotation axis triaxial calculation means 86 in the present invention belong to the analysis means 82. The linear axis / three axis calculation means 87 belongs to the interpolation means 83 (see FIG. 13).

フィーチャ座標系指令解析手段84、工具座標系制御指令解析手段85、回転軸3軸演算手段86のフローチャートは図14のようになる。ステップSA100がフィーチャ座標系指令解析手段84、ステップSA101が工具座標系制御指令解析手段85と回転軸3軸演算手段86である。ステップSA100で、フィーチャ座標系指令を解析し、フィーチャ座標系(Xf,Yf,Zf)のXf方向(ix,iy,iz)、Zf方向(kx,ky,kz)を得る。ステップSA101で、工具座標系制御指令を解析し、数1式、数2式よりAt,Bt,Ctを得、A,B,C軸のAt,Bt,Ctへの移動指令を作成する。   FIG. 14 is a flowchart of the feature coordinate system command analysis unit 84, the tool coordinate system control command analysis unit 85, and the rotation axis triaxial calculation unit 86. Step SA100 is a feature coordinate system command analysis means 84, and step SA101 is a tool coordinate system control command analysis means 85 and a rotary axis triaxial calculation means 86. In step SA100, the feature coordinate system command is analyzed to obtain the Xf direction (ix, iy, iz) and Zf direction (kx, ky, kz) of the feature coordinate system (Xf, Yf, Zf). In step SA101, the tool coordinate system control command is analyzed, At, Bt, and Ct are obtained from Formula 1 and Formula 2, and a movement command to At, Bt, and Ct of the A, B, and C axes is created.

直線軸3軸演算手段87は図15のようになる。数3式のT0、および数6式のTp,Tlは、別途得られているとする。また、前回補間周期t1でのA,B,C軸位置A1,B1,C1は、前回補間周期での各軸位置を記憶するなどによって別途得られているとする。
ステップSB100で、今回の補間周期t2でのA,B,C軸位置A2,B2,C2を得る。ステップSB101で、数3式により、工具ヘッド回転から発生する直線軸3軸の補正移動量Cmhを演算する。ステップSB102で、数5式により、テーブル回転から発生する直線軸3軸の補正移動量Cmtを演算する。ステップSB103で、数8式により、直線軸3軸の統合補正移動量Cmcを演算し、直線軸3軸の移動量とする。
The linear axis triaxial calculating means 87 is as shown in FIG. It is assumed that T0 in Equation 3 and Tp and Tl in Equation 6 are obtained separately. Further, it is assumed that the A, B, and C axis positions A1, B1, and C1 in the previous interpolation cycle t1 are separately obtained by storing the respective axis positions in the previous interpolation cycle.
In step SB100, A, B, and C axis positions A2, B2, and C2 at the current interpolation cycle t2 are obtained. In step SB101, the correction movement amount Cmh of the three linear axes generated from the rotation of the tool head is calculated by the equation (3). In step SB102, the corrected movement amount Cmt of the three linear axes generated from the table rotation is calculated by the equation (5). In step SB103, the integrated correction movement amount Cmc of the three linear axes is calculated by Equation 8 to obtain the movement amount of the three linear axes.

図16は、本発明の一実施形態である傾斜面を加工する多軸加工機用数値制御装置のブロック図である。多軸加工機用数値制御装置100は、図14,図15に示されるフローチャートの処理を実行し、ワークの傾斜面加工を行うことができる。CPU11は数値制御装置を全体的に制御するプロセッサである。CPU11は、ROM12に格納されたシステムプログラムをバス20を介して読み出し、該システムプログラムに従って数値制御装置100の全体を制御する。RAM13は一時的な計算データや表示データ及びLCD/MDIユニット70を介してオペレータが入力した各種データが格納される。   FIG. 16 is a block diagram of a numerical control apparatus for a multi-axis machine that processes an inclined surface according to an embodiment of the present invention. The numerical control device 100 for a multi-axis machine can execute the processing of the flowcharts shown in FIGS. 14 and 15 to perform the inclined surface machining of the workpiece. The CPU 11 is a processor that controls the numerical controller as a whole. The CPU 11 reads a system program stored in the ROM 12 via the bus 20 and controls the entire numerical controller 100 according to the system program. The RAM 13 stores temporary calculation data and display data and various data input by the operator via the LCD / MDI unit 70.

SRAMメモリ14は図示しないバッテリでバックアップされ、数値制御装置100の電源がオフされても記憶状態が保持される不揮発性メモリとして構成される。SRAMメモリ14中には、インタフェース15を介して読み込まれた加工プログラムやLCD/MDIユニット70を介して入力された加工プログラム等が記憶される。本発明を実施する加工プログラム等の各種加工プログラムはインタフェース15やLCD/MDIユニット70を介して入力し、SRAMメモリ14に格納することができる。   The SRAM memory 14 is configured as a non-volatile memory that is backed up by a battery (not shown) and that retains the memory state even when the numerical controller 100 is turned off. In the SRAM memory 14, a machining program read via the interface 15, a machining program input via the LCD / MDI unit 70, and the like are stored. Various machining programs such as machining programs for implementing the present invention can be input via the interface 15 or the LCD / MDI unit 70 and stored in the SRAM memory 14.

また、ROM12には、加工プログラムの作成及び編集のために必要とされる編集モードの処理や自動運転のための処理を実施するための各種システムプログラムが予め書き込まれている。傾斜面加工を行うための本発明に係るプログラムもROM12に格納されている。   The ROM 12 is pre-stored with various system programs for executing processing in an editing mode and processing for automatic operation required for creating and editing a machining program. A program according to the present invention for performing inclined surface machining is also stored in the ROM 12.

インタフェース15は、数値制御装置100とアダプタ等の外部機器72との接続を可能とするものである。外部機器72側からは加工プログラムや各種パラメータ等が読み込まれる。また、数値制御装置100内で編集した加工プログラムは、外部機器72を介して外部記憶手段に記憶させることができる。   The interface 15 enables connection between the numerical controller 100 and an external device 72 such as an adapter. A machining program, various parameters, and the like are read from the external device 72 side. Further, the machining program edited in the numerical control apparatus 100 can be stored in the external storage means via the external device 72.

PMC(プログラマブル・マシン・コントローラ)16は、数値制御装置100に内蔵されたシーケンスプログラムを用いて工作機械の補助装置(例えば、工具交換装置)にI/Oユニット17を介して信号を出力し制御する。また、工作機械本体に配備された操作盤の各種スイッチ等の信号を受け、必要な信号処理を行った後、CPU11に渡す。   A PMC (programmable machine controller) 16 uses a sequence program built in the numerical control device 100 to output a signal to an auxiliary device (for example, a tool changer) of a machine tool via the I / O unit 17 for control. To do. In addition, after receiving signals from various switches on the operation panel provided in the machine tool body and performing necessary signal processing, the signals are transferred to the CPU 11.

LCD/MDIユニット70はディスプレイやキーボードを備えた手動データ入力装置であり、インタフェース18はLCD/MDIユニット70のキーボードからの指令、データを受けてCPU11に渡す。インタフェース19は手動パルス発生器を備えた操作盤71に接続されている。   The LCD / MDI unit 70 is a manual data input device having a display and a keyboard. The interface 18 receives commands and data from the keyboard of the LCD / MDI unit 70 and passes them to the CPU 11. The interface 19 is connected to an operation panel 71 having a manual pulse generator.

各軸のサーボ制御手段30〜35はCPU11からの各軸の移動指令を受けて、各軸の指令をサーボアンプ40〜45に出力する。サーボアンプ40〜45はこの指令を受けて、各軸のサーボモータ50〜55を駆動する。各軸のサーボモータ50〜55は位置検出装置(図示省略)を内蔵しており、この位置検出装置からのフィードバック信号をサーボ制御手段30〜35にフィードバックする。各軸のサーボ制御手段30〜35は、該フィードバック信号に基づいて位置と速度のフィードバック制御を行う。   The servo control means 30 to 35 for each axis receives the movement command for each axis from the CPU 11 and outputs the command for each axis to the servo amplifiers 40 to 45. The servo amplifiers 40 to 45 receive this command and drive the servo motors 50 to 55 for each axis. The servo motors 50 to 55 for each axis incorporate a position detection device (not shown), and feed back a feedback signal from the position detection device to the servo control means 30 to 35. The servo control means 30 to 35 for each axis performs position and speed feedback control based on the feedback signal.

81 指令プログラム
82 解析手段
83 補間手段
84 フィーチャ座標系指令解析手段
85 工具座標系制御指令解析手段
86 回転軸3軸演算手段
87 直線軸3軸演算手段
90x X軸サーボ
90y Y軸サーボ
90z Z軸サーボ
90a A軸サーボ
90b B軸サーボ
90c C軸サーボ
100 多軸加工機用数値制御装置
81 Command Program 82 Analysis Unit 83 Interpolation Unit 84 Feature Coordinate System Command Analysis Unit 85 Tool Coordinate System Control Command Analysis Unit 86 Rotary Axis 3 Axis Calculation Unit 87 Linear Axis 3 Axis Calculation Unit 90x X Axis Servo 90y Y Axis Servo 90z Z Axis Servo 90a A-axis servo 90b B-axis servo 90c C-axis servo 100 Numerical control device for multi-axis machines

ただし、特許文献2は、工具方向を制御する回転軸2軸とローラ方向(工具位相)を制御する第3回転軸が装備されている機械に対する技術としては有効な技術である。 However, Patent Document 2, a technique for machine third rotating shaft to control the two rotation axes and the roller direction to control the tool direction (tool phase) is equipped with an effective technique.

請求項3に係る発明は、前記多軸加工機は、前記回転軸3軸で工具ヘッドを回転する6軸加工機、前記回転軸3軸のうち回転軸2軸でテーブルを回転し他の回転軸1軸で工具ヘッドを回転する6軸加工機、前記回転軸3軸のうち回転軸2軸で工具ヘッドを回転し他の回転軸1軸でテーブルを回転する6軸加工機、または前記回転軸3軸でテーブルを回転する6軸加工機である請求項1または2のいずれか1つに記載の数値制御装置である。 According to a third aspect of the present invention, the multi-axis processing machine is a six-axis processing machine that rotates a tool head with the three rotation shafts, and rotates the table with two rotation shafts among the three rotation shafts to perform another rotation. A six-axis machine that rotates the tool head with one axis, a six-axis machine that rotates the tool head with two rotation axes among the three rotation axes, and rotates the table with one other rotation axis, or the rotation axis is a 6-axis machine that rotates the table with three axes are numerical controller according to any one of claims 1 or 2.

回転軸A,B,C軸を求めたAt,Bt,Ctの位置に移動する移動指令を作成しその指令によってA,B,C軸を移動することにより、工具座標系がフィーチャ座標系に平行となるようにすることができる。 By creating a movement command to move to the positions of At, Bt, and Ct for which the rotation axes A, B, and C are obtained, and moving the A, B, and C axes by the command, the tool coordinate system is parallel to the feature coordinate system. Ru can be made to be.

Claims (3)

テーブルに取付けられたワークに対して少なくともワークに対する工具位置を制御する直線軸3軸とワークに対する工具方向を制御する回転軸3軸によって前記ワークの傾斜面上で加工を行う多軸加工機を制御する数値制御装置において、
前記ワーク上の前記傾斜面を表す座標系であるフィーチャ座標系の指令を解析するフィーチャ座標系指令解析手段と、
工具に載って工具の移動と共に移動する座標系である工具座標系が前記フィーチャ座標系に平行となるように前記回転軸3軸を動作させる指令である工具座標系制御指令を解析する工具座標系制御指令解析手段と、
前記工具座標系制御指令によって、前記工具座標系が前記フィーチャ座標系に平行となるように前記回転軸3軸の位置を演算する回転軸3軸演算手段と、
前記回転軸3軸を前記回転軸3軸演算手段で求めた位置へ駆動する手段を有する数値制御装置。
A multi-axis machine that performs machining on the inclined surface of the workpiece is controlled by at least three linear axes that control the tool position relative to the workpiece and three rotary shafts that control the tool direction relative to the workpiece relative to the workpiece mounted on the table. In the numerical controller
Feature coordinate system command analysis means for analyzing a command of a feature coordinate system that is a coordinate system representing the inclined surface on the workpiece;
A tool coordinate system that analyzes a tool coordinate system control command that is a command for operating the three rotation axes so that a tool coordinate system that is a coordinate system that moves on the tool and moves with the movement of the tool is parallel to the feature coordinate system Control command analysis means;
A rotation axis 3-axis calculation means for calculating a position of the rotation axis 3 axes so that the tool coordinate system is parallel to the feature coordinate system by the tool coordinate system control command;
A numerical controller having means for driving the three rotation shafts to the position obtained by the rotation shaft three-axis calculation means.
前記テーブルに載って前記テーブルの移動と共に移動する座標系であるテーブル座標系において、
前記回転軸3軸が前記回転軸3軸演算手段で求めた位置へ移動しても工具先端点位置が保持される前記直線軸3軸の補正移動量を補間周期毎に演算する直線軸3軸演算手段と、
前記直線軸3軸を前記直線軸3軸演算手段で求めた前記補正移動量分駆動する手段を有する請求項1に記載の数値制御装置。
In the table coordinate system, which is a coordinate system that moves on the table and moves with the table,
Linear axis 3 axis for calculating the correction movement amount of the linear axis 3 axis for which the tool tip point position is maintained even if the rotational axis 3 axis moves to the position obtained by the rotary axis 3 axis calculating means for each interpolation period. Computing means;
The numerical control apparatus according to claim 1, further comprising means for driving the three linear axes by the correction movement amount obtained by the linear axis three-axis calculating means.
前記多軸加工機は、前記回転軸3軸で工具ヘッドを回転する6軸加工機、前記回転軸3軸のうち回転軸2軸でテーブルを回転し他の回転軸1軸で工具ヘッドを回転する6軸加工機、前記回転軸3軸のうち回転軸2軸で工具ヘッドを回転し他の回転軸1軸でテーブルを回転する6軸加工機、または前記回転軸3軸でテーブルを回転する6軸加工機である請求項1〜3のいずれか1つに記載の数値制御装置。   The multi-axis machine is a six-axis machine that rotates a tool head with three rotation axes, a table that rotates with two rotation axes among the three rotation axes, and a tool head with one rotation axis. A six-axis machine that rotates the tool head with two rotation axes among the three rotation axes and rotates the table with one rotation axis, or a table with the three rotation axes. The numerical control device according to claim 1, wherein the numerical control device is a six-axis machine.
JP2010169053A 2010-07-28 2010-07-28 Numerical control device for multi-axis machines that machine inclined surfaces Active JP4945664B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2010169053A JP4945664B2 (en) 2010-07-28 2010-07-28 Numerical control device for multi-axis machines that machine inclined surfaces
DE201110108282 DE102011108282B4 (en) 2010-07-28 2011-07-21 Numerical control for a multi-axis machine for machining a tilted working plane
CN2011102195655A CN102375432B (en) 2010-07-28 2011-07-27 Numerical Control Device For Multi-axis Processing Machine Used For Processing Inclined Plane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010169053A JP4945664B2 (en) 2010-07-28 2010-07-28 Numerical control device for multi-axis machines that machine inclined surfaces

Publications (2)

Publication Number Publication Date
JP2012032848A true JP2012032848A (en) 2012-02-16
JP4945664B2 JP4945664B2 (en) 2012-06-06

Family

ID=45528599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010169053A Active JP4945664B2 (en) 2010-07-28 2010-07-28 Numerical control device for multi-axis machines that machine inclined surfaces

Country Status (3)

Country Link
JP (1) JP4945664B2 (en)
CN (1) CN102375432B (en)
DE (1) DE102011108282B4 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196130A (en) * 2012-03-16 2013-09-30 Kobe Univ Processing work support method and processing work support device
US9395720B2 (en) 2012-06-28 2016-07-19 Fanuc Corporation Numerical controller having a tool posture control function for multi-axis machining machines
CN109753016A (en) * 2019-01-24 2019-05-14 西华大学 A kind of calculation method for numerical control multi-shaft linkage tool length compensation
US20190271965A1 (en) * 2017-07-14 2019-09-05 Mitsubishi Electric Corporation Numerical controller and numerical control method
CN111113122A (en) * 2020-01-22 2020-05-08 科德数控股份有限公司 Leaf disc machining center
CN116000699A (en) * 2023-03-28 2023-04-25 中科航迈数控软件(深圳)有限公司 Quick inclined coordinate system definition method and device suitable for double swinging heads

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5705907B2 (en) * 2013-04-15 2015-04-22 ファナック株式会社 Wire electrical discharge machine for taper machining
JP5734336B2 (en) 2013-04-23 2015-06-17 ファナック株式会社 Numerical control device that enables display and input of tool direction relative to workpiece
WO2014196066A1 (en) * 2013-06-06 2014-12-11 三菱電機株式会社 Numerical control device
JP5752196B2 (en) 2013-09-03 2015-07-22 ファナック株式会社 Program creation device for wire electric discharge machine
JP6162655B2 (en) 2014-07-04 2017-07-12 ファナック株式会社 Numerical control device that operates with tabular data
DE102016107514A1 (en) * 2016-04-22 2017-10-26 Airbus Operations Gmbh Processing apparatus and method for operating a processing apparatus
JP6157793B1 (en) * 2016-10-20 2017-07-05 三菱電機株式会社 Numerical controller
JP6568154B2 (en) * 2017-07-10 2019-08-28 ファナック株式会社 Numerical controller
CN107577882B (en) * 2017-09-12 2021-04-13 电子科技大学 Simulation method for modeling and forming surface morphology of side-milling ruled surface
CN111506016B (en) * 2020-04-08 2021-07-20 广州奇芯机器人技术有限公司 CAM processing method based on G68.2 plane processing in numerical control system
CN114871480A (en) * 2022-05-09 2022-08-09 沈阳鼓风机集团核电泵业有限公司 Method for machining tapered inner hole key groove parallel to bus, impeller and shaft seal pump
CN115639783A (en) * 2022-09-08 2023-01-24 新代科技(苏州)有限公司 Product space inclination correction method based on five-axis controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04352202A (en) * 1991-05-30 1992-12-07 Mitsubishi Electric Corp Numerical controller
JP2009301232A (en) * 2008-06-11 2009-12-24 Fanuc Ltd Numerical control device for controlling phase of coordinate-transformation tool

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05282029A (en) * 1992-04-02 1993-10-29 Fanuc Ltd Tool coordinate definition system
WO2004040384A1 (en) * 2002-10-30 2004-05-13 Mitsubishi Denki Kabushiki Kaisha Numerical control method and device therefor
JP2005071016A (en) * 2003-08-22 2005-03-17 Fanuc Ltd Numerical control device
JP2005305579A (en) 2004-04-20 2005-11-04 Makino Milling Mach Co Ltd Control method and controller for nc machine tool
JP4275632B2 (en) * 2005-03-01 2009-06-10 新日本工機株式会社 Calibration method for parallel mechanism mechanism, calibration verification method, calibration verification program, data collection method, and correction data collection method for spatial position correction
CN100585522C (en) * 2007-07-20 2010-01-27 天津大学 Ultra-precise turning method with diamond knife tool hook angle compensation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04352202A (en) * 1991-05-30 1992-12-07 Mitsubishi Electric Corp Numerical controller
JP2009301232A (en) * 2008-06-11 2009-12-24 Fanuc Ltd Numerical control device for controlling phase of coordinate-transformation tool

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196130A (en) * 2012-03-16 2013-09-30 Kobe Univ Processing work support method and processing work support device
US9395720B2 (en) 2012-06-28 2016-07-19 Fanuc Corporation Numerical controller having a tool posture control function for multi-axis machining machines
US20190271965A1 (en) * 2017-07-14 2019-09-05 Mitsubishi Electric Corporation Numerical controller and numerical control method
CN109753016A (en) * 2019-01-24 2019-05-14 西华大学 A kind of calculation method for numerical control multi-shaft linkage tool length compensation
CN111113122A (en) * 2020-01-22 2020-05-08 科德数控股份有限公司 Leaf disc machining center
CN116000699A (en) * 2023-03-28 2023-04-25 中科航迈数控软件(深圳)有限公司 Quick inclined coordinate system definition method and device suitable for double swinging heads
CN116000699B (en) * 2023-03-28 2023-06-13 中科航迈数控软件(深圳)有限公司 Quick inclined coordinate system definition method and device suitable for double swinging heads

Also Published As

Publication number Publication date
JP4945664B2 (en) 2012-06-06
CN102375432A (en) 2012-03-14
DE102011108282B4 (en) 2013-06-13
DE102011108282A1 (en) 2012-02-16
CN102375432B (en) 2012-11-21

Similar Documents

Publication Publication Date Title
JP4945664B2 (en) Numerical control device for multi-axis machines that machine inclined surfaces
JP4351281B2 (en) Numerical control device for controlling a 5-axis machine
JP4938119B2 (en) Numerical control device for multi-axis machines that controls tool tip position
JP4837110B2 (en) Numerical control device with tool path display function
JP5221724B2 (en) Numerical control device for multi-axis machine tools with workpiece setting error correction unit
WO2010032284A1 (en) Numerical controller
JP4847613B2 (en) Numerical controller for multi-axis machines
US9063533B2 (en) Multi-spindle translation control for multiple coordinate systems
JP4975872B1 (en) Numerical control device with speed control function for multi-axis machines
JP2009301232A (en) Numerical control device for controlling phase of coordinate-transformation tool
US9304503B2 (en) Numerical control device configured to reduce a machining cycle time of a machine tool that does not move along Y-axis
JP5872869B2 (en) Numerical control device that performs machining by cutting point command on the back of the tool
JP2006227886A (en) Servo-control device and method for adjusting servo system
JP2008126327A (en) Moving locus display device
Martinov et al. Specialized numerical control system for five-axis planing and milling center
JPS61156309A (en) Numerically controlled device containing speed difference smoothing function
JP2004272887A (en) Numerical control unit and method
JP6250887B2 (en) Numerical control device for left-handed coordinate system
JP2005071016A (en) Numerical control device
JP2015075846A (en) Tool locus display device including display unit of locus data
US10073432B2 (en) Numerical controller having tool tip point control function
JPH03196310A (en) Display system for numerical controller
US20140316553A1 (en) Numerical controller capable of displaying and inputting tool direction relative to workpiece
JP2013065254A (en) Method for controlling movable part of machine, and program
JP4734440B2 (en) Numerical control device for 4-axis machine

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20111109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120113

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120305

R150 Certificate of patent or registration of utility model

Ref document number: 4945664

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150309

Year of fee payment: 3