Numerical control device and computer-readable storage medium
The numerical control device and storage medium address the challenge of tool wear in machine tools without temperature sensors by generating adaptive control commands based on physical quantities, ensuring effective machining and tool longevity.
Patent Information
- Application Number
- PCT/JP2023/010006
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2024-09-19
AI Technical Summary
Conventional methods to suppress tool wear during machining require temperature measurement sensors, making them unsuitable for machine tools without such sensors, necessitating a solution that can manage tool wear without temperature monitoring.
A numerical control device and computer-readable storage medium that generate and update control commands based on integrated values of physical quantities like continuous cutting time, feed rate, torque, or depth of cut, allowing for adaptive control of machining parameters to prevent tool wear without relying on temperature sensors.
Effectively suppresses tool wear by adjusting machining parameters based on real-time or estimated physical quantities, ensuring efficient machining even in machine tools without temperature measurement sensors, thereby extending tool lifespan and maintaining process efficiency.
Smart Images

Figure JP2023010006_19092024_PF_FP_ABST
Abstract
Description
Numerical control device and computer-readable storage medium
[0001] The present disclosure relates to a numerical control device and a computer-readable storage medium.
[0002] 2. Description of the Related Art Conventionally, a technique has been known in which the machining speed is reduced in accordance with the temperature of the tool during machining in order to suppress wear of the tool, etc. (for example, see Patent Document 1).
[0003] Japanese Patent Application Laid-Open No. 2003-208205
[0004] However, in order to measure the temperature of the tool during machining, a special temperature measurement sensor must be installed in the machine tool. Therefore, this technology cannot be used on machine tools that do not have a temperature measurement sensor. Therefore, there is a need for a technology that can suppress tool wear even on machine tools that do not have a temperature measurement sensor.
[0005] The numerical control device disclosed herein includes a command generation unit that generates a control command for controlling a control axis based on a machining program, a first acquisition unit that acquires a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program, a second acquisition unit that acquires a second value, a command update unit that updates the control command based on the first value acquired by the first acquisition unit and the second value acquired by the second acquisition unit, and a control unit that controls the control axis based on the control command updated by the command update unit.
[0006] The computer-readable storage medium of the present disclosure stores instructions that cause a computer to execute the following: generating a control command for controlling a control axis based on a machining program; acquiring a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program; acquiring a second value; updating the control command based on the acquired first value and second value; and controlling the control axis based on the updated control command.
[0007] 1 is a block diagram showing an example of a hardware configuration of a machine tool; FIG. 2 is a block diagram showing an example of a function of a numerical control device; FIG. 3 is a diagram explaining an example in which a control unit controls a control axis based on a control command updated by a command update unit; FIG. 4 is a diagram explaining an example in which a control unit controls a control axis based on a control command updated by a command update unit; FIG. 5 is a diagram explaining an example in which a control unit controls a control axis based on a control command updated by a command update unit; FIG. 6 is a diagram explaining an example in which a control unit controls a control axis based on a control command updated by a command update unit; FIG. 7 is a diagram explaining an example in which a control unit controls a control axis based on a control command updated by a command update unit; FIG. 8 is a diagram explaining an example in which a control unit controls a control axis based on a control command updated by a command update unit; FIG. 9 is a diagram explaining an example in which a control unit controls a control axis based on a control command updated by a command update unit;
[0008] A numerical control device and a computer-readable storage medium according to an embodiment of the present disclosure will be described below with reference to the drawings. In the following description, components having the same or similar functions will be assigned the same reference numerals. Duplicate descriptions of those components may be omitted.
[0009] In this application, "based on XX" means "based on at least XX," and includes cases where it is based on other elements in addition to XX. Furthermore, "based on XX" is not limited to cases where XX is used directly, but also includes cases where it is based on XX that has been calculated or processed. "XX" is any element (for example, any information).
[0010] A numerical control device is a device for controlling a machine tool. A machine tool is a machine for machining a workpiece. Examples of machine tools include a machining center, a lathe, and a multi-tasking machine.
[0011] 1 is a block diagram showing an example of the hardware configuration of a machine tool 1. The machine tool 1 includes a numerical control device 2, an input / output device 3, a servo amplifier 4, a servo motor 5, a spindle amplifier 6, a spindle motor 7, an auxiliary device 8, and a sensor 9.
[0012] The numerical control device 2 is a device for controlling the machine tool 1. The numerical control device 2 includes, for example, a hardware processor 201, a bus 202, a ROM (Read Only Memory) 203, a RAM (Random Access Memory) 204, and a non-volatile memory 205.
[0013] The hardware processor 201 is a processor that uses a system program to control the entire numerical control device 2. The hardware processor 201 reads the system program stored in the ROM 203 via the bus 202. The hardware processor 201 is, for example, a CPU (Central Processing Unit) or an electronic circuit.
[0014] The bus 202 is a communication path that connects the various hardware components of the numerical control device 2. The various hardware components of the numerical control device 2 exchange data via the bus 202.
[0015] The ROM 203 is a storage device that stores system programs, etc. The ROM 203 is a computer-readable storage medium.
[0016] The RAM 204 is a storage device that temporarily stores various data and functions as a work area for the hardware processor 201 to process various data.
[0017] The nonvolatile memory 205 is a storage device that retains data even when the power to the numerical control device 2 is turned off. The nonvolatile memory 205 stores, for example, a machining program. The nonvolatile memory 205 is a computer-readable storage medium. The nonvolatile memory 205 is, for example, a battery-backed memory or an SSD (Solid State Drive).
[0018] The numerical control device 2 further includes a first interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 , an I / O unit 210 , and a second interface 211 .
[0019] The first interface 206 connects the bus 202 and the input / output device 3. The first interface 206 sends various data processed by the hardware processor 201 to the input / output device 3, for example.
[0020] The input / output device 3 receives various data via the first interface 206 and displays the various data on a display. The input / output device 3 also receives input of various data and sends the data to, for example, the hardware processor 201 via the first interface 206.
[0021] The input / output device 3 is, for example, a touch panel. When the input / output device 3 is a touch panel, the input / output device 3 is, for example, a capacitive touch panel. The touch panel is not limited to a capacitive touch panel and may be a touch panel of another type. The input / output device 3 is installed in an operation panel (not shown) in which the numerical control device 2 is housed.
[0022] The axis control circuit 207 is a circuit for controlling the servo motor 5. The axis control circuit 207 receives control commands from the hardware processor 201 and sends various commands to the servo amplifier 4 for driving the servo motor 5. The axis control circuit 207 sends, for example, a torque command for controlling the torque of the servo motor 5 to the servo amplifier 4.
[0023] The servo amplifier 4 receives a command from the axis control circuit 207 and supplies a current to the servo motor 5 .
[0024] The servo motors 5 are driven by receiving a current supply from the servo amplifier 4. The servo motors 5 are provided corresponding to the respective control axes of the machine tool 1. If the machine tool 1 is a machine tool having five axes, the servo motors 5 include, for example, an X-axis servo motor, a Y-axis servo motor, a Z-axis servo motor, an A-axis servo motor, and a C-axis servo motor. In this case, an axis control circuit 207 and a servo amplifier 4 are provided for each servo motor 5.
[0025] The servo motor 5 is connected to, for example, a ball screw that moves a structure of the machine tool 1. When the servo motor 5 is driven, a structure of the machine tool 1, such as a tool post, moves along a predetermined control axis.
[0026] The servo motor 5 has a built-in encoder (not shown) that detects the position and feed speed of the control axis. Position feedback information and speed feedback information indicating the position and feed speed of the control axis detected by the encoder are fed back to the axis control circuit 207. In this way, the axis control circuit 207 performs feedback control of each control axis.
[0027] The spindle control circuit 208 is a circuit for controlling the spindle motor 7. The spindle control circuit 208 receives a control command from the hardware processor 201 and sends a command to the spindle amplifier 6 to drive the spindle motor 7. The spindle control circuit 208 sends, for example, a spindle speed command to the spindle amplifier 6 to control the rotation speed of the spindle motor 7.
[0028] The spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies a current to the spindle motor 7 .
[0029] The spindle motor 7 is driven by receiving a current supplied from the spindle amplifier 6. The spindle motor 7 is connected to the main shaft and rotates the main shaft.
[0030] The PLC 209 is a device that executes a ladder program to control the auxiliary device 8. The PLC 209 sends commands to the auxiliary device 8 via an I / O unit 210.
[0031] 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 device 8.
[0032] The auxiliary device 8 is installed in the machine tool 1 and performs auxiliary operations in the machine tool 1. The auxiliary device 8 operates based on commands received from the I / O unit 210. The auxiliary device 8 may be a device installed in the periphery of 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 device.
[0033] The second interface 211 connects the bus 202 and the sensor 9. The second interface 211 sends measurement data measured by the sensor 9 to the hardware processor 201, for example.
[0034] The sensor 9 is a device that measures various physical quantities. The sensor 9 is, for example, an ammeter and a torque sensor. The ammeter measures, for example, the current supplied to the servo motor 5 and the spindle motor 7. The torque sensor measures the torque applied to the spindle motor and each servo motor.
[0035] 2 is a block diagram showing an example of the functions of the numerical control device 2. The numerical control device 2 includes, for example, a program analysis unit 221, a command generation unit 222, a first acquisition unit 223, a storage unit 224, a second acquisition unit 225, a command update unit 226, and a control unit 227.
[0036] The program analysis unit 221, the command generation unit 222, the first acquisition unit 223, the second acquisition unit 225, the command update unit 226, and the control unit 227 are realized, for example, by the hardware processor 201 performing arithmetic processing using the system program stored in the ROM 203 and the machining program stored in the nonvolatile memory 205. The storage unit 224 is realized, for example, by storing various data in the nonvolatile memory 205.
[0037] The program analysis unit 221 analyzes a machining program. The machining program is a program used to machine a workpiece. The machining program includes, for example, any of a command specifying a tool movement path, a command specifying a feed rate, a command specifying a tool rotation speed, a command specifying a cutting depth, and a command specifying a cutting speed.
[0038] The program analysis unit 221 reads the machining program ahead of time and interprets each command specified in the machining program.
[0039] The command generation unit 222 generates control commands for controlling the control axes based on the machining program. The command generation unit 222 generates control commands based on the interpretation result of the machining program by the program analysis unit 221.
[0040] The control axis includes, for example, any of the X-axis, Y-axis, Z-axis, A-axis, B-axis, and C-axis. The control command may include a command to control the rotation of the spindle.
[0041] The command generation unit 222 generates a control command to move the tool along a movement path specified in the machining program. The command generation unit 222 generates a control command to move the tool at a feed rate specified in the machining program. The command generation unit 222 generates a control command to rotate the tool at a rotation speed specified in the machining program. The command generation unit 222 generates a control command to machine the workpiece with a cutting amount specified in the machining program. The command generation unit 222 generates a control command to machine the workpiece at a cutting speed specified in the machining program.
[0042] The first acquisition unit 223 acquires a first value indicating an integrated value of a predetermined physical quantity during execution of a machining program. The predetermined physical quantity is, for example, time. The predetermined physical quantity is integrated while the workpiece is continuously cut. The period during which the workpiece is continuously cut is the period from when the tool and the workpiece come into contact with each other until they separate from each other.
[0043] The first acquisition unit 223 acquires an actual measurement value of a predetermined physical quantity. The first acquisition unit 223 acquires the first value based on information acquired from a torque sensor, for example.
[0044] When the predetermined physical quantity is time, the integrated value of the predetermined physical quantity is the time during which the workpiece is continuously cut. The time during which the workpiece is continuously cut is referred to as the continuous cutting time. The process for calculating the continuous cutting time will be described in detail later.
[0045] The predetermined physical quantity is not limited to time, but may be the amount of the cut portion cut by the tool per unit time. The amount of the cut portion is expressed, for example, as volume. In this case, the integrated value of the predetermined physical quantity is a value indicating the amount of the cut portion while the workpiece is continuously cut by the tool. The amount of the cut portion while the workpiece is continuously cut by the tool is referred to as the continuous cutting amount.
[0046] The predetermined physical quantity may be the feed rate at any point during cutting, the torque of the spindle motor at any point during cutting, and the depth of cut at any point during cutting.
[0047] When the predetermined physical quantity is the feed rate at any time during cutting, the integrated value of the predetermined physical quantity is the integral of the feed rate during continuous cutting, i.e., the integrated value of the predetermined physical quantity is the integral of the feed rate from when the tool and workpiece come into contact with each other until they separate from each other.
[0048] When the predetermined physical quantity is the torque of the spindle motor at any time during cutting, the integrated value of the predetermined physical quantity is the integral of the torque of the spindle motor during continuous cutting, i.e., the integrated value of the predetermined physical quantity is the integral of the torque from when the tool and workpiece come into contact with each other until they separate from each other.
[0049] When the predetermined physical quantity is the cutting depth at any point during cutting, the integrated value of the predetermined physical quantity is the integral of the cutting depth during continuous cutting, i.e., the integrated value of the predetermined physical quantity is the integral of the cutting depth from when the tool and workpiece come into contact with each other until they separate from each other.
[0050] The storage unit 224 stores the second value. The second value is a value used for the determination made when the command update unit 226 updates the control command. The update of the control command performed by the command update unit 226 will be described in detail later.
[0051] The second value is a threshold value, such as a threshold value for the continuous cutting time or a threshold value for the continuous cutting amount.
[0052] As will be described later, the control command is not updated until the first value becomes equal to or greater than the second value. Therefore, if the second value is excessively large, the control command is not updated. In this case, tool wear may accelerate.
[0053] On the other hand, if the control command is updated too early, the cycle time will become longer. Therefore, the second value is determined taking into consideration, for example, preventing tool wear from accelerating and delaying the update of the control command as much as possible.
[0054] The second value may be determined based on the experience of a skilled technician, for example, or may be determined by machine learning using big data that indicates the relationship between a predetermined physical quantity and tool wear.
[0055] The second acquisition unit 225 acquires the second value from, for example, the storage unit 224 that stores the second value.
[0056] The second acquisition unit 225 may acquire the second value from a source other than the storage unit 224. For example, the second acquisition unit 225 may acquire the second value based on an operator's operation on the input / output device 3. In other words, the operator may input the second value to the input / output device 3.
[0057] The command update unit 226 updates the control command generated by the command generation unit 222 based on the first value acquired by the first acquisition unit 223 and the second value acquired by the second acquisition unit 225. The command update unit 226 updates the control command by, for example, comparing the first value with the second value. Updating the control command also includes adding a control command.
[0058] If the first value is equal to or greater than the second value, the command update unit 226 updates the control command generated by the command generation unit 222. The command update unit 226 performs, for example, at least one of updating a control command specifying a feed rate, updating a control command specifying a cutting depth, and adding a control command specifying a waiting time for cutting. The command update unit 226 may also perform updating a control command specifying a rotational speed of the tool and updating a control command specifying a cutting speed.
[0059] For example, if the value indicating the continuous cutting time acquired by the first acquisition unit 223 is equal to or greater than the threshold value of the continuous cutting time, the command update unit 226 changes the control command generated by the command generation unit 222 to a control command specifying a feed rate slower than the feed rate specified by the control command.
[0060] In this case, the control unit 227 controls the control axis based on the control command updated by the command update unit 226 .
[0061] If the first value is less than the second value, the command update unit 226 does not update the command generated by the command generation unit 222. For example, if the value indicating the continuous cutting time acquired by the first acquisition unit 223 is less than the threshold value of the continuous cutting time, the command update unit 226 does not update the control command generated by the command generation unit 222.
[0062] In this case, the control unit 227 controls the control axis based on the control command generated by the command generation unit 222. The control unit 227 controls the control axis based on, for example, a feed rate specified by the control command generated by the command generation unit 222.
[0063] 3A and 3B are diagrams illustrating an example in which control unit 227 controls control axes based on control commands updated by command update unit 226. Note that the outlined arrows in Figures 3A and 3B indicate velocity vectors. Also, the arrows and the letters X, Y, and Z in the drawings indicate the directions of the control axes in the coordinate system set in machine tool 1.
[0064] 3A shows an example in which the tool T machines the workpiece W at a feed rate specified by a control command generated by the command generating unit 222. That is, in the example shown in FIG. 3A , the control command has not yet been updated by the command updating unit 226. In this case, the control unit 227 moves the tool T at the feed rate specified by the control command generated by the command generating unit 222.
[0065] 3B shows an example in which the tool T machines the workpiece W at a feed rate specified by the control command updated by the command update unit 226. That is, in the example shown in FIG. 3B, the command generated by the command generation unit 222 is updated by the command update unit 226 during execution of the machining program. In this case, the control unit 227 moves the tool T at the feed rate specified by the updated control command from the point in time when the control command is updated by the command update unit 226.
[0066] The command update unit 226 updates the control command to specify a feed rate slower than the feed rate specified by the control command generated by the command generation unit 222. For example, the command update unit 226 changes the feed rate to 0.5 times the feed rate specified by the control command generated by the command generation unit 222.
[0067] 4A and 4B are diagrams illustrating an example in which the control unit 227 controls the control axis based on the control command updated by the command update unit 226.
[0068] 4A shows an example in which the tool T moves based on the cutting-in amount specified by the control command generated by the command generating unit 222. That is, in the example shown in FIG. 4A , the control command has not yet been updated by the command updating unit 226. In this case, the control unit 227 moves the tool T by the cutting-in amount specified by the control command generated by the command generating unit 222.
[0069] 4B shows an example in which the tool T moves based on the cutting-in amount specified by the control command updated by the command update unit 226. That is, in the example shown in Fig. 4B, the command generated by the command generation unit 222 is updated by the command update unit 226 during execution of the machining program. In this case, the control unit 227 moves the control axis by the cutting-in amount specified by the updated control command from the point in time when the control command is updated by the command update unit 226.
[0070] The command update unit 226 updates the control command to one that specifies a cut-in amount smaller than the cut-in amount specified by the control command generated by the command generation unit 222. For example, the command update unit 226 changes the cut-in amount to 0.5 times the cut-in amount specified by the control command generated by the command generation unit 222.
[0071] 5A and 5B are diagrams illustrating an example in which the control unit 227 controls the control axis based on the control command updated by the command update unit 226. FIG.
[0072] 5A shows an example in which the tool T moves based on the control command generated by the command generating unit 222. That is, in the example shown in FIG. 5A , the control command has not yet been updated by the command updating unit 226. Therefore, the control unit 227 moves the tool T along the movement path specified by the control command generated by the command generating unit 222.
[0073] 5B shows an example in which the control axes are controlled based on a control command specifying a waiting time for cutting that has been added by the command update unit 226. In the example shown in Fig. 5B, the control command updated by the command update unit 226 includes a command to retract the tool T during cutting and a command to wait for a predetermined time at the retracted position before cutting.
[0074] For example, when the end mill is cutting the end face of the workpiece W in the negative direction of the X axis, the command update unit 226 retracts the tool T by several millimeters in both the positive direction of the X axis and the positive direction of the Y axis, and updates the control command to one that causes cutting to wait, for example, 60 seconds.
[0075] 6A and 6B are diagrams illustrating an example in which the control unit 227 controls the control axis based on the control command updated by the command update unit 226.
[0076] 6A shows an example in which the tool T moves based on the control command generated by the command generating unit 222. That is, in the example shown in FIG. 6A , the control command has not yet been updated by the command updating unit 226. Therefore, the control unit 227 moves the tool T along the movement path specified by the control command generated by the command generating unit 222.
[0077] 6B shows an example in which the control axes are controlled based on a command specifying a waiting time for cutting that has been added by the command update unit 226. That is, in the example shown in Fig. 6B, the control command updated by the command update unit 226 includes a command to retract the tool T during cutting and a command to wait for a predetermined time at the retracted position before cutting.
[0078] For example, when the end mill is moving in the negative direction of the X-axis to perform groove machining, the command update unit 226 updates the control command to one that retracts the tool T in the positive direction of the Z-axis and waits for cutting for, for example, 60 seconds.
[0079] Next, a process for calculating the continuous cutting time will be described. The continuous cutting time is, for example, an actually measured value.
[0080] 7 is a flowchart showing an example of a process for calculating the continuous cutting time. When execution of the machining program is started, the control unit 227 controls the control axes in accordance with the machining program (step SA1).
[0081] While controlling the control axes, the control unit 227 detects the torque of the spindle and determines whether the torque is greater than 0 (step SA2). While the workpiece W is being cut by the tool T, a large load is applied to the spindle. On the other hand, while the workpiece W is not being cut by the tool T, no load is applied to the spindle. Therefore, by determining whether the torque is greater than 0, the control unit 227 can determine whether cutting is being performed.
[0082] If the torque is greater than 0 (Yes in step SA2), a predetermined time is added to the continuous cutting time (step SA3). The predetermined time is, for example, 1 ms. The continuous cutting time is stored in, for example, the RAM 204.
[0083] If the torque is equal to or less than 0 (No in step SA2), the continuous cutting time is set to 0 (step SA4), that is, the continuous cutting time is reset.
[0084] Next, the control unit 227 determines whether the machining program has ended (step SA5). If the machining program has ended (Yes in step SA5), the continuous cutting time acquisition process ends. On the other hand, if the machining program has not yet ended (No in step SA5), the process of step SA1 is executed again.
[0085] 7, the continuous cutting time is reset when the torque becomes equal to or less than 0. However, the continuous cutting time may be reset after a predetermined time has elapsed after the torque becomes 0.
[0086] 8 is a flowchart showing another example of the process for calculating the continuous cutting time.When execution of the machining program is started, the control unit 227 controls the control axes in accordance with the machining program (step SB1).
[0087] The control unit 227 determines whether or not the cutting mode is in progress based on the command of the currently executed block (step SB2). For example, if the currently executed block includes the linear interpolation command "G01", the control unit 227 determines that the cutting mode is in progress.
[0088] If the control unit 227 determines that the cutting mode is not in progress (No in step SB2), the control unit 227 determines whether the non-cutting time has exceeded a predetermined time (step SB3). The predetermined time is, for example, 10 seconds.
[0089] If the non-cutting time exceeds the predetermined time (Yes in step SB3), the continuous cutting time is set to 0 (step SB4). That is, the continuous cutting time is reset. This makes it possible to prevent the continuous cutting time from being reset when, for example, the tool T is separated from the workpiece W for just an instant.
[0090] If the control unit 227 determines that the cutting mode is in progress (Yes in step SB2), a predetermined time is added to the continuous cutting time (step SB5). The predetermined time is, for example, 1 ms.
[0091] Next, the control unit 227 determines whether the machining program has ended (step SB6). If the machining program has ended (Yes in step SB6), the continuous cutting time acquisition process ends. On the other hand, if the machining program has not yet ended (No in step SB6), the process of step SB1 is executed again.
[0092] The integrated value of the predetermined physical quantity acquired by the first acquisition unit 223 may be an estimated value. The first acquisition unit 223 acquires the estimated value of the first value, for example, by analyzing the machining program. When the integrated value of the predetermined physical quantity is the continuous cutting time, the continuous cutting time is estimated based on the duration of the cutting mode.
[0093] Fig. 9 is an example of a machining program. In the machining program shown in Fig. 9, the time during which the cutting mode continues is the time during which the tool T is moved by the linear interpolation command "G01". In other words, the time during which the cutting mode continues is the time during which the tool T is moved by the commands specified in each block from sequence number "N1" to sequence number "N10". In each block from sequence number "N1" to sequence number "N10", the tool T moves at a feed rate of 60.0 "mm / min" specified by the "F" code.
[0094] In each of the blocks with sequence numbers "N1" to "N10," a command is specified to move the tool T by 1.0 mm in the positive direction of the X axis at a feed rate of 60.0 mm / min. Therefore, the duration of the cutting mode is 10 seconds. In this case, the first acquisition unit 223 estimates that the continuous cutting time is 10 seconds based on the analysis results of the machining program.
[0095] In the machining program shown in Figure 9, "O" is a code that specifies the program name. "G00" is a positioning command. "G90" is an absolute command. When an absolute command is specified, the position of tool T is specified by coordinate values in a coordinate system with the set origin as 0.
[0096] "G91" is an incremental command. When an incremental command is specified, the position of tool T is specified by the amount of movement from the current position of tool T.
[0097] "G01" is a linear interpolation command. When "G01" is specified, tool T moves in a straight line. The "F" code is a command that specifies the feed rate of tool T. In other words, "F60.0" is a command that moves tool T at 60.0 [mm / min].
[0098] "X1.0" in each block from sequence number "N1" to sequence number "N10" specifies that tool T is to be moved 1.0 [mm] in the positive direction of the X axis at a feed rate of 60.0 [mm / min]. "M00" is the program end command.
[0099] An example of a machining program is shown in Fig. 10. In the machining program shown in Fig. 10, the time during which the cutting mode continues is the time during which the tool T continues to move in accordance with the linear interpolation command "G01".
[0100] In the machining program shown in Figure 10, a dwell command "G04" is specified between the block with sequence number "N5" and the block with sequence number "N6". The dwell command is a command to stop the movement of tool T for a specified time. "X1.0" specified together with the dwell command is a command to specify the stop time. In other words, "G04X1.0" specifies that the movement of tool T will be stopped for 1.0 [sec].
[0101] 10, the continuous cutting time is the time during which the tool T moves in accordance with the commands specified in the blocks from sequence number "N1" to sequence number "N5." Also, the continuous cutting time is the time during which the tool T moves in accordance with the commands specified in the blocks from sequence number "N6" to sequence number "N10."
[0102] 10, the first acquisition unit 223 acquires 5 seconds, which is estimated as a value indicating the continuous cutting time, for the blocks from sequence number "N1" to sequence number "N5." The first acquisition unit 223 also acquires 5 seconds, which is estimated as a value indicating the continuous cutting time, for the blocks from sequence number "N6" to sequence number "N10."
[0103] FIG. 11 is a flowchart showing an example of the flow of processing executed by the numerical control device 2.
[0104] When the execution of the program is started, the program analysis unit 221 analyzes the machining program (step S1).
[0105] Next, the command generating unit 222 generates a control command for controlling the control axis based on the result of interpretation of the machining program by the program analyzing unit 221 (step S2).
[0106] Next, the control unit 227 controls the control axis based on the control command generated by the command generating unit 222 (step S3).
[0107] Next, the first acquisition unit 223 acquires a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program (step S4). The integrated value of the predetermined physical quantity is, for example, a continuous cutting time.
[0108] Next, the second acquisition unit 225 acquires a second value (step S5). The second value is, for example, a threshold value to be compared with the first value.
[0109] Next, the command update unit 226 compares the first value with the second value (step S6). If the first value is smaller than the second value (No in step S6), the control unit 227 continues to control the control axis (step S3).
[0110] If the first value is equal to or greater than the second value (Yes in step S6), the command updater 226 updates the control command generated by the command generator 222 (step S7).
[0111] Next, the control unit 227 controls the control axis based on the control command updated by the command update unit 226 (step S8), and the process ends.
[0112] In the above-described embodiment, when the command update unit 226 adds a control command specifying a waiting time for cutting, the control command includes a command to retract the tool T during cutting. However, when the command update unit 226 adds a control command specifying a waiting time for cutting, the control command does not need to include a command to retract the tool T during non-cutting. In other words, when the tool T is not in contact with the workpiece W, there is no need to retract the tool T.
[0113] In the above-described embodiment, the command update unit 226 may update the control command based on the third value calculated using the first value and the second value.
[0114] For example, the third value may be a value indicating the product of the continuous cutting time and the integral of the feed rate during the continuous cutting time. The third value may be a value indicating the product of the continuous cutting time and the integral of the cutting depth during the continuous cutting time. The third value may be a value indicating the product of the continuous cutting time and the integral of the torque of the spindle during the continuous cutting time.
[0115] The third value may be calculated using the first value and a numerical value indicating a characteristic of the workpiece W or the tool T. The numerical value indicating a characteristic of the workpiece W is, for example, a value indicating the hardness of the workpiece W. The numerical value indicating a characteristic of the tool T is, for example, a numerical value indicating the hardness of the tool T.
[0116] In the above-described embodiment, a plurality of second values may be stored in the storage unit 224. In this case, the second value may be acquired depending on the material of the workpiece W, the type of the tool T, etc.
[0117] In the above-described embodiment, when the first value becomes equal to or greater than the second value, the command update unit 226 updates the control command. However, the command update unit 226 may update the control command by predicting in advance that the first value will become equal to or greater than the second value.
[0118] For example, when a block following a currently executing block is executed, the first value may become equal to or greater than the second value during execution of the next block. In this case, the command update unit 226 may update the control command when execution of the currently executing block ends. Specifically, the command update unit 226 may add a control command specifying a waiting time for cutting when execution of the currently executing block ends.
[0119] As described above, the numerical control device 2 includes a command generation unit 222 that generates a control command for controlling the control axis based on the machining program, a first acquisition unit 223 that acquires a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program, a second acquisition unit 225 that acquires a second value, a command update unit 226 that updates the control command based on the first value acquired by the first acquisition unit 223 and the second value acquired by the second acquisition unit 225, and a control unit 227 that controls the control axis based on the control command updated by the command update unit 226.
[0120] Furthermore, the computer-readable storage medium stores instructions for causing a computer to execute the following: generating a control command for controlling the control axis based on the machining program, acquiring a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program, acquiring a second value, updating the control command based on the acquired first value and second value, and controlling the control axis based on the updated control command. Therefore, the numerical control device 2 can prevent wear of the tool T.
[0121] Furthermore, the first acquisition unit 223 acquires the first value based on the information acquired from the torque sensor. This allows the numerical controller 2 to acquire the actual measured value of the first value. This allows the numerical controller 2 to acquire the accurate value of the first value.
[0122] Furthermore, the first acquisition unit 223 analyzes the machining program to acquire the first value. That is, the numerical control device 2 can acquire an estimate of the first value. Therefore, the machine tool 1 does not need to be provided with special hardware for acquiring the first value.
[0123] The first value is a value indicating a continuous cutting time. The first value may also be a value indicating a continuous cutting amount. Therefore, the numerical control device 2 can suppress wear of the tool T even in a machine tool 1 that is not equipped with a sensor for measuring temperature or the like.
[0124] Furthermore, the command update unit 226 executes at least one of updating a control command specifying a feed rate, updating a control command specifying a cutting depth, and adding a control command specifying a waiting time for cutting. This enables the numerical control device 2 to prevent wear of the tool T from progressing at an accelerated rate.
[0125] Furthermore, the control command specifying the standby time includes a command to retract the tool T during cutting, but does not include a command to retract the tool T during non-cutting. Therefore, the numerical control device 2 can reliably prevent the progress of wear on the tool T during cutting. Furthermore, the numerical control device 2 can reduce the load of generating unnecessary commands during non-cutting.
[0126] Furthermore, the second acquisition unit 225 acquires the second value from the storage unit 224 that stores the second value. Therefore, the operator does not need to input the second value every time. Therefore, the numerical control device 2 can reduce the workload of the operator.
[0127] Although the present disclosure has been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible to these embodiments without departing from the gist of the present disclosure or the gist of the present disclosure derived from the content of the claims and their equivalents. Furthermore, these embodiments can also be implemented in combination.
[0128] The following are supplementary notes related to embodiments of the present disclosure. Supplementary Note [1] A numerical control device including: a command generation unit that generates a control command for controlling a control axis based on a machining program; a first acquisition unit that acquires a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program; a second acquisition unit that acquires a second value; a command update unit that updates the control command based on the first value acquired by the first acquisition unit and the second value acquired by the second acquisition unit; and a control unit that controls the control axis based on the control command updated by the command update unit. Supplementary Note [2] The numerical control device according to Supplementary Note [1], wherein the first acquisition unit acquires the first value based on information acquired from a torque sensor. Supplementary Note [3] The numerical control device according to Supplementary Note [1] or [2], wherein the first acquisition unit acquires the first value by analyzing the machining program. Supplementary Note [4] The numerical control device according to any of Supplements [1] to [3], wherein the first value is a value indicating a continuous cutting time. Supplementary Note [5] The numerical control device according to Supplementary Note [1], wherein the first value is a value indicating a continuous cutting amount. Supplementary Note [6] The numerical control device according to any of Supplements [1] to [5], wherein the command update unit executes at least one of updating a control command specifying a feed rate, updating a control command specifying a cutting depth, and adding a control command specifying a waiting time for cutting. Supplementary Note [7] The numerical control device according to Supplementary Note [6], wherein the control command specifying the waiting time includes a command to retract a tool during cutting, and does not include a command to retract the tool during non-cutting. Supplementary Note [8] The numerical control device according to any of Supplements [1] to [7], wherein the second acquisition unit acquires the second value from a storage unit that stores the second value. Supplementary Note [9] A computer-readable storage medium storing instructions that cause a computer to execute the following: generating a control command for controlling a control axis based on a machining program; acquiring a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program; acquiring a second value; updating the control command based on the acquired first value and second value; and controlling the control axis based on the updated control command.
[0129] REFERENCE SIGNS LIST 1 Machine tool 2 Numerical control device 201 Hardware processor 202 Bus 203 ROM 204 RAM 205 Non-volatile memory 206 First interface 207 Axis control circuit 208 Spindle control circuit 209 PLC 210 I / O unit 211 Second interface 221 Program analysis unit 222 Command generation unit 223 First acquisition unit 224 Storage unit 225 Second acquisition unit 226 Command update unit 227 Control unit 3 Input / output device 4 Servo amplifier 5 Servo motor 6 Spindle amplifier 7 Spindle motor 8 Auxiliary equipment 9 Sensor
Claims
1. A numerical control device comprising: a command generating unit that generates a control command for controlling a control axis based on a machining program; a first acquisition unit that acquires a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program; a second acquisition unit that acquires a second value; a command updating unit that updates the control command based on the first value acquired by the first acquisition unit and the second value acquired by the second acquisition unit; and a control unit that controls the control axis based on the control command updated by the command updating unit.
2. The numerical control device according to claim 1, wherein the first acquisition unit acquires the first value based on information acquired from a torque sensor.
3. A numerical control device according to claim 1 or 2, wherein the first acquisition unit acquires the first value by analyzing the machining program.
4. A numerical control device according to any one of claims 1 to 3, wherein the first value is a value indicating a continuous cutting time.
5. The numerical control device according to claim 1, wherein the first value is a value indicating a continuous cutting amount.
6. A numerical control device according to any one of claims 1 to 5, wherein the command update unit performs at least one of updating a control command specifying a feed rate, updating a control command specifying a cutting depth, and adding a control command specifying a waiting time for cutting.
7. A numerical control device according to claim 6, wherein the control command specifying the waiting time includes a command to retract the tool during cutting, and does not include a command to retract the tool during non-cutting.
8. A numerical control device according to any one of claims 1 to 7, wherein the second acquisition unit acquires the second value from a memory unit that stores the second value.
9. A computer-readable storage medium storing instructions that cause a computer to execute the following: generating a control command for controlling a control axis based on a machining program; acquiring a first value indicating an integrated value of a predetermined physical quantity during execution of the machining program; acquiring a second value; updating the control command based on the acquired first value and second value; and controlling the control axis based on the updated control command.
Citation Information
Patent Citations
Machine tool and machine tool controller
JP1995219611A
Measuring method of cutting edge position of tool and machine tool
JP2018051725A
Machine tool system
JP2021189992A
