NC program estimation device and NC program estimation method for industrial machines

The NC program estimation device divides servo waveform data to estimate position and speed commands, generating an NC program without requiring an exact CAM-generated program, addressing the need for advance information and enabling automated estimation of cutting force and tool wear in industrial machinery.

WO2024247254A1PCT designated stage expired Publication Date: 2024-12-05FANUC LTD

Patent Information

Application Number
PCT/JP2023/020640
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-06-02
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

Existing NC programs require advance information and accurate CAM-generated programs for estimating cutting force and tool wear, but these are not always necessary or feasible, especially in situations where exact reproduction is not required.

Method used

An NC program estimation device and method that divides servo waveform data into sections, estimates position and speed command amounts, and generates an NC program or parameters without needing an exact CAM-generated program, using a waveform dividing unit, command estimating unit, and program estimation unit to create an estimated NC program for industrial machinery.

Benefits of technology

Enables automated estimation of NC programs without prior preparation, allowing for the estimation of cutting force and tool wear using the estimated NC program, even when an accurate CAM-generated program is not available, facilitating efficient operation in industrial machinery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023020640_05122024_PF_FP_ABST
    Figure JP2023020640_05122024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention estimates an NC program when an accurate NC program created using CAM or the like is unnecessary. This NC program estimation device for an industrial machine comprises: a waveform division unit that divides servo waveform data into a plurality of sections according to action units; a command estimation unit that estimates a position command amount and a speed command amount from the servo waveform data of each of the sections obtained through the dividing by the waveform division unit; and an NC program estimation unit that estimates at least one of an NC program and an NC parameter from the position command amount and the speed command amount. The NC program estimation device may comprise a waveform generation unit that generate servo waveform data on the basis of the program estimated by the NC program estimation unit.
Need to check novelty before this filing date? Find Prior Art

Description

NC program estimation device and NC program estimation method for industrial machinery

[0001] The present disclosure relates to an NC program estimation device and an NC program estimation method, and more particularly to an NC program estimation device and an NC program estimation method that estimate an NC program that drives an industrial machine.

[0002] Numerical control (NC) programs are used to drive industrial machines and are also used in finite element modeling systems to estimate cutting forces or tool wear, which can detect abnormalities in cutting forces or tool wear.

[0003] Patent Document 1 describes a numerical control device that determines monitoring points to be monitored in a machining program and monitors the position of each axis of a machine tool to prevent accuracy problems. Specifically, Patent Document 1 describes a numerical control device that includes: a control unit that controls the movement of multiple axes of the machine tool using position commands in accordance with the machining program and acquires position information of the axes; a monitoring point determination unit that determines monitoring points to be monitored in the machining program and monitoring axes that are the axes to be monitored based on the type of command or a movement command written in the machining program; and a monitoring unit that monitors whether an error or deviation based on the position information of the monitoring points of the monitoring axes exceeds a predetermined threshold. The control unit controls the movement of the axes based on the monitoring results of the monitoring unit, and further includes an analysis unit that indicates whether the cause of the error or deviation is mechanical or control-related based on the monitoring results, and outputs an analysis result of the cause to an output means.

[0004] Patent Document 2 describes a state determination device that can assist in the maintenance of various injection molding machines without incurring large costs. Specifically, Patent Document 2 describes that the state determination device includes a data acquisition unit that acquires data related to the injection molding machine, a learning model storage unit that stores a learning model that has learned the operating state of the injection molding machine in response to the data related to the injection molding machine, an estimation unit that performs estimation using the learning model based on the data acquired by the data acquisition unit, a correction coefficient storage unit that stores correction coefficients associated with the model of the injection molding machine and the equipment attached to the injection molding machine, and a numerical value conversion unit that acquires the correction coefficients stored in the correction coefficient storage unit and numerically converts and corrects the estimation result by the estimation unit using a predetermined correction function to which the acquired correction coefficients are applied.

[0005] Patent Document 3 describes a waveform display device that can easily analyze the relationship between time-series changes in physical quantities obtained from a manufacturing machine and commands in a control program. Specifically, Patent Document 3 describes that the waveform display device includes: a waveform pattern storage unit that associates and stores control commands with waveform patterns of time-series data measured when the manufacturing machine is controlled by the control commands; a waveform analysis unit that extracts characteristic waveforms from the time-series data and identifies control commands corresponding to the characteristic waveforms by referring to the waveform pattern storage unit; a correspondence relationship analysis unit that identifies the correspondence relationship between the characteristic waveforms and commands included in the control program based on the control commands corresponding to the characteristic waveforms and the control program; and a display unit that displays the correspondence relationship between the characteristic waveforms and commands included in the control program so that the correspondence relationship between the characteristic waveforms and the commands included in the control program can be understood.

[0006] International Publication No. 2014 / 167636 Japanese Patent Application Laid-Open No. 2020-044718 Japanese Patent Application Laid-Open No. 2019-184512

[0007] NC programs are generated, for example, by CAM using information such as contours or trajectories. CAM needs a lot of prior information to create accurate NC programs. However, for example, in a finite element modeling system, an NC program that can be used to estimate cutting forces or tool wear does not necessarily have to reproduce the exact NC program created by CAM.

[0008] Therefore, an NC program estimation device and an NC program estimation method that estimate an NC program when an accurate NC program created by a CAM or the like is not required are desired.

[0009] A first representative aspect of the present disclosure is an NC program estimation device for industrial machinery, comprising: a waveform dividing unit that divides servo waveform data into a plurality of sections on an operation basis; a command estimating unit that estimates a position command amount and a speed command amount from the servo waveform data for each section divided by the waveform dividing unit; and an NC program estimating unit that estimates at least one of an NC program and an NC parameter from the position command amount and the speed command amount.

[0010] A second representative aspect of the present disclosure is an NC program estimation method for industrial machinery, in which a computer executes the following processes: a process of dividing servo waveform data into a plurality of sections on an operation basis; a process of estimating a position command amount and a speed command amount from the servo waveform data for each divided section; and a process of estimating at least one of an NC program and NC parameters from the position command amount and the speed command amount.

