WO2023053349A1 - 数値制御装置 - Google Patents

数値制御装置 Download PDF

Info

Publication number
WO2023053349A1
WO2023053349A1 PCT/JP2021/036159 JP2021036159W WO2023053349A1 WO 2023053349 A1 WO2023053349 A1 WO 2023053349A1 JP 2021036159 W JP2021036159 W JP 2021036159W WO 2023053349 A1 WO2023053349 A1 WO 2023053349A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
tool
unit
machining
feedback information
Prior art date
Application number
PCT/JP2021/036159
Other languages
English (en)
French (fr)
Other versions
WO2023053349A9 (ja
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 CN202180102651.XA priority Critical patent/CN117980838A/zh
Priority to DE112021007995.6T priority patent/DE112021007995T5/de
Priority to PCT/JP2021/036159 priority patent/WO2023053349A1/ja
Priority to JP2023550915A priority patent/JPWO2023053349A1/ja
Publication of WO2023053349A1 publication Critical patent/WO2023053349A1/ja
Publication of WO2023053349A9 publication Critical patent/WO2023053349A9/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical 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 monitoring or safety
    • G05B19/4069Simulating machining process on screen
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35303Dry run, compare simulated output with desired finished profile, alarm, inhibit
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36071Simulate on screen, if operation value out of limits, edit program
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36252Generate machining program based on a simulation to optimize a machine parameter

Definitions

  • the present disclosure relates to a numerical controller for machine tools.
  • the feedback information obtained from the servomotor does not include information on tool change. Therefore, when feedback information is used, machining simulation including simulation of tool exchange cannot be performed.
  • An object of the present disclosure is to provide a numerical control device capable of executing a machining simulation by incorporating a simulation of tool change into a simulation performed based on feedback information with matching timing.
  • a numerical controller comprises a control unit that interprets a machining program including tool information specifying a tool and controls the axes of the machine tool, a feedback information acquisition unit that acquires feedback information indicating the position of the axis from the machine tool, and machining a tool replacement information acquisition unit that acquires tool information from a program and acquires replacement information indicating that the tool has been replaced from the machine tool; feedback information acquired by the feedback information acquisition unit; A synthesis information generation unit that synthesizes the obtained tool information and replacement information to generate synthesis information, a shape information storage unit that stores shape information indicating the shape of the tool, and based on the synthesis information and the shape information, A machining simulation unit that executes machining simulation of a workpiece, and an output unit that outputs machining shape information indicating the shape of the workpiece after machining generated by executing the machining simulation.
  • An object of one aspect of the present disclosure is to provide a numerical control device capable of executing a machining simulation by incorporating a tool exchange simulation into a simulation performed based on feedback information in time with each other.
  • FIG. 1 is a block diagram showing an example of the hardware configuration of a machine tool equipped with a numerical controller.
  • Machine tool 1 includes a lathe, a machining center, and a multitasking machine.
  • the machine tool 1 includes a numerical controller 2, an input/output device 3, a servo amplifier 4, a servo motor 5, a spindle amplifier 6, a spindle motor 7, and auxiliary equipment 8.
  • the numerical controller 2 is a device that controls the machine tool 1 as a whole.
  • the numerical controller 2 includes a hardware processor 201 , a bus 202 , a ROM (Read Only Memory) 203 , a RAM (Random Access Memory) 204 and a nonvolatile memory 205 .
  • the hardware processor 201 is a processor that controls the entire numerical controller 2 according to the system program.
  • a hardware processor 201 reads a system program or the like stored in a ROM 203 via a bus 202 and performs various processes based on the system program.
  • the hardware processor 201 controls the servomotor 5 and the spindle motor 7 based on the machining program.
  • the hardware processor 201 is, for example, a CPU (Central Processing Unit) or an electronic circuit.
  • the hardware processor 201 analyzes the machining program and outputs control commands to the servo motor 5 and the spindle motor 7 for each control cycle.
  • a bus 202 is a communication path that connects each piece of hardware in the numerical controller 2 to each other. Each piece of hardware within the numerical controller 2 exchanges data via the bus 202 .
  • the ROM 203 is a storage device that stores system programs and the like for controlling the numerical controller 2 as a whole.
  • a ROM 203 is a computer-readable storage medium.
  • the RAM 204 is a storage device that temporarily stores various data.
  • the RAM 204 functions as a work area for the hardware processor 201 to process various data.
  • the nonvolatile memory 205 is a storage device that retains data even when the machine tool 1 is powered off and power is not supplied to the numerical controller 2 .
  • the nonvolatile memory 205 stores, for example, machining programs and various parameters.
  • Non-volatile memory 205 is a computer-readable storage medium.
  • the non-volatile memory 205 is, for example, a memory backed up by a battery or an SSD (Solid State Drive).
  • the numerical controller 2 further comprises an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 and an I/O unit 210 .
  • an interface 206 an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 and an I/O unit 210 .
  • the interface 206 connects the bus 202 and the input/output device 3 .
  • the interface 206 sends various data processed by the hardware processor 201 to the input/output device 3, for example.
  • the input/output device 3 is a device that receives various data via the interface 206 and displays various data. The input/output device 3 also accepts input of various data and sends the various data to the hardware processor 201 via the interface 206 .
  • the input/output device 3 is, for example, a touch panel.
  • the touch panel is, for example, a capacitive touch panel. Note that the touch panel is not limited to the capacitive type, and may be a touch panel of another type.
  • the input/output device 3 is installed, for example, on a control panel (not shown) in which the numerical control device 2 is stored.
  • the axis control circuit 207 is a circuit that controls the servo motor 5 .
  • the axis control circuit 207 receives a control command from the hardware processor 201 and outputs various commands to the servo amplifier 4 for driving the servo motor 5 .
  • the axis control circuit 207 sends a torque command for controlling the torque of the servo motor 5 to the servo amplifier 4, for example.
  • the servo amplifier 4 receives a command from the axis control circuit 207 and supplies current to the servo motor 5 .
  • the servo motor 5 is driven by being supplied with current from the servo amplifier 4 .
  • the servomotor 5 is connected to, for example, a ball screw that drives the tool post.
  • a structure of the machine tool 1 such as a tool post moves in each axial direction.
  • the servo motor 5 incorporates an encoder (not shown) for detecting the position/speed of the shaft, and feeds back the position/speed feedback information from this encoder to the shaft control circuit 207 to perform position/speed feedback control.
  • a servomotor 5 is provided for each axis. That is, the servomotor 5 includes an X-axis servomotor, a Y-axis servomotor, and a Z-axis servomotor. The servomotor 5 may further include an A-axis servomotor, a B-axis servomotor, and a C-axis servomotor. An axis control circuit 207 and a servo amplifier 4 are provided for each axis.
  • a spindle control circuit 208 is a circuit for controlling the spindle motor 7 .
  • a spindle control circuit 208 receives a control command from the hardware processor 201 and outputs a command for driving the spindle motor 7 to the spindle amplifier 6 .
  • the spindle control circuit 208 sends, for example, a spindle speed command for controlling the rotational speed of the spindle motor 7 to the spindle amplifier 6 .
  • the spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies current to the spindle motor 7 .
  • the spindle motor 7 is driven by being supplied with current from the spindle amplifier 6 .
  • a spindle motor 7 is connected to the main shaft and rotates the main shaft.
  • the PLC 209 is a device that executes the ladder program and controls the auxiliary equipment 8. PLC 209 sends commands to auxiliary equipment 8 via I/O unit 210 .
  • the I/O unit 210 is an interface that connects the PLC 209 and the auxiliary device 8.
  • the I/O unit 210 sends commands received from the PLC 209 to the auxiliary equipment 8 .
  • the auxiliary device 8 is a device that is installed in the machine tool 1 and performs an auxiliary operation in the machine tool 1.
  • the auxiliary equipment 8 operates based on commands received from the I/O unit 210 .
  • the auxiliary equipment 8 may be equipment installed around the machine tool 1 .
  • the auxiliary device 8 is, for example, a tool changer, a cutting fluid injection device, or an opening/closing door drive.
  • the numerical controller 2 moves each axis by controlling the servomotor 5 .
  • the numerical controller 2 also rotates the spindle motor 7 . Thereby, the numerical controller 2 processes the workpiece. Also, the numerical controller 2 executes a machining simulation based on the feedback information.
  • the feedback information is, for example, information obtained from the servomotor 5.
  • the information obtained from the servomotor 5 is information indicating the position of the shaft.
  • the feedback information acquired from the X-axis servomotor is information indicating the position of the X-axis.
  • Feedback information obtained from the Y-axis servomotor is information indicating the position of the Y-axis.
  • FIG. 2 is a block diagram showing an example of functions of the numerical controller 2.
  • the numerical controller 2 includes a program storage unit 21, a control unit 22, a feedback information acquisition unit 23, a tool exchange information acquisition unit 24, a synthetic information generation unit 25, a shape information storage unit 26, and a machining simulation unit 27. and an output unit 28 .
  • the program storage unit 21 and the shape information storage unit 26 are realized by storing the machining program input from the input/output device 3 and the shape information indicating the shape of the tool in the RAM 204 or the nonvolatile memory 205. .
  • the control unit 22, the feedback information acquisition unit 23, the tool exchange information acquisition unit 24, the synthetic information generation unit 25, the machining simulation unit 27, and the output unit 28 are, for example, the hardware processor 201, the system program stored in the ROM 203 Also, it is realized by arithmetic processing using various data stored in the nonvolatile memory 205 .
  • the program storage unit 21 stores machining programs.
  • the machining program includes at least one of a turning machining program and a milling program.
  • the machining program includes instructions specifying the movement path of the tool. Commands specifying the movement path of the tool are, for example, a positioning command, a linear interpolation command, and a circular interpolation command.
  • the machining program includes tool information specifying tools used for machining. Tool information is, for example, information indicating a tool number included in a tool selection command.
  • FIG. 3 is a diagram showing an example of a machining program.
  • the T code described in the block with sequence number N11 is a tool selection command. That is, the command "T01" is a command to select the tool with the tool number 1. Further, the command "M06" is a command for executing tool change. Therefore, in the block with the sequence number N11, it is specified that the tool with the tool number 1 is to be replaced.
  • the command "G00" written in the block with sequence number N12 is a positioning command.
  • "X100.Y100.” is a command that specifies the position where the tool is positioned. Therefore, the block with the sequence number N12 designates the positioning of the tool at the position of X100, Y100.
  • the block with sequence number N13 specifies that the tool should be positioned at position Z3.
  • the command "G01" written in the block with sequence number N14 is a linear interpolation command.
  • "Z-2.8" is a command specifying the destination of the tool.
  • the F code is a command that designates the feed speed of the tool. That is, the block with the sequence number N14 designates that the tool is moved to the position Z-2.8 at a feed rate of 500 [mm/min] by linear interpolation.
  • the block with sequence number N15 designates that the tool is moved to the position of X120, Y120 by linear interpolation.
  • the control unit 22 interprets a machining program that includes tool information specifying tools and controls the axes of the machine tool 1 .
  • Axes of the machine tool 1 include an X-axis, a Y-axis and a Z-axis.
  • the feedback information acquisition unit 23 acquires feedback information indicating the position of the axis from the machine tool 1 .
  • Feedback information is time-series data.
  • the feedback information is data indicating the movement path of the tool.
  • the feedback information acquisition unit 23 acquires the feedback information
  • the workpiece does not have to be processed.
  • the feedback information may be acquired in a state in which no workpiece is placed on the workpiece gripping section.
  • the workpiece may be processed when the feedback information acquisition unit 23 acquires the feedback information.
  • the feedback information may be obtained while the workpiece is placed on the workpiece gripper.
  • the feedback information acquisition unit 23 acquires, for example, information indicating the position of each axis every predetermined control cycle. For example, the feedback information acquisition unit 23 acquires feedback information indicating the positions of the X-axis, the Y-axis, and the Z-axis within the period of one control cycle.
  • One control cycle is, for example, several milliseconds.
  • the feedback information acquisition unit 23 acquires feedback information (feedback information includes information indicating at least one of the position, velocity, and acceleration of the motor) from the servo motors that drive each axis of the machine tool 1 .
  • feedback information may be obtained from linear encoders placed along each linear axis of the machine tool 1 or from rotary encoders placed around each rotary axis.
  • the tool replacement information acquisition unit 24 acquires tool information from the machining program and acquires replacement information indicating that the tool has been replaced from the machine tool 1.
  • the tool exchange information acquisition unit 24 acquires, for example, tool information stored in a predetermined register (not shown) by the control unit 22 that has interpreted the machining program. As described above, the tool information is information indicating the tool number included in the tool selection command.
  • the replacement information is information indicating that the tool replacement has been completed.
  • Completion of the tool exchange means that the tool designated by the machining program is attached to the tool spindle and the axis can be moved.
  • Information indicating that the tool change has been completed is, for example, a signal output from a proximity switch installed at a predetermined position.
  • the combined information generation unit 25 generates combined information by combining the feedback information acquired by the feedback information acquisition unit 23 and the tool information and replacement information acquired by the tool replacement information acquisition unit 24 .
  • the combined information generation unit 25 generates combined information by matching the time axis related to acquisition of feedback information with the time axis related to acquisition of exchange information. To match the time axis means to match the timing. For example, the feedback information acquisition section 23 and the tool replacement information acquisition section 24 acquire feedback information and replacement information, respectively, within one control cycle.
  • the combined information generator 25 matches the time axes by combining the feedback information and the exchange information acquired within one control cycle. As a result, the combined information generating section 25 can generate information indicating the positions of the respective axes when the tool exchange is completed.
  • FIG. 4 is a diagram showing an example of combined information.
  • Synthetic information is time-series data that combines feedback information, replacement information, and tool information.
  • the synthesized information of 1 includes feedback information.
  • the feedback information includes data "X1, Y1, Z1" indicating the positions of the X-axis, Y-axis, and Z-axis, respectively.
  • the synthetic information of 1 does not include exchange information and tool information.
  • the feedback information acquisition unit 23 is No. In the control cycle in which the feedback information of 1 is acquired, the tool replacement information acquisition unit 24 has not acquired the replacement information.
  • No. 2 includes feedback information.
  • the feedback information includes data "X2, Y2, Z2" indicating the positions of the X-axis, Y-axis, and Z-axis, respectively.
  • No. 2 includes replacement information "completion" and tool information "T01".
  • the feedback information acquisition unit 23 is No.
  • the tool replacement information acquisition unit 24 acquires the replacement information.
  • No. 3 includes feedback information.
  • the feedback information includes data "X3, Y3, Z3" indicating the positions of the X-axis, Y-axis, and Z-axis, respectively. Also, No. 3 does not include replacement information and tool information.
  • No. 4 includes feedback information.
  • the feedback information includes data "X4, Y4, Z4" indicating the positions of the X-axis, Y-axis, and Z-axis, respectively. Also, No. 4 does not include exchange information and tool information.
  • the synthesized information of n includes feedback information.
  • the feedback information includes data "Xn, Yn, Zn" indicating the positions of the X-axis, Y-axis, and Z-axis, respectively.
  • the combined information of n includes replacement information "completion” and tool information "T02".
  • the feedback information acquisition unit 23 is No.
  • the tool change information acquisition unit 24 acquires the change information in the control cycle in which n feedback information is acquired.
  • the feedback information includes data "Xn+1, Yn+1, Zn+1" indicating the positions of the X-axis, Y-axis, and Z-axis, respectively. Also, No. The n+1 synthesis information does not include replacement information and tool information. Now, let us return to the description of FIG.
  • the shape information storage unit 26 stores shape information indicating the shape of the tool.
  • the shape information includes, for example, information indicating the tool type, blade diameter, blade length, shank diameter and total length.
  • FIG. 5 is a diagram showing an example of shape information.
  • the tool type is a flat end mill
  • the blade diameter is D6.0 [mm]
  • the blade length is 12 [mm]
  • the shank diameter is 6 [mm]
  • the total length is 55 [mm].
  • the tool type is a ball end mill
  • the blade diameter is R1.0 [mm]
  • the blade length is 4 [mm]
  • the shank diameter is 4 [mm]
  • the total length is 60 [mm].
  • tool shape information may be stored for tool numbers 3 and later.
  • the machining simulation unit 27 executes a workpiece machining simulation based on the synthesis information and the shape information.
  • the machining simulation unit 27 may further use work shape information indicating the shape of the work to perform the machining simulation.
  • work shape information indicating the shape of the work may be stored in the shape information storage unit 26 .
  • the machining simulation unit 27 draws the workpiece W before machining shown in FIG. 6A, for example.
  • the machining simulation unit 27 draws the position of the tool based on the data indicating the position of each axis included in the combined information. For example, when the machining simulation unit 27 executes the machining simulation based on the combined information shown in FIG. The tool is drawn at the position (X1, Y1, Z1) indicated by the feedback information of 1. The tool drawn at this time is, for example, the last tool used in the previous machining simulation.
  • the machining simulation unit 27 determines No. Draw the tool at the position (X2, Y2, Z2) indicated by the feedback information of 2. Further, the machining simulation unit 27 draws the tool exchange at this position. That is, the machining simulation unit 27 draws the tool with the tool number 1 to be replaced. For example, when the shape information storage unit 26 stores the shape information shown in FIG. 5, the machining simulation unit 27 draws a flat end mill for tool replacement.
  • the machining simulation unit 27 determines No.
  • the tool is drawn at the position (X3, Y3, Z3) indicated by the feedback information of 3.
  • the processing simulation unit 27 determines No. Draw the tool at the position (X4, Y4, Z4) indicated by the feedback information of 4.
  • the machining simulation unit 27 performs machining simulation including tool exchange simulation by sequentially executing such processing based on the synthesis information and the shape information.
  • the machining simulation unit 27 draws the result of executing the machining simulation using the tool with the tool number 1, for example, as shown in FIG. 6B.
  • the processing simulation unit 27 uses No.
  • the tool is drawn at the position (Xn, Yn, Zn) indicated by the n feedback information. Further, the machining simulation unit 27 draws the tool exchange at this position. That is, the machining simulation unit 27 draws a tool change from the flat end mill with the tool number 1 to the ball end mill with the tool number 2 .
  • the machining simulation unit 27 determines No.
  • the tool is drawn at the position (Xn+1, Yn+1, Zn+1) indicated by the n+1 feedback information.
  • the machining simulation unit 27 draws the result of executing the machining simulation using the tool of tool number 2, for example, as shown in FIG. 6C.
  • the output unit 28 outputs machining shape information indicating the shape of the workpiece W after machining generated by executing the machining simulation.
  • the output unit 28 may output not only the shape of the workpiece W after machining, but also the shape of the workpiece during machining drawn by the machining simulation unit 27 and information indicating the operation of the tool.
  • the output unit 28 outputs the machining shape information to the display screen of the input/output device 3, for example.
  • FIG. 7 is a diagram explaining an example of the flow of processing executed by the numerical controller 2.
  • the controller 22 interprets the machining program and controls the axes of the machine tool 1 (step S1).
  • the feedback information acquisition unit 23 acquires feedback information indicating the position of each axis (step S2).
  • the tool replacement information acquisition unit 24 acquires tool information and replacement information (step S3).
  • the combined information generation unit 25 combines the feedback information, the tool information, and the replacement information to generate combined information (step S4).
  • the machining simulation unit 27 executes machining simulation based on the combined information and the shape information indicating the shape of the tool (step S5).
  • the output unit 28 outputs machining shape information indicating the shape of the workpiece W after machining (step S6), and the process ends.
  • the numerical controller 2 interprets a machining program including tool information specifying tools to control the axes of the machine tool 1, and the feedback information indicating the positions of the axes to the machine tool 1.
  • a feedback information acquisition unit 23 that acquires tool information from a machining program, and a tool replacement information acquisition unit 24 that acquires replacement information indicating that the tool has been replaced from the machine tool 1; and a feedback information acquisition unit 23 and the tool information and replacement information acquired by the tool change information acquisition unit 24 to generate combined information, and shape information indicating the shape of the tool is stored.
  • a shape information storage unit 26 a machining simulation unit 27 for executing a machining simulation of the work W based on the combined information and the shape information, and a shape of the work W after machining generated by executing the machining simulation. and an output unit 28 for outputting machining shape information.
  • the combined information generation unit 25 generates combined information by matching the time axis related to acquisition of feedback information with the time axis related to acquisition of exchange information. Therefore, the numerical controller 2 can draw the tool change timing of the tool drawn by the machining simulation unit 27 in accordance with the time axis of the time-series data indicating the position of the axis.
  • the feedback information acquisition unit 23 and the tool replacement information acquisition unit 24 acquire feedback information and replacement information, respectively, from the machine tool 1 within one control cycle.
  • the replacement information is a signal indicating that tool replacement has been completed. Therefore, the numerical controller 2 can easily match the tool change timing drawn by the machining simulation unit 27 with the time axis of the time-series data indicating the position of the axis.
  • the tool exchange information acquisition section 24 acquires tool information from the machining program.
  • the tool exchange information acquisition section 24 may acquire tool information from a device installed in the machine tool 1 .
  • an ATC Automatic Tool Changer
  • the tool replacement information acquisition unit 24 may acquire tool information from the ATC together with the replacement information.
  • the feedback information acquisition section 23 and the tool replacement information acquisition section 24 acquire feedback information and replacement information, respectively, within one control cycle.
  • the combined information generation unit 25 can match the time axis for obtaining the feedback information and the time axis for obtaining the exchange information, the feedback information and the exchange information are not necessarily obtained within one control cycle.
  • the feedback information acquisition unit 23 acquires information about the time when the feedback information is acquired together with the feedback information.
  • Information about the time when the feedback information is acquired is given by, for example, a time stamp.
  • the tool replacement information acquisition unit 24 acquires information about the time when the replacement information is acquired together with the replacement information.
  • the synthesis information generator 25 can synthesize the feedback information and the exchange information by aligning the time axes of both based on the time information indicated by the time stamp.
  • the numerical controller 2 may further include a path error calculator.
  • the path error calculator calculates the difference between the tool movement path calculated based on the command of the machining program and the tool movement path indicated by the feedback information.
  • the output unit 28 outputs the difference between each movement route calculated by the route error calculation unit. As a result, the operator can easily check the difference between the tool movement path designated by the machining program and the tool movement path when each axis of the machine tool 1 is actually operated.
  • machine tool 2 numerical controller 201 hardware processor 202 bus 203 ROM 204 RAMs 205 non-volatile memory 206 interface 207 axis control circuit 208 spindle control circuit 209 PLC 210 I/O unit 21 program storage unit 22 control unit 23 feedback information acquisition unit 24 tool exchange information acquisition unit 25 combined information generation unit 26 shape information storage unit 27 machining simulation unit 28 output unit 3 input/output device 4 servo amplifier 5 servo motor 6 spindle amplifier 7 spindle motor 8 auxiliary device W work

Landscapes

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

Abstract

数値制御装置が、工具を特定する工具情報を含む加工プログラムを解釈して工作機械の軸を制御する制御部と、軸の位置を示すフィードバック情報を工作機械から取得するフィードバック情報取得部と、加工プログラムから工具情報を取得し、かつ、工具が交換されたこと示す交換情報を工作機械から取得する工具交換情報取得部と、フィードバック情報取得部によって取得されたフィードバック情報と、工具交換情報取得部によって取得された工具情報および交換情報とを合成して合成情報を生成する合成情報生成部と、工具の形状を示す形状情報を記憶する形状情報記憶部と、合成情報、および形状情報に基づいて、ワークの加工シミュレーションを実行する加工シミュレーション部と、加工シミュレーションを実行することによって生成された加工後のワークの形状を示す加工形状情報を出力する出力部と、を備える。

Description

数値制御装置
 本開示は、工作機械の数値制御装置に関する。
 従来、数値制御装置では、サーボモータからのフィードバック情報を利用して、駆動軸の加速度および加加速度が原因で生じる工作機械の振動による加工面品質への影響を考慮した加工シミュレーションが行われている(特許文献1)。フィードバック情報を利用することにより、工作機械の実際の軸の動きを反映した加工シミュレーションを行うことができる。
特開2020-71734号公報
 しかし、サーボモータから取得されるフィードバック情報には、工具交換に関する情報が含まれていない。そのため、フィードバック情報を利用した場合、工具交換のシミュレーションを含む加工シミュレーションを行うことができない。
 一方、加工プログラムに含まれる工具交換指令に基づいて工具交換のシミュレーションを行うことが考えられる。しかし、工具交換が指令されるタイミングと、実際に工作機械で工具交換が実行されるタイミングとの間には、ずれが生じる。そのため、フィードバック情報に基づいて行なわれるシミュレーションに工具交換のシミュレーションを、タイミングを合わせて組み入れることができない。
 本開示は、フィードバック情報に基づいて行なわれるシミュレーションに工具交換のシミュレーションを、タイミングを合わせて組み入れて加工シミュレーションを実行することが可能な数値制御装置を提供することを目的とする。
 数値制御装置が、工具を特定する工具情報を含む加工プログラムを解釈して工作機械の軸を制御する制御部と、軸の位置を示すフィードバック情報を工作機械から取得するフィードバック情報取得部と、加工プログラムから工具情報を取得し、かつ、工具が交換されたこと示す交換情報を工作機械から取得する工具交換情報取得部と、フィードバック情報取得部によって取得されたフィードバック情報と、工具交換情報取得部によって取得された工具情報および交換情報とを合成して合成情報を生成する合成情報生成部と、工具の形状を示す形状情報を記憶する形状情報記憶部と、合成情報、および形状情報に基づいて、ワークの加工シミュレーションを実行する加工シミュレーション部と、加工シミュレーションを実行することによって生成された加工後のワークの形状を示す加工形状情報を出力する出力部と、を備える。
 本開示の一態様により、フィードバック情報に基づいて行なわれるシミュレーションに工具交換のシミュレーションを、タイミングを合わせて組み入れて加工シミュレーションを実行することが可能な数値制御装置を提供することを目的とする。
工作機械のハードウェア構成の一例を示すブロック図である。 数値制御装置の機能の一例を示す図である。 加工プログラムの一例を示す図である。 合成情報の一例を示す図である。 形状情報の一例を示す図である。 加工シミュレーションの一例を示す図である。 加工シミュレーションの一例を示す図である。 加工シミュレーションの一例を示す図である。 数値制御装置が実行する処理の流れの一例について説明する図である。
 以下、本開示の実施形態について図面を用いて説明する。なお、以下の実施形態で説明する特徴のすべての組み合わせが課題解決に必ずしも必要であるとは限らない。また、必要以上の詳細な説明を省略する場合がある。また、以下の実施形態の説明、および図面は、当業者が本開示を十分に理解するために提供されるものであり、請求の範囲を限定することを意図していない。
 図1は、数値制御装置を備える工作機械のハードウェア構成の一例を示すブロック図である。工作機械1は、旋盤、マシニングセンタおよび複合加工機を含む。
 工作機械1は、数値制御装置2と、入出力装置3と、サーボアンプ4と、サーボモータ5と、スピンドルアンプ6と、スピンドルモータ7と、補助機器8とを備える。
 数値制御装置2は、工作機械1全体を制御する装置である。数値制御装置2は、ハードウェアプロセッサ201と、バス202と、ROM(Read Only Memory)203と、RAM(Random Access Memory)204と、不揮発性メモリ205とを備えている。
 ハードウェアプロセッサ201は、システムプログラムに従って数値制御装置2全体を制御するプロセッサである。ハードウェアプロセッサ201は、バス202を介してROM203に格納されたシステムプログラムなどを読み出し、システムプログラムに基づいて各種処理を行う。ハードウェアプロセッサ201は、加工プログラムに基づいて、サーボモータ5、およびスピンドルモータ7を制御する。ハードウェアプロセッサ201は、例えば、CPU(Central Processing Unit)、または電子回路である。
 ハードウェアプロセッサ201は、制御周期ごとに、例えば、加工プログラムの解析、ならびに、サーボモータ5、およびスピンドルモータ7に対する制御指令の出力を行う。
 バス202は、数値制御装置2内の各ハードウェアを互いに接続する通信路である。数値制御装置2内の各ハードウェアはバス202を介してデータをやり取りする。
 ROM203は、数値制御装置2全体を制御するためのシステムプログラムなどを記憶する記憶装置である。ROM203は、コンピュータ読み取り可能な記憶媒体である。
 RAM204は、各種データを一時的に格納する記憶装置である。RAM204は、ハードウェアプロセッサ201が各種データを処理するための作業領域として機能する。
 不揮発性メモリ205は、工作機械1の電源が切られ、数値制御装置2に電力が供給されていない状態でもデータを保持する記憶装置である。不揮発性メモリ205は、例えば、加工プログラム、および各種パラメータを記憶する。不揮発性メモリ205は、コンピュータ読み取り可能な記憶媒体である。不揮発性メモリ205は、例えば、バッテリでバックアップされたメモリ、または、SSD(Solid State Drive)で構成される。
 数値制御装置2は、さらに、インタフェース206と、軸制御回路207と、スピンドル制御回路208と、PLC(Programmable Logic Controller)209と、I/Oユニット210とを備える。
 インタフェース206は、バス202と入出力装置3とを接続する。インタフェース206は、例えば、ハードウェアプロセッサ201が処理した各種データを入出力装置3に送る。
 入出力装置3は、インタフェース206を介して各種データを受け、各種データを表示する装置である。また、入出力装置3は、各種データの入力を受け付けてインタフェース206を介して各種データをハードウェアプロセッサ201に送る。入出力装置3は、例えば、タッチパネルである。入出力装置3がタッチパネルである場合、タッチパネルは、例えば、静電容量方式のタッチパネルである。なお、タッチパネルは、静電容量方式に限らず、他の方式のタッチパネルであってもよい。入出力装置3は、例えば、数値制御装置2が格納される操作盤(不図示)に設置される。
 軸制御回路207は、サーボモータ5を制御する回路である。軸制御回路207は、ハードウェアプロセッサ201からの制御指令を受けてサーボモータ5を駆動させるための各種指令をサーボアンプ4に出力する。軸制御回路207は、例えば、サーボモータ5のトルクを制御するトルクコマンドをサーボアンプ4に送る。
 サーボアンプ4は、軸制御回路207からの指令を受けて、サーボモータ5に電流を供給する。
 サーボモータ5は、サーボアンプ4から電流の供給を受けて駆動する。サーボモータ5は、例えば、刃物台を駆動させるボールねじに連結される。サーボモータ5が駆動することにより、刃物台などの工作機械1の構造物が各軸方向に移動する。サーボモータ5は、軸の位置・速度を検出するエンコーダ(不図示)を内蔵し、このエンコーダからの位置・速度フィードバック情報を軸制御回路207にフィードバックして位置・速度のフィードバック制御を行う。
 なお、サーボモータ5は、各軸に対して設けられる。すなわち、サーボモータ5は、X軸用サーボモータ、Y軸用サーボモータ、およびZ軸用サーボモータを含む。サーボモータ5は、さらに、A軸用サーボモータ、B軸用サーボモータ、およびC軸用サーボモータを含んでいてもよい。軸制御回路207、およびサーボアンプ4は、各軸に対してそれぞれ設けられる。
 スピンドル制御回路208は、スピンドルモータ7を制御するための回路である。スピンドル制御回路208は、ハードウェアプロセッサ201からの制御指令を受けてスピンドルモータ7を駆動させるための指令をスピンドルアンプ6に出力する。スピンドル制御回路208は、例えば、スピンドルモータ7の回転速度を制御するスピンドル速度コマンドをスピンドルアンプ6に送る。
 スピンドルアンプ6は、スピンドル制御回路208からの指令を受けて、スピンドルモータ7に電流を供給する。
 スピンドルモータ7は、スピンドルアンプ6から電流の供給を受けて駆動する。スピンドルモータ7は、主軸に連結され、主軸を回転させる。
 PLC209は、ラダープログラムを実行して補助機器8を制御する装置である。PLC209は、I/Oユニット210を介して補助機器8に対して指令を送る。
 I/Oユニット210は、PLC209と補助機器8とを接続するインタフェースである。I/Oユニット210は、PLC209から受けた指令を補助機器8に送る。
 補助機器8は、工作機械1に設置され、工作機械1において補助的な動作を行う機器である。補助機器8は、I/Oユニット210から受けた指令に基づいて動作する。補助機器8は、工作機械1の周辺に設置される機器であってもよい。補助機器8は、例えば、工具交換装置、切削液噴射装置、または開閉ドア駆動装置である。
 次に、数値制御装置2の機能について説明する。数値制御装置2は、サーボモータ5を制御することにより各軸を移動させる。また、数値制御装置2は、スピンドルモータ7を回転させる。これにより、数値制御装置2は、ワークの加工を行う。また、数値制御装置2は、フィードバック情報に基づいて加工シミュレーションを実行する。
 フィードバック情報は、例えば、サーボモータ5から取得される情報である。サーボモータ5から取得される情報は、軸の位置を示す情報である。例えば、X軸用サーボモータから取得されるフィードバック情報は、X軸の位置を示す情報である。また、Y軸用サーボモータから取得されるフィードバック情報は、Y軸の位置を示す情報である。
 図2は、数値制御装置2の機能の一例を示すブロック図である。数値制御装置2は、プログラム記憶部21と、制御部22と、フィードバック情報取得部23と、工具交換情報取得部24と、合成情報生成部25と、形状情報記憶部26と、加工シミュレーション部27と、出力部28とを備える。
 プログラム記憶部21、形状情報記憶部26は、入出力装置3などから入力された加工プログラム、および工具の形状を示す形状情報が、RAM204、または不揮発性メモリ205に記憶されることにより実現される。
 制御部22、フィードバック情報取得部23、工具交換情報取得部24、合成情報生成部25、加工シミュレーション部27、および出力部28は、例えば、ハードウェアプロセッサ201が、ROM203に記憶されているシステムプログラムならびに不揮発性メモリ205に記憶されている各種データを用いて演算処理することにより実現される。
 プログラム記憶部21は、加工プログラムを記憶する。加工プログラムは、旋削加工用プログラム、およびミリング加工用のプログラムの少なくともいずれかを含む。加工プログラムには、工具の移動経路を指定する指令が含まれる。工具の移動経路を指定する指令は、例えば、位置決め指令、直線補間指令、および円弧補間指令である。また、加工プログラムには、加工に利用される工具を特定する工具情報が含まれる。工具情報は、例えば、工具選択指令に含まれる工具番号を示す情報である。
 図3は、加工プログラムの一例を示す図である。シーケンス番号N11のブロックに記載されたTコードは、工具選択指令である。つまり、指令「T01」は、工具番号が1番の工具を選択する指令である。また、指令「M06」は、工具交換を実行する指令である。したがって、シーケンス番号N11のブロックでは、工具番号が1番の工具に工具交換することが指定されている。
 シーケンス番号N12のブロックに記載された指令「G00」は、位置決め指令である。また、「X100.Y100.」は、工具が位置決めされる位置を指定する指令である。したがって、シーケンス番号N12のブロックでは、X100、Y100の位置に工具を位置決めすることが指定されている。また、シーケンス番号N13のブロックでは、Z3の位置に工具を位置決めすることが指定されている。
 シーケンス番号N14のブロックに記載された指令「G01」は、直線補間指令である。また、「Z-2.8」は、工具の移動先を指定する指令である。また、Fコードは、工具の送り速度を指定する指令である。つまり、シーケンス番号N14のブロックでは、Z-2.8の位置まで送り速度500[mm/min]で、工具を直線補間によって移動させることが指定されている。シーケンス番号N15のブロックでは、X120、Y120の位置まで工具を直線補間によって移動させることが指定されている。
 シーケンス番号N21のブロックでは、工具番号が2番の工具に工具交換することが指定されている。
 シーケンス番号N22のブロックでは、X100、Y100の位置に工具を位置決めすることが指定されている。また、シーケンス番号N23のブロックでは、Z3の位置に工具を位置決めすることが指定されている。
 シーケンス番号N24のブロックでは、Z-3の位置まで送り速度250[mm/min]で、工具を直線補間によって移動させることが指定されている。シーケンス番号N25のブロックでは、X120、Y120の位置まで工具を直線補間によって移動させることが指定されている。なお、加工プログラムは、例えば、エンドオブプログラム指令M30が指定されることにより終了する。ここで、図2の説明に戻る。
 制御部22は、工具を特定する工具情報を含む加工プログラムを解釈して工作機械1の軸を制御する。工作機械1の軸は、X軸、Y軸およびZ軸を含む。制御部22は、例えば、図3に示す加工プログラムを解釈して各軸を制御する。これにより、工具が加工プログラムで指定された移動経路を移動する。
 フィードバック情報取得部23は、軸の位置を示すフィードバック情報を工作機械1から取得する。フィードバック情報は、時系列データである。つまり、フィードバック情報は、工具の移動経路を示すデータである。
 フィードバック情報取得部23がフィードバック情報を取得する際、ワークの加工が行われていなくてよい。つまり、ワーク把持部にワークが設置されていない状態でフィードバック情報を取得してよい。あるいは、フィードバック情報取得部23がフィードバック情報を取得する際、ワークの加工が行われていてもよい。つまり、ワーク把持部にワークが設置された状態でフィードバック情報を取得してもよい。
 フィードバック情報取得部23は、例えば、所定の制御周期毎に各軸の位置を示す情報を取得する。例えば、フィードバック情報取得部23は、1制御周期の期間内においてX軸、Y軸、およびZ軸の位置を示すフィードバック情報を取得する。1制御周期は、例えば、数ミリ秒である。
 フィードバック情報取得部23は、工作機械1の各軸を駆動するサーボモータからフィードバック情報(フィードバック情報は、モータの位置、速度、加速度の少なくともいずれかを示す情報を含む。)を取得する。あるいは、例えば、工作機械1の各直線軸に沿って設置されたリニアエンコーダから、あるいは、各回転軸を中心に設置されたロータリエンコーダからフィードバック情報を取得してもよい。
 工具交換情報取得部24は、加工プログラムから工具情報を取得し、かつ、工具が交換されたこと示す交換情報を工作機械1から取得する。工具交換情報取得部24は、例えば、加工プログラムを解釈した制御部22が所定のレジスタ(不図示)に記憶させた工具情報を取得する。上述したように、工具情報は、工具選択指令に含まれる工具番号を示す情報である。
 交換情報は、工具交換が完了したことを示す情報である。工具交換が完了するとは、工具主軸に対して加工プログラムで指定された工具が取り付けられ、軸の移動が可能になることである。工具交換が完了したことを示す情報は、例えば、所定の位置に設置された近接スイッチから出力される信号である。
 合成情報生成部25は、フィードバック情報取得部23によって取得されたフィードバック情報と、工具交換情報取得部24によって取得された工具情報および交換情報とを合成して合成情報を生成する。
 合成情報生成部25は、フィードバック情報の取得に係る時間軸と交換情報の取得に係る時間軸とを一致させて合成情報を生成する。時間軸を一致させるとは、タイミングを合わせることである。例えば、フィードバック情報取得部23と工具交換情報取得部24とは、1制御周期内において、それぞれ、フィードバック情報と交換情報とを取得する。合成情報生成部25は、これら1制御周期内で取得されたフィードバック情報と交換情報とを組み合わせることにより時間軸を一致させる。これにより、合成情報生成部25は、工具交換が完了したときの各軸の位置を示す情報を生成することができる。
 図4は、合成情報の一例を示す図である。合成情報は、フィードバック情報、交換情報、および工具情報を組み合わせた時系列データである。
 No.1の合成情報には、フィードバック情報が含まれている。フィードバック情報には、X軸、Y軸、およびZ軸の位置をそれぞれ示すデータ「X1、Y1、Z1」が含まれている。また、No.1の合成情報には、交換情報および工具情報は含まれていない。この場合、フィードバック情報取得部23がNo.1のフィードバック情報を取得した制御周期において、工具交換情報取得部24は、交換情報を取得していない。
 No.2の合成情報には、フィードバック情報が含まれている。フィードバック情報には、X軸、Y軸、およびZ軸の位置をそれぞれ示すデータ「X2、Y2、Z2」が含まれている。また、No.2の合成情報には、交換情報「完了」および工具情報「T01」が含まれている。この場合、フィードバック情報取得部23がNo.2のフィードバック情報を取得した制御周期において、工具交換情報取得部24は、交換情報を取得している。
 No.3の合成情報には、フィードバック情報が含まれている。フィードバック情報には、X軸、Y軸、およびZ軸の位置をそれぞれ示すデータ「X3、Y3、Z3」が含まれている。また、No.3の合成情報には、交換情報および工具情報は含まれていない。
 No.4の合成情報には、フィードバック情報が含まれている。フィードバック情報には、X軸、Y軸、およびZ軸の位置をそれぞれ示すデータ「X4、Y4、Z4」が含まれている。また、No.4の合成情報には、交換情報および工具情報は含まれていない。
 No.nの合成情報には、フィードバック情報が含まれている。フィードバック情報には、X軸、Y軸、およびZ軸の位置をそれぞれ示すデータ「Xn、Yn、Zn」が含まれている。また、No.nの合成情報には、交換情報「完了」および工具情報「T02」が含まれている。この場合、フィードバック情報取得部23がNo.nのフィードバック情報を取得した制御周期において、工具交換情報取得部24は、交換情報を取得している。
 No.n+1の合成情報には、フィードバック情報が含まれている。フィードバック情報には、X軸、Y軸、およびZ軸の位置をそれぞれ示すデータ「Xn+1、Yn+1、Zn+1」が含まれている。また、No.n+1の合成情報には、交換情報および工具情報は含まれていない。ここで、図2の説明に戻る。
 形状情報記憶部26は、工具の形状を示す形状情報を記憶する。形状情報には、例えば、工具種別、刃径、刃長、シャンク径および全長を示す情報が含まれる。
 図5は、形状情報の一例を示す図である。工具番号1番には、工具種別がフラットエンドミル、刃径がD6.0[mm]、刃長が12[mm]、シャンク径が6[mm]、全長が55[mm]の工具の形状情報が記憶されている。
 工具番号2番には、工具種別がボールエンドミル、刃径がR1.0[mm]、刃長が4[mm]、シャンク径が4[mm]、全長が60[mm]の工具の形状情報が記憶されている。さらに、工具番号3番以降についても工具の形状情報が記憶されてもよい。
 加工シミュレーション部27は、合成情報、および形状情報に基づいて、ワークの加工シミュレーションを実行する。加工シミュレーション部27は、ワークの形状を示すワーク形状情報をさらに用いて加工シミュレーションを実行してもよい。この場合、形状情報記憶部26にワークの形状を示すワーク形状情報を記憶させておいてもよい。加工シミュレーション部27がワーク形状情報を用いてシミュレーションを実行する場合、加工シミュレーション部27は、例えば、図6Aに示す加工前のワークWを描画する。
 加工シミュレーション部27は、合成情報に含まれる各軸の位置を示すデータに基づいて工具の位置を描画する。加工シミュレーション部27が、例えば、図4に示す合成情報に基づいて加工シミュレーションを実行する場合、加工シミュレーション部27は、まず、No.1のフィードバック情報が示す位置(X1、Y1、Z1)に工具を描画する。このときに描画される工具は、例えば、前回の加工シミュレーションにおいて最後に用いられた工具である。
 次に、加工シミュレーション部27は、No.2のフィードバック情報が示す位置(X2、Y2、Z2)に工具を描画する。また、加工シミュレーション部27は、この位置において、工具交換の描画を行う。すなわち、加工シミュレーション部27は、工具番号1番の工具に工具交換が行われる描画を行う。形状情報記憶部26が、例えば、図5に示す形状情報を記憶している場合、加工シミュレーション部27は、フラットエンドミルに工具交換が行われる描画を行う。
 次に、加工シミュレーション部27は、No.3のフィードバック情報が示す位置(X3、Y3、Z3)に工具を描画する。次に、加工シミュレーション部27は、No.4のフィードバック情報が示す位置(X4、Y4、Z4)に工具を描画する。加工シミュレーション部27は、このような処理を順次、合成情報、および形状情報に基づいて実行することにより、工具交換のシミュレーションを含む加工シミュレーションを行う。加工シミュレーション部27は、工具番号1番の工具を用いて加工シミュレーションを実行した結果を、例えば、図6Bのように描画する。
 同様に、加工シミュレーション部27は、No.nのフィードバック情報が示す位置(Xn、Yn、Zn)に工具を描画する。また、加工シミュレーション部27は、この位置において、工具交換の描画を行う。すなわち、加工シミュレーション部27は、工具番号1番のフラットエンドミルから工具番号2番のボールエンドミルに工具交換が行われる描画を行う。
 次に、加工シミュレーション部27は、No.n+1のフィードバック情報が示す位置(Xn+1、Yn+1、Zn+1)に工具を描画する。工具番号2番の工具を用いた加工シミュレーションが終了すると、加工シミュレーション部27は、工具番号2番の工具を用いて加工シミュレーションを実行した結果を、例えば、図6Cのように描画する。
 出力部28は、加工シミュレーションを実行することによって生成された加工後のワークWの形状を示す加工形状情報を出力する。なお、出力部28は、加工後のワークWの形状だけではなく、加工シミュレーション部27によって描画された加工途中のワーク形状、および工具の動作を示す情報を出力してもよい。出力部28は、例えば、入出力装置3の表示画面に加工形状情報を出力する。
 次に、数値制御装置2が実行する処理の流れについて説明する。
 図7は、数値制御装置2が実行する処理の流れの一例について説明する図である。
 数値制御装置2では、まず、制御部22が加工プログラムを解釈して、工作機械1の軸を制御する(ステップS1)。
 次に、フィードバック情報取得部23は、各軸の位置を示すフィードバック情報を取得する(ステップS2)。
 次に、工具交換情報取得部24が、工具情報および交換情報を取得する(ステップS3)。
 次に、合成情報生成部25が、フィードバック情報と、工具情報および交換情報を合成して合成情報を生成する(ステップS4)。
 次に、加工シミュレーション部27が合成情報および工具の形状を示す形状情報に基づいて加工シミュレーションを実行する(ステップS5)。
 次に、出力部28が加工後のワークWの形状を示す加工形状情報を出力し(ステップS6)、処理を終了する。
 以上説明したように、数値制御装置2は、工具を特定する工具情報を含む加工プログラムを解釈して工作機械1の軸を制御する制御部22と、軸の位置を示すフィードバック情報を工作機械1から取得するフィードバック情報取得部23と、加工プログラムから工具情報を取得し、かつ、工具が交換されたこと示す交換情報を工作機械1から取得する工具交換情報取得部24と、フィードバック情報取得部23によって取得されたフィードバック情報と、工具交換情報取得部24によって取得された工具情報および交換情報とを合成して合成情報を生成する合成情報生成部25と、工具の形状を示す形状情報を記憶する形状情報記憶部26と、合成情報、および形状情報に基づいて、ワークWの加工シミュレーションを実行する加工シミュレーション部27と、加工シミュレーションを実行することによって生成された加工後のワークWの形状を示す加工形状情報を出力する出力部28と、を備える。
 したがって、フィードバック情報に基づいて行なわれるシミュレーションに工具交換のシミュレーションを、タイミングを合わせて組み入れて加工シミュレーションを実行することができる。
 また、合成情報生成部25は、フィードバック情報の取得に係る時間軸と交換情報の取得に係る時間軸とを一致させて合成情報を生成する。したがって、数値制御装置2は、加工シミュレーション部27によって描画される工具の工具交換のタイミングを、軸の位置を示す時系列データの時間軸に合わせて描画することができる。
 また、フィードバック情報取得部23と工具交換情報取得部24とは、工作機械1から1制御周期内において、それぞれ、フィードバック情報と交換情報とを取得する。交換情報は、工具の交換が完了したことを示す信号である。したがって、数値制御装置2は、加工シミュレーション部27によって描画される工具交換のタイミングを、軸の位置を示す時系列データの時間軸に容易に合わせることができる。
 上述した実施形態では、工具交換情報取得部24は、加工プログラムから工具情報を取得する。しかし、工具交換情報取得部24は、工作機械1に設置された装置から工具情報を取得してもよい。例えば、工作機械1に搭載されるATC(Automatic Tool Changer)は、工具番号を示す情報を有している。そのため、工具交換情報取得部24は、交換情報とともに、工具情報をATCから取得してもよい。
 上述した実施形態では、フィードバック情報取得部23と工具交換情報取得部24とが、1制御周期内において、それぞれ、フィードバック情報と交換情報とを取得する。しかし、合成情報生成部25がフィードバック情報の取得に係る時間軸と交換情報の取得に係る時間軸とを一致させることができれば、必ずしも、フィードバック情報と交換情報とが1制御周期内において取得されなくてもよい。
 例えば、フィードバック情報取得部23は、フィードバック情報を取得するときの時刻に関する情報をフィードバック情報とともに取得する。フィードバック情報を取得するときの時刻に関する情報は、例えば、タイムスタンプによって付与される。また、工具交換情報取得部24は、交換情報を取得するときの時刻に関する情報を交換情報とともに取得する。この場合、合成情報生成部25は、タイムスタンプが示す時刻の情報に基づいて、両者の時間軸を一致させて、フィードバック情報と交換情報とを合成することができる。
 数値制御装置2は、さらに、経路誤差算出部を備えていてもよい。経路誤差算出部は、加工プログラムの指令に基づいて算出された工具の移動経路とフィードバック情報が示す工具の移動経路との差を算出する。
 出力部28は、経路誤差算出部によって算出された、各移動経路の間の差を出力する。これにより、オペレータは、加工プログラムで指定された工具の移動経路と、実際に工作機械1の各軸を動作させたときの工具の移動経路との差を容易に確認することができる。
 なお、本開示は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。本開示では、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。
  1     工作機械
  2     数値制御装置
  201   ハードウェアプロセッサ
  202   バス
  203   ROM
  204   RAM
  205   不揮発性メモリ
  206   インタフェース
  207   軸制御回路
  208   スピンドル制御回路
  209   PLC
  210   I/Oユニット
  21    プログラム記憶部
  22    制御部
  23    フィードバック情報取得部
  24    工具交換情報取得部
  25    合成情報生成部
  26    形状情報記憶部
  27    加工シミュレーション部
  28    出力部
  3     入出力装置
  4     サーボアンプ
  5     サーボモータ
  6     スピンドルアンプ
  7     スピンドルモータ
  8     補助機器
  W     ワーク

Claims (4)

  1.  工具を特定する工具情報を含む加工プログラムを解釈して工作機械の軸を制御する制御部と、
     前記軸の位置を示すフィードバック情報を前記工作機械から取得するフィードバック情報取得部と、
     前記加工プログラムから前記工具情報を取得し、かつ、前記工具が交換されたこと示す交換情報を前記工作機械から取得する工具交換情報取得部と、
     前記フィードバック情報取得部によって取得された前記フィードバック情報と、前記工具交換情報取得部によって取得された前記工具情報および前記交換情報とを合成して合成情報を生成する合成情報生成部と、
     前記工具の形状を示す形状情報を記憶する形状情報記憶部と、
     前記合成情報、および前記形状情報に基づいて、ワークの加工シミュレーションを実行する加工シミュレーション部と、
     前記加工シミュレーションを実行することによって生成された加工後のワークの形状を示す加工形状情報を出力する出力部と、
    を備える数値制御装置。
  2.  前記合成情報生成部は、前記フィードバック情報の取得に係る時間軸と前記交換情報の取得に係る時間軸とを一致させて前記合成情報を生成する請求項1に記載の数値制御装置。
  3.  前記フィードバック情報取得部と前記工具交換情報取得部とは、前記工作機械から1制御周期内において、それぞれ、前記フィードバック情報と前記交換情報とを取得する請求項2に記載の数値制御装置。
  4.  前記交換情報は、前記工具の交換が完了したことを示す信号である請求項1~3のいずれか1項に記載の数値制御装置。
PCT/JP2021/036159 2021-09-30 2021-09-30 数値制御装置 WO2023053349A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202180102651.XA CN117980838A (zh) 2021-09-30 2021-09-30 数值控制装置
DE112021007995.6T DE112021007995T5 (de) 2021-09-30 2021-09-30 Numerische Steuerung
PCT/JP2021/036159 WO2023053349A1 (ja) 2021-09-30 2021-09-30 数値制御装置
JP2023550915A JPWO2023053349A1 (ja) 2021-09-30 2021-09-30

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/036159 WO2023053349A1 (ja) 2021-09-30 2021-09-30 数値制御装置

Publications (2)

Publication Number Publication Date
WO2023053349A1 true WO2023053349A1 (ja) 2023-04-06
WO2023053349A9 WO2023053349A9 (ja) 2024-02-08

Family

ID=85781631

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/036159 WO2023053349A1 (ja) 2021-09-30 2021-09-30 数値制御装置

Country Status (4)

Country Link
JP (1) JPWO2023053349A1 (ja)
CN (1) CN117980838A (ja)
DE (1) DE112021007995T5 (ja)
WO (1) WO2023053349A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683429A (ja) * 1992-09-04 1994-03-25 Mori Seiki Co Ltd 工具経路表示装置
JP2001255921A (ja) * 2000-03-09 2001-09-21 Yoshiaki Kakino 加工制御システム
JP2020071734A (ja) * 2018-10-31 2020-05-07 ファナック株式会社 数値制御装置
JP2021128709A (ja) * 2020-02-17 2021-09-02 オムロン株式会社 処理装置、及び処理方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683429A (ja) * 1992-09-04 1994-03-25 Mori Seiki Co Ltd 工具経路表示装置
JP2001255921A (ja) * 2000-03-09 2001-09-21 Yoshiaki Kakino 加工制御システム
JP2020071734A (ja) * 2018-10-31 2020-05-07 ファナック株式会社 数値制御装置
JP2021128709A (ja) * 2020-02-17 2021-09-02 オムロン株式会社 処理装置、及び処理方法

Also Published As

Publication number Publication date
DE112021007995T5 (de) 2024-05-16
CN117980838A (zh) 2024-05-03
JPWO2023053349A1 (ja) 2023-04-06
WO2023053349A9 (ja) 2024-02-08

Similar Documents

Publication Publication Date Title
JP4837110B2 (ja) 工具軌跡表示機能を有する数値制御装置
CN102027426B (zh) 数控方法及其装置
JP2020071734A (ja) 数値制御装置
JPH046001B2 (ja)
TW201234149A (en) Numerical control device
US20110238204A1 (en) Numerical control device, method of controlling the same, and system program therefor
CN105302061A (zh) 左手坐标系对应的数值控制装置
CN104635624A (zh) 用于控制四轴加工设备的数控系统控制方法及其控制系统
WO2023053349A1 (ja) 数値制御装置
US6999844B2 (en) Numerical controller
JP2008269483A (ja) 数値制御装置
EP0647892B1 (en) Numeric controller
JP6916409B1 (ja) 数値制御装置
JP2003058211A (ja) 工作機械及びその制御方法
JP2007172325A (ja) 自由曲線加工法および数値制御装置
WO1992009018A1 (en) Method for executing auxiliary function in numerical control equipment
WO2023162001A1 (ja) 加工面推定装置およびコンピュータ読み取り可能な記憶媒体
JP7175340B2 (ja) 工作機械、情報処理装置および情報処理プログラム
JPH05309546A (ja) 数値制御工作機械の加工時間計算方法及びその装置
WO2023276121A1 (ja) 数値制御装置
WO2022196622A1 (ja) 数値制御装置
WO2022039142A1 (ja) 数値制御装置、工作機械、および工作機械の制御方法
WO2023228356A1 (ja) 数値制御装置およびコンピュータ読み取り可能な記憶媒体
JPH03126104A (ja) 送り速度制御方式
JPH03246707A (ja) 系統別位置補正方式

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21959388

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023550915

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 18693739

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 202180102651.X

Country of ref document: CN