Numerical control device and computer-readable storage medium
The numerical control device addresses the challenge of unpredictable machining times by controlling spindle load constancy, enabling precise time prediction and efficient machining through integrated detection and calculation mechanisms.
Patent Information
- Application Number
- JP2023503827
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-03-02
- Filing Date
- 2022-02-28
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2042-02-28
AI Technical Summary
Existing spindle load control methods in machine tools make it difficult to predict machining time accurately due to varying loads, necessitating multiple test machinings to adjust the spindle load for desired completion within a specific time.
A numerical control device that includes a spindle load detection section, machining time setting section, and spindle load calculation section to control the spindle feed rate such that the load remains constant, allowing for precise machining time prediction and execution.
Enables accurate prediction and control of machining time by maintaining a constant spindle load, reducing the need for repetitive test machinings and improving operational efficiency.
Smart Images

Figure 0007534526000004 
Figure 0007534526000012 
Figure 0007534526000005
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a numerical control device for controlling a machine tool, and a computer-readable storage medium. [Background technology]
[0002] In machine tools, a technique is known for controlling the feed speed of the spindle so that the load on the spindle is constant (for example, see Patent Document 1). This control can extend the life of the tool. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-117458 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, when the feed speed of the spindle is controlled so that the load on the spindle is constant, it is difficult to predict the machining time in advance because the feed speed changes according to the load. Therefore, if you want to complete the machining of a workpiece in the desired machining time, it is necessary to adjust the load on the spindle and perform test machining many times.
[0005] The present disclosure aims to provide a numerical control device and a computer-readable storage medium that are capable of setting the machining time of a workpiece to a desired time when the feed speed of the spindle is controlled so that the load on the spindle is constant. [Means for solving the problem]
[0006] The numerical control device comprises a spindle load detection unit that detects time series data of the load applied to the spindle when a workpiece is machined; a machining time setting unit that sets the machining time for machining the workpiece; a spindle load calculation unit that calculates the load applied to the spindle based on the time series data when the workpiece is machined for the machining time set by the machining time setting unit and the spindle feed speed is controlled so that the load applied to the spindle is a constant load; and a spindle load output unit that outputs data indicative of the load applied to the spindle calculated by the spindle load calculation unit.
[0007] A computer-readable storage medium stores instructions that cause a computer to detect time series data of the load applied to the spindle when a workpiece is machined, set a machining time for machining the workpiece, calculate based on the time series data the load applied to the spindle when the workpiece is machined for the set machining time and the spindle feed speed is controlled so that the load applied to the spindle is a constant load, and output data indicating the calculated load applied to the spindle. Effect of the Invention
[0008] According to the present disclosure, when the feed speed of the spindle is controlled so that the load on the spindle is constant, it becomes possible to set the machining time of the workpiece to a desired time. [Brief description of the drawings]
[0009] [Figure 1] FIG. 2 is a diagram illustrating an example of a hardware configuration of a machine tool. [Diagram 2] FIG. 2 is a block diagram showing an example of a function of a numerical control device. [Diagram 3] 10 is a diagram illustrating an example of time-series data stored in a spindle load storage unit. FIG. [Figure 4A] 11 is a diagram for explaining a method for a spindle load calculation unit to calculate a load applied to a spindle. FIG. [Figure 4B] 10A and 10B are diagrams for explaining a method for a spindle load calculation unit to calculate a load applied to a spindle. [Diagram 5] 10A and 10B are diagrams for explaining a method for a spindle load calculation unit to calculate a load applied to a spindle. [Figure 6] 4 is a flowchart showing an example of a flow of processing executed by a numerical control device. [Figure 7] FIG. 4 is a diagram illustrating an example of a spindle load calculation unit. [Figure 8] FIG. 13 is a diagram showing an example of a display of a load applied to a spindle displayed on an input / output device. [Figure 9] FIG. 2 is a block diagram showing an example of a function of a numerical control device. [Figure 10] FIG. 11 is a diagram showing an example of time-series data of a load applied to a spindle. [Figure 11] FIG. 13 is a diagram illustrating an example of a frequency distribution. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. Note that not all combinations of features described in the following embodiment are necessarily required to solve the problem. In addition, unnecessary detailed description may be omitted. In addition, the following description of the embodiment and the drawings are provided to enable a person skilled in the art to fully understand the present disclosure, and are not intended to limit the scope of the claims.
[0011] 1 is a diagram showing an example of a hardware configuration of a machine tool 1. The machine tool 1 is, for example, a lathe, a machining center, or a multi-tasking machine.
[0012] The machine tool 1 includes, for example, a numerical control device 2, an input / output device 3, a servo amplifier 4 and a servo motor 5, a spindle amplifier 6 and a spindle motor 7, and auxiliary equipment 8.
[0013] The numerical control device 2 is a device that controls the entire machine tool 1. The numerical control device 2 includes a CPU (Central Processing Unit) 201, a bus 202, a ROM (Read Only Memory) 203, a RAM (Random Access Memory) 204, and a non-volatile memory 205.
[0014] The CPU 201 is a processor that controls the entire numerical control device 2 in accordance with a system program. The CPU 201 reads the system program and the like stored in the ROM 203 via the bus 202. The CPU 201 also controls the servo motor 5 and the spindle motor 7 in accordance with a machining program.
[0015] The CPU 201 performs, for example, analysis of a machining program and output of a control command to the servo motor 5 for each control period.
[0016] The bus 202 is a communication path that connects each piece of hardware in the numerical control device 2 to each other. The pieces of hardware in the numerical control device 2 exchange data via the bus 202.
[0017] The ROM 203 is a storage device that stores a system program for controlling the entire numerical control device 2. The ROM 203 functions as a computer-readable storage medium.
[0018] The RAM 204 is a storage device that temporarily stores various data and functions as a working area for the CPU 201 to process various data.
[0019] The nonvolatile memory 205 is a storage device that retains data even when the machine tool 1 is turned off and power is not being supplied to the numerical control device 2. The nonvolatile memory 205 stores, for example, a machining program and various parameters input from the input / output device 3. The nonvolatile memory 205 functions as a computer-readable storage medium. The nonvolatile memory 205 is formed, for example, of an SSD (Solid State Drive).
[0020] The numerical control device 2 further includes an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 , and an I / O unit 210 .
[0021] The interface 206 connects the bus 202 and the input / output device 3. The interface 206 sends, for example, various data processed by the CPU 201 to the input / output device 3.
[0022] The input / output device 3 is a device that receives various data via the interface 206 and displays the various data. The input / output device 3 also accepts input of various data and sends the various data to the CPU 201 via the interface 206. The input / output device 3 includes a display such as an LCD (Liquid Crystal Display), a keyboard, a mouse, and the like. The input / output device 3 may also be a touch panel.
[0023] The axis control circuit 207 is a circuit that controls the servo motor 5. The axis control circuit 207 receives a control command from the CPU 201 and outputs a command to drive the servo motor 5 to the servo amplifier 4. The axis control circuit 207 sends, for example, a torque command to control the torque of the servo motor 5 to the servo amplifier 4.
[0024] The servo amplifier 4 receives a command from the axis control circuit 207 and supplies a current to the servo motor 5 .
[0025] The servo motor 5 is driven by receiving a current supply from the servo amplifier 4. The servo motor 5 is connected to, for example, a ball screw that drives a tool post, a spindle head, or a table. When the servo motor 5 is driven, the structures of the machine tool 1, such as the tool post, the spindle head, or the table, move, for example, in the X-axis direction, Y-axis direction, or Z-axis direction. The servo motor 5 may include a built-in speed detector (not shown) that detects the feed speed of each axis.
[0026] 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 CPU 201 and outputs a command for driving the spindle motor 7 to the spindle amplifier 6. The spindle control circuit 208 sends, for example, a torque command for controlling the torque of the spindle motor 7 to the spindle amplifier 6.
[0027] The spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies a current to the spindle motor 7. The spindle amplifier 6 includes an ammeter 61 that measures the current value of the current supplied to the spindle motor 7.
[0028] The ammeter 61 detects the current value of the current supplied to the spindle motor 7. The ammeter 61 sends data indicating the detected current value to the CPU 201.
[0029] The spindle motor 7 is driven by receiving a current supply from the spindle amplifier 6. The spindle motor 7 is connected to a 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 the 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 transmits 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 may be a device installed in the periphery of the machine tool 1. The auxiliary device 8 operates based on a command received from the I / O unit 210. The auxiliary device 8 is, for example, a tool changer, a cutting fluid ejection device, or an opening / closing door drive device.
[0033] Next, an example of the function of the numerical control device 2 will be described. The numerical control device 2 detects time series data of the load applied to the spindle when the workpiece is machined at the feed rate commanded by the machining program. Furthermore, based on the detected time series data of the load applied to the spindle, the numerical control device 2 predicts the load applied to the spindle when the workpiece is machined so that the machining time is the set machining time and the feed rate is controlled so that the load applied to the spindle is a constant load.
[0034] 2 is a block diagram showing an example of functions of the numerical control device 2. The numerical control device 2 includes a program storage unit 211, a control unit 212, a spindle load detection unit 213, a spindle load storage unit 214, a machining time reception unit 215, a machining time setting unit 216, a spindle load calculation unit 217, and a spindle load output unit 218.
[0035] The program memory unit 211 and the spindle load memory unit 214 are realized by storing the machining program input from the input / output device 3, etc., and the data input from the ammeter 61 and various sensors in the RAM 204 or the non-volatile memory 205.
[0036] The control unit 212, the spindle load detection unit 213, the machining time receiving unit 215, the machining time setting unit 216, the spindle load calculation unit 217, and the spindle load output unit 218 are realized, for example, by the CPU 201 performing calculations using the system program stored in the ROM 203 and the machining program and various data stored in the non-volatile memory 205.
[0037] The program storage unit 211 stores a machining program. The machining program is a program for machining a workpiece by operating each part of the machine tool 1. In the machining program, the movement path of the tool, the feed speed of the tool, the rotation speed of the spindle, and the like are commanded using G codes, M codes, and the like.
[0038] The control unit 212 controls each part of the machine tool 1 based on a machining program. The control unit 212 controls the servo motor 5 and the spindle motor 7, for example.
[0039] The control unit 212 performs constant speed control based on the machining program. The constant speed control is a control for moving the spindle at a feed speed specified in the machining program.
[0040] The control unit 212 also performs constant load control based on the machining program. Constant load control is a control that changes the feed speed of the spindle specified in the machining program so that the load on the spindle becomes a constant load. Constant load control can suppress fluctuations in the load on the spindle more than constant speed control.
[0041] The spindle load detection unit 213 detects time series data of the load applied to the spindle when the workpiece is machined based on the machining program. The spindle load detection unit 213 also detects time series data indicating the feed speed of the spindle. In other words, the spindle load detection unit 213 detects the load applied to the spindle and the feed speed of the spindle at predetermined intervals while the workpiece is machined based on the machining program.
[0042] The spindle load detection unit 213 detects the load applied to the spindle based on, for example, a current value indicated by an ammeter 61 built into the spindle amplifier 6. The spindle load detection unit 213 also detects the feed speed of the spindle based on data detected by a speed detector built into the servo motor 5. The load applied to the spindle is a load torque applied in the opposite direction to the rotation direction of the spindle.
[0043] The spindle load storage unit 214 stores time series data of the load applied to the spindle detected by the spindle load detection unit 213. That is, the spindle load storage unit 214 stores time series data indicating the load applied to the spindle when a workpiece is machined. The spindle load storage unit 214 also stores time series data indicating the feed speed of the spindle when a workpiece is machined. The time series data stored in the spindle load storage unit 214 is time series data detected when constant speed control of the spindle is performed based on the machining program.
[0044] Fig. 3 is a diagram for explaining an example of time series data stored in the spindle load storage unit 214. That is, the time series data shown in Fig. 3 is data detected when machining is performed under constant speed control. Fig. 3 shows that the spindle load storage unit 214 stores, in order, time series data L, 2L, 3L, 4L, 3L, 2L, and L indicating loads detected at each predetermined cycle T.
[0045] Now, let us return to the explanation of FIG.
[0046] The machining time receiving unit 215 receives input of the machining time required for machining when the machining program is executed under constant load control. The machining time receiving unit 215 receives a value input by an operator using, for example, the input / output device 3. The operator inputs a desired machining time when machining a workpiece based on the machining program.
[0047] The machining time setting unit 216 sets the machining time accepted by the machining time accepting unit 215. That is, the machining time setting unit 216 sets the machining time when machining the workpiece. For example, the machining time setting unit 216 sets the machining time by storing data indicating the machining time in a predetermined register (not shown).
[0048] The spindle load calculation unit 217 calculates the load on the spindle when the workpiece is machined in the machining time set by the machining time setting unit 216 and the feed speed of the spindle is controlled so that the load on the spindle is a constant load, based on the time series data stored in the spindle load storage unit 214. In other words, the spindle load calculation unit 217 predicts the load on the spindle when the machining program is executed under constant load control in the machining time set by the machining time setting unit 216, based on the time series data detected when constant speed control is performed. The spindle load calculation unit 217 calculates the load on the spindle assuming that the load on the spindle and the feed speed of the spindle are proportional to each other.
[0049] 4A, 4B and 5 are diagrams for explaining a method for calculating the load on the spindle by the spindle load calculation unit 217. The spindle load calculation unit 217 first reads out time series data of the load on the spindle stored in the spindle load storage unit 214. The time series data indicating the load on the spindle is data detected at every predetermined period T.
[0050] Next, the spindle load calculation unit 217 multiplies the value T indicating the length of the predetermined cycle by a value indicating the load applied to the spindle. For example, when the load shown in FIG. 3 is detected during execution of the machining program, the load detected in the first cycle is L. Therefore, the value obtained by multiplying the value T indicating the length of the predetermined cycle by the value L indicating the load applied to the spindle is LT (see FIG. 4A). Moreover, the load applied to the spindle detected in the next cycle is 2L. Therefore, the value obtained by multiplying the value T indicating the predetermined cycle by the value 2L indicating the load applied to the spindle is 2LT (see FIG. 4B). Similarly, the values calculated for the third and subsequent cycles are 3LT, 4LT, 3LT, 2LT, and LT, respectively.
[0051] Next, the spindle load calculation unit 217 sums up the values calculated by multiplying the value T indicating the length of the predetermined period by the value indicating the load applied to the spindle. In the example shown in Fig. 3, the sum is 16LT.
[0052] Next, the spindle load calculation unit 217 calculates the load on the spindle by dividing the sum calculated by adding up each value by a value indicating the machining time set by the machining time setting unit 216. For example, when the sum is 16LT and the machining time set by the machining time setting unit 216 is 10T, the load on the spindle is 1.6L (see FIG. 5). As a result, the spindle load calculation unit 217 can calculate the load of 1.6L on the spindle when it is calculated assuming that the load on the spindle and the feed speed of the spindle are proportional. Note that the spindle load calculation unit 217 may further calculate the feed speed of the spindle when the workpiece is machined in the machining time set by the machining time setting unit 216 and the feed speed of the spindle is controlled so that the load on the spindle is a constant load.
[0053] The spindle load output unit 218 outputs data indicating the load on the spindle calculated by the spindle load calculation unit 217. The spindle load output unit 218 outputs data indicating the calculated load on the spindle and data indicating the machining time set by the machining time setting unit 216 to, for example, the input / output device 3, and causes the input / output device 3 to display the load on the spindle and the machining time. The spindle load output unit 218 may output the feed speed of the spindle calculated in the process of the spindle load calculation unit 217 calculating the load on the spindle. In this case, the spindle load output unit 218 may output data indicating the feed speed of the spindle so that the feed speed of the spindle in each cycle is displayed in a graph.
[0054] Next, the flow of processing executed by the numerical control device 2 will be described.
[0055] 6 is a flowchart showing an example of a flow of processing executed by the numerical control device 2. First, the spindle load detection unit 213 detects time-series data indicating the load applied to the spindle when a workpiece is machined under constant speed control based on a machining program (step S1).
[0056] Next, the spindle load storage unit 214 stores time-series data indicating the load acting on the spindle detected by the spindle load detection unit 213 (step S2).
[0057] Next, the machining time receiving unit 215 receives an input of a value indicating the machining time when machining the workpiece under constant load control based on the machining program (step S3).
[0058] Next, the processing time setting unit 216 sets the value received by the processing time receiving unit 215 as the processing time (step S4). Next, the spindle load calculation unit 217 calculates the load applied to the spindle when the machining program is executed for the machining time set by the machining time setting unit 216 (step S5).
[0059] Finally, the spindle load output unit 218 outputs data indicating the load acting on the spindle calculated by the spindle load calculation unit 217 (step S6), and the process ends.
[0060] By the numerical control device 2 performing such processing, the load applied to the spindle when the machining program is executed based on constant load control so that the workpiece is machined in the machining time set by the machining time setting unit 216 can be displayed, for example, on the input / output device 3. In addition, the control unit 212 can machine the workpiece in the machining time set by the machining time setting unit 216.
[0061] As described above, the numerical control device 2 includes the spindle load detection unit 213 that detects time series data of the load applied to the spindle when a workpiece is machined, the machining time setting unit 216 that sets the machining time when machining the workpiece, the spindle load calculation unit 217 that calculates the load applied to the spindle based on the time series data when the workpiece is machined for the machining time set by the machining time setting unit 216 and the spindle feed speed is controlled so that the load applied to the spindle becomes a constant load, and the spindle load output unit 218 that outputs data indicating the load applied to the spindle calculated by the spindle load calculation unit 217. This makes it possible for the numerical control device 2 to set the machining time of the workpiece to a desired time when the spindle feed speed is controlled so that the load applied to the spindle becomes a constant load.
[0062] Moreover, the numerical control device 2 further includes a machining time receiving unit 215 that receives an input of a value indicating the machining time set by the machining time setting unit 216. Therefore, the numerical control device 2 can predict the machining time according to the input target load. Moreover, since the numerical control device 2 outputs a value indicating the load on the spindle, the operator can set the machining time in consideration of the balance between the load on the spindle and the machining time.
[0063] In addition, the spindle load calculation unit 217 calculates the load on the spindle assuming that the load on the spindle is proportional to the feed rate. Therefore, the spindle load calculation unit 217 can calculate the load on the spindle without performing complex calculations.
[0064] Furthermore, the spindle load calculation unit 217 further calculates the feed speed of the spindle when the workpiece is machined in the machining time set by the machining time setting unit 216 and the feed speed of the spindle is controlled so that the load on the spindle becomes a constant load. This enables the operator to determine whether the feed speed of the spindle is appropriate for machining the workpiece and set the machining time.
[0065] Moreover, the numerical control device 2 further includes a spindle load storage unit 214 that stores time series data detected by the spindle load detection unit 213. This allows the spindle load calculation unit 217 to calculate the loads applied to the spindle for various machining times based on the time series data stored in the spindle load storage unit 214.
[0066] In the above-described embodiment, the spindle load calculation unit 217 calculates the load on the spindle assuming that the load on the spindle is proportional to the feed speed of the spindle. However, the spindle load calculation unit 217 may predict the load on the spindle based on a correlation model that indicates the relationship between the load on the spindle and the feed speed of the spindle.
[0067] 7 is a diagram showing an example of a spindle load calculation unit 217 that calculates the load applied to the spindle based on the correlation model. The spindle load calculation unit 217 includes a learning unit 221, a correlation model storage unit 222, and a prediction unit 223. Note that the configuration other than the spindle load calculation unit 217 is the same as the configuration of the above-mentioned embodiment.
[0068] The learning unit 221 generates a correlation model indicating the relationship between the load on the spindle and the feed speed of the spindle, based on time series data indicating the load on the spindle and time series data indicating the feed speed of the spindle stored in the spindle load storage unit 214. The learning unit 221 generates the correlation model using, for example, a regression equation, a Support Vector Machine (SVM), or a neural network.
[0069] The correlation model storage unit 222 stores the correlation model generated by the learning unit 221 .
[0070] The prediction unit 223 calculates the load applied to the spindle when machining based on the machining program is performed so as to be completed within the machining time set by the machining time setting unit 216, using the correlation model stored in the correlation model storage unit 222. In addition, the prediction unit 223 may calculate the feed speed of the spindle when machining based on the machining program is performed so as to be completed within the machining time set by the machining time setting unit 216.
[0071] Data indicating the load applied to the spindle predicted by the prediction unit 223 is output by the spindle load output unit 218.
[0072] In the above-described embodiment, the numerical control device 2 further includes a learning unit 221 that learns the relationship between the load on the spindle and the feed rate, and the spindle load calculation unit 217 calculates the load on the spindle based on the relationship learned by the learning unit 221. Therefore, the spindle load calculation unit 217 can predict the load on the spindle with high accuracy.
[0073] Furthermore, although the numerical control device 2 in the above-described embodiment includes the machining time receiving unit 215, the numerical control device 2 does not necessarily have to include the machining time receiving unit 215. In this case, the numerical control device 2 stores values indicating a plurality of machining times in advance, and predicts the load applied to the spindle when the feed speed of the spindle is controlled so that the execution of the machining program is completed at each machining time.
[0074] Fig. 8 is a diagram showing an example of a display of a load applied to a spindle displayed on the input / output device 3 when the numerical control device 2 stores values indicating a plurality of machining times. For example, a preset machining time is stored in the numerical control device 2. In the example shown in Fig. 8, 11:00, 10:30, 10:00, 9:30, 9:00, 8:00, 7:00, and 6:00 are stored as machining times.
[0075] The spindle load calculation unit 217 calculates the load applied to the spindle when constant load control is performed so that the machining of the workpiece is completed within these machining times. Data indicating the load calculated by the spindle load calculation unit 217 is output by the spindle load output unit 218 and displayed on the display screen of the input / output device 3.
[0076] On the display screen, for example, a straight line with a scale extending to the left and right is displayed. Below the straight line, the set machining time is displayed. Above the straight line, a value indicating the ratio of the target torque to the rated torque is displayed as the calculated load on the spindle.
[0077] In the example shown in FIG. 8, a load of 50% is displayed in association with the set machining time of 11:00. A load of 53% is displayed in association with the set machining time of 10:30. A load of 56% is displayed in association with the set machining time of 10:00. A load of 59% is displayed in association with the set machining time of 9:30. A load of 62% is displayed in association with the set machining time of 9:00. A load of 65% is displayed in association with the set machining time of 8:00. A load of 68% is displayed in association with the set machining time of 7:00. A load of 71% is displayed in association with the set machining time of 6:00.
[0078] By displaying the processing time and the load on the spindle in this manner, the operator can easily understand the load on the spindle when constant load control is performed so that the workpiece is processed at each processing time.
[0079] In addition, below the area where each machining time is displayed, the set machining time may be displayed as a ratio to the machining time when the workpiece is machined under constant speed control. For example, in the example shown in Fig. 8, the machining time when constant speed control is performed is 10:00, and each set machining time is displayed in parentheses as a ratio to 10:00.
[0080] 8, when the set machining time and the load applied to the spindle are displayed side by side on the input / output device 3, one of the machining times may be selected on the display screen. In this case, the control unit 212 may execute the machining program under constant load control so that the workpiece is machined in the selected machining time.
[0081] In the above-described embodiment, the numerical control device 2 includes the spindle load storage unit 214. However, the numerical control device 2 does not necessarily have to include the spindle load storage unit 214.
[0082] 9 is a block diagram showing an example of the functions of the numerical control device 2. The numerical control device 2 includes a generating unit 224 and a frequency distribution storing unit 225 instead of the spindle load storing unit 214. The other configurations are the same as those of the numerical control device 2 shown in FIG.
[0083] The generating unit 224 is realized, for example, by the CPU 201 performing arithmetic processing using the system program stored in the ROM 203 and the processing program and various data stored in the non-volatile memory 205. The frequency distribution storage unit 225 is realized, for example, by storing in the RAM 204 or the non-volatile memory 205 data generated by the CPU 201 performing arithmetic processing using the system program and various data.
[0084] The generating unit 224 generates frequency distribution data based on the time series data detected by the spindle load detecting unit 213 .
[0085] FIG. 10 is a diagram showing time series data detected by the spindle load detection unit 213. That is, the time series data shown in FIG. 10 is data detected when machining is performed under constant speed control. FIG. 11 is a diagram showing an example of frequency distribution. The generation unit 224 divides the load applied to the spindle detected by the spindle load detection unit 213 into a plurality of classes and counts the frequency of each class. For example, the generation unit 224 divides the detected load into one of four classes L, 2L, 3L, and 4L. The generation unit 224 divides the value of the load detected by the spindle load detection unit 213 into one of classes L, 2L, 3L, and 4L, for example, by rounding it off.
[0086] The generation unit 224, for example, assigns loads of magnitude equal to or greater than 0.5L and less than 1.5L to class L. Similarly, it assigns loads of magnitude equal to or greater than 1.5L and less than 2.5L to class 2L. It also assigns loads of magnitude equal to or greater than 2.5L and less than 3.5L to class 3L. It also assigns loads of magnitude equal to or greater than 3.5L and less than 4.5L to class 4L. In the example shown in FIG. 11, four values are assigned to class L, five to class 2L, two to class 3L, and one to class 4L.
[0087] The frequency distribution storage unit 225 stores the frequency distribution data generated by the generation unit 224.
[0088] The spindle load calculation unit 217 calculates the load on the spindle when machining of a workpiece is performed for a machining time set based on the frequency distribution data stored in the frequency distribution storage unit 225. The spindle load calculation unit 217 first adds up the value (class value) x (frequency) x (period) obtained by multiplying the value of each class, the frequency of each class, and the period in which the load on the spindle is detected. For example, in the example shown in Fig. 11, L x 4 x T + 2L x 5 x T + 3L x 2 x T + 4L x 4 x T = 24LT is obtained.
[0089] Next, the spindle load calculation unit 217 divides the obtained total value by the machining time set by the machining time setting unit 216. For example, when the obtained total value is 24LT and the machining time set by the machining time setting unit 216 is 10T, the load on the spindle is calculated to be 2.4L.
[0090] In the above-described embodiment, the numerical control device 2 further includes a frequency distribution storage unit 225 that stores data indicating a frequency distribution generated based on the time series data detected by the spindle load detection unit 213. Therefore, the amount of data to be stored can be made smaller than when the spindle load storage unit 214 stores time series data. Therefore, the amount of data to be stored in the memory can be reduced. [Explanation of symbols]
[0091] 1 Machine tools 2. Numerical control device 201 CPU 202 Bus 203 ROM 204 RAM 205 Non-volatile memory 206 Interface 207 Axis control circuit 208 Spindle control circuit 209 PLC 210 I / O Unit 211 Program storage unit 212 Control section 213 Spindle load detector 214 Spindle load storage section 215 Processing Time Reception Department 216 Machining time setting section 217 Spindle load calculation section 218 Spindle load output section 221 Learning Department 222 Correlation Model Memory Unit 223 Prediction Department 224 Generation part 225 Frequency distribution memory section 3 Input / Output Devices 4 Servo Amplifier 5. Servo motor 6 Spindle Amplifier 61 Ammeter 7 Spindle motor 8 Auxiliary equipment
Claims
1. a spindle load detection unit that detects time series data of the load applied to the spindle when the workpiece is machined; A processing time setting unit that sets a processing time when processing the workpiece; a spindle load calculation unit that calculates, based on the time series data, a load applied to the spindle when the workpiece is machined within the machining time set by the machining time setting unit and a feed speed of the spindle is controlled so that the load applied to the spindle becomes a constant load; a spindle load output unit that outputs data indicating the load applied to the spindle calculated by the spindle load calculation unit; A numerical control device comprising:
2. The numerical control device according to claim 1 , further comprising a machining time receiving unit that receives an input of a value indicating the machining time set by the machining time setting unit.
3. 3. The numerical control device according to claim 1, wherein the spindle load calculation unit calculates the load on the spindle assuming that the load on the spindle is proportional to the feed rate.
4. A learning unit that learns the relationship between the load applied to the spindle and the feed speed, 3. The numerical control device according to claim 1, wherein the spindle load calculation unit calculates the load applied to the spindle based on the relationship learned by the learning unit.
5. 5. The numerical control device according to claim 1, wherein the spindle load output unit further outputs data indicating a relationship between the machining time set by the machining time setting unit and the load applied to the spindle.
6. The numerical control device according to any one of claims 1 to 5, wherein the spindle load calculation unit further calculates the feed speed when the workpiece is machined within the machining time set by the machining time setting unit, and the feed speed of the spindle is controlled so that the load applied to the spindle is a constant load.
7. 7. The numerical control device according to claim 1, further comprising a spindle load storage unit that stores the time series data detected by the spindle load detection unit.
8. 7. The numerical control device according to claim 1, further comprising a frequency distribution storage unit that stores frequency distribution data generated based on the time series data detected by the spindle load detection unit.
9. Detecting time series data of a load applied to a spindle when a workpiece is machined; Setting a processing time for processing the workpiece; Calculating, based on the time series data, a load applied to the spindle when the workpiece is machined for the set machining time and a feed speed of the spindle is controlled so that the load applied to the spindle is a constant load; outputting data indicative of the calculated load on the spindle; A computer-readable storage medium that stores instructions for causing a computer to execute the above.
Citation Information
Patent Citations
Working control device
JP2004284002A
Machine tool cutting condition optimization device and method
JP2015184687A
Numerical control device and machine learning device
JP2018120357A
Control device and machine learning device
JP2019117458A
Numerical control device
JP2019209419A