[0011] 1 is a block diagram showing the overall configuration of an NC program estimation device according to an embodiment of the present disclosure. FIG. 1 is a diagram showing an NC program estimation configuration unit, a storage unit, a feature amount calculation unit, a trend calculation unit, and a replacement calculation unit of the NC program estimation device. FIG. 2 is a diagram showing the NC program estimation configuration unit, the storage unit, the waveform generation unit, the feature amount calculation unit, and the parameter optimization unit. FIG. 3 is a waveform diagram showing an example of actually measured servo waveform data. FIG. 4 is a waveform diagram showing an example in which a Z-axis position command is divided into five sections for each operation unit. FIG. 5 is a diagram showing a method for estimating a position command amount and a speed command amount. FIG. 6 is a diagram showing an example of an estimated NC program. FIG. 7 is a diagram showing a process of calculating an average value of torque data in a certain section as a feature amount and obtaining a transition graph of the feature amount. FIG. 8 is a diagram showing a state in which a change in slope is calculated based on a change in feature amount calculated for each certain section. FIG. 9 is a characteristic diagram showing a change in feature amount and a characteristic diagram showing a change in slope, showing a tool replacement time. FIG. 10 is a block diagram showing the configuration of a model representing a controller. FIG. 11 is a block diagram showing the configuration of a spindle model. FIG. 12 is a characteristic diagram showing a time change between an actually measured torque value and an estimated torque value calculated by simulation using a cutting coefficient. FIG. 13 is a characteristic diagram showing the relationship between the average value of the estimated torque value and the cutting coefficient Ktc. 1 is a characteristic diagram showing the relationship between the average value of estimated torque values ​​and the cutting coefficient Kte. FIG. 2 is a diagram showing the relationship between a characteristic diagram of cutting distance and friction amount, a characteristic diagram of wear amount and temperature, a characteristic diagram of temperature and friction speed, and a characteristic diagram of cutting distance and cutting resistance. FIG. 3 is an explanatory diagram showing the limit wear amount and the time when the limit wear amount is reached. FIG. 4 is a diagram showing how the reference tendency is changed when the variation in feature amount changes due to tool replacement. FIG. 5 is a diagram showing how the variation in wear amount is changed and the reference tendency is changed when the limit wear amount and the time when the limit wear amount is reached are determined. FIG. 6 is a flowchart showing the operation of an NC program estimation configuration unit of an NC program estimation device.

[0012]

[0023] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. Fig. 1 is a block diagram showing the overall configuration of an NC program estimation device according to an embodiment of the present disclosure. Fig. 2 is a diagram showing an NC program estimation configuration unit, a storage unit, a feature amount calculation unit, a tendency calculation unit, and an exchange calculation unit. Fig. 3 is a diagram showing the NC program estimation configuration unit, a storage unit, a waveform generation unit, a feature amount calculation unit, and a parameter optimization unit.

[0013] The NC program estimation device 10 includes a feature calculation unit 101, a trend calculation unit 102, a replacement calculation unit 103, a waveform division unit 104, a command estimation unit 105, a program estimation unit 106, a memory unit 107, a waveform generation unit 108, a parameter optimization unit 109, and a wear estimation unit 110. The NC program estimation device 10 estimates at least one of an NC program and NC parameters based on actually measured servo waveform data (which becomes first servo waveform data) of an industrial machine. The industrial machine is, for example, a machine tool or a cutting robot.

[0014] The waveform dividing unit 104, the command estimation unit 105, and the program estimation unit 106 constitute a component for estimating at least one of an NC program and NC parameters based on actually measured servo waveform data of the industrial machine (hereinafter, this component will be referred to as the "NC program estimation component"). The memory unit 107 stores actually measured servo waveform data of the industrial machine. The memory unit 107 also stores the NC program (hereinafter, referred to as the "estimated NC program") and NC parameters (hereinafter, referred to as the "estimated NC parameters") estimated by the NC program estimation component. The memory unit 107 will be described later. The memory unit 107 may be included in the NC program estimation component, but the following description will be given assuming that the memory unit 107 is not included in the NC program estimation component.

[0015] The waveform generator 108 may utilize one or more external tools, and may be replaceable in the future if the waveforms generated are appropriate and the time cost to generate them is sufficiently fast.

[0016] First, the NC program estimation component in the NC program estimation device 10 will be described, and then each component other than the NC program estimation component will be described. Below, each component included in the NC program estimation component will be described.

[0017] (Waveform Dividing Unit 104) The waveform dividing unit 104 reads out measured servo waveform data ("actual waveform data" in FIG. 1 ) acquired from the industrial machine from the storage unit 107, divides the measured servo waveform data into sections, and outputs the divided servo waveform data to the command estimation unit 105. The waveform dividing unit 104 also stores the divided sections in the storage unit 107. The measured servo waveform data is, for example, a spindle speed, a spindle torque command, an X-axis position command, a Y-axis position command, a Z-axis position command, and a cutting feed signal. For example, when a drive unit of the industrial machine drives in the X-axis, Y-axis, and Z-axis directions, the divided sections are sections divided into units (operation units) in which the X-axis, Y-axis, and Z-axis each perform one operation.

[0018] The waveform dividing unit 104 may acquire the measured servo waveform data directly from the industrial machine without going through the storage unit 107, or may acquire the measured servo waveform data output from the industrial machine via a CNC (Computerized Numerical Control) or a PLC (Programmable Logic Controller). The measured servo waveform data stored in the storage unit 107 may also be data acquired directly from the industrial machine, or the measured servo waveform data output from the industrial machine may be data acquired via a CNC or a PLC.

[0019] 4 is a waveform diagram showing an example of actually measured servo waveform data. Fig. 4 shows the spindle speed, spindle torque command, X-axis position command, Y-axis position command, Z-axis position command, and cutting feed signal. In the waveform diagram shown in Fig. 4, in the case of the spindle speed, the vertical axis scale a 1 ~a 9 are -20000, -15000, -10000, -5000, 0, 5000, 10000, 15000, and 20000 (1 / mm). 1 ~a 9 are -200, -150, -100, -50, 0, 50, 0, 100, 150, 200 (%). In the case of the X-axis position command, the vertical axis scale a 1 ~a 9are -300, -200, -100, 0, 100, 200, 300, 400, and 500 (mm). In the case of a Y-axis position command, the vertical axis scale a 1 ~a 9 are -200, -100, 0, 100, 200, 300, 400, 500, and 600 (mm). In the case of a Z-axis position command, the vertical axis scale a 1 ~a 9 are -300, -200, -100, 0, 100, 200, 300, 400, and 500 (mm). 1 ~a 9 are -200, 0, 200, 400, 600, 800, 1000, 1200, and 1400.

