Numerical control device, machine tool, control method, program, and storage medium
The numerical control device addresses power consumption issues by using a cutting fluid ejection mechanism to manage chip generation based on tool type and processing content, optimizing power usage and chip removal.
Patent Information
- Application Number
- JP2023058628
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
AI Technical Summary
Existing numerical control devices fail to appropriately suppress power consumption by coolant supply units during standby modes, leading to potential overconsumption.
A numerical control device equipped with a cutting fluid ejection mechanism that jets cutting fluid to wash away chips, utilizing a determination section to identify tool type, an acquisition section to gather processing content, and an estimator to calculate chip generation, driving the mechanism only when chip amounts exceed a predetermined threshold.
The device effectively reduces power consumption by optimizing the timing of cutting fluid ejection, ensuring efficient chip removal and power management.
Smart Images

Figure 2024145982000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a numerical control device, a machine tool, a control method, a program, and a storage medium. [Background technology]
[0002] The control device described in Patent Document 1 determines whether or not there is a block in which operating parts such as a spindle motor or coolant are in a standby state among the multiple blocks constituting the NC program during execution of the NC program. If a block in a standby state is present, the control device determines whether or not it is possible to cut off the power supplied to a power source corresponding to the operating part during execution of the block, such as a spindle motor or coolant pump. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-067346 A Summary of the Invention [Problem to be solved by the invention]
[0004] Since the control device cuts off power only when the device is in standby mode, there is a possibility that the coolant supply unit may supply too much coolant, making it impossible to appropriately suppress power consumption by the coolant supply unit.
[0005] An object of the present invention is to provide a numerical control device, a machine tool, a control method, a program, and a storage medium that can drive a cutting fluid ejection mechanism at an appropriate timing and appropriately reduce power consumption. [Means for solving the problem]
[0006] The numerical control device of claim 1 is a numerical control device that controls a machine tool equipped with a spraying mechanism that sprays cutting fluid to wash away chips generated when a workpiece is machined with a tool attached to a spindle based on a machining program, and is characterized in that it comprises a discrimination unit that discriminates the type of tool used when machining the workpiece, an acquisition unit that acquires the machining details of the workpiece with the tool discriminated by the discrimination unit, an estimation unit that estimates the amount of chips generated based on the machining details acquired by the acquisition unit, a judgment unit that judges whether the amount of chips estimated by the estimation unit is equal to or greater than a predetermined reference value, and a spray control unit that drives the spraying mechanism to spray the cutting fluid when the judgment unit judges that the amount of chips is equal to or greater than the reference value.
[0007] The numerical control device drives the ejection mechanism when the estimated amount of chips is equal to or greater than a reference value, and therefore the numerical control device can drive the ejection mechanism for the cutting fluid at an optimal timing and appropriately reduce power consumption.
[0008] In the numerical control device of claim 2, the estimation unit may estimate the amount of chips based on the amount of power required to rotate the spindle, the density of the workpiece, the mechanical efficiency of the machine tool, the specific cutting resistance between the workpiece and the spindle, and a tool coefficient according to the type of the tool. The numerical control device can accurately estimate the amount of chips using the tool coefficient according to the type of tool, etc.
[0009] In the numerical control device of claim 3, the ejection control unit may drive the ejection mechanism to eject the cutting fluid for a predetermined time when the determination unit determines that the amount of chips is equal to or greater than the reference value. Therefore, the numerical control device can reliably discharge the generated chips within the predetermined time.
[0010] In the numerical control device of claim 4, the ejection control unit may control the ejection mechanism to eject the cutting fluid for a total time obtained by adding the predetermined time to the number of times that the determination unit has determined that the amount of chips is equal to or greater than the reference value. In the numerical control device, a large amount of chips may be generated in a short period of time. In this case, the amount of chips may exceed the reference value again before the end of the predetermined time. In this case, the ejection mechanism is driven for the total time obtained by adding the predetermined time. Therefore, the numerical control device can reliably wash away chips according to the situation.
[0011] In the numerical control device of claim 5, the discrimination unit may discriminate the type of the tool attached to the spindle based on the code of the machining program. The numerical control device can discriminate the type of tool from the code of the machining program.
[0012] In the numerical control device of claim 6, the discrimination unit may discriminate the type of the tool attached to the spindle as a milling tool based on the amount of rotation of the spindle and the amount of rotation of the X-axis and Y-axis which are feed axes. The numerical control device can discriminate the type of tool from the amount of rotation of the spindle and the amount of rotation of the X-axis and Y-axis.
[0013] In the numerical control device of claim 7, the discrimination unit may discriminate the type of the tool attached to the spindle as a tapping tool or a drilling tool based on the amount of rotation of the spindle and the amount of rotation of the Z-axis which is a feed axis. The numerical control device can discriminate the type of tool from the amount of rotation of the spindle.
[0014] In the numerical control device of claim 8, the discrimination unit may discriminate the type of the tool attached to the spindle based on tool data indicating the type of the tool and magazine data indicating the tool attached to a tool magazine. The numerical control device can recognize the tool change from the code and discriminate the type of tool based on the tool data and magazine data.
[0015] The machine tool of claim 9 is characterized in that it comprises the spraying mechanism which sprays the cutting fluid to wash away the chips generated when the workpiece is machined by the tool attached to the spindle based on the machining program, and the numerical control device described in any of claims 1 to 8.
[0016] The above machine tool provides the same effects as the numerical control device according to any one of claims 1 to 8.
[0017] The control method of claim 10 is a control method for a numerical control device that controls a machine tool equipped with a spraying mechanism that sprays cutting fluid to wash away chips generated when a workpiece is machined with a tool attached to a spindle based on a machining program, and is characterized in that it includes a discrimination step of discriminating the type of the tool used when machining the workpiece, an acquisition step of acquiring the machining details of the workpiece with the tool discriminated in the discrimination step, an estimation step of estimating the amount of chips generated based on the machining details acquired in the acquisition step, a judgment step of determining whether the amount of chips estimated in the estimation step is equal to or greater than a predetermined reference value, and a spray control step of driving the spraying mechanism to spray the cutting fluid if the judgment step determines that the amount of chips is equal to or greater than the reference value.
[0018] The above control method achieves the same effects as the numerical control device of claim 1.
[0019] The program of claim 11 is characterized in that it causes a computer of a numerical control device that controls a machine tool equipped with a spraying mechanism that sprays cutting fluid to wash away chips generated when a workpiece is machined with a tool attached to a spindle based on a machining program to execute the following steps: a discrimination step of discriminating the type of tool used when machining the workpiece; an acquisition step of acquiring the machining details of the workpiece with the tool discriminated in the discrimination step; an estimation step of estimating the amount of chips generated based on the machining details acquired in the acquisition step; a determination step of determining whether the amount of chips estimated in the estimation step is equal to or greater than a predetermined reference value; and a spray control step of driving the spraying mechanism to spray the cutting fluid if the determination step determines that the amount of chips is equal to or greater than the reference value.
[0020] The above program achieves the same effects as the numerical control device of claim 1.
[0021] The storage medium of claim 12 is characterized in that it stores a program to cause a computer of a numerical control device that controls a machine tool equipped with a spraying mechanism that sprays cutting fluid to wash away chips generated when a workpiece is machined with a tool attached to a spindle based on a machining program to execute the following steps: a discrimination step of discriminating the type of tool used when machining the workpiece; an acquisition step of acquiring the machining details of the workpiece with the tool discriminated in the discrimination step; an estimation step of estimating the amount of chips generated based on the machining details acquired in the acquisition step; a determination step of determining whether the amount of chips estimated in the estimation step is equal to or greater than a predetermined reference value; and a spray control step of driving the spraying mechanism to spray the cutting fluid if the determination step determines that the amount of chips is equal to or greater than the reference value.
[0022] The storage medium described above provides the same effects as the numerical control device of claim 1. [Brief description of the drawings]
[0023] [Figure 1] FIG. 2 is a perspective view of the machine tool 1 as seen from the rear. [Diagram 2]FIG. [Diagram 3] FIG. [Figure 4] 4 is a cross-sectional view taken along line II in FIG. 3 . [Diagram 5] 2 is a diagram showing a state in which a tool T attached to a spindle 7 is machining a workpiece W. FIG. [Figure 6] FIG. 2 is a block diagram showing the electrical configuration of the numerical control device 30 and the machine tool 1. [Figure 7] FIG. 13 is a diagram showing the relationship between the machining content and the amount of cutting chips. [Figure 8] FIG. 4 is a diagram showing the relationship between the accumulated amount of chips Mt and the intermittent drive of the pump 22. [Figure 9] 13 is a flowchart of a main process. [Figure 10] 10 is a flowchart of the main processing, continued from FIG. [Figure 11] A diagram showing tool data. [Figure 12] A chart showing magazine data. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0024] An embodiment of the present invention will be described with reference to the drawings. In the following description, the front direction, the depth direction, the left, right, upper and lower directions in Fig. 2 refer to the front, rear, left, right, upper and lower directions, respectively, of the machine tool 1. The left-right direction, front-rear direction and upper-upper direction of the machine tool 1 correspond to the X-axis direction, Y-axis direction and Z-axis direction, respectively, of the machine tool 1.
[0025] The outline of the structure of the machine tool 1 will be described with reference to Figs. 1 to 4. The machine tool 1 includes a base 2, a machine body 3, a cover 4, a table 8 (see Fig. 3), a tool changer 13 (see Fig. 4), a control box 15, and the like. The base 2 is an approximately rectangular parallelepiped iron base. The machine body 3 is provided on the upper part of the base 2, and cuts a workpiece W (see Fig. 5) held on the upper surface of the table 8. The types of cutting include drilling, tapping, milling, and the like. The cover 4 is provided on the upper part of the base 2, and is an approximately rectangular parallelepiped box that covers the periphery of the machine body 3 and the upper part of the base 2. The cover 4 prevents chips and splashes of cutting fluid from scattering to the outside. As shown in Fig. 4, the table 8 is provided in the center of the upper part of the base 2, and can be moved in the X-axis and Y-axis directions by an X-axis motor 53 (see Fig. 6), a Y-axis motor 54 (see Fig. 6), an X-axis guide mechanism, and a Y-axis guide mechanism (not shown), and the like. Each guide mechanism includes a linear guide, a ball screw, a nut (not shown), etc. The table 8 has an upper surface on which a workpiece W (see FIG. 5) can be fixed by a jig or the like.
[0026] As shown in FIG. 4, the tool changer 13 includes a tool magazine 14. The disk-shaped tool magazine 14 includes a plurality of grip arms 14A on its outer periphery. The grip arms 14A hold a tool T (see FIG. 5) at their tips and can swing between the tool T and a spindle 7 (see FIG. 5) of the machine body 3, which will be described later. The tool changer 13 swings the grip arm 14A at the tool change position to attach and detach the tool T to and from the spindle 7. The tool change position is the lowest position of the tool magazine 14 and the position closest to the spindle 7. As shown in FIG. 1, the control box 15 is provided on the rear side of the cover 4, and a numerical control device 30 (see FIG. 6) is stored inside. The numerical control device 30 controls the operation of the machine tool 1.
[0027] The configuration of the machine body 3 will be described with reference to Figs. 1 to 4. The machine body 3 includes a column 5, a spindle head 6, a spindle 7 (see Fig. 5), etc. The column 5 is erected at the rear of the upper part of the base 2. The spindle head 6 can be raised and lowered in the Z-axis direction along the front surface of the column 5 by a Z-axis movement mechanism (not shown). The Z-axis movement mechanism includes a linear guide, a ball screw, a nut (not shown), etc. As shown in Fig. 5, the spindle head 6 rotatably supports the spindle 7 inside. The spindle 7 has a tool T attached to its lower end, and is rotated by the drive of a spindle motor 52 (see Figs. 3 and 6). The machine tool 1 can perform cutting on the workpiece W (see Fig. 5) held on the upper surface of a table 8 by relative movement between the workpiece W and the tool T attached to the spindle 7.
[0028] The structure of the cover 4 will be described with reference to Figs. 1 to 4. The cover 4 has a front wall 41, a left wall 42, a right wall 43, a left back wall 44 (see Figs. 3 and 4), and a right back wall 45 (see Figs. 3 and 4), and is formed in a substantially rectangular box shape. The lower ends of the walls 41 to 45 are fixed to the upper part of the base 2. As shown in Figs. 3 and 4, the left back wall 44 and the right back wall 45 form the back walls of the cover 4. The left back wall 44 is fixed to the front end of the left side of the column 5 and extends to the left. The right back wall 45 is fixed to the front end of the right side of the column 5 and extends to the right. The cover 4 covers the machining area of the machine tool 1. The machining area is an area required for the machine tool 1 to machine a workpiece, and is an area that includes at least the movable ranges of the spindle head 6 and the spindle 7 in the Z-axis direction, and the movable ranges of the table 8 in the XY directions. The cover 4 is equipped with a cutting fluid jetting mechanism (hereinafter referred to as the "jetting mechanism"). The spraying mechanism sprays cutting fluid inside the cover 4. Therefore, the machine tool 1 can wash away chips that are generated during workpiece machining and that adhere to and accumulate inside the cover 4. The structure of the spraying mechanism will be described later.
[0029] As shown in FIG. 2, the front wall 41 has an opening 46, an opening door 47, and an operation panel 10. The opening 46 is provided in the approximate center of the front wall 41 and has a rectangular shape when viewed from the front. The opening door 47 is provided so as to be movable in the left-right direction in the opening 46. An operator can open the opening door 47 and attach / detach the workpiece W on the upper surface of the table 8. The operation panel 10 is provided on the right side of the opening 46. The operation panel 10 is connected to the numerical control device 30 (see FIG. 6) by a harness (not shown). The operation panel 10 has an input unit 11 and a display unit 12. The input unit 11 is a device that allows various operation instructions for the machine tool 1, a machining program, a tool type, a tool diameter, various parameters, etc. to be input. The machining program is composed of a plurality of blocks including various control commands, and the numerical control device 30 controls various operations including axial movement and tool replacement of the machine tool 1 in units of blocks based on the machining program. The display unit 12 receives instructions from the numerical control device 30 and can display various input screens or operation screens, etc.
[0030] The structure of the spray mechanism will be described with reference to Figures 1, 3, and 4. The spray mechanism is composed of a spray unit and a supply unit. The spray unit is provided inside the cover 4 and sprays cutting fluid inside the cover 4. The supply unit is provided outside the cover 4 and supplies cutting fluid to the spray unit.
[0031] The configuration of the jetting part will be described with reference to FIG. 4. The jetting part is composed of a pair of flexible pipes 71, 72, a pair of cutting fluid nozzles 74, 75, a pair of cutting fluid pipes 81, 82, a plurality of chip showers 83, 84, etc. The flexible pipe 71 extends from a through hole 94 provided in the left back wall 44 toward the top surface of the table 8. The through hole 94 is provided at approximately the middle position in the vertical direction on the right end side of the left back wall 44. The cutting fluid nozzle 74 is provided at the tip of the flexible pipe 71. The flexible pipe 72 extends from a through hole 92 provided in the right back wall 45 toward the top surface of the table 8. The through hole 92 is provided at approximately the middle position in the vertical direction on the left end side of the right back wall 45. The cutting fluid nozzle 75 is provided at the tip of the flexible pipe 72. The cutting fluid nozzles 74, 75 are directed toward the top surface of the table 8 by bending the flexible pipes 71, 72.
[0032] The cutting fluid piping 81 extends horizontally and forward from a through hole 93 (see FIG. 3) provided in the upper part of the left end side of the left back wall 44. The cutting fluid piping 82 extends horizontally and forward from a through hole 91 (see FIG. 3) provided in the upper part of the right end side of the right back wall 45. The cutting fluid piping 81 has a plurality of holes (not shown) at predetermined intervals in its lower part. The chip showers 83 are each attached to a plurality of holes provided in the lower part of the cutting fluid piping 81. The cutting fluid piping 82 also has a plurality of holes (not shown) at predetermined intervals in its lower part. The chip showers 84 are each attached to a plurality of holes provided in the lower part of the cutting fluid piping 82. The chip showers 83, 84 spray cutting fluid downward.
[0033] The configuration of the supply unit will be described with reference to Figures 1 and 3. As shown in Figure 1, the supply unit is composed of a tank 20, pumps 22, 23, main hoses 25, 26, branch hoses 27, 28, T-shaped joints 61, 62, joints 63, 64 (see Figure 3), etc. The tank 20 is installed at the rear of the base 2 and stores cutting fluid. The pumps 22, 23 are installed adjacent to the right side of the tank 20. The main hose 25 is connected to the pump 22. The main hose 26 is connected to the pump 23. The pump 22 pumps up the cutting fluid in the tank 20 and supplies it to the main hose 25. The pump 23 pumps up the cutting fluid in the tank 20 and supplies it to the main hose 26.
[0034] The T-joint 61 is connected from outside the cover 4 to a through hole 91 provided in the upper right end of the right back wall 45. The T-joint 62 is connected from outside the cover 4 to a through hole 92 provided in the vertical middle position on the left end side of the right back wall 45. As shown in Figure 3, the joint 63 is connected from outside the cover 4 to a through hole 93 provided in the upper left end side of the left back wall 44. The joint 64 is connected from outside the cover 4 to a through hole 94 (see Figure 4) provided in the vertical middle position on the right end side of the left back wall 44.
[0035] The main hose 25 and the branch hose 27 are each connected to the T-joint 61. The branch hose 27 extends to the left side of the column 5 via the rear side of the column 5 and is connected to a joint 63 provided on the left back wall 44 (see Figure 3). The main hose 26 and the branch hose 28 are each connected to the T-joint 62. The branch hose 28 is inserted through a hole 5B (see Figure 1) provided in the column 5, extends to the left side of the column 5, and is connected to a joint 64 provided on the left back wall 44 (see Figure 3). The hole 5B is provided in the vertical middle position of the column 5 and penetrates in the left-right direction.
[0036] The operation of the jetting mechanism will be described with reference to Figures 1, 3, and 4. When the pump 23 is driven, the cutting fluid flows through the main hose 26. The cutting fluid branches at the T-shaped joint 62, one of which flows through the through hole 92 to the flexible pipe 72, and the other flows through the branch hose 28. The cutting fluid that flows into the flexible pipe 72 is forcefully jetted out from the cutting fluid nozzle 75. The cutting fluid that flows into the branch hose 28 flows through the flexible pipe 71 from the joint 64 on the opposite side of the column 5 through the through hole 94, and is forcefully jetted out from the cutting fluid nozzle 74. The cutting fluid nozzles 74, 75 can directly apply cutting fluid from both the left and right sides to the processed part (not shown) of the workpiece W fixed on the top surface of the table 8 by a jig or the like. The cutting fluid can wash away chips adhering to the processed part.
[0037] When the pump 22 is driven, the cutting fluid flows through the main hose 25. The cutting fluid branches at the T-joint 61, one of which flows through the cutting fluid pipe 82 via the through hole 91, and the other flows into the branch hose 27. The cutting fluid that flows into the cutting fluid pipe 82 spurts out forcefully downward from the multiple chip showers 84. The cutting fluid that flows into the branch hose 27 flows through the cutting fluid pipe 81 from the joint 63 on the opposite side of the column 5 via the through hole 93, and spurts out forcefully downward from the multiple chip showers 83. Therefore, the cutting fluid can wash away chips that adhere to and accumulate on the inside of the cover 4.
[0038] With reference to FIG. 6, the electrical configuration of the numerical control device 30 and the machine tool 1 will be described. The numerical control device 30 includes a CPU 31, a ROM 32, a RAM 33, a non-volatile storage device 34, an input / output unit 35, motor control units 51A-55A, and drive control units 56A and 57A. The CPU 31 controls the numerical control device 30. The ROM 32 stores a control program and the like. The control program executes a main process (see FIG. 9 and FIG. 10) described later. The RAM 33 includes various storage areas. The non-volatile storage device 34 stores a plurality of machining programs and the like input by an operator through the input unit 11 of the operation panel 10. The control program stored in the ROM 32 may be stored in a readable external storage medium (USB memory, CD-ROM, etc.). The CPU 31 may read a program from the storage medium, store it in the non-volatile storage device 34, and execute the control program stored in the non-volatile storage device 34. The machine tool 1 may also be capable of communicating with other devices (servers, etc.) via a communication line. The control program may be stored in a storage device of another device. The CPU 31 may store the control program acquired by communicating with another device in the non-volatile storage device 34. The control program corresponds to the program of the present invention. A USB memory, a CD-ROM, a server, another device, etc. correspond to the storage medium.
[0039] The motor control unit 51A is connected to the Z-axis motor 51 and encoder 51B. The motor control unit 52A is connected to the spindle motor 52 and encoder 52B. The motor control unit 53A is connected to the X-axis motor 53 and encoder 53B. The motor control unit 54A is connected to the Y-axis motor 54 and encoder 54B. The motor control unit 55A is connected to the magazine motor 55 and encoder 55B. The drive control unit 56A is connected to the pump 22. The drive control unit 57A is connected to the pump 23. The motor control units 51A to 55A receive instructions from the CPU 31 and output drive currents to the corresponding motors 51 to 55, respectively.
[0040] The motor control units 51A-55A receive feedback signals from the encoders 51B-55B and perform feedback control of the position and speed. The input / output unit 35 is connected to the input unit 11 and the display unit 12, respectively. The drive control units 56A and 57A receive commands from the CPU 31 and output drive currents to the corresponding pumps 22 and 23, respectively. The pumps 22 and 23 are driven by the drive currents. The Z-axis motor 51, the spindle motor 52, the X-axis motor 53, the Y-axis motor 54, and the magazine motor 55 are all servo motors. In the following description, when the Z-axis motor 51, the spindle motor 52, the X-axis motor 53, the Y-axis motor 54, and the magazine motor 55 are collectively referred to as the motors 51-55.
[0041] The relationship between the machining content and the amount of chips will be briefly explained with reference to FIG. 7. The image of the amount of chips shown in FIG. 7 shows that one "◯" corresponds to 0.1 kg. As shown in FIG. 7, the amount of chips generated in the same machining time differs depending on the machining content. The machining content includes a facing of φ80, an end mill of φ20, a drill of φ5, and a tap M6. In the case of a facing of φ80, about four times as much chips are generated compared to a drill of φ5 and a tap M6. In the case of an end mill of φ20, about twice as much chips may be generated compared to a drill of φ5 and a tap M6. The ratio of the amount of chips is shown as an example, and may differ.
[0042] In order to remove the generated chips, there is a method of constantly driving the pump 22 to discharge the chips. In this case, the pump 22 is constantly driven, which increases the power consumption of the machine tool 1. In contrast, in this embodiment, the power consumption of the machine tool 1 is reduced by intermittently driving the pump 22. Although details will be described later, in the intermittent driving of the pump 22, the pump 22 is driven for a predetermined time Ta when, for example, 0.3 kg of chips are generated. In addition, the pump 22 is driven for a predetermined time Ta before all machining is completed. Therefore, the ejection mechanism can discharge all chips by the time machining is completed.
[0043] In order for the numerical control device 30 to perform intermittent driving of the pump 22 at appropriate times, it is desirable for the numerical control device 30 to estimate with high accuracy the amount of chips generated during machining.
[0044] The method for estimating the amount of chips will be described. Hereinafter, the estimated result will be referred to as the "amount of chips Q." The amount of chips Q is calculated by substituting equation (2) into equation (1). Here, ρ is the density [kg / cm 3 ]. η indicates the mechanical efficiency of the machine tool 1. kc indicates the specific cutting resistance [MPa] of the workpiece W. Wc is the required power [kWh], which indicates the amount of power required for cutting. Wc is calculated using formula (2). Ae indicates the cutting depth [mm]. Ap indicates the cutting width [mm]. vf is the feed rate of the spindle 7 per minute [mm / min], which is obtained from the F code in the machining program. Ts is the sampling time [sec], which will be described later. kt indicates the tool coefficient, which is a value specific to the tool T. The tool coefficient kt of the tool T differs depending on the tool T. The tool coefficient kt of the tool T for drilling is set to the drill correction coefficient k dill The tool coefficient kt of the tapping tool T is the tapping correction coefficient k tap The tool coefficient kt of the milling tool T, such as a facing φ80 and an end mill φ20, is expressed as the milling correction coefficient k mill By using these coefficients, the numerical control device 30 can estimate the amount of chips Q according to the machining contents.
number
[0045] With reference to Fig. 8, the relationship between the accumulated amount of chips Mt generated during machining and the drive of the pump 22 will be described in detail. The accumulated amount of chips Mt is the accumulated result of the amount of chips Q estimated by equations (1) and (2). As shown in Fig. 8, machining of the workpiece W starts at time t0. The accumulated amount of chips Mt increases with the passage of time. The steeper the slope, the more chips are generated per unit time.
[0046] At time t1, the accumulated chip amount Mt reaches the reference value Mref. The reference value Mref is, for example, 0.3 kg. In this case, the pump 22 is driven for a predetermined time Ta from time t1 to t2. The predetermined time Ta is a time that is sufficient to discharge chips of the reference value Mref. By being driven for the predetermined time Ta, the spraying mechanism discharges chips generated between time t0 and t1. In other words, when the accumulated chip amount Mt is equal to or greater than the reference value Mref, the spraying mechanism is driven to spray cutting fluid for the predetermined time Ta.
[0047] When time t2 is reached, a predetermined time Ta has elapsed since the start of driving of the pump 22. In this case, the pump 22 stops driving. When time t3 is reached, the cumulative amount of chips Mt generated from time t1 to t3 reaches the reference value Mref. The pump 22 drives for a predetermined time Ta from time t3 to t5 in order to discharge the chips generated from time t1 to t3.
[0048] When time t4 is reached, the cumulative amount of chips Mt reaches the reference value Mref. At time t4, the pump 22 is being driven. In this case, the predetermined time Ta from time t3 to t5 is added to the predetermined time Ta from time t5 to t6. The result of the addition is also called the total time Tsum. Therefore, even after time t5 has passed, the pump 22 continues to be driven for the predetermined time Ta from time t5 to time t6. This causes the spraying mechanism to discharge the chips generated from time t3 to time t4. In other words, the spraying mechanism sprays cutting fluid for the total time Tsum, which is the sum of the predetermined time Ta added for the number of times determined to be equal to or greater than the reference value Mref.
[0049] At time t6, the cumulative amount of chips Mt has not yet reached the reference value Mref, so the driving of the pump 22 is stopped.
[0050] 9 and 10, the main processing executed by the CPU 31 will be described. The operator selects one machining program with the input unit 11 and inputs a start command. The CPU 31 reads the machining program selected with the input unit 11 from the non-volatile storage device 34, reads the main program from the ROM 32, and executes this processing at every predetermined sampling time.
[0051] When the main process starts, the CPU 31 sets the remaining pump drive time Tp, which indicates the remaining drive time of the pump 22, to 0 seconds (S1). The CPU 31 determines whether the remaining pump drive time Tp is 0 seconds or not (S3). If it is determined that the remaining pump drive time Tp is 0 seconds (S3: YES), the CPU 31 stops the drive of the pump 22 (S9). If the pump 22 has already stopped, the CPU 31 maintains the stopped state of the pump 22. The CPU 31 advances the process to S11. S5 and S7 will be described later.
[0052] The CPU 31 determines the type of tool T to be used when machining the workpiece W (S11). At this time, the CPU 31 refers to the tool data (see FIG. 11) and magazine data (FIG. 12). The tool data and magazine data are stored, for example, in a non-volatile storage device 34. The tool data indicates the type of tool T. A tool number is assigned to each of the multiple types of tool T. Meanwhile, the magazine data indicates which tool T is attached to the magazine number assigned to the tool magazine 14. The tool number and tool type shown in FIG. 11 are registered for each magazine number of the tool magazine 14. The CPU 31 recognizes the tool change from the code of the machining program, and recognizes the tool number and tool type corresponding to the spindle column of the magazine number. Note that FIG. 12 is an example in which the tool is changed to a milling cutter (see FIG. 11) with tool number "2" registered in magazine number "2".
[0053] The CPU 31 determines whether drilling was performed during the immediately preceding sampling time Ts (S17). If the CPU 31 determines that the identified tool T is a drill, the machining program code is a drill canned cycle (G73, G81, G82, G83), or the feed axis target is the Z axis and the cutting feed is specified, it determines that the machining content is drilling. This information can be specified from the machining program code. If it is determined that drilling was performed during the immediately preceding sampling time Ts (S17: YES), the CPU 31 adds a drill correction coefficient kt to the tool coefficient kt. dill (S19). The CPU 31 advances the process to S29.
[0054] When it is determined that drilling was not performed during the immediately preceding sampling time Ts (S17: NO), the CPU 31 determines whether tapping was performed during the immediately preceding sampling time Ts (S21). When the CPU 31 identifies that the identified tool T is a tap or, for example, a tapping canned cycle (G74, G77, G77, G84), it determines that the processing is tapping. This information can be identified from the code of the processing program. When it is determined that tapping was performed during the immediately preceding sampling time Ts (S21: YES), the CPU 31 adds the tapping correction coefficient kt to the tool coefficient kt. tap (S21). The CPU 31 advances the process to S29.
[0055] When it is determined that tapping has not been performed during the immediately preceding sampling time Ts (S21: NO), the CPU 31 determines whether milling has been performed during the immediately preceding sampling time Ts (S25). When the following three conditions are met, the CPU 31 determines that the processing is milling. First, the identified tool T is not a drill or a tap. Second, the spindle 7 is rotating. Third, any of the X-axis, Y-axis, Z-axis, A-axis, B-axis, and C-axis is a cutting feed. These pieces of information can be identified from the code of the processing program. For example, when the code includes a command such as S2000, it can be determined that the spindle 7 has rotated, and the cutting feed of the X-axis to C-axis can be determined from a command such as a G code. Note that the CPU 31 can also determine that the processing is milling when it is determined that the tool attached to the spindle 7 is a milling cutter based on the tool data and magazine data.
[0056] When it is determined that milling was performed during the immediately preceding sampling time Ts (S25: YES), the CPU 31 adds the milling correction coefficient kt to the tool coefficient kt. mill (S27). The CPU 31 advances the process to S29. If it is determined that milling has not been performed during the immediately preceding sampling time Ts (S25: NO), the CPU 31 determines that machining has not been performed and returns the process to S3.
[0057] The CPU 31 uses equations (1) and (2) to estimate the amount of chips Mn corresponding to the tool T attached to the spindle 7 (S29). Since the tool coefficient kt corresponding to the machining content is substituted in the processes of S19, S23, and S27, the CPU 31 can estimate the amount of chips Q generated with high accuracy. The CPU 31 estimates the accumulated amount of chips Mt of the generated chips (S31). The accumulated amount of chips Mt is the accumulation result when the process of S29 is repeated. The CPU 31 adds the amount of chips Q estimated in the process of S33 to the immediately previous accumulated amount of chips Mt.
[0058] The CPU 31 determines whether the estimated cumulative chip amount Mt is equal to or greater than a predetermined reference value Mref (S33). If the CPU 31 determines that the cumulative chip amount Mt is lower than the reference value Mref (S33: NO), the CPU 31 returns the process to S3. In this case, the CPU 31 maintains the stopped state of the pump 22 (S1, S3: YES, S9).
[0059] If it is determined that the accumulated chip amount Mt is equal to or greater than the reference value Mref (S33: YES), the CPU 31 adds a predetermined time Ta to the remaining pump drive time Tp (S35). Note that when the process of S35 is repeated, the CPU 31 may add the predetermined time Ta before the predetermined time Ta becomes 0. In such a case, the CPU 31 drives the pump 22 continuously for the total time Tsum (see FIG. 8). The CPU 31 resets the accumulated chip amount Mt (S37). Resetting means, for example, setting the accumulated chip amount Mt to 0.
[0060] The CPU 31 determines whether or not the machining program has ended (S39). If it determines that the machining program has not ended (S39: NO), the CPU 31 returns the process to S3.
[0061] In this case, since the predetermined time ta has been added to the remaining pump drive time Tp in the process of S35, it is determined that the remaining pump drive time Tp is not 0 seconds (S3: NO), and the CPU 31 drives the pump 22 (S5). The CPU 31 subtracts the elapsed drive time Tlaps from the remaining pump drive time Tp (S7). The elapsed drive time Tlaps is the elapsed time from the start time of driving the pump 22 in S5. The CPU 31 proceeds to the process of S11. The CPU 31 drives the pump 22 until the remaining pump drive time Tp becomes 0 (S5). This enables the CPU 31 to discharge chips generated during machining.
[0062] On the other hand, if it is determined that the machining program has ended (S39: NO), the CPU 31 ends the main processing.
[0063] As described above, the CPU 31 determines the type of tool T used when machining the workpiece W. The CPU 31 acquires the machining details of the workpiece W with the determined tool T. The CPU 31 estimates the cumulative chip amount Mt of generated chips based on the acquired machining details. The CPU 31 determines whether the estimated cumulative chip amount Mt is equal to or greater than a reference value Mref. If the CPU 31 determines that the cumulative chip amount Mt is equal to or greater than the reference value Mref, it drives the spraying mechanism to spray cutting fluid.
[0064] The numerical control device 30 drives the ejection mechanism when the estimated cumulative chip amount Mt is equal to or greater than a reference value. Therefore, the numerical control device 30 can drive the ejection mechanism of the cutting fluid at an optimal timing and appropriately reduce power consumption.
[0065] The CPU 31 estimates the accumulated chip amount Mt based on the required power amount Wc required to rotate the spindle 7, the density ρ of the workpiece W, the mechanical efficiency μ of the machine tool 1, the specific cutting resistance kc between the workpiece W and the spindle 7, and a tool coefficient kt according to the type of tool T. The numerical control device 30 can estimate the accumulated chip amount Mt with high accuracy using the tool coefficient kt according to the type of tool T, etc.
[0066] When the CPU 31 determines that the accumulated chip amount Mt is equal to or greater than the reference value Mref, the CPU 31 drives the ejection mechanism to eject cutting fluid for the predetermined time Ta. Therefore, the numerical control device 30 can reliably discharge the generated chips within the predetermined time Ta.
[0067] The CPU 31 controls the ejection mechanism to eject cutting fluid for a total time Tsum, which is the sum of the number of times the predetermined time Ta is determined to be equal to or greater than the reference value Mref. In the numerical control device 30, a large amount of chips may be generated in a short period of time. In this case, the accumulated chip amount Mt may again exceed the reference value Mref before the predetermined time Ta expires. In this case, the ejection mechanism is driven for the total time Tsum, which is the sum of the predetermined time Ta. Therefore, the numerical control device 30 can reliably wash away chips according to the situation.
[0068] The CPU 31 determines the type of the tool T attached to the spindle 7 based on the code of the machining program. The numerical control device 30 can determine the type of the tool T from the code of the machining program.
[0069] The CPU 31 determines the type of tool T attached to the spindle 7 based on the tool data indicating the type of tool T and the magazine data indicating the tool T attached to the tool magazine 14. The numerical control device 30 recognizes the tool change from the code and can determine the type of tool T based on the tool data and magazine data.
[0070] In the above explanation, the accumulated chip amount Mt is an example of the chip amount of the present invention. The X-axis, Y-axis, and Z-axis are examples of the feed axes of the present invention. The CPU 31 that executes the process of S11 is an example of the discrimination section of the present invention. The CPU 31 that executes the processes of S17, S21, and S25 is an example of the acquisition section. The CPU 31 that executes the process of S29 is an example of the estimation section of the present invention. The CPU 31 that executes the process of S33 is an example of the judgment section of the present invention. The CPU 31 that executes the processes of S5 and S7 is an example of the ejection control section of the present invention.
[0071] The present invention is not limited to the above embodiment, and various modifications are possible. In the above embodiment, the machining contents are acquired in S17, S21, and S25, but the present invention is not limited to this. For example, the machining contents may be specified by referring to the tool information input by the user before the execution of the machining program.
[0072] In the above embodiment, the reference value Mref is 0.3 kg, but is not limited to this value and may be changed as appropriate depending on the machining program.
[0073] In the above embodiment, the chip amount Mn is estimated by substituting the tool coefficient kt specific to the tool T used for the tap, drill, or milling cutter. However, this is not limited to this. For example, the tool coefficient kt may be assigned a correction coefficient for each tool T. In this case, the numerical control device 30 can estimate the chip amount Q more accurately.
[0074] In the above embodiment, in the case of the end mill and the milling cutter, the correction coefficient k mill However, the present invention is not limited to this. For example, when S25: YES, different correction coefficients may be set for the end mill and the milling cutter. In this case, the numerical controller 30 can accurately estimate the amount of chips Q for each of the end mill and the milling cutter.
[0075] In the above embodiment, the type of tool T attached to the spindle 7 is acquired from the tool data and magazine data, but this is not limited thereto. For example, the CPU 31 may determine the type of tool T attached to the spindle 7 based on the rotation amount of the spindle 7 and the rotation amount of the feed axis. For example, the CPU 31 may determine that the tool T is for milling based on the rotation amount of the spindle 7 and the rotation amount when feeding the X-axis and Y-axis which are the feed axes. Also, the CPU 31 may determine that the tool T is for drilling based on the rotation amount of the spindle and the rotation amount when feeding the Z-axis which is the feed amount. In either case, the CPU 31 may acquire each piece of information from the code of the machining program.
[0076] In the above embodiment, the amount of chips Q is estimated using equations (1) and (2), but this is not limiting. For example, the amount of chips Q may be estimated using only equation (1). At that time, the amount of power Wc is calculated by T×n×2π×Ts / (60×1000×3600). Here, T indicates the torque of the spindle motor 52, and n indicates the rotation speed of the spindle motor 52. The torque is obtained by feedback of the current value flowing through the spindle motor 52, and the rotation speed of the spindle motor 52 is obtained by feedback from the encoder 52B.
[0077] The predetermined time Ta in the above embodiment may be changed as appropriate depending on the machining program. In the example shown in Fig. 7, the Ta pump 22 is driven for a predetermined time before the machining program ends, but this is not limited to this. The driving time of the pump 22 before the machining program ends may be changed as appropriate.
[0078] In the above embodiment, the Ta pump 22 is driven for a predetermined time when the accumulated chip amount Mt is equal to or greater than the reference value Mref, but this is not limited to the above. For example, the CPU 31 may detect the flow rate of the cutting fluid using a sensor that detects the flow rate of the cutting fluid, and stop the pump 22 when the detection result detects a predetermined flow rate. Also, the pump 22 may be stopped when a liquid level sensor provided inside the tank 20 detects a predetermined position, that is, when a predetermined amount of cutting fluid has flowed out to the outside. The predetermined flow rate and the predetermined amount correspond to the amount of cutting fluid sprayed by the spraying mechanism during the predetermined time Ta. [Explanation of symbols]
[0079] 1 Machine tools 4 Cover 7 Spindle 22 Pump 30 Numerical Control Device 31 CPU T-tool Double work Wc Required power amount ρ density μ Mechanical Efficiency kc specific cutting force kt Tool factor Mt Cumulative amount of chips Mref Reference Value Tsum Total Time
Claims
1. A numerical control device controls a machine tool having a spraying mechanism that sprays cutting fluid to wash away chips generated when a workpiece is machined by a tool attached to a spindle based on a machining program, A discrimination unit that discriminates the type of the tool used when machining the workpiece; an acquisition unit that acquires the machining details of the workpiece by the tool determined by the determination unit; an estimation unit that estimates an amount of the generated chips based on the processing details acquired by the acquisition unit; a determination unit that determines whether the amount of chips estimated by the estimation unit is equal to or greater than a predetermined reference value; a jetting control unit that drives the jetting mechanism to jet the cutting fluid when the determination unit determines that the amount of cutting chips is equal to or greater than the reference value; A numerical control device comprising:
2. The estimation unit estimates the amount of chips based on a required power amount required for rotating the spindle, a density of the workpiece, a mechanical efficiency of the machine tool, a specific cutting resistance between the workpiece and the spindle, and a tool coefficient according to the type of the tool.
2. The numerical control device according to claim 1 .
3. The ejection control unit drives the ejection mechanism to eject the cutting fluid for a predetermined time when the determination unit determines that the amount of cutting chips is equal to or greater than the reference value.
2. The numerical control device according to claim 1 .
4. The ejection control unit controls the ejection mechanism to eject the cutting fluid for a total time obtained by adding the predetermined time to the number of times that the determination unit has determined that the amount of cutting chips is equal to or greater than the reference value.
4. The numerical control device according to claim 3 .
5. The discrimination unit discriminates the type of the tool attached to the spindle based on a code of the machining program.
2. The numerical control device according to claim 1 .
6. The discrimination unit discriminates the type of the tool attached to the spindle as a milling tool based on the amount of rotation of the spindle and the amount of rotation of the X-axis and Y-axis which are feed axes.
6. The numerical control device according to claim 5 .
7. The discrimination unit discriminates the type of the tool attached to the spindle as a tapping tool or a drilling tool based on the amount of rotation of the spindle and the amount of rotation of the Z-axis which is a feed axis.
6. The numerical control device according to claim 5 .
8. The discrimination unit discriminates the type of the tool attached to the spindle based on tool data indicating the type of the tool and magazine data indicating the tool attached to a tool magazine.
6. The numerical control device according to claim 5 .
9. the ejection mechanism ejects the cutting fluid to wash away the chips generated when the workpiece is machined by the tool attached to the spindle based on the machining program; The numerical control device according to any one of claims 1 to 8. A machine tool comprising:
10. A method for controlling a numerical control device that controls a machine tool having a spraying mechanism that sprays cutting fluid to wash away chips generated when a workpiece is machined by a tool attached to a spindle based on a machining program, comprising: A discrimination step of discriminating the type of the tool used when machining the workpiece; an acquisition step of acquiring details of machining of the workpiece by the tool determined in the determination step; an estimation step of estimating an amount of the generated chips based on the processing details acquired in the acquisition step; a determining step of determining whether the amount of chips estimated in the estimating step is equal to or greater than a predetermined reference value; a spray control step of driving the spray mechanism to spray the cutting fluid when the determining step determines that the amount of cutting chips is equal to or greater than the reference value; A control method comprising:
11. A computer of a numerical control device controls a machine tool equipped with a spraying mechanism that sprays cutting fluid to wash away chips generated when a workpiece is machined with a tool attached to a spindle based on a machining program. A discrimination step of discriminating the type of the tool used when machining the workpiece; an acquisition step of acquiring details of machining of the workpiece by the tool determined in the determination step; an estimation step of estimating an amount of the generated chips based on the processing details acquired in the acquisition step; a determining step of determining whether the amount of chips estimated in the estimating step is equal to or greater than a predetermined reference value; a spray control step of driving the spray mechanism to spray the cutting fluid when the determining step determines that the amount of cutting chips is equal to or greater than the reference value; A program characterized by executing the above.
12. A computer of a numerical control device controls a machine tool equipped with a spraying mechanism that sprays cutting fluid to wash away chips generated when a workpiece is machined with a tool attached to a spindle based on a machining program. A discrimination step of discriminating the type of the tool used when machining the workpiece; an acquisition step of acquiring details of machining of the workpiece by the tool determined in the determination step; an estimation step of estimating an amount of the generated chips based on the processing details acquired in the acquisition step; a determining step of determining whether the amount of chips estimated in the estimating step is equal to or greater than a predetermined reference value; a spray control step of driving the spray mechanism to spray the cutting fluid when the determining step determines that the amount of cutting chips is equal to or greater than the reference value; A program that executes A storage medium having stored therein.
Citation Information
Patent Citations
NC program generation device in view of power saving
JP2018067346A
