Machine tool
The machine tool addresses quadrant protrusion variations by using drive unit corrections based on torque values and machine learning, improving machining accuracy and reducing manual adjustments.
Patent Information
- Application Number
- JP2020203558
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-08
- Publication Date
- 2024-12-04
- Estimated Expiration
- 2040-12-08
AI Technical Summary
Existing machine tools experience variations in quadrant protrusions due to frictional forces during direction reversals, leading to inaccuracies in machined surfaces, despite existing correction methods, requiring trial and error adjustments.
A machine tool with multiple drive units and a control unit that applies correction to the drive units by adjusting acceleration amounts and times based on torque values, using machine learning to determine optimal settings for suppressing quadrant protrusions.
The solution effectively suppresses variations in quadrant protrusions by dynamically adjusting acceleration parameters, enhancing machining accuracy and reducing the need for manual trial and error.
Smart Images

Figure 0007594180000001 
Figure 0007594180000002 
Figure 0007594180000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a machine tool having a plurality of drive units that move a driven object along feed axes that intersect with each other. [Background technology]
[0002] When a NC (numerically controlled) lathe has multiple feed axes that move a driven object such as a tool using a servo motor, the trajectory of the driven object can be two-dimensional or three-dimensional. For example, if the first feed axis is represented by the X-axis and the second feed axis that intersects with the first feed axis is represented by the Y-axis, when a command for a circular arc shape is given to the machine tool, the trajectory of the driven object will be a circular arc shape in the XY plane. The movement direction of the driven object may be reversed in each feed axis. The friction force generated in the feed system that moves the driven object along the feed axis acts in the opposite direction to the movement direction of the driven object. When the movement direction of the driven object is reversed, a delay occurs in the start at the time of reversal due to the friction of the feed system, and the control system responds with a delay, resulting in an error in response to the command. Immediately after the quadrant is switched in the XY plane, the trajectory of the driven object becomes a protrusion that bulges slightly outward from the command trajectory. Such a protruding trajectory is called a quadrant protrusion. An operation with a quadrant protrusion appears as a streak on the machined surface.
[0003] The quadrant protuberance correction unit of the control device disclosed in Patent Document 1 performs a correction when reversing the feed direction of the feed system by adding a correction amount according to the cutting arc radius and acceleration recognized from the NC program, etc., to the speed command signal. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-181029 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, even if a correction amount according to the cutting arc radius and acceleration is added to the speed command signal when reversing the feed direction of the feed system, the size of the quadrant projection varies, so the operator must adjust the correction amount by trial and error while observing the machined surface of the cut part. The above-mentioned problems are not limited to lathes, but exist in various machine tools such as machining centers.
[0006] The present invention discloses a technique that can further suppress the quadrant protrusion. [Means for solving the problem]
[0007] The machine tool of the present invention comprises: A plurality of drive units including a first drive unit that moves a driven object along a first feed axis and a second drive unit that moves the driven object along a second feed axis that intersects with the first feed axis; a control unit that controls the movement of the object to be driven by the plurality of driving units, and further performs a correction by adding a set acceleration amount to the driving units for a set acceleration time in order to suppress a quadrant projection caused by a reversal of a driving direction of the driving units; The control unit is A value representing the torque applied from the driving unit to the driven object is defined as a driving torque value, storing an initial driving torque value obtained from the driving unit, which is applied during an initial set acceleration time in accordance with a test program including a command involving reversal of the driving direction of the driving unit, as a reference torque value; The initial set acceleration amount is applied to the driving unit for the initial set acceleration time in accordance with the test program, a new driving torque value is obtained from the driving unit, a coefficient or a calculation formula for correcting at least one of the initial set acceleration amount and the initial set acceleration time so as to suppress the quadrant protuberance is determined based on the reference torque value and the new driving torque value, and a coefficient or a calculation formula is determined according to the determined coefficient or calculation formula. The above Early Set acceleration amount and Early At least one of the set acceleration times correction It has an aspect of:
[0008] The machine tool of the present invention further comprises: A plurality of drive units including a first drive unit that moves a driven object along a first feed axis and a second drive unit that moves the driven object along a second feed axis that intersects with the first feed axis; a control unit that controls the movement of the object to be driven by the plurality of driving units, and further performs a correction by adding an adjusted acceleration amount to an adjusted acceleration time of the driving units in order to suppress a quadrant projection caused by a reversal of a driving direction of the driving units; A machine learning unit, The control unit is A value representing a torque applied from the driving unit to the driven object is set as a driving torque value, and an initial driving torque value obtained from the driving unit, which is applied during an initial set acceleration time in accordance with a test program including a command involving reversal of the driving direction of the driving unit, is stored as a reference torque value; applying the initial set acceleration amount to the driving unit for the initial set acceleration time in accordance with the test program, acquiring a new driving torque value from the driving unit, determining a coefficient or a formula for correcting at least one of the initial set acceleration amount and the initial set acceleration time so as to suppress the quadrant protrusion based on the reference torque value and the new driving torque value, and correcting at least one of the initial set acceleration amount and the initial set acceleration time in accordance with the determined coefficient or formula to set at least one of the adjusted acceleration amount and the adjusted acceleration time; The machine learning unit is An operational parameter representing the operation of the driven object The operation parameters include a circular arc radius of the movement of the driven object and a feed speed of the driven object. , The new The operating parameters and the Obtained from the drive unit Generate a trained model that causes a computer to determine the setting value to be applied to the drive unit based on the drive torque value. 、 It has an aspect. Effect of the Invention
[0009] According to the present invention, it is possible to provide a technique that can further suppress quadrantal protrusions by making appropriate corrections to the variations in size of the quadrantal protrusions. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating a configuration example of a machine tool. [Diagram 2] FIG. 2 is a block diagram illustrating a schematic configuration example of an electric circuit of a machine main body. [Diagram 3] 11A and 11B are diagrams illustrating an example of machining accuracy when a test for cutting a perfect circle is performed. [Figure 4] 11A and 11B are diagrams illustrating an acceleration amount and an acceleration time for suppressing a quadrantal protrusion. [Diagram 5] FIG. 2 is a block diagram illustrating an example of a control system that performs backlash acceleration. [Figure 6] 10A and 10B are diagrams illustrating an example of a relationship between a feed speed, an acceleration amount, and an acceleration time. [Figure 7] 10A and 10B are diagrams illustrating examples of relationships between a radius of an arc and an acceleration amount and an acceleration time. [Figure 8] 10 is a flowchart illustrating an example of an initial adjustment process. [Figure 9]13 is a diagram illustrating an example of a quadrantal protuberance correction adjustment screen. FIG. [Figure 10] 10 is a flowchart illustrating an example of an adjustment process of a set acceleration amount and a set acceleration time. [Figure 11] 13 is a diagram illustrating an example of another quadrantal protuberance correction adjustment screen. FIG. [Figure 12] 13 is a diagram illustrating an example of another quadrantal protuberance correction adjustment screen. FIG. [Figure 13] FIG. 1 is a diagram illustrating an example of a machine tool equipped with a machine learning unit. [Figure 14] 13 is a flowchart illustrating an example of a learning process. [Figure 15] 10 is a flowchart illustrating an example of an adjustment process. [Figure 16] FIG. 1 is a diagram illustrating an example of a machine tool equipped with a machine learning unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following embodiments of the present invention will be described. Of course, the following embodiments are merely illustrative of the present invention, and not all of the features shown in the embodiments are necessarily essential to the solution of the invention.
[0012] (1) Overview of the technology included in this invention: First, the outline of the technology included in the present invention will be described with reference to the examples shown in Figures 1 to 16. The figures in the present application are diagrams showing examples in a schematic manner, and the magnification ratios in each direction shown in these figures may differ, and the figures may not be consistent with each other. Of course, each element of the present technology is not limited to the specific example shown by the symbol.
[0013] [Aspect 1] As illustrated in Figs. 1 and 2, a machine tool 1 according to an embodiment of the present technology includes a plurality of driving units U1 and a control unit U2. The plurality of driving units U1 includes a first driving unit U11 that moves a driven object (e.g., a tool rest 20) along a first feed axis F1, and a second driving unit U12 that moves the driven object (20) along a second feed axis F2 intersecting with the first feed axis F1. The control unit U2 controls the movement of the driven object (20) by the plurality of driving units U1, and further performs correction by adding a set acceleration amount ΔVi to the driving unit U1 for a set acceleration time Ti in order to suppress a quadrant protrusion 200 caused by a reversal of the driving direction of the driving unit U1. The control unit U2 adjusts at least one of the set acceleration amount ΔVi and the set acceleration time Ti based on a driving torque value TR2i that is based on a reference torque value TR1i that represents a reference torque and a value that represents a torque applied from the driving unit U1 to the driven object (20).
[0014] The friction of the feed system that moves the driven object (20) along the feed axis varies depending on the viscosity of the lubricating oil, the wear state of the guide surface, temperature, the operation time of the feed system, etc. When the friction of the feed system changes, the size of the quadrant protrusion 200 fluctuates. Since the change in the frictional force of the feed system appears in the amount of change in the drive torque value TR2i relative to the reference torque value TR1i, the quadrant protrusion 200 can be suppressed even if the friction of the feed system changes by adjusting at least one of the set acceleration amount ΔVi and the set acceleration time Ti based on the drive torque value TR2i based on the reference torque value TR1i. Therefore, the above embodiment can provide a machine tool that can further suppress the quadrant protrusion.
[0015] Here, the machine tool includes a lathe, a machining center, and the like. The drive torque value includes the value of the current flowing through a servo motor that moves the object to be driven, the relative value of the current flowing through the servo motor, etc., and may be the value of a torque command output from a servo amplifier to the servo motor. The control unit may adjust both the set acceleration amount and the set acceleration time, may adjust the set acceleration amount without adjusting the set acceleration time, or may adjust the set acceleration time without adjusting the set acceleration amount. Adjusting a set value (at least one of the set acceleration amount and the set acceleration time) based on a driving torque value based on a reference torque value includes multiplying the original set value by a conversion value obtained by dividing the driving torque value by the reference torque value as a coefficient, calculating the adjusted set value using a calculation formula including the conversion value obtained by dividing the driving torque value by the reference torque value and the original set value as variables, etc. Also, instead of the conversion value obtained by dividing the driving torque value by the reference torque value, it is possible to use various values for the aforementioned coefficients and variables that increase as the driving torque value increases and decrease as the reference torque value increases. The above remarks also apply to the following aspects.
[0016] [Aspect 2] 13, 16, etc., a machine tool 1 according to another aspect of the present technology includes a plurality of drive units U1, a control unit U2, and a machine learning unit U3. The plurality of drive units U1 includes a first drive unit U11 that moves a driven object (20) along a first feed axis F1, and a second drive unit U12 that moves the driven object (20) along a second feed axis F2 intersecting with the first feed axis F1. The control unit U2 controls the movement of the driven object (20) by the plurality of drive units U1, and further performs a correction by adding an adjusted acceleration amount ΔVi to an adjusted acceleration time Ti and the drive unit U1 in order to suppress a quadrant protrusion 200 caused by a reversal of the drive direction of the drive unit U1. As illustrated in Fig. 14, the machine learning unit U3 generates a learned model LM that causes a computer to function to determine the setting value to be applied to the drive unit U1 based on the operation parameters (ri, vi) and the drive torque value tri by machine learning based on the operation parameters (e.g., arc radius ri and feed speed vi) representing the operation of the driven object (20), the drive torque value tri representing the torque applied from the drive unit U1 to the driven object (20), and at least one of the set values of the adjusted acceleration amount ΔVi and the adjusted acceleration time Ti. The aforementioned computer may be the computer 100 illustrated in Fig. 13, the NC device 70 illustrated in Fig. 16, or a combination of the computer 100 and the NC device 70.
[0017] The friction of the feed system that moves the driven object (20) along the feed axis varies depending on the viscosity of the lubricant, the wear state of the guide surface, the temperature, the operation time of the feed system, and the like. When the friction of the feed system varies, the size of the quadrant protrusion 200 varies. Since the friction force of the feed system appears in the drive torque value tri, the set value for suppressing the quadrant protrusion 200, which is at least one of the adjusted acceleration amount ΔVi and the adjusted acceleration time Ti, is influenced not only by the operation parameters (ri, vi) that represent the operation of the driven object (20) but also by the drive torque value tri. Therefore, by using the above-mentioned operation parameters (ri, vi), the drive torque value tri, and the trained model LM generated by machine learning based on the above-mentioned set values, the set value to be added to the drive unit U1 to suppress the quadrant protrusion 200 can be determined based on the operation parameters (ri, vi) and the drive torque value tri. Therefore, this embodiment can provide a machine tool that generates a trained model that further suppresses the quadrant protrusion.
[0018] Here, the machine tool may be a combination of a machine body and a computer connected to the machine body. The above-mentioned aspects of machine learning also include using values calculated from operating parameters for machine learning, using values calculated from driving torque values for machine learning, and using values calculated from setting values for machine learning. The operation parameters are preferably parameters including at least one of the radius of the arc of the movement of the driven object and the feed speed of the driven object, and more preferably parameters including the radius of the arc of the movement of the driven object and the feed speed of the driven object. The above remarks also apply to the following aspects.
[0019] [Aspect 3] 15, the control unit U2 may acquire the operation parameters (ri, vi) and the drive torque value tri, may acquire the set values (ΔVi, Ti) determined by executing the trained model LM using the acquired operation parameters (ri, vi) and drive torque value tri as input, and may perform the correction by adding the acquired set values (ΔVi, Ti) to the drive unit U1. This aspect can provide a machine tool that can further suppress quadrantal protrusions.
[0020] (2) Specific examples of machine tool configurations: Fig. 1 illustrates a schematic configuration of a lathe as an example of a machine tool 1 including a machine body 2 and a computer 100. The machine tool 1 shown in Fig. 1 is an NC lathe equipped with an NC (numerical control) device 70 that performs numerical control of the machining of a workpiece W1. Since the computer 100 is not an essential element in the machine tool 1, the machine body 2 itself to which the computer 100 is not connected can also be a machine tool of the present technology.
[0021] The machine tool 1 is an NC machine tool including a machine body 2 including headstocks 11 and 12, headstock drivers 17 and 18, a tool rest 20 which is an example of a driven object of the present technology, a plurality of drivers U1 (a first driver U11 and a second driver U12 illustrated in FIG. 2) of the tool rest 20, an NC device 70 which is an example of a controller U2, and the like. The control axes of the machine body 2 shown in FIG. 1 include an X-axis indicated by "X", a Y-axis indicated by "Y", and a Z-axis indicated by "Z". The Z-axis direction is a horizontal direction along the spindle center line AX1 which is the rotation center of the workpiece W1. The X-axis direction is a horizontal direction perpendicular to the Z-axis. The Y-axis direction is a vertical direction perpendicular to the Z-axis. The Z-axis and the X-axis do not have to be perpendicular to each other if they intersect, the Z-axis and the Y-axis do not have to be perpendicular to each other if they intersect, and the X-axis and the Y-axis do not have to be perpendicular to each other if they intersect. In addition, the drawings referred to in this specification merely show examples for explaining the present technology, and do not limit the present technology. In addition, the explanation of the positional relationship of each part is merely an example. Therefore, reversing the left and right, reversing the direction of rotation, etc. are also included in the present technology. In addition, the identity of the direction, position, etc. is not limited to strict agreement, and includes deviation from strict agreement due to error.
[0022] The headstocks 11 and 12 face each other in the Z-axis direction. A spindle 13 called a front spindle is mounted in the headstock 11. A spindle 14 called a back spindle or counter spindle is mounted in the headstock 12. The machine tool 1 shown in FIG. 1 is a movable spindle type lathe, in which a headstock drive unit 17 moves the headstock 11 in the Z-axis direction, and a headstock drive unit 18 moves the headstock 12 in the Z-axis direction. Of course, the machine tool 1 may be a fixed spindle type lathe in which the headstock 11 does not move, or the headstock 11 may move in the Z-axis direction without the headstock 12 moving.
[0023] The spindle 13 is provided with a gripping portion 15 such as a collet, and the gripping portion 15 releasably grips the workpiece W1. When the workpiece W1 before machining is, for example, a long cylindrical (rod-shaped) material, the workpiece W1 may be supplied to the gripping portion 15 from the rear end (left end in FIG. 1) of the spindle 13. In this case, a guide bush that supports the workpiece W1 slidably in the Z-axis direction may be disposed on the front side (right side in FIG. 1) of the spindle 13. When the workpiece W1 before machining is a short material, the workpiece W1 may be supplied to the gripping portion 15 from the front end of the spindle 13. The spindle 13 gripping the workpiece W1 can rotate together with the workpiece W1 around the spindle center line AX1. The workpiece W1 after the front machining is transferred from the spindle 13 to the spindle 14. The spindle 14 is provided with a gripping portion 16 such as a collet, and the gripping portion 16 releasably grips the workpiece W1 after the front surface machining, and is rotatable together with the workpiece W1 about the spindle center line AX1. After the front surface machining, the workpiece W1 is turned into a finished product by the back surface machining.
[0024] The tool rest 20 has a plurality of tools TO1 attached thereto for machining the workpiece W1, and is movable in the X-axis direction and the Y-axis direction. Of course, the tool rest 20 may also move in the Z-axis direction. The tool rest 20 may be a turret tool rest or a comb tool rest. The plurality of tools TO1 include tools including cut-off tools, rotary tools such as drills and end mills, and the like.
[0025] The computer 100 connected to the NC device 70 includes a processor, a central processing unit (CPU) 101, a semiconductor memory, a read only memory (ROM) 102, a semiconductor memory, a random access memory (RAM) 103, a storage device 104, an input device 105, a display device 106, an audio output device 107, an interface (I / F) 108, a clock circuit 109, and the like. The control program of the computer 100 is stored in the storage device 104, read by the CPU 101 into the RAM 103, and executed by the CPU 101. The storage device 104 may be a semiconductor memory such as a flash memory, a magnetic recording medium such as a hard disk, or the like. The input device 105 may be a pointing device, a keyboard, a touch panel attached to the surface of the display device 106, or the like. The interface 108 is connected to the NC device 70 by wire or wirelessly, and receives data from the NC device 70 and transmits data to the NC device 70. The computer 100 and the machine body 2 may be connected to a network such as the Internet or an intranet. The computer 100 includes personal computers including tablet terminals, mobile phones such as smartphones, and the like.
[0026] FIG. 2 is a schematic diagram illustrating the configuration of the electric circuit of the machine body 2. In the machine body 2 shown in FIG. 2, the NC device 70, which is an example of the control unit U2, is connected to the operation unit 80, the headstock driving units 17 and 18 described above, the servo amplifiers 31 and 32 included in the multiple driving units U1, and the like. The NC device 70 includes a CPU 71, which is a processor, a ROM 72, which is a semiconductor memory, a RAM 73, which is a semiconductor memory, a clock circuit 74, an I / F 75, and the like. Therefore, the NC device 70 is a kind of computer. In FIG. 2, the I / Fs of the operation unit 80, the headstock driving units 17 and 18, the servo amplifiers 31 and 32, the computer 100, and the like are collectively indicated as an I / F 75. The ROM 72 is written with a control program PR1 for interpreting and executing the machining program PR2 and for executing a process for suppressing a quadrantal protrusion. The ROM 72 may be a semiconductor memory capable of rewriting data. The machining program PR2 created by the operator is stored in the RAM 73 in a rewritable manner. The machining program is also called an NC program. The CPU 71 uses the RAM 73 as a work area and executes the control program PR1 recorded in the ROM 72 to realize the functions of the NC device 70. Of course, some or all of the functions realized by the control program PR1 may be realized by other means such as an ASIC (Application Specific Integrated Circuit).
[0027] The operation unit 80 includes an input unit 81 and a display unit 82, and functions as a user interface for the NC device 70. The input unit 81 is composed of, for example, buttons and a touch panel for receiving operation input from an operator. The display unit 82 is composed of, for example, a display for displaying the contents of various settings received as operation input from the operator and various information related to the machine body 2. The operator can store the machining program PR2 in the RAM 73 using the operation unit 80 and the computer 100.
[0028] The multiple driving units U1 include a first driving unit U11 that moves the tool rest 20 along an X-axis which is an example of a first feed axis F1, and a second driving unit U12 that moves the tool rest 20 along a Y-axis which is an example of a second feed axis F2 intersecting with the first feed axis F1. The first driving unit U11 includes a servo amplifier 31 connected to the NC device 70, and a servo motor 33 connected to the servo amplifier 31. The second driving unit U12 includes a servo amplifier 32 connected to the NC device 70, and a servo motor 34 connected to the servo amplifier 32.
[0029] The servo amplifier 31 controls the position and movement speed of the tool rest 20 in the X-axis direction according to a command from the NC device 70. The servo amplifier 32 controls the position and movement speed of the tool rest 20 in the Y-axis direction according to a command from the NC device 70. The servo motor 33 has a rotary encoder, rotates according to a command from the servo amplifier 31, and moves the tool rest 20 in the X-axis direction via a feed mechanism and guide (not shown). The servo motor 34 has a rotary encoder, rotates according to a command from the servo amplifier 32, and moves the tool rest 20 in the Y-axis direction via a feed mechanism and guide (not shown). The feed mechanism may be a ball screw mechanism or the like. The guide may be a sliding guide such as a combination of a dovetail and a dovetail groove. The NC device 70 controls the movement of the tool rest 20 by the multiple driving units U1.
[0030] When the machine tool 1 has feed axes F1 and F2 that move the tool rest 20 by servo motors 33 and 34, the trajectory of the tool rest 20 can be two-dimensional. For example, when the first feed axis F1 is the X-axis and the second feed axis F2 is the Y-axis, the trajectory of the tool rest 20 of the machine tool 1 given an arc-shaped command will be an arc-shaped trajectory on the XY plane. The movement direction of the tool rest 20 may be reversed for each of the X-axis and the Y-axis. The frictional force generated in the feed system that moves the tool rest 20 along the feed axis acts in the opposite direction to the movement direction of the tool rest 20. When the movement direction of the tool rest 20 is reversed, the control system responds with a delay, resulting in an error in response to the command.
[0031] Figure 3 shows a schematic example of the machining accuracy when a perfect circle cutting test was performed. The horizontal axis in Figure 3 is the X axis, the right side is the positive coordinate, and the left side is the negative coordinate. The vertical axis in Figure 3 is the Y axis, the upper side is the positive coordinate, and the lower side is the negative coordinate. As shown in FIG. 3, immediately after the quadrant is switched on the XY plane, a quadrant protrusion 200 appears in which the trajectory of the tool rest 20 bulges outward from the command trajectory. In FIG. 3, the quadrant protrusion 200 is shown by enlarging the actual error. In particular, when a sliding guide is used in the feed mechanism of the tool rest 20, the quadrant protrusion 200 is likely to become large because of the large friction of the feed system. The operation of the tool rest 20 having the quadrant protrusion 200 appears as a streak on the machined surface of the workpiece W1 in order to improve the machining accuracy. Therefore, the machine tool 1 has a function of performing backlash acceleration to suppress the quadrant protrusion 200. The backlash acceleration means that a delay in response is suppressed by adding a correction command to the speed command to cancel the quadrant protrusion 200 when the moving direction of the tool rest 20 along each feed axis F1, F2 is reversed, that is, when the driving direction of the drive unit U1 is reversed.
[0032] FIG. 4 shows a schematic example of the acceleration amount ΔVi and acceleration time Ti for suppressing the quadrant protrusion 200. The upper part of FIG. 4 shows an example of the position X or Y and the velocity Vx or Vy with respect to time t in a command i involving a reversal of the driving direction of the driving unit U1. In the upper part of FIG. 4, the horizontal axis is time t, the vertical axis on the left side is the position X or Y of the tool rest 20, and the vertical axis on the right side is the velocity Vx or Vy of the tool rest 20. For example, when the target feed axis is the X-axis, the upper part of FIG. 4 shows the position X and the velocity Vx with respect to time t. Until time t becomes t1, the velocity Vx is +, and the position X changes in the + direction. When time t passes t1, the velocity Vx becomes -, and the position X changes in the - direction. The lower part of FIG. 4 shows an example of the acceleration amount ΔV of the backlash acceleration with respect to time t. When the time t becomes t1, an acceleration amount ΔVi is applied to the drive unit U1 for an acceleration time Ti to suppress the quadrant projection 200. For example, when the target feed axis is the X-axis, the acceleration amount ΔVi and acceleration time Ti applied to the first drive unit U11 are shown in the lower part of FIG. 4. When the target feed axis is the Y-axis, the acceleration amount ΔVi and acceleration time Ti applied to the second drive unit U12 are shown in the lower part of FIG. 4. By increasing the acceleration amount ΔVi or lengthening the acceleration time Ti, the backlash acceleration can be strengthened, and by decreasing the acceleration amount ΔVi or shortening the acceleration time Ti, the backlash acceleration can be weakened. In this way, the setting value can be adjusted so that the quadrant projection 200 becomes smaller.
[0033] Fig. 5 is a schematic diagram illustrating a control system for performing backlash acceleration in the machine tool 1. Fig. 5 shows a control system for the X-axis as the first feed axis F1. The control system for the Y-axis as the second feed axis F2 is similar to the control system shown in Fig. 5, and therefore will not be described.
[0034] In FIG. 5, the NC device 70 can output a position command obtained by adding a backlash compensation command to a movement command accompanied by a reversal operation of the movement direction of the tool rest 20 along the X-axis to the servo amplifier 31. The subtraction unit 41 of the servo amplifier 31 inputs a position command from the NC device 70, inputs a position feedback based on the output from the encoder 35 of the servo motor 33, corrects the position command based on the position feedback, and outputs the corrected position command to the position gain. The position gain inputs a processing result from the subtraction unit 41, and outputs a speed command to the addition unit 42 based on the processing result. The addition unit 42 inputs a speed command from the position gain, corrects the speed command based on a compensation command for performing backlash acceleration of an acceleration amount ΔVi during an acceleration time Ti, and outputs the corrected speed command to the subtraction unit 43. The subtraction unit 43 inputs the corrected speed command from the addition unit 42, inputs a speed feedback based on the output from the encoder 35 of the servo motor 33, corrects the corrected speed command based on the speed feedback, and outputs the corrected speed command to the speed gain. The speed gain receives the processing result from the subtraction unit 43, and outputs a torque command to the servo motor 33 based on the processing result. The torque command includes a drive torque value that represents the torque applied to the tool post 20 from the servo motor 33. The drive torque value may be a relative value in which the maximum output of the servo motor 33 is taken as 100%. Since the above-mentioned torque is proportional to the current flowing through the servo motor 33, the torque command may be a current value that represents the current flowing through the servo motor 33. As described above, the NC device 70 outputs a command for the acceleration amount ΔVi to the servo amplifier 31 for the acceleration time Ti in order to suppress the quadrant protrusion 200 caused by the reversal of the driving direction of the driving unit U1. That is, the NC device 70 performs a correction to add the acceleration amount ΔVi to the driving unit U1 for the acceleration time Ti in order to suppress the quadrant protrusion 200.
[0035] Incidentally, the size of the quadrant protrusion 200 differs depending on the command included in the machining program PR2. By repeatedly carrying out tests, it was found that the size of the quadrant protrusion 200 changes depending on the arc radius of the movement of the tool post 20 and the feed speed of the tool post 20. It was also found that the acceleration amount ΔVi and acceleration time Ti for suppressing the quadrant protrusion 200 can be expressed by a relational expression using the arc radius and the feed speed.
[0036] Fig. 6 is a schematic diagram illustrating the relationship between the feed rate v and the acceleration amount ΔV and acceleration time T when the arc radius is 2 mm. In Fig. 6, the horizontal axis is the feed rate v (unit: mm / min), the left vertical axis is the acceleration amount ΔV, and the right vertical axis is the acceleration time T. In the graph, "ΔV" indicates a curve plotting measured values of the acceleration amount ΔV, "ΔV(sim)" indicates a curve plotting acceleration amount ΔV calculated from a relational expression described later, "T" indicates a curve plotting measured values of the acceleration time T, and "T(sim)" indicates a curve plotting acceleration time T calculated from a relational expression described later. The curve of the acceleration amount ΔV is obtained from the acceleration amount ΔVi of each command i described above, and the curve of the acceleration time T is obtained from the acceleration time Ti of each command i described above. As shown in Fig. 6, the faster the feed speed v, the more it is necessary to increase the acceleration amount ΔV and reduce the acceleration time T. This necessity also applies to cases where the arc radius is other than 2 mm.
[0037] Fig. 7 shows a schematic example of the relationship between the arc radius r and the acceleration amount ΔV and acceleration time T when the feed rate v is 50 mm / min. In Fig. 7, the horizontal axis is the arc radius r (unit: mm), the left vertical axis is the acceleration amount ΔV, and the right vertical axis is the acceleration time T. In the graph, "ΔV" indicates a curve plotting measured values of the acceleration amount ΔV, "ΔV(sim)" indicates a curve plotting the acceleration amount ΔV calculated from a relational expression described later, "T" indicates a curve plotting measured values of the acceleration time T, and "T(sim)" indicates a curve plotting the acceleration time T calculated from a relational expression described later. The curve of the acceleration amount ΔV is obtained from the acceleration amount ΔVi of each command i described above, and the curve of the acceleration time T is obtained from the acceleration time Ti of each command i described above. As shown in Fig. 7, the larger the arc radius r, the more it is necessary to reduce the acceleration amount ΔV and to increase the acceleration time T. This necessity also applies when the feed speed v is other than 50 mm / min.
[0038] By repeatedly testing the feed rate v and the arc radius r, it was found that the relationship between the feed rate v and the arc radius r and the acceleration amount ΔV and acceleration time T can be approximated by the following equation. ΔV=(Av+B) / (Cr+D) …(1) T = (Er + F) / (Gv + H) … (2) Here, the coefficients A, C, E, and G are positive values, and the constants B, D, F, and H can be positive, negative, or 0. "ΔV(sim)" and "T(sim)" shown in Figures 6 and 7 are curves plotting the values obtained from the feed rate v and the arc radius r according to the above relational expressions (1) and (2). By using the above relational expressions (1) and (2), the quadrantal protrusion 200 is suppressed to some extent.
[0039] However, even if the above relational expressions (1) and (2) are used, the size of the quadrant protrusion 200 varies. In order to obtain a highly accurate machined surface, it is time-consuming and troublesome for an operator to adjust the correction amount while watching the machined surface of the cut part by trial and error. When repeated tests were conducted to investigate the cause of the variation in the size of the quadrant protrusion 200, it was thought that this is due to changes in friction generated in the feed system caused by the viscosity of the lubricating oil, the wear state of the guide surface, temperature, etc. When the friction in the feed system changes, the size of the quadrant protrusion 200 fluctuates. Since the friction force of the feed system appears in the torque applied to the tool rest 20 from the servo motors 33 and 34, in this specific example, the acceleration amount ΔVi and the acceleration time Ti are adjusted based on the drive torque value representing the above-mentioned torque. A specific example of the process for adjusting the acceleration amount ΔVi and the acceleration time Ti will be described below.
[0040] (3) Example of process to adjust acceleration amount and acceleration time: Fig. 8 shows a schematic example of an initial adjustment process for acquiring a reference torque value TR1i representing a reference torque applied from the drive unit U1 to the tool rest 20. This process is performed by the NC device 70 (see Fig. 2) that executes the control program PR1, and is performed according to a test program (a machining program for testing) before the machine tool 1 is shipped. The RAM 73 shown in Fig. 2 holds the test program. When the initial adjustment process starts, the NC device 70 sets the acceleration amount ΔVi and acceleration time Ti corresponding to the command i for each command involving reversal of the drive direction of the drive unit U1 in accordance with the test program (step S102). Hereinafter, the description of "step" will be omitted. The setting process of S102 can be performed, for example, using a quadrantal protuberance correction adjustment screen 500 illustrated in FIG.
[0041] 9 shows a schematic example of a quadrantal protrusion correction adjustment screen 500 displayed on the display unit 82. The NC device 70 outputs to the operation unit 80 display data of the quadrantal protrusion correction adjustment screen 500 for a command i involving reversal of the drive direction of the drive unit U1, thereby causing the display unit 82 to display the quadrantal protrusion correction adjustment screen 500. The quadrantal protrusion correction adjustment screen 500 for command i has areas 511, 512 for setting an acceleration amount ΔVi, areas 513, 514 for setting an acceleration time Ti, an area 515 for setting an arc radius r of movement of the tool post 20, an area 516 for setting the rotation speed of the spindle 13 or 14, an area 517 for setting a feed rate v of the tool post 20, and soft keys 521 to 525. The quadrantal protrusion correction adjustment screen 500 has a cursor CU1 indicating an input location. The operation unit 80 performs a process of changing the position of the cursor CU1 by accepting an operation to change the position of the cursor CU1 at the input unit 81.
[0042] The setting area 511 is an area that accepts the input of an acceleration amount ΔVi on the X-axis. The setting area 512 is an area that accepts the input of an acceleration amount ΔVi on the Y-axis. The setting area 513 is an area that accepts the input of an acceleration time Ti on the X-axis. The setting area 514 is an area that accepts the input of an acceleration time Ti on the Y-axis. The setting area 515 is an area that accepts the input of an arc radius (referred to as ri) in command i. The unit of the arc radius ri shown in FIG. 9 is mm. The setting area 516 is an area that accepts the input of the rotation speed (referred to as si) of the spindle 13 or 14 in command i. The unit of the spindle rotation speed si shown in FIG. 9 is min -1 The setting area 517 is an area for receiving input of the feed rate (denoted as Li) in the command i. The unit of the feed rate Li shown in FIG. 9 is mm / rev, which indicates the feed amount per one revolution of the spindle. When Li is multiplied by the number of revolutions of the spindle si, the unit of the feed rate becomes mm / min. -1 It becomes.
[0043] The soft keys 521 to 524 accept an operation to change a value in the setting area where the cursor CU1 is located. For example, when the cursor CU1 is in the setting area 515 of the arc radius ri, the soft key 521 increases the display of the arc radius ri by 1 when it receives an operation, the soft key 522 decreases the display of the arc radius ri by 1 when it receives an operation, the soft key 523 increases the display of the arc radius ri by 10 when it receives an operation, and the soft key 524 decreases the display of the arc radius ri by 10 when it receives an operation. The soft key 525 accepts an operation to display the calculated values of the acceleration amount ΔVi and acceleration time Ti of the feed axis at the position of the cursor CU1 in the setting area when the cursor CU1 is in any of the setting areas 511 to 514. When the soft key 525 accepts an operation, the NC device 70 calculates the acceleration amount ΔVi and the acceleration time Ti based on the arc radius ri of the setting area 515, the spindle rotation speed si of the setting area 516, and the feed rate Li of the setting area 517, and displays the obtained acceleration amount ΔVi and acceleration time Ti in the corresponding setting areas.
[0044] The acceleration amount ΔVi and the acceleration time Ti can be calculated using the above-mentioned relational expressions (1) and (2). First, the NC device 70 obtains the feed speed vi for the target feed axis by multiplying the feed speed Li by the spindle rotation speed si. Next, the NC device 70 calculates the acceleration amount ΔVi and the acceleration time Ti using the following relational expressions. ΔVi = (Avi + B) / (Cri + D) … (3) Ti = (Eri + F) / (Gvi + H) … (4) The calculated acceleration amount ΔVi and acceleration time Ti are displayed in the corresponding setting areas. In S102 of FIG. 8, the NC device 70 stores the acceleration amount ΔVi inputted into the setting areas 511, 512 as a set acceleration amount in at least one of the ROM 72 and the RAM 73, and stores the acceleration time Ti inputted into the setting areas 513, 514 as a set acceleration time in at least one of the ROM 72 and the RAM 73.
[0045] After storing the set acceleration amount ΔVi and the set acceleration time Ti, the NC device 70 shown in FIG. 2 starts executing the test program, and interprets the test program to output commands to the multiple driving units U1 and the like in accordance with the test program (S104).
[0046] When executing a command i involving a reversal of the driving direction of the driving unit U1, the NC device 70 performs backlash acceleration by applying a set acceleration amount ΔVi to the driving unit U1 for a set acceleration time Ti in order to suppress the quadrant projection 200. At this time, the NC device 70 acquires a driving torque value from the servo amplifiers 31 and 32, and stores the driving torque value as a reference torque value TR1i in at least one of the ROM 72 and the RAM 73 (S106). When executing the command i, the servo amplifier 31 outputs a torque command including the driving torque value to the servo motor 33, and the servo amplifier 32 outputs a torque command including the driving torque value to the servo motor 34. When the servo amplifiers 31 and 32 receive an output command for the driving torque value from the NC device 70, they output the driving torque value included in the torque command to the NC device 70. This allows the NC device 70 to acquire the driving torque value from the servo amplifiers 31 and 32. The driving torque value is acquired before the machine tool 1 is shipped, and therefore becomes the reference torque value TR1i representing a reference torque. The NC device 70 performs the process of S106 until the test program ends (S108). When the test program ends, the NC device 70 ends the initial adjustment process.
[0047] Fig. 10 shows a schematic example of an adjustment process for adjusting the set acceleration amount ΔVi and the set acceleration time Ti based on the drive torque value TR2i with the reference torque value TR1i as a reference. This process is performed by the NC device 70 (see Fig. 2) that executes the control program PR1, and is performed according to the above-mentioned test program with the machine tool 1 installed in a factory. The RAM 73 shown in Fig. 2 holds the test program. When the adjustment process starts, the NC device 70 starts executing the test program, and interprets the test program to output commands to the multiple driving units U1 and the like in accordance with the test program (S202).
[0048] When executing a command i involving a reversal of the driving direction of the driving unit U1, the NC device 70 performs backlash acceleration by applying a set acceleration amount ΔVi to the driving unit U1 for a set acceleration time Ti in order to suppress the quadrant projection 200. At this time, the NC device 70 acquires a driving torque value TR2i from the servo amplifiers 31 and 32, and stores the driving torque value TR2i in at least one of the ROM 72 and the RAM 73 (S204). As described above, when executing the command i, the servo amplifiers 31 and 32 output a torque command including a driving torque value to the servo motors 33 and 34. When the servo amplifiers 31 and 32 receive an output command for the driving torque value from the NC device 70, they output the driving torque value included in the torque command to the NC device 70. This allows the NC device 70 to acquire the driving torque value TR2i from the servo amplifiers 31 and 32. The NC device 70 performs the process of S104 until the test program ends (S206).
[0049] When the test program ends, the NC device 70 reads out the reference torque value TR1i, and determines a positive coefficient K for adjusting the set acceleration amount ΔVi and a positive coefficient M for adjusting the set acceleration time Ti from the reference torque value TR1i and the driving torque value TR2i (S208). When the coefficients K and M are common to various commands, a coefficient table in which the correspondence between the arithmetic mean of the torque value ratio TR2i / TR1i and the coefficients K and M is defined may be provided in the ROM 72, and the NC device 70 may determine the coefficients K and M corresponding to the arithmetic mean of the torque value ratio TR2i / TR1i by referring to the coefficient table. In addition, if a relational expression for obtaining the coefficients K and M from the arithmetic mean of the torque value ratio TR2i / TR1i is provided in the ROM 72, the NC device 70 may calculate the coefficients K and M from the arithmetic mean of the torque value ratio TR2i / TR1i according to the relational expression.
[0050] If the friction force generated in the feed system that moves the tool rest 20 along the feed axis becomes larger after the machine tool 1 is installed than before the machine tool 1 is shipped, the drive torque value TR2i becomes larger than the reference torque value TR1i. In this case, the coefficient K for the set acceleration amount ΔVi is preferably a value larger than 1, and the coefficient M for the set acceleration time Ti is preferably a value larger than 1. The coefficient table and relational expressions described above may be determined so that the coefficients K and M have the aforementioned preferred values. On the other hand, if the friction force generated in the feed system that moves the tool rest 20 along the feed axis becomes smaller after installation of the machine tool 1 than before shipment of the machine tool 1, the drive torque value TR2i will be smaller than the reference torque value TR1i. In this case, the coefficient K for the set acceleration amount ΔVi is preferably a positive value smaller than 1, and the coefficient M for the set acceleration time Ti is preferably a positive value smaller than 1. The coefficient table and relational expressions described above may be determined so that the coefficients K and M have the aforementioned preferred values.
[0051] After the coefficients K and M are determined, the NC device 70 sets the acceleration amount ΔVi and acceleration time Ti corresponding to the command i involving the reversal of the driving direction of the driving unit U1 in accordance with the machining program PR2 (S210). When there are multiple commands i in the machining program PR2, the NC device 70 sets the acceleration amount ΔVi and acceleration time Ti for each command. The setting process of S210 can also be performed using, for example, the quadrant protrusion correction adjustment screen 500 illustrated in FIG. 9. Here, too, when the soft key 525 accepts an operation, the NC device 70 calculates the acceleration amount ΔVi and acceleration time Ti according to the above-mentioned relational expressions (3) and (4) based on the arc radius ri in the setting area 515, the spindle speed si in the setting area 516, and the feed rate Li in the setting area 517. The obtained acceleration amount ΔVi and acceleration time Ti are displayed in the corresponding setting area, but adjustment by the coefficients K and M is not performed.
[0052] Therefore, the NC device 70 corrects the set acceleration amount ΔVi by the coefficient K, corrects the set acceleration time Ti by the coefficient M (S212), and ends the adjustment process. The process of S212 can be a process of multiplying the original set acceleration amount ΔVi by the coefficient K and storing the value as a new set acceleration amount ΔVi, and also multiplying the original set acceleration time Ti by the coefficient M and storing the value as a new set acceleration time Ti. In this manner, the NC device 70 adjusts the set acceleration amount ΔVi and the set acceleration time Ti based on the drive torque value TR2i based on the reference torque value TR1i.
[0053] Thereafter, when the NC device 70 executes the machining program PR2, it controls the movement of the tool post 20 by the multiple drives U1, and when a command i is executed that involves reversing the drive direction of the drive unit U1, it performs backlash acceleration by applying a set acceleration amount ΔVi to the drive unit U1 for a set acceleration time Ti in order to suppress the quadrant protrusion 200. As described above, the set acceleration amount ΔVi and the set acceleration time Ti applied to the drive unit U1 are adjusted based on the drive torque value TR2i based on the reference torque value TR1i.
[0054] The friction of the feed system that moves the tool rest 20 along the feed axis varies depending on the viscosity of the lubricant, the wear state of the guide surface, temperature, the operation time of the feed system, etc. When the friction of the feed system changes, the size of the quadrant protrusion 200 fluctuates. Since the change in the frictional force of the feed system appears in the amount of change in the drive torque value TR2i relative to the reference torque value TR1i, the quadrant protrusion 200 can be suppressed even if the friction of the feed system changes by adjusting the set acceleration amount ΔVi and the set acceleration time Ti based on the drive torque value TR2i based on the reference torque value TR1i. Therefore, this specific example can further suppress the quadrant protrusion 200.
[0055] In the above-mentioned specific example, both the set acceleration amount ΔVi and the set acceleration time Ti were adjusted based on the driving torque value TR2i based on the reference torque value TR1i, but even if only one of the set acceleration amount ΔVi and the set acceleration time Ti is adjusted, the effect of further suppressing the quadrant projection can be obtained. In other words, the set acceleration amount ΔVi may be adjusted based on the driving torque value TR2i based on the reference torque value TR1i without adjusting the set acceleration time Ti, or the set acceleration time Ti may be adjusted without adjusting the set acceleration amount ΔVi. In the above-mentioned specific example, the coefficients K and M corresponding to the arithmetic mean of the torque value ratio TR2i / TR1i are used for the set acceleration amount ΔVi and the set acceleration time Ti, but the coefficients K and M can be set to various values that increase as the driving torque value increases and decrease as the reference torque value increases. Various calculation formulas can also be used for the set acceleration amount ΔVi and the set acceleration time Ti instead of the coefficients K and M.
[0056] As illustrated in Figures 11 and 12, in S102 shown in Figure 8 and S210 shown in Figure 10, the NC device 70 may display quadrantal protrusion correction adjustment screens 501 and 502 on the display unit 82 instead of the quadrantal protrusion correction adjustment screen 500 shown in Figure 9. 11 has areas 511 and 512 for setting the acceleration amount ΔVi, areas 513 and 514 for setting the acceleration time Ti, and soft keys 521 to 525. The setting areas 511 to 514 and the soft keys 521 to 525 are the same as the setting areas 511 to 514 and the soft keys 521 to 525 shown in FIG. 9, and therefore the description will be omitted. Furthermore, the quadrantal protuberance correction adjustment screen 501 has guidance 531 saying "When the radius is large, set the acceleration amount small and the acceleration time large" and guidance 532 saying "When the feed rate is high, set the acceleration amount large and the acceleration time small." According to the guidance 531, the operator can set the acceleration amount ΔVi relatively small and the acceleration time Ti relatively large when the arc radius ri is relatively large, and can set the acceleration amount ΔVi relatively large and the acceleration time Ti relatively small when the arc radius ri is relatively small. In addition, the operator can follow the guidance 532 to set the acceleration amount ΔVi to a relatively large value and the acceleration time Ti to a relatively small value when the feed speed vi is relatively large, and can set the acceleration amount ΔVi to a relatively small value and the acceleration time Ti to a relatively large value when the feed speed vi is relatively small.
[0057] 12 has a setting area group 533 for setting the acceleration amount ΔVi and acceleration time Ti for multiple channels CH1, CH2, and CH3 on one screen, in addition to soft keys 521 to 525. Which of the channels CH1 to CH3 the setting values to be applied can be determined by the machining program PR2.
[0058] (4) Machine learning application examples: Furthermore, as shown in the examples of FIGS. 13 to 16, it is also possible to configure a machine tool 1 that can further suppress the quadrantal protrusion 200 by utilizing machine learning. Figure 13 shows a schematic example of a machine tool 1 having a machine learning unit U3 in a computer 100. In Figure 13, the description and explanation of elements that overlap with those in Figures 1 and 2 are omitted. An example of the structure of a database DB is shown at the bottom of Figure 13.
[0059] The storage device 104 of the computer 100 shown in FIG. 13 stores a machine learning program PR3 corresponding to the machine learning unit U3 and an adjustment program PR4 corresponding to a part of the control unit U2. These programs (PR3, PR4) are executed by being read into the RAM 103 by the CPU 101. The RAM 103 of the computer 100 stores a database DB and a trained model LM generated based on the database DB. The trained model LM is a program for causing the computer 100 to function so as to determine a setting value to be added to the drive unit U1 based on an operation parameter and a drive torque value representing the operation of the tool rest 20. The operation parameters shown in FIG. 13 include the arc radius ri of the movement of the tool rest 20 and the feed speed vi of the tool rest 20. The setting values shown in FIG. 13 include an adjusted acceleration amount ΔVi and an adjusted acceleration time Ti determined based on a drive torque value tri shown in FIG. 14. The NC device 70 controls the movement of the tool post 20 by multiple driving units U1, and further performs backlash acceleration by adding an adjusted acceleration amount ΔVi to the adjusted acceleration time Ti of the driving unit U1 in order to suppress the quadrant protrusion 200 caused by the reversal of the driving direction of the driving unit U1.
[0060] The generated trained model LM may be transmitted from the computer 100 to the NC device 70 and stored in the RAM 73 of the NC device 70. This enables the NC device 70 to determine the acceleration amount ΔVi and the acceleration time Ti according to the trained model LM.
[0061] In the database DB, the arc radius rji, the feed speed vji, the drive torque value trji, the adjusted acceleration amount ΔVji, and the adjusted acceleration time Tji are stored in a linked state to an identification number j, which is identification information for identifying a record. Note that the arc radius rji, the feed speed vji, the drive torque value trji, the adjusted acceleration amount ΔVji, and the adjusted acceleration time Tji respectively mean the arc radius ri, the feed speed vi, the drive torque value tri, the adjusted acceleration amount ΔVi, and the adjusted acceleration time Ti associated with the identification number j.
[0062] 14 shows an example of a learning process for generating a learned model LM. This process is performed by a computer 100 that executes a machine learning program PR3. When the learning process starts, the computer 100 acquires operation parameters including the arc radius ri and the feed rate vi corresponding to the command i involving the reversal of the driving direction of the driving unit U1 in accordance with the machining program PR2 (S302). When the machining program PR2 has a plurality of commands i, the computer 100 acquires operation parameters for each command. For example, the computer 100 may acquire operation parameters automatically output from the NC device 70. The computer 100 can also acquire operation parameters output from the NC device 70 by requesting the NC device 70 to output operation parameters. In this case, the NC device 70 that has received the output request for operation parameters may acquire operation parameters from the machining program PR2 (see FIG. 2) and output them to the computer 100. Furthermore, the computer 100 may read out the machining program PR2 and acquire operation parameters from the machining program PR2.
[0063] Furthermore, the computer 100 acquires the driving torque value tri corresponding to the command i (S304). For example, the computer 100 may acquire the driving torque value tri automatically output from the NC device 70. Furthermore, the computer 100 can acquire the driving torque value tri output from the NC device 70 by requesting the NC device 70 to output the driving torque value tri. In this case, the NC device 70, which has received the output request for the driving torque value tri, may acquire the driving torque value tri from the servo amplifiers 31, 32 when executing the machining program PR2, and output the acquired driving torque value tri to the computer 100. Furthermore, the computer 100 acquires a set value including an adjusted acceleration amount ΔVi and an adjusted acceleration time Ti corresponding to the command i (S306). For example, the computer 100 may acquire a set value that is automatically output from the NC device 70. Also, the computer 100 can acquire a set value that is output from the NC device 70 by requesting the NC device 70 to output a set value. In this case, the NC device 70 that has received the request to output a set value may acquire the set value and output it to the computer 100.
[0064] Thereafter, the computer 100 stores in the database DB (S308) the operation parameters including the arc radius ri and the feed speed vi acquired in S302, the drive torque value tri acquired in S304, and the set values including the adjusted acceleration amount ΔVi and the adjusted acceleration time Ti acquired in S306. Since it is better to have more records in the database DB, the processes of S302 to S308 are repeated.
[0065] After the information is accumulated in the database DB, the computer 100 generates a trained model LM in the RAM 103 by supervised machine learning based on the information stored in the database DB (S310). The trained model LM may be a trained model in which a neural network, a Bayesian network, or at least one of these is combined with a conversion formula as a main part. When the trained model LM includes a neural network, the training may be performed by a deep learning method. Details of the neural network, the Bayesian network, and the deep learning are well known, so a description thereof will be omitted. The trained model LM thus obtained outputs a set value including an adjusted acceleration amount ΔVi and an adjusted acceleration time Ti by inputting operation parameters including the arc radius ri and the feed rate vi, and the drive torque value tri. That is, the trained model LM causes the computer 100 to function so as to determine the acceleration amount ΔVi and the acceleration time Ti to be applied to the drive unit U1 based on the operation parameters (ri, vi) and the drive torque value tri.
[0066] After generating the trained model LM, the computer 100 stores the trained model LM (S312) and ends the learning process. When the machine body 2 uses the trained model LM, the computer 100 can transmit the trained model LM to the machine body 2. Having received the trained model LM, the machine body 2 stores the trained model LM in the RAM 73, thereby enabling the process of determining the acceleration amount ΔVi and acceleration time Ti to be applied to the driving unit U1.
[0067] 15 shows an example of an adjustment process in which the adjusted acceleration amount ΔVi and acceleration time Ti are determined and output to the driving unit U1. This process is performed by, for example, the NC device 70 serving as the control unit U2. First, the NC device 70 acquires operation parameters including the arc radius ri and the feed rate vi corresponding to the command i accompanied by the reversal of the drive direction of the drive unit U1 in accordance with the machining program PR2 (S402). Next, the NC device 70 executes the machining program PR2 on a trial basis, and acquires the drive torque value tri from the servo amplifiers 31 and 32 when the command i accompanied by the reversal of the drive direction of the drive unit U1 is executed (S404). The acceleration amount ΔVi and acceleration time Ti applied to the drive unit U1 when the command i is executed may be unadjusted values such as initial values.
[0068] After acquiring the motion parameters (ri, vi) and the drive torque value tri, the NC device 70 inputs the motion parameters (ri, vi) and the drive torque value tri to the learned model LM, thereby causing the learned model LM to output setting values including the adjusted acceleration amount ΔVi and the adjusted acceleration time Ti (S406). When the learned model LM is stored in the RAM 73, the NC device 70 can determine the setting values (ΔVi, Ti) by executing the learned model LM itself. When the learned model LM is stored in the RAM 103 of the computer 100, the NC device 70 can acquire the setting values (ΔVi, Ti) from the computer 100 by outputting the motion parameters (ri, vi) and the drive torque value tri to the computer 100 and requesting the computer 100 to output the setting values (ΔVi, Ti). In this case, upon receiving a request to output the set value (ΔVi, Ti), the computer 100 inputs the operation parameters (ri, vi) and the driving torque value tri into the learned model LM, thereby causing the learned model LM to output the set value (ΔVi, Ti), and then outputs the set value (ΔVi, Ti) to the NC device 70. As a result of the above, the NC device 70 acquires the set values (ΔVi, Ti) determined by executing the learned model LM using the motion parameters (ri, vi) and the drive torque value tri as input.
[0069] After acquiring the set values (ΔVi, Ti), the NC device 70 stores the set values (ΔVi, Ti) in at least one of the ROM 72 and the RAM 73, and further outputs the set values (ΔVi, Ti) to the drive unit U1 (S408), and ends the adjustment process. When the NC device 70 executes the machining program PR2, it controls the movement of the tool post 20 by the multiple drive units U1, and when a command i is executed that involves reversing the drive direction of the drive unit U1, it performs backlash acceleration by applying an adjusted acceleration amount ΔVi to the drive unit U1 for an adjusted acceleration time Ti in order to suppress the quadrant protrusion 200. The computer 100 may cooperate with the NC device 70 to perform the adjustment process.
[0070] The friction of the feed system that moves the tool rest 20 along the feed axis varies depending on the viscosity of the lubricant, the wear state of the guide surface, the temperature, the operation time of the feed system, and the like. When the friction of the feed system changes, the size of the quadrant protrusion 200 varies. Since the friction force of the feed system appears in the drive torque value tri, the adjusted acceleration amount ΔVi and the adjusted acceleration time Ti are influenced not only by the operation parameters (ri, vi) that represent the operation of the tool rest 20, but also by the drive torque value tri. Therefore, by using a trained model LM generated by machine learning based on the operation parameters (ri, vi), the drive torque value tri, the adjusted acceleration amount ΔVi, and the adjusted acceleration time Ti, the adjusted acceleration amount ΔVi and the adjusted acceleration time Ti to be applied to the drive unit U1 to suppress the quadrant protrusion 200 can be determined based on the operation parameters (ri, vi) and the drive torque value tri. Therefore, the example shown in FIGS. 13 to 15 can generate a trained model LM that further suppresses the quadrant protrusion 200, and the quadrant protrusion 200 can be further suppressed by using this trained model LM.
[0071] Furthermore, as illustrated in Fig. 16, the machine body 2 may generate the trained model LM by executing the machine learning program PR3. Fig. 16 shows a schematic diagram of an example of a machine body 2 equipped with a machine learning unit U3. In Fig. 16, elements that overlap with those in Fig. 2 are omitted from description and explanation. An example of the structure of the database DB is shown at the bottom of Fig. 16. The database DB shown in Fig. 16 is the same as the database DB shown in Fig. 13, and therefore will not be described.
[0072] 16, a control program PR1 corresponding to the control unit U2 and a machine learning program PR3 corresponding to the machine learning unit U3 are written in the ROM 72 of the NC device 70. A machining program PR2, a database DB, and a trained model LM are stored in the RAM 73 of the NC device 70. The trained model LM causes the computer 100 to function so as to determine the acceleration amount ΔVi and acceleration time Ti to be applied to the drive unit U1 based on the operation parameters (ri, vi) and the drive torque value tri.
[0073] The NC device 70 can perform the learning process according to the flowchart shown in FIG. When the learning process starts, the NC device 70 acquires operation parameters including a circular radius ri and a feed rate vi corresponding to a command i involving a reversal of the driving direction of the driving unit U1 in accordance with the machining program PR2 (S302). The NC device 70 also acquires a driving torque value tri corresponding to the command i (S304). Furthermore, the NC device 70 acquires set values including an adjusted acceleration amount ΔVi and an adjusted acceleration time Ti corresponding to the command i (S306). After that, the NC device 70 stores the operation parameters (ri, vi) acquired in S302, the driving torque value tri acquired in S304, and the set values (ΔVi, Ti) acquired in S306 in the database DB (S308). The processes of S302 to S308 are repeated. After the information is accumulated in the database DB, the NC device 70 generates a learned model LM in the RAM 103 by supervised machine learning based on the information stored in the database DB (S310). After generating the trained model LM, the NC device 70 stores the trained model LM as necessary (S312) and ends the learning process. The trained model LM may be stored in the ROM 72, a storage device (not shown) in the machine body 2, the storage device 104 of the computer 100, or the like. When the NC device 70 performs the adjustment process shown in FIG. 15, the adjustment process is performed with the trained model LM stored in the RAM 73.
[0074] The example shown in Figure 16 makes it possible to generate a trained model LM that further suppresses the quadrant rift 200 while suppressing increases in costs, and by using this trained model LM, the quadrant rift 200 can be further suppressed. The above-mentioned machine learning unit U3 may be realized by the NC device 70 and the computer 100 working together, and the above-mentioned control unit U2 may also be realized by the NC device 70 and the computer 100 working together.
[0075] In the example shown in Figs. 13 to 16, a trained model LM that determines both the adjusted acceleration amount ΔVi and the adjusted acceleration time Ti is generated, but even if a trained model LM that generates only one of the adjusted acceleration amount ΔVi and the adjusted acceleration time Ti is generated, the effect of generating a trained model that further suppresses the quadrant projection can be obtained. For example, it is possible to generate a trained model that causes a computer to function to determine the adjusted acceleration amount ΔVi to be added to the drive unit U1 based on the operation parameters (ri, vi) and the drive torque value tri by machine learning based on the operation parameters (ri, vi), the drive torque value tri, and the adjusted acceleration time Ti without using the adjusted acceleration amount ΔVi. It is also possible to generate a trained model that causes a computer to function to determine the adjusted acceleration time Ti to be added to the drive unit U1 based on the operation parameters (ri, vi) and the drive torque value tri by machine learning based on the operation parameters (ri, vi), the drive torque value tri, and the adjusted acceleration time Ti without using the adjusted acceleration amount ΔVi.
[0076] (5) Variation: The present invention contemplates various modifications. For example, the first feed axis along which the driven object moves is not limited to the X-axis, and may be the Y-axis, Z-axis, etc., as long as it is different from the second feed axis. The second feed axis along which the driven object moves is not limited to the Y-axis, and may be the X-axis, Z-axis, etc., as long as it is different from the first feed axis. The above-described processes can be modified as appropriate, for example by changing the order of the processes.
[0077] (6) Conclusion: As described above, according to the present invention, it is possible to provide a technology for a machine tool and the like that can further suppress the quadrantal protrusion by various aspects. Of course, even if the technology is composed only of the constituent elements according to the independent claims, the basic actions and effects described above can be obtained. In addition, configurations in which the configurations disclosed in the above examples are substituted with each other or the combination is changed, configurations in which the configurations disclosed in the publicly known techniques and the above examples are substituted with each other or the combination is changed, etc. The present invention also includes these configurations. [Explanation of symbols]
[0078] 1...Machine tool, 2...Machine body, 20...Tool rest (example of a driven object), 31, 32... servo amplifier, 33, 34... servo motor, 35... encoder, 70...NC device, 100…Computer, 200...quadrant projection, DB…database, F1: First feed axis, F2: Second feed axis, LM: trained model, PR1: Control program, PR2: Machining program, PR3: Machine learning program, PR4: Adjustment program, U1: Drive unit, U2: Control unit, U3: Machine learning unit, U11: First drive unit, U12: Second drive unit, W1...Work.
Claims
1. A plurality of drive units including a first drive unit that moves a driven object along a first feed axis and a second drive unit that moves the driven object along a second feed axis that intersects with the first feed axis; a control unit that controls the movement of the object to be driven by the plurality of driving units, and further performs a correction by adding a set acceleration amount to the driving units for a set acceleration time in order to suppress a quadrant projection caused by a reversal of a driving direction of the driving units; The control unit is A value representing a torque applied from the driving unit to the driven object is set as a driving torque value, and an initial driving torque value obtained from the driving unit, which is applied during an initial set acceleration time in accordance with a test program including a command involving reversal of the driving direction of the driving unit, is stored as a reference torque value; a drive unit that applies the initial set acceleration amount for the initial set acceleration time in accordance with the test program, obtains a new drive torque value from the drive unit, determines a coefficient or a formula for correcting at least one of the initial set acceleration amount and the initial set acceleration time so as to suppress the quadrant protrusion, based on the reference torque value and the new drive torque value, and corrects at least one of the initial set acceleration amount and the initial set acceleration time in accordance with the determined coefficient or formula.
2. A plurality of drive units including a first drive unit that moves a driven object along a first feed axis and a second drive unit that moves the driven object along a second feed axis that intersects with the first feed axis; a control unit that controls the movement of the object to be driven by the plurality of driving units, and further performs a correction by adding an adjusted acceleration amount to an adjusted acceleration time of the driving units in order to suppress a quadrant projection caused by a reversal of a driving direction of the driving units; A machine learning unit, The control unit is A value representing a torque applied from the driving unit to the driven object is set as a driving torque value, and an initial driving torque value obtained from the driving unit, which is applied during an initial set acceleration time in accordance with a test program including a command involving reversal of the driving direction of the driving unit, is stored as a reference torque value; applying the initial set acceleration amount to the driving unit for the initial set acceleration time in accordance with the test program, acquiring a new driving torque value from the driving unit, determining a coefficient or a formula for correcting at least one of the initial set acceleration amount and the initial set acceleration time so as to suppress the quadrant protrusion based on the reference torque value and the new driving torque value, and correcting at least one of the initial set acceleration amount and the initial set acceleration time in accordance with the determined coefficient or formula to set at least one of the adjusted acceleration amount and the adjusted acceleration time; The machine learning unit generates a learned model that causes a computer to function to determine the setting value to be applied to the drive unit based on the operation parameters representing the operation of the drive object, the operation parameters including the arc radius of the movement of the drive object and the feed speed of the drive object, the new drive torque value, and at least one of the set values of the adjusted acceleration amount and the adjusted acceleration time, through machine learning based on the operation parameters and the drive torque value obtained from the drive unit.
3. The machine tool according to claim 2, wherein the control unit acquires the operating parameters and a driving torque value from the drive unit, acquires the setting value determined by executing the learned model using the acquired operating parameters and driving torque value as input, and performs the correction by adding the acquired setting value to the drive unit.
Citation Information
Patent Citations
Control system for servo motor
JP1991228106A
Air conditioner using absorption type freezer machine
JP1995110171A
Decision device for quadrant projection correcting parameter
JP1997081216A
Servomotor control method
JP1998063325A
Method and device for servo adjustment
JP1999024754A