[0020] The waveform dividing unit 104 divides the spindle speed, spindle torque command, X-axis position command, Y-axis position command, and Z-axis position command into sections for each operation unit. For example, as shown in FIG. 4, the waveform dividing unit 104 divides the X-axis position command into multiple sections within the same tool usage section. FIG. 4 shows two sections RX1 and RX2 out of the multiple divided sections. The waveform dividing unit 104 similarly divides the Y-axis position command and the Z-axis position command into sections for each operation unit. In FIG. 4, the Z-axis position command fluctuates within section RX1, and as shown in FIG. 5, the waveform dividing unit 104 divides the Z-axis position command into five sections, section RZ1 to section RZ5, for each operation unit within section RX1.

[0021] (Command estimation unit 105) The command estimation unit 105 estimates a position command amount and a speed command amount from the servo waveform data for each section divided by the waveform division unit 104. For example, the command estimation unit 105 determines that the X-axis position command amount does not move in section RX1 shown in Fig. 4, and determines that the X-axis position command amount moves in section RX2. The command estimation unit 105 also determines that the Z-axis position command amount does not move in section RZ2 shown in Fig. 5, and determines that the Z-axis position command amount moves in sections RZ1, RZ3, RZ4, and RZ5. The command estimation unit 105 then estimates a position command amount and a speed command amount for sections RX2, RZ1, RZ3, RZ4, and RZ5. For example, as shown in FIG. 6 , in an interval RX2 of the X-axis position command, the command estimation unit 105 estimates the position command amount of the X-axis position command as a fluctuation value ΔX, and estimates the speed command amount as a movement amount ΔV (=ΔX / Δt) obtained by dividing the movement amount ΔX by the time period Δt of the interval.

[0022] (Program Estimation Unit 106) The program estimation unit 106 estimates the NC program as follows based on the position command amount, speed command amount, etc. for each section estimated by the command estimation unit 105. (1) Based on the position command amount, speed command amount, etc. for the X-axis, Y-axis, and X-axis, estimates XYZ values, speed, acceleration, G-codes such as G0, G1, G2, G3, etc. G0 indicates positioning, G1 indicates linear interpolation, G2 indicates circular interpolation CW (clockwise), and G3 indicates circular interpolation CW (clockwise). Acceleration is obtained by differentiating the speed movement amount. The difference between G0 and G1, G2, and G3 can be estimated based on the cutting feed signal. (2) Estimates the S value (spindle rotation speed) from the spindle speed. (3) Estimates M6 (tool change) from the tool change operation. (4) T (a command to move a tool to a tool standby position) is assigned in the order of tool use. (5) The F value (feed rate) is estimated from the torque load and speed. The program estimation unit 106 cannot identify syntax or macro variables, and handles unreproducible M-codes using Dwell. It does not consider machine-specific G-codes and only obtains interpretable G-codes. It can also estimate coordinate systems, spindle acceleration / deceleration, and acceleration / deceleration of each axis that cannot be expressed in NC programs. The coordinate system, spindle acceleration / deceleration, and acceleration / deceleration of each axis are generated as execution parameters (items such as NC parameters, macro variables, workpiece origin offset, and tool offset) required for the simulation performed by the waveform generation unit. NC parameters include spindle acceleration / deceleration and acceleration / deceleration of each axis. The program estimation unit 106 can determine these spindle acceleration / deceleration and acceleration / deceleration of each axis as the gradient of the spindle and each axis' speed (speed command amount). The determined spindle acceleration / deceleration and acceleration / deceleration of each axis become estimated NC parameters. G54 is a G-code used to select the workpiece coordinate system to be set as the machining origin and is determined from the position values ​​of each axis in the servo waveform data.

[0023] The program estimation unit 106 stores the estimated NC program (hereinafter referred to as the "estimated NC program") and execution parameters including estimated NC parameters (shown as "estimated execution parameters" in FIGS. 1 and 2) in the storage unit 107. The estimated execution parameters are used by the waveform generation unit 108, which will be described later, as necessary. FIG. 7 is a diagram showing an example of the estimated NC program.

[0024] The above describes each unit of the NC program estimation configuration unit. Next, each unit other than the NC program estimation configuration unit will be described. In addition to the NC program estimation configuration unit, the NC program estimation device 10 includes a feature calculation unit 101, a trend calculation unit 102, a replacement calculation unit 103, a memory unit 107, a waveform generation unit 108, a parameter optimization unit 109, and a wear estimation unit 110. Below, each unit of the feature calculation unit 101, the trend calculation unit 102, the replacement calculation unit 103, the memory unit 107, the waveform generation unit 108, the parameter optimization unit 109, and the wear estimation unit 110 will be described. Some or all of the feature calculation unit 101, the trend calculation unit 102, the replacement calculation unit 103, the memory unit 107, the waveform generation unit 108, the parameter optimization unit 109, and the wear estimation unit 110 may be provided outside the NC program estimation device 10.

[0025] (Feature Calculation Unit 101) The feature calculation unit 101 calculates feature amounts for a certain interval using the actually measured servo waveform data or the servo waveform data generated by the waveform generation unit 108 (hereinafter referred to as "estimated servo waveform data") acquired from the storage unit 107. The estimated servo waveform data becomes second servo waveform data. The certain interval for division is determined based on, for example, a change in the movement amount of the position command. The certain interval can be an interval divided by the waveform division unit 104. In the example of servo waveform data shown in FIG. 4, of the intervals RX1 and RX2 into which the X-axis position command is divided, the position command changes in interval RX2, so interval RX2 is determined to be the certain interval. The feature amount for a certain interval is, for example, at least one of statistics of torque data (e.g., spindle torque command) for the certain interval, such as the mean, variance, skewness, kurtosis, and RMS (root mean square) of the torque data.

[0026] The operation of the feature calculation unit 101 will be described using the waveform diagram of the X-axis position command shown in FIG. 8 . To clarify the change in the movement amount, the waveform of the X-axis position command shown in FIG. 8 is different from the waveform of the X-axis position command shown in FIG. 4 . As shown in FIG. 8 , the feature calculation unit 101 calculates, as a feature, the average value of torque data in a fixed interval R1 (shown as "interval R1" in FIG. 8 ) and a fixed interval R2 (shown as "interval R2" in FIG. 8 ) that are divided based on the change in the movement amount of the X-axis position command. Then, the feature values ​​in the fixed intervals R1 and R2 are collected for each execution count of the NC program, and a transition graph of the feature values ​​in the fixed intervals R1 and R2 is calculated. FIG. 8 illustrates the process of calculating the average value of torque data in the fixed intervals as a feature and calculating the transition graph of the feature values.

[0027] (Trend calculation unit 102) As shown in Fig. 9, the trend calculation unit 102 calculates a variation in slope based on the variation in the feature quantity calculated by the feature quantity calculation unit 101 for each of the fixed intervals R1 and R2. Specifically, the trend calculation unit 102 smoothes the feature quantity using a moving average or the like, and calculates the difference between a value at a given time and the previous value as the slope (trend) of the variation in the feature quantity. For example, the trend calculation unit 102 creates a reference trend by superimposing and averaging one or more variations in the feature quantity between tool changes as shown in Fig. 10, and stores the reference trend in the storage unit 107.

[0028] (Replacement calculation unit 103) The replacement calculation unit 103 determines the time when the feature value drops sharply and the slope becomes negative within a certain interval as the tool replacement time, and stores the time in the storage unit 107. When determining the tool replacement time, the replacement calculation unit 103 determines, for example, as shown in FIG. 10 , the time when a sharp drop is observed in a characteristic diagram showing the fluctuations in the feature value within a certain interval R2 and / or a characteristic diagram showing the fluctuations in the slope as the tool replacement time.

[0029] When determining the tool replacement time, a certain section is selected in which a continuous upward trend in slope is recognized, such as certain section R2 shown in Fig. 9. As shown in Fig. 9, in section R2, if the slope is positive, it indicates an increase, so most of the slopes are positive and continuously increasing.

[0030] On the other hand, if the slope does not show a continuous upward or downward trend (if the slope does not show a continuous upward trend), such as in the case of the fixed section R1 shown in FIG. 9, the fixed period is not selected.

[0031] (Memory Unit 107) As already described, the memory unit 107 stores measured servo waveform data acquired from the industrial machine and the estimated NC program output from the program estimation unit 106. In addition to the measured servo waveform data and the estimated NC program, the memory unit 107 also inputs and stores machine data, CNC (Computerized Numerical Control) parameters, macro variables, workpiece origin offsets, tool offset values, etc. The memory unit 107 also inputs and stores servo waveform data such as cutting distance, cutting coefficient, estimated cutting force, estimated wear amount, cutting tool temperature, and torque command, as well as digitized workpiece (workpiece) shape and contact length, and tool information. The workpiece (workpiece) shape and contact length, and tool information are characteristic values ​​that indicate at least one characteristic of the workpiece and the tool.

[0032] The storage unit 107 also stores servo waveform data of estimated cutting force and servo waveform data of estimated wear amount. The storage unit 107 also stores the correspondence between the behavior of the actual machine and the NC program, the degree of tendency, the divided sections, the reference tendency, the tool change date and time, and the processing time (cycle time).

[0033] (Waveform Generation Unit 108) The waveform generation unit 108 acquires the estimated NC program from the storage unit 107, and generates servo waveform data (second servo waveform data) from the estimated NC program. The waveform generation unit 108 also generates waveform data (estimated cutting force, estimated torque, etc.) by setting execution parameters and executing a simulation. The execution parameters required for the simulation are motor characteristics, tool information, workpiece (material) information, cutting coefficients, etc. Once the motor, tool, material, etc. are determined, most of the parameters are determined. However, the cutting coefficients (Kte, Ktc), which are execution parameters used to estimate the cutting force, are found to match the actually measured torque by executing a plurality of simulations in the parameter optimization unit 109, which will be described later. A torque command (Tcmd ) can be obtained, but the cutting coefficients cannot be obtained directly from the torque command, so the cutting coefficients (Kte, Ktc) are obtained by executing a simulation in the parameter optimization unit 109.

[0034] 1 and 3, the waveform generating unit 108 includes an NC program interpreting unit 1081, a command generating unit 1082, a feedback control unit 1083, and a cutting force estimating unit 1084.

[0035] <NC program interpretation unit 1081> The NC program interpretation unit 1081 determines the travel distance, travel path, and command speed based on input information such as the estimated NC program (which becomes the machining program), CNC (Computerized Numerical Control) parameters, macro variables, workpiece origin offset, tool offset value, etc., which are output from the storage unit 107. The NC program interpretation unit 1081 interprets the estimated NC program that defines the operations for positioning the feed axis and speed control of the spindle, breaks down the estimated NC program into each code and value, and determines the travel distance, travel path, and command speed.

[0036] The NC program interpretation unit 1081 performs the following interpretations (A), (B), (C), and (D), for example: (A) Converts the codes M03, M04, and M05 to clockwise rotation of the spindle, counterclockwise rotation of the spindle, and stop of spindle rotation. (B) Classifies the cases into rapid traverse of the spindle to specified coordinates, cutting feed of the spindle to specified coordinates, clockwise circular interpolation, and counterclockwise circular interpolation using G00, G01, G02, and G03, and converts them into the path and travel distance of each servo axis. (C) Converts canned cycle and tool change operations into equivalent G codes and M codes. (D) Adds the tool offset value to the travel distance.

[0037] <Command Generation Unit 1082> The command generation unit 1082 generates interpolation data by interpolating points on the movement path at an interpolation period based on the movement distance, movement path such as a straight line or an arc, and command speed obtained by the NC program interpretation unit 1081, generates an acceleration / deceleration profile based on the interpolation data, and further distributes the data to each control axis, thereby providing a position command value or a speed command value for each control period to the servo motor that serves as the feed axis motor and the spindle motor that serves as the spindle motor.

[0038] The command generation unit 1082 performs the following operations (E), (F), (G), (H), and (I): (E) Calculates the travel distance. (F) Creates a velocity and position profile at the tool tip that satisfies the travel distance, command velocity, and acceleration / deceleration parameters set by the machine. Considering the travel path, it is possible to add constraints, such as limiting the centripetal acceleration of the arc to a certain value. (G) Discretizes the profile for each control cycle. The velocity and position profile is generated as a function of continuous time in the previous step, and sampling from it eliminates the need to process fractions less than the control cycle. Furthermore, by handling fractions less than the control cycle for start and end times, processing is performed to prevent discontinuity between previous and next command blocks. (H) Distributes the discretized profile to commands for each axis. For straight lines, the distribution ratio of travel distance and velocity to each feed axis is constant, but for curved lines, the distribution ratio varies depending on the position on the path. Therefore, distribution must be calculated according to the position on the path. By distributing the position and velocity to each feed axis according to the position and travel path for each control cycle, command values ​​for each axis for each control cycle can be obtained. (I) Filtering the distributed command values ​​for each axis. Although this deviates from the original command path, it is possible to suppress sudden changes in the command values ​​and reduce mechanical vibrations and shocks.

[0039] The acceleration / deceleration and filtering processes described above are the same concept of command generation as in actual numerical control devices. Conventionally, CAM software did not handle such acceleration / deceleration and filtering processes, and simulated movement at a commanded speed. Furthermore, cutting simulations have not taken into account feed including acceleration / deceleration. However, by simulating elements such as acceleration / deceleration and filtering, it is possible to calculate required time and cycle time that are close to the actual time, which is practical when comparing with data from an actual machine.

[0040] <Feedback control unit 1083> The feedback control unit 1083 simulates feedback control that causes the drive of the electric motors that drive the feed axis and the main axis to follow the position command value or speed command value generated by the command generation unit 1082, and generates and outputs servo waveform data.

[0041] A feed axis is a mechanism that controls the relative positional relationship between the workpiece and the tool in industrial machinery. There are two types of feed axes: linear axes that perform linear translational motion, and rotary axes that perform rotational motion. This section mainly describes a model for numerically simulating the mechanism of linear axes on a computer. To simulate a feed axis, two models are required: a model that represents the feed axis, and a model of the controller that controls it.

[0042] First, we will explain the model representing the feed axis. The feed axis converts the rotational motion of the motor into translational motion through a conversion mechanism such as a ball screw. The rotation angle of the motor is represented by θ, and the displacement in the translational motion after passing through the conversion mechanism is represented by X. Furthermore, the torque applied to the motor is represented by T. In the one-inertia system model, the feed axis is considered to be a rigid body, and its motion is represented by Equation 1 (Equation 1 below). In Equation 1, J represents the moment of inertia of the drive mechanism, and D represents the viscous friction coefficient. When the rotation angle θ in Equation 1 is replaced with the rotation speed ω, Equation 1 can be expressed as Equation 2 (hereinafter Equation 2). In this case, the transfer function for the response from torque input to angular velocity output is expressed by Equation 3 (Equation 3 below) using the Laplace operator s, and Equation 3 corresponds to a first-order lag low-pass filter.

[0043] Next, a model representing the controller will be explained. The feed axis is controlled by position control with speed control as a minor loop. PI control is used within the speed control. This is expressed in a block diagram as shown in Figure 11. Figure 11 is a block diagram showing the configuration of a model representing the controller. The controller shown in Figure 11 is a controller that receives a position command X in the X-axis direction. C is converted into a rotation angle and the position command θ cmd As a result, the position feedback θ fd The difference between the speed command ω cmd and generates a velocity feedback ω fd The controller then performs PI processing to obtain the difference between the torque command T cmd The detected angular velocity output from the feed axis model is used as the velocity feedback ω fd The detected angular velocity is integrated to obtain the detected angle, which is used as position feedback.

[0044] The transfer function representation of the configuration shown in FIG. 11 is in the continuous time domain. However, when performing a numerical simulation on a computer, it is handled in the discrete time domain, so the transfer function shown in the continuous time domain must be converted to the discrete domain. This is done according to the following rules: Blocks related to simple addition or constant multiplication are calculated by simply adding and multiplying variables. The integral term 1 / s is calculated by numerical integration. In other words, for the discrete simulation time span t and the input time series xi, the output is calculated using Equation 4 (Equation 4 below). The first-order term 1 / (1+s) corresponds to a low-pass filter. It is calculated using forward differences. For discrete simulation, it is necessary to convert the s-domain equation into a z-domain equation. For this purpose, the conversion formula shown in Equation 5 (Equation 5 below) is used. As a result, the relationship between the input X(s) and output Y(s) of the transfer function is expressed by Equation 6 (Equation 6 below) since Y(s)=X(s) / (1+s). Equation 6 provides the recurrence formula for the calculation.

[0045] Finally, we will explain the model representing the spindle. The spindle is a motor shaft for rotating the tool. Similar to the feed axis, the spindle drives the motor to control the machine end, but unlike the feed axis, the machine end directly transmits rotational motion rather than translational motion. Therefore, the spindle does not have a ball screw conversion mechanism. Also, unlike the feed axis, the input to the spindle is a speed command, and the only internal control is a speed control loop. IP control is used here. Figure 12 is a block diagram showing the configuration of the spindle model. The feedback control unit 1083 outputs a torque command, which becomes servo data created within the feedback control unit 1083, to the cutting force estimation unit 1084.

[0046] <Cutting force estimation unit 1084> The cutting force estimation unit 1084 estimates the cutting force of the cutting tool based on the torque command output from the feedback control unit 1083 and the characteristic values ​​stored in the memory unit 107. Here, the characteristic values ​​stored in the memory unit 107 are the quantified shape or contact length of the workpiece. Note that the cutting force is the resistance of the material to the penetration of the cutting tool and represents the force required to continue cutting. Torque [N.m] is calculated by multiplying the cutting force by the principal component [N] by the radius [m], so cutting force can be used to mean almost the same thing as torque.

[0047] The estimated cutting force can be calculated using the instantaneous cutting force model described below. The cutting edge of the cutting tool is vertically divided into infinitesimal portions. The vertical size of the infinitesimal cutting edge is defined as dz. Here, the cutting forces acting on the infinitesimal cutting edge when the cutting tool cuts the workpiece are defined as dFt, dFr, and dFa, respectively. Furthermore, h is defined as the length of the workpiece cut by the infinitesimal cutting edge in one rotation (called the cutting thickness). The cutting thickness h depends on the position z and rotation angle θ of the infinitesimal cutting edge. The instantaneous cutting model assumes that the relationship in Equation 7 (see below) holds. Here, the cutting coefficients Kte, Ktc, Kre, Krc, Kae, and Kac are coefficients determined by the physical relationship between the tool and the workpiece. In particular, the cutting coefficients Ktc, Krc, and Kac correspond to the specific cutting resistance.

[0048] If the shape of the workpiece is known in advance, it is possible to calculate the cutting force by numerically representing the shape of the workpiece in some form on a computer and simulating the cutting process at discrete time intervals. For example, a method called Z-Map considers a grid space divided in the X and Y directions, and numerically represents the shape of the workpiece by recording the height of the workpiece in each cell. The cutting tool is represented by a small plate separated in the height direction. The simulation is performed by updating the positions of the cutting tool and workpiece at short time intervals, reducing the height of the workpiece cells where the tool comes into contact, and generating cutting forces according to the thickness of the cut that occurs in those areas.

[0049] If the shape of the workpiece is not known in advance, Z-Map simulations cannot be used. However, by using torque data measured during machining, it is possible to see at what position the tool is located when torque is generated. In other words, by using the measurement data, it is possible to estimate the position of the workpiece. Furthermore, it is also possible to estimate the specific cutting resistance of the workpiece.

[0050] Here, we will explain a method for performing cutting simulation (simulation using contact length) when the specific cutting resistance is known and the workpiece shape is unknown.Since torque can be considered as the force applied in the tangential direction multiplied by the tool radius, the cutting torque dT applied to the microplate of the cutting tool is expressed by the following equation (Equation 8 below). The cutting torque dT depends on the position z and rotation angle θ of the tool microplate, but to eliminate this dependency, the average value h′ of the cutting thickness h is set as follows: Substituting the cutting thickness h in Equation 8 with the average value h' in Equation 9 and summing Equation 8 for each microplate yields Equation 10 (Equation 10 below). Here, the sum in the height direction of the tool in contact with the workpiece is set to Cz. Hereinafter, Cz will be referred to as the contact length.

[0051] In a simulation using the contact length Cz, the average chip thickness h' is calculated from the feed rate and rotation speed, which are machining conditions. If the specific cutting resistance is known, the cutting torque can be simulated by calculating the contact length Cz at each position. In practice, if measurement data is available, the contact length at each position (which serves as basic cutting data) can be calculated from Equation 10. The same applies to cutting forces in directions other than the tangential direction.

[0052] (Parameter optimization unit 109) The parameter optimization unit 109 optimizes the execution parameters so that the fluctuation of the feature quantity based on the actual servo waveform data over a certain interval matches the fluctuation of the feature quantity based on the estimated servo waveform data. The cutting coefficients (Kte, Ktc) that serve as execution parameters and are used in the cutting force estimation unit 1084 are obtained by performing a simulation in the parameter optimization unit 109. For example, the parameter optimization unit 109 optimizes the cutting coefficients (Kte, Ktc) that serve as execution parameters so that the average value of the actually measured torque, which serves as the feature quantity, over a certain interval matches the average value of the estimated torque, which serves as the feature quantity obtained from the cutting force.

[0053] The first method for optimizing the parameters will be described below. The first method is a method for optimizing the cutting coefficients (Kte, Ktc) by calculating the cutting coefficients Ktc and Kte so that the estimated torque average generated by changing the cutting coefficients Ktc and Kte and the feature quantity (average) of the actual measured torque are approximately the same value.

[0054] For example, Fig. 13 shows the characteristics of the actually measured torque value and the estimated torque value calculated by simulation using the cutting coefficients (Kte, Ktc). In Fig. 13, the vertical axis represents torque value and the horizontal axis represents time. As shown in Fig. 13, the point in the torque where Ktc and Kte are adjusted is predetermined. As shown in the characteristic diagram of Fig. 14, the average value of the estimated torque value and the cutting coefficient Ktc are proportional to each other, and the cutting coefficient Ktc is calculated so that the average value of the estimated torque value matches the average value of the actually measured torque value. As shown in the characteristic diagram of Fig. 15, the average value of the estimated torque value and the cutting coefficient Kte are proportional to each other, and the cutting coefficient Kte is calculated so that the average value of the estimated torque value matches the average value of the actually measured torque value.

[0055] Next, a second method for optimizing parameters is described below. The equation for the change in the cutting coefficient is optimized while determining the cutting coefficient from the change in the measured torque. The average measured torque (cutting force) changes due to wear, etc. An execution parameter (cutting coefficient) can be determined to generate an estimated waveform that matches this change. The equation for the change in the cutting coefficient is fitted to a certain equation, as the torque changes along with wear and the cutting coefficient also changes. To determine this equation, the initial cutting coefficient value and a change coefficient are required. The initial cutting coefficient value is determined by using the measured torque value immediately after tool replacement to determine the cutting coefficient value Ktc. The change equation is determined by using the equations for multiple actual measurements to determine the cutting coefficient value Ktc at each point. The changes in these cutting coefficient values ​​are calculated using an approximate equation. This becomes the equation for the change in the cutting coefficient. When tool replacement is performed several times, the changes in the cutting coefficient from multiple times are combined to determine a standardized equation for the change in the cutting coefficient (an average is also acceptable).

[0056] (Wear estimation unit 110) The wear estimation unit 110 receives an estimated NC program and estimates the amount of wear of the tool based on the cutting distance and wear rate of the tool. The wear estimation unit 110 estimates wear of the cutting tool based on the estimated NC program and fluctuations in characteristic values ​​stored in the memory unit 107. Wear of the cutting tool is wear on the cutting edge, and is caused by friction with the workpiece and chips.

[0057] The wear of cutting tools can be divided into wear on the rake face and wear on the flank face, but unless the cutting speed is high, the wear rate of the flank face is dominant. The wear rate dW / dL of the flank face wear can be calculated using the following formula 11 (the following formula 11). Here, W is the wear rate of the flank face wear, L is the cutting distance, K is a coefficient determined by the shape of the agglomerated particles, H is the hardness of the cutting tool side, σ is the coefficient determined by the shape of the agglomerated particles ... t is the normal stress on the wear surface. The normal stress on the wear surface, σt, is calculated using the cutting speed and tool clearance angle.

[0058] On the other hand, when the cutting speed is high, rake face wear becomes dominant, and the wear rate of rake face wear, dW / dL, can be calculated using the following equation (12): where W is the amount of flank wear, L is the cutting distance, C and λ are characteristic constants determined by the combination of the cutting tool and the workpiece, and T is the temperature of the cutting tool. The cutting distance L and the temperature T of the cutting tool in the above formulas 11 and 12 are characteristic values ​​stored in the storage unit 107. The cutting temperature can be estimated from the cutting speed.

[0059] The estimated wear amount per machining operation is calculated from the wear rate and cutting distance. The cutting distance is the cutting distance when the tool is used. The estimated wear amount of a tool is not calculated directly from the torque value (variation in the feature value) but can be calculated by performing one machining operation. The variation in the estimated wear amount since the tool change is the sum of the wear amounts since the tool change. FIG. 16 shows the relationship between four characteristic diagrams, which, from top to bottom, show a characteristic diagram showing the relationship between the cutting distance (unit: m) and the friction amount (unit: μm) (hereinafter referred to as "Characteristic Diagram A"), a characteristic diagram showing the relationship between the wear amount (unit: μm) and the temperature (unit: K) (hereinafter referred to as "Characteristic Diagram B"), a characteristic diagram showing the relationship between the temperature (unit: K) and the friction speed (unit: μm / m) (hereinafter referred to as "Characteristic Diagram C"), and a characteristic diagram showing the relationship between the cutting distance (unit: m) and the cutting resistance (unit: Nm / m) (hereinafter referred to as "Characteristic Diagram D"). To calculate the estimated wear amount per machining, it is necessary to determine the wear rate in characteristic diagram C. Standard wear rate graphs exist for each tool, and are listed as catalog values ​​from tool manufacturers, for example. If no catalog values ​​are available, the wear rate can be calculated from temperature transitions, as shown in characteristic diagram B. Wear rate has stages, increasing from the initial stage to the subsequent period of considerable use. For most tools, the wear rate does not increase much, with recent tools remaining roughly constant and older tools showing a continuous increase. The wear amount per machining is calculated by multiplying the wear rate by the cutting distance in one machining operation, and it is assumed that the accumulated wear amount according to the cutting distance (≒ number of machining operations) will result in the graph in characteristic diagram A.

[0060] The wear estimation unit 110 estimates the limit wear amount of the cutting tool and the time when the limit wear amount will be reached. lim is the limit cutting distance L lim By setting the above, the limit cutting distance L can be calculated using Equation 11 or Equation 12. min is not the set life, but the cutting distance that can be used up to the limit, and it changes depending on the required machining accuracy, so enter an appropriate value. The time when the limit wear amount is reached is the limit cutting distance L lim The time it takes for the limit cutting distance L lim The period until lim is the cycle time t required for one NC program execution ct The cutting distance per cycle time is L 1 If is known, it can be estimated by the following equation 13 (the following equation 13). In this way, the limit wear amount and the time when the limit wear amount is reached are calculated from the limit cutting distance and the time until the limit cutting distance is reached. Fig. 17 is an explanatory diagram showing the limit wear amount and the time when the limit wear amount is reached. Fig. 17 shows the transition of the estimated wear amount and the transition of the wear amount at the actual cutting force, as well as the limit wear amount and the time when the limit wear amount is reached.

[0061] When a tool is replaced or actual wear amount is measured, it is desirable to change the reference trend, execution parameters, wear amount variation, and limit wear amount. When a user replaces a tool, the variation in the feature amount between tool changes is determined, which may change the reference trend, and the variation in the wear amount and limit wear amount may change, which may require changing the execution parameters. For example, as shown in FIG. 18, when a tool change causes the variation in the feature amount to resemble the dashed line, the reference trend must change to resemble the solid line. This variation requires the wear amount to be changed, and the execution parameters must also be changed. When a user measures actual wear amount, as shown in FIG. 19, the limit wear amount and the time when the limit wear amount is reached are determined, which changes the variation in the wear amount, which requires changing the reference trend and the execution parameters. Therefore, when the user stores information about the replaced tool and the measured value of the actual wear amount in the memory unit 107, the trend calculation unit 102 recalculates and updates the reference trend, the parameter optimization unit 109 recalculates and updates the execution parameters such as the cutting coefficient, and the wear estimation unit 110 recalculates and updates the fluctuation in the wear amount and the limit wear amount.

[0062] The configuration of the NC program estimation device 10 has been described above. Next, the operation of the NC program estimation configuration unit will be described using a flowchart. FIG. 20 is a flowchart showing the operation of the NC program estimation configuration unit of the NC program estimating device. In FIG. 20, the operation of the NC program estimation configuration unit includes step S14 of storing the estimated NC program in the memory unit 107, but step S14 may be omitted. In step S11, the waveform division unit 104 reads out the actually measured servo waveform data from the memory unit 107, divides the actually measured servo waveform data into sections, and outputs the divided servo waveform data to the command estimation unit 105.

[0063] In step S12 , the command estimation unit 105 estimates a position command amount and a speed command amount from the servo waveform data for each section divided by the waveform division unit 104 .

[0064] In step S13 , the program estimation unit 106 estimates an NC program based on the position command amount and the speed command amount for each section estimated by the command estimation unit 105 .

[0065] In step S14, the program estimation unit 106 stores the estimated NC program in the storage unit 107.

[0066] As described above, the NC program estimating device according to the present embodiment can be realized by hardware, software, or a combination of these. "Realized by software" means that a computer reads and executes a program.

[0067] In order to realize the functional blocks included in the NC program estimation device in this embodiment by software or a combination thereof, specifically, each NC program estimation device includes a processing unit such as a CPU (Central Processing Unit), an auxiliary storage device such as an HDD (Hard Disk Drive) that stores various control programs such as application software or an OS (Operating System), and a main storage device such as a RAM (Random Access Memory) that stores data temporarily required for the processing unit to execute the programs.

[0068] In the NC program estimation device, the arithmetic processing unit reads application software or an OS from the auxiliary storage device, and while loading the read application software or OS into the main storage device, performs arithmetic processing based on the application software or OS. Based on the results of this calculation, various hardware components of each device are controlled. This realizes the functional blocks of this embodiment.

[0069] Each component included in the NC program estimation device can be realized by hardware including electronic circuits, etc. When the NC program estimation device is configured by hardware, some or all of the functions of each component included in the NC program estimation device can be configured by an integrated circuit (IC), such as an application specific integrated circuit (ASIC), a gate array, a field programmable gate array (FPGA), or a complex programmable logic device (CPLD).

[0070] The program can be stored and supplied to a computer using various types of non-transitory computer-readable media. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (Random Access Memory)). The program may also be supplied to the computer by various types of transient computer readable media.

[0071] The NC program estimation device and NC program estimation method of the present embodiment described above can achieve the following effects. (1) Although an NC program is information that can be acquired from an NC or the like, it is possible to estimate an NC program even in situations where the NC program cannot be acquired. This enables an automated system that does not require prior preparation. (2) It is possible to estimate cutting force or tool wear using the estimated NC program. (3) In addition to actually measured servo waveform data, it becomes possible to use servo waveform data generated based on the estimated NC program.

[0072] According to the NC program estimation device and NC program estimation method disclosed herein, including this embodiment, an NC program can be estimated when an accurate NC program created by CAM or the like is not required.

[0073] The above-described embodiment is a preferred embodiment of the present invention, but the scope of the present invention is not limited to the above-described embodiment alone, and the present invention can be implemented in various modified forms within the scope that does not deviate from the gist of the present invention.

[0074] The following supplementary note is further disclosed regarding the above embodiment: (Supplementary note 1) An NC program estimation device for industrial machinery, comprising: a waveform dividing unit that divides servo waveform data into a plurality of sections on an operation basis, a command estimating unit that estimates a position command amount and a speed command amount from the servo waveform data for each section divided by the waveform dividing unit, and an NC program estimating unit that estimates at least one of an NC program and an NC parameter from the position command amount and the speed command amount.

[0075] (Supplementary Note 2) The NC program estimation device according to Supplementary Note 1, further comprising a waveform generation unit that generates servo waveform data based on the NC program estimated by the NC program estimation unit.

[0076] (Supplementary Note 3) The NC program estimation device according to Supplementary Note 1, wherein the servo waveform data includes at least a feed axis position command, a spindle torque, and a spindle speed.

[0077] (Supplementary Note 4) The NC program estimation device according to Supplementary Note 2, wherein the waveform generation unit comprises: an NC program interpretation unit that interprets the NC program estimated by the NC program estimation unit; a command generation unit that interpolates command points from the NC program interpreted by the NC program interpretation unit and generates a position command value or a speed command value; and a feedback control unit that performs feedback control to make the drive of an electric motor that drives a feed axis or a spindle follow the position command value or the speed command value generated by the command generation unit.

[0078] (Appendix 5) An NC program estimation device according to appendix 4, comprising a memory unit that stores characteristic values ​​indicating at least one characteristic of a workpiece and a tool, wherein the waveform generation unit comprises a cutting force estimation unit that estimates a cutting force based on a torque command calculated by the feedback control unit as a result of the feedback control and the characteristic value stored in the memory unit.

[0079] (Supplementary Note 6) The NC program estimation device according to Supplementary Note 2, further comprising: a storage unit that stores characteristic values ​​indicating at least one characteristic of a workpiece and a tool; when the servo waveform data input to the waveform dividing unit is defined as first servo waveform data and the servo waveform data generated by the waveform generating unit is defined as second servo waveform data, the waveform generating unit comprises: a cutting force estimating unit that estimates a cutting force using a torque command included in the second servo waveform data and a cutting coefficient determined based on the characteristic value; a characteristic amount calculating unit that calculates, based on the first servo waveform data, a first characteristic amount including a statistical amount of torque included in the first servo waveform data, and calculates, based on the second servo waveform data, a second characteristic amount including a statistical amount of torque included in the second servo waveform data; and a parameter optimizing unit that optimizes at least the cutting coefficient so that the first characteristic amount and the second characteristic amount coincide with each other.

[0080] (Supplementary Note 7) The NC program estimation device according to Supplementary Note 1, further comprising a wear estimation unit that estimates the amount of wear of the tool based on the cutting distance and wear rate of the tool.

[0081] (Supplementary Note 8) The NC program estimation device according to Supplementary Note 7, wherein the wear estimation unit estimates a limit wear amount of the tool and a time when the limit wear amount will be reached.

[0082] (Supplementary Note 9) A method for estimating an NC program for industrial machinery, in which a computer executes the following processes: a process of dividing servo waveform data into a plurality of sections in units of operations; a process of estimating a position command amount and a speed command amount from the servo waveform data for each divided section; and a process of estimating at least one of an NC program and NC parameters from the position command amount and the speed command amount.

[0083] 10 NC program estimation device 101 Feature amount calculation unit 102 Trend calculation unit 103 Exchange calculation unit 104 Waveform division unit 105 Command estimation unit 106 Program estimation unit 107 Storage unit 108 Waveform generation unit 109 Parameter optimization unit 110 Wear estimation unit 1081 NC program interpretation unit 1082 Command generation unit 1083 Feedback control unit 1084 Cutting force estimation unit

Claims

1. An NC program estimation device for industrial machinery comprising: a waveform division unit that divides servo waveform data into a plurality of sections on an operation unit basis; a command estimation unit that estimates a position command amount and a speed command amount from the servo waveform data for each section divided by the waveform division unit; and an NC program estimation unit that estimates at least one of an NC program and NC parameters from the position command amount and the speed command amount.

2. An NC program estimation device according to claim 1, further comprising a waveform generation section which generates servo waveform data based on the NC program estimated by the NC program estimation section.

3. The NC program estimation device according to claim 1, wherein said servo waveform data includes at least a feed axis position command, a spindle torque and a spindle speed.

4. The NC program estimation device according to claim 2, wherein the waveform generation unit comprises: an NC program interpretation unit that interprets the NC program estimated by the NC program estimation unit; a command generation unit that performs interpolation of command points from the NC program interpreted by the NC program interpretation unit to generate a position command value or a speed command value; and a feedback control unit that performs feedback control to cause the drive of an electric motor that drives a feed axis or a spindle to follow the position command value or the speed command value generated by the command generation unit.

5. An NC program estimation device as described in claim 4, further comprising a memory unit which stores characteristic values ​​indicating at least one characteristic of a workpiece and a tool, and the waveform generating unit comprises a cutting force estimation unit which estimates a cutting force based on a torque command calculated by the feedback control unit as a result of the feedback control and the characteristic value stored in the memory unit.

6. An NC program estimation device as described in claim 2, comprising: a memory unit that stores characteristic values ​​indicating at least one characteristic of a workpiece and a tool; when the servo waveform data input to the waveform division unit is defined as first servo waveform data and the servo waveform data generated by the waveform generation unit is defined as second servo waveform data, the waveform generation unit comprises a cutting force estimation unit that estimates a cutting force using a torque command included in the second servo waveform data and a cutting coefficient determined based on the characteristic value; a characteristic amount calculation unit that calculates a first characteristic amount including a statistical amount of torque included in the first servo waveform data based on the first servo waveform data and calculates a second characteristic amount including a statistical amount of torque included in the second servo waveform data based on the second servo waveform data; and a parameter optimization unit that optimizes at least the cutting coefficient so that the first characteristic amount and the second characteristic amount coincide with each other.

7. The NC program estimation device according to claim 1, further comprising a wear estimation unit that estimates the amount of wear of the tool based on the cutting distance and wear rate of the tool.

8. An NC program estimation device according to claim 7, wherein the wear estimation unit estimates the limit wear amount of the tool and the time when the limit wear amount will be reached.

9. A method for estimating an NC program for industrial machinery, in which a computer executes the following processes: a process for dividing servo waveform data into a plurality of sections on an operation unit basis; a process for estimating a position command amount and a speed command amount from the servo waveform data for each divided section; and a process for estimating at least one of an NC program and NC parameters from the position command amount and the speed command amount.

Citation Information

Patent Citations

  • Tool wear prediction device and method therefor

    JP2018086712A

  • Machine tool, production management system, and method for estimating and detecting tool life

    JP2018103340A

  • Method of preparing tool wear data, estimating tool wear amount, and making decision on the use of the tool

    WO2000012260A1

Cited By

  • Device and method for compensating data loss in industrial machine

    JPWO2024247258A1