Machine tool control device
The machine tool control device addresses the issue of increased acceleration/deceleration energy by calculating and selecting optimal swinging conditions, allowing for customizable energy management and maintaining chip shredding performance, thus optimizing energy usage during oscillating machining operations.
Patent Information
- Application Number
- PCT/JP2023/020168
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-30
- Publication Date
- 2024-12-05
AI Technical Summary
Existing machine tool control devices for oscillating machining increase acceleration/deceleration energy, which can be undesirable depending on the object or machining purpose, as they do not effectively manage energy requirements during oscillation operations.
A control device for a machine tool that includes a swinging condition calculation section to reduce acceleration/deceleration energy by calculating and selecting optimal swinging conditions, such as amplitude and frequency multipliers, and a control section that superimposes a swing command on a movement command to relative rock a workpiece and tool, allowing for customizable energy management.
The solution effectively suppresses acceleration and deceleration energy during swing machining, enabling precise control based on the machining purpose and application, thereby optimizing energy usage and maintaining chip shredding performance.
Smart Images

Figure JP2023020168_05122024_PF_FP_ABST
Abstract
Description
Machine tool control device
[0001] The present disclosure relates to a control device for a machine tool.
[0002] Conventionally, in a control device that controls a machine tool that performs swing machining by swinging a workpiece and a tool relative to each other, a technique is known in which swing conditions, such as information indicating a swing frequency, are adjusted according to the purpose (for example, Patent Document 1).
[0003] Patent Document 1 describes a technique for adjusting information indicating the frequency of a swing command so that the frequency of the swing command does not exceed an upper limit value in order to prevent the cutting speed from becoming excessive.
[0004] Japanese Patent Application Laid-Open No. 2021-003802
[0005] Incidentally, when a method of superimposing a swing command on a movement command is used as a means for achieving swing cutting, the swing operation has acceleration and deceleration superimposed on it that are not included in the machining command when swing cutting is not performed. As a result, the acceleration and deceleration energy required during machining increases compared to when swing cutting is not performed. Depending on the object to be machined and the purpose of machining, it may be desirable to reduce the increased or decreased acceleration and deceleration energy as much as possible.
[0006] The present disclosure has been made in consideration of the above-mentioned problems, and aims to provide a technology in a machine tool control device that can suppress acceleration / deceleration energy during swing machining according to the purpose and application.
[0007] The present disclosure relates to a control device for a machine tool that performs swing machining by swinging a workpiece and a tool relative to one another, the control device for a machine tool comprising: a swing condition setting unit that sets swing conditions; a swing condition calculation unit that calculates swing conditions different from the swing conditions in order to reduce the acceleration / deceleration energy required for the swing operation determined by the swing conditions; a swing condition selection unit that selects one of the swing conditions set by the swing condition setting unit and the swing condition calculation unit; a swing command calculation unit that calculates a swing command based on the swing condition selected by the swing condition selection unit; and a control unit that swings the workpiece and the tool relative to one another based on a movement command to which the swing command is superimposed.
[0008] According to the present disclosure, it is possible to provide a technology in a machine tool control device that can suppress acceleration / deceleration energy during swing machining according to the purpose or application.
[0009] FIG. 1 is a functional block diagram of a machine tool control device according to the first embodiment. FIG. 2 is a graph showing the relationship between speed and time in the case of a constant feed. FIG. 3 is a graph showing the relationship between speed and time when a swing command is superimposed. FIG. 4 is a graph showing the relationship between speed and time when swing conditions are changed. FIG. 5 is a functional block diagram of a machine tool control device according to the second embodiment. FIG. 6 is a functional block diagram of a machine tool control device according to the third embodiment. FIG. 7 is a functional block diagram of a machine tool control device according to the fourth embodiment. FIG. 8 is a functional block diagram of a machine tool control device according to the fifth embodiment. FIG. 9 is a functional block diagram of a machine tool control device according to the sixth embodiment. FIG. 10 is a functional block diagram of a machine tool control device according to the seventh embodiment. FIG. 11 is a functional block diagram of a machine tool control device according to the eighth embodiment. FIG. 12 is a functional block diagram of a machine tool control device according to the ninth embodiment.
[0010] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the description of the second and subsequent embodiments, the same reference numerals will be used to designate components common to the first and second embodiments, and the description thereof will be omitted as appropriate.
[0011] 1 is a functional block diagram of a machine tool control device 1 according to a first embodiment. The machine tool control device 1 is a computer that controls a machine tool that generates an air cut to break chips when cutting a workpiece by superimposing a swing command that commands relative swing between the workpiece and the cutting tool on a movement command that commands relative movement between the workpiece and the cutting tool. The machine tool control device 1 is configured, for example, by a numerical control device.
[0012] The control device 1 for a machine tool of this embodiment includes a swing condition setting unit 11, a swing condition calculation unit 12, a swing condition selection unit 13, a swing command calculation unit 14, a first adder 15, an integrator 16, a second adder 17, a position control unit 18, and a speed / current control unit 19.
[0013] The oscillation condition setting unit 11 sets oscillation conditions. The oscillation conditions are set by the user. The oscillation conditions are specified in the machining program or set as parameters of the control device 1 of the machine tool. For example, the oscillation condition setting unit 11 sets amplitude information indicating the oscillation amplitude or oscillation amplitude magnification and frequency information indicating the oscillation frequency or oscillation frequency magnification as oscillation conditions. The oscillation conditions consisting of the oscillation amplitude or oscillation amplitude magnification and the oscillation frequency or oscillation frequency magnification are input to the oscillation condition selection unit 13.
[0014] The oscillation conditions include, as information for uniquely identifying the vibration waveform, at least a frequency parameter, which is information regarding the oscillation frequency of the cutting tool or the workpiece, and an amplitude parameter, which is information regarding the oscillation amplitude of the cutting tool or the workpiece. The frequency parameter may be the relative oscillation frequency per rotation between the cutting tool and the workpiece, or the oscillation frequency per unit time. It may also be a periodic parameter of the forward / reverse motion. The amplitude parameter may be information regarding the oscillation amplitude relative to the relative feed rate per rotation between the cutting tool and the workpiece, or a distance parameter of the forward / reverse motion. These periodic parameters of the forward / reverse motion and the distance parameter of the forward / reverse motion may be determined from the forward speed, retraction speed, forward distance, retraction distance, spindle rotation speed, control period, etc. The frequency parameter and amplitude parameter may also be determined from the spindle rotation speed, feed rate per minute, feed rate per minute, frequency multiplication, which is the relative oscillation frequency per rotation between the cutting tool and the workpiece, amplitude multiplication, which is the oscillation amplitude relative to the relative feed rate per rotation between the cutting tool and the workpiece, etc.
[0015] The oscillation condition calculation unit 12 calculates oscillation conditions (amplitude information and frequency information) different from those of the oscillation condition setting unit 11 in order to suppress acceleration / deceleration energy required for the oscillation operation.
[0016] The method of calculating the oscillation conditions by the oscillation condition calculation unit 12 will now be described. Fig. 2 is a graph showing the relationship between speed and time in the case of constant feed. Fig. 3 is a graph showing the relationship between speed and time in the case of superimposing an oscillation command.
[0017] As shown in Figures 2 and 3, the speed after the swing command is superimposed can be expressed as in the following equation (1). In equation (1), v represents the speed after the swing command is superimposed, F represents a constant feed rate, K represents the swing amplitude magnification (an example of amplitude information), I represents the swing frequency magnification (an example of frequency information), S represents the spindle rotation speed, and t represents time. The acceleration / deceleration energy required for the swing operation can be calculated by multiplying the second term on the right side of equation (1) by the mass m of the object performing the swing operation and integrating the result over time t. Note that mass m is not necessarily required when discussing energy. For example, if mass m is constant, the increase or decrease in energy can also be confirmed by integrating the speed over time t.
[0018]
[0019] 4 is a graph showing the relationship between speed and time when the oscillation conditions are changed. As can be seen from equation (1), the acceleration / deceleration energy required for the oscillation operation can be reduced by reducing the oscillation amplitude magnification K or the oscillation frequency magnification I. The oscillation condition calculation unit 12 calculates the oscillation conditions so that the oscillation amplitude magnification K, the oscillation frequency magnification I, or both are reduced.
[0020] It should be noted that the oscillation amplitude magnification K and the oscillation frequency magnification I have a trade-off relationship with chip shredding. If the oscillation amplitude magnification K is reduced, the amplitude margin required for air cutting is reduced, making air cutting more difficult. If the oscillation frequency magnification I is reduced, the phase for air cutting shifts, making air cutting more difficult. The oscillation condition calculation unit 12 calculates amplitude information and frequency information as oscillation conditions based on formulas and coefficients that reflect the user's intention for air cutting. The oscillation conditions calculated by the oscillation condition calculation unit 12 are input to the oscillation condition selection unit 13.
[0021] The oscillation condition selection unit 13 selects oscillation conditions based on selection conditions set by the user. In the first embodiment, the oscillation condition selection unit 13 selects either the oscillation conditions of the oscillation condition setting unit 11 or the oscillation condition calculation unit 12 based on selection conditions specified in the machining program. For example, a code corresponding to "oscillation condition 1" indicating that the oscillation conditions of the oscillation condition setting unit 11 are to be used, or a code corresponding to "oscillation condition 2" indicating that the oscillation conditions of the oscillation condition calculation unit 12 are to be used, etc. are specified in the machining program.
[0022] The swing command calculation unit 14 calculates a swing command based on the swing condition selected by the swing condition selection unit 13. The swing command calculated by the swing command calculation unit 14 is input to the second adder 17.
[0023] The first adder 15 calculates a position deviation, which is the difference between the movement command and the position feedback based on the position detection by the encoder 45 of the feed axis motor 30. The position deviation calculated by the first adder 15 is input to the integrator 16.
[0024] The integrator 16 calculates an integrated value of the position deviation. Specifically, the integrator 16 calculates the integrated value of the position deviation by integrating the position deviation calculated by the first adder 15. The integrated value calculated by the integrator 16 is input to the second adder 17.
[0025] The second adder 17 generates a superimposed command. Specifically, the second adder 17 generates the superimposed command by adding (superimposing) the swing command generated by the swing command calculation unit 14 to the integrated value of the position deviation calculated by the integrator 16. The superimposed command generated by the second adder 17 is input to the position control unit 18. Note that the processing related to the position deviation may be omitted, and the second adder 17 may add the swing command generated by the swing command calculation unit 14 to the movement command (position command).
[0026] The position control unit 18 generates a position command based on the superimposed command and outputs it to the speed / current control unit 19. The speed / current control unit 19 outputs an operation command to the motor 30 to control the speed and current based on the position command. As a result, the machine tool performs swing machining in which the workpiece and the tool are swung relative to each other.
[0027] As described above, the control device 1 of the machine tool of the first embodiment comprises a swing condition setting unit 11 that sets swing conditions, a swing condition calculation unit 12 that calculates swing conditions different from the swing conditions determined by the swing conditions in order to reduce the acceleration / deceleration energy required for the swing operation, a swing condition selection unit 13 that selects one of the swing conditions set by the swing condition setting unit 11 and the swing condition calculation unit 12, a swing command calculation unit 14 that calculates a swing command based on the swing condition selected by the swing condition selection unit 13, and control units (position control unit 18, speed / current control unit 19) that swing the workpiece and tool relative to each other based on a movement command on which the swing command is superimposed.
[0028] As a result, the oscillation condition selection unit 13 makes a selection to ease the oscillation conditions, thereby reducing the acceleration / deceleration energy that increases as a result of performing oscillation machining. By setting the selection conditions of the oscillation condition selection unit 13 in advance, oscillation machining can be performed with appropriate acceleration / deceleration energy according to the purpose of the user.
[0029] Furthermore, the oscillation condition setting unit 11 sets amplitude information indicating the oscillation amplitude (e.g., oscillation amplitude, oscillation amplitude magnification) and frequency information indicating the oscillation frequency (e.g., oscillation frequency, oscillation frequency magnification) as the oscillation conditions, and the oscillation condition calculation unit 12 calculates set values obtained by varying the amplitude information and frequency information as the oscillation conditions. This makes it possible to relax the oscillation conditions by changing the numerical values of the amplitude information indicating the oscillation amplitude and the frequency information indicating the oscillation frequency.
[0030] Furthermore, the oscillation condition selection unit 13 selects one of the oscillation conditions set by the oscillation condition setting unit 11 and the oscillation condition calculation unit 12 based on the designation in the machining program. This makes it possible to easily set whether or not to relax the oscillation conditions based on the designation in the machining program.
[0031] 5 is a functional block diagram of a machine tool control device 1a according to a second embodiment. The machine tool control device 1a of the second embodiment further includes a machining condition input unit 21, a lower limit value calculation unit 22, and a lower limit value setting unit 23 in addition to the configuration of the first embodiment.
[0032] The machining condition input unit 21 inputs the machining conditions to the lower limit value calculation unit 22. The machining conditions in this embodiment are parameters necessary for machining that are set in addition to the swing conditions, such as the spindle rotation speed and feed axis speed. The machining conditions are, for example, specified in the machining program or set as parameters in the control device 1a of the machine tool.
[0033] The lower limit calculation unit 22 calculates the lower limit of at least one of the amplitude information and the frequency information based on the input machining conditions. For example, the lower limit calculation unit 22 calculates the conditions of the amplitude information and the frequency information required to generate an air cut for the machining conditions.
[0034] The lower limit setting unit 23 calculates the lower limit value of the condition calculated by the lower limit calculation unit 22. The lower limit value set by the lower limit setting unit 23 is input to the oscillation condition calculation unit 12.
[0035] The oscillation condition calculation unit 12 of the second embodiment calculates amplitude information and frequency information based on preset setting conditions and a lower limit value set by the lower limit value setting unit 23. The setting conditions of the second embodiment are that the calculated amplitude information and frequency information are smaller than the product of the amplitude information and frequency information set by the oscillation condition setting unit 11.
[0036] In the second embodiment, the oscillation condition calculation unit 12 calculates amplitude information and frequency information so that the amplitude information and frequency information exceed the lower limit values of the amplitude information and the frequency information while satisfying the set conditions. The calculated amplitude information and frequency information are input to the oscillation condition selection unit 13. The subsequent processing is the same as in the first embodiment.
[0037] As described above, the control device 1a of the machine tool of the second embodiment further includes a lower limit setting unit 23 that sets a lower limit value for at least one of the set values of the amplitude information and the frequency information, and the product of the amplitude information and frequency information calculated by the oscillation condition calculation unit 12 is smaller than the product of the amplitude information and frequency information set by the oscillation condition setting unit 11 and is greater than the lower limit value.
[0038] Incidentally, reducing the acceleration and deceleration energy required for the swinging motion ultimately requires eliminating the swinging motion, but this would result in the chip shredding performance being 0. In this regard, the configuration of this embodiment sets a lower limit, making it possible to avoid a situation in which the chip shredding performance is reduced to 0.
[0039] Furthermore, the acceleration / deceleration energy is proportional to the square of the product of the oscillation frequency and the oscillation amplitude. According to the configuration of this embodiment, the product of the oscillation frequency and the oscillation amplitude calculated by the lower limit value calculation unit 22 is smaller than the product of the oscillation frequency and the oscillation amplitude of the set value, so that the acceleration / deceleration energy can be reliably suppressed.
[0040] The control device 1a for a machine tool according to the second embodiment further includes a machining condition input unit 21 for inputting machining conditions, and a lower limit calculation unit 22 for calculating amplitude information and frequency information conditions required for generating air cut based on the machining conditions, and a lower limit setting unit 23 sets the amplitude information and frequency information conditions calculated by the lower limit calculation unit 22 as lower limits. This makes it possible to derive the amplitude information and frequency information required for air cut from machining conditions such as the spindle rotation speed and feed axis speed, without having to separately set lower limits.
[0041] In the second embodiment, the machine tool control device 1a is configured to include the machining condition input unit 21, the lower limit value calculation unit 22, and the lower limit value setting unit 23, but is not limited to this configuration. For example, the machining condition input unit 21 and the lower limit value calculation unit 22 may be omitted from the machine tool control device 1a. For example, a theoretically or empirically set numerical value may be set in advance in the lower limit value setting unit 23 as the lower limit value of at least one of the amplitude information and the frequency information, and the oscillation condition calculation unit 12 may calculate the amplitude information and the frequency information based on the lower limit value.
[0042] 6 is a functional block diagram of a machine tool control device 1b according to a third embodiment. In the machine tool control device 1b of the third embodiment, an external signal is input to a swing condition selection unit 13 in addition to the configuration of the second embodiment.
[0043] The external signal includes information for selecting the oscillation conditions. The external signal is, for example, a signal that specifies an energy-saving mode that reduces acceleration / deceleration energy from an operating means (not shown) or an external computer. When the external signal specifies the energy-saving mode, the oscillation condition selection unit 13 selects the oscillation conditions calculated by the oscillation condition calculation unit 12.
[0044] As described above, the swing condition selection unit 13 of the machine tool control device 1b of the third embodiment selects, based on a signal input from the outside, one of the swing conditions set by the swing condition setting unit 11 and the swing condition calculation unit 12. This makes it possible to use the external signal to determine whether or not to relax the swing conditions depending on the situation.
[0045] 7 is a functional block diagram of a machine tool control device 1c according to a fourth embodiment. The machine tool control device 1c of the fourth embodiment further includes a section setting unit 24 in addition to the configuration of the second embodiment.
[0046] The section setting unit 24 inputs a pre-specified machining section, machining time, or both to the oscillation condition selection unit 13. The information input from the section setting unit 24 to the oscillation condition selection unit 13 specifies the oscillation conditions to be selected for the specified machining section, machining time, or both.
[0047] For example, for a certain machining section A, it is set that the oscillation conditions set by the oscillation condition setting section 11 are adopted, and for another machining section B, it is set that the oscillation conditions calculated by the oscillation condition calculation section 12 are adopted. Alternatively, for a certain machining time C, it is set that the oscillation conditions calculated by the oscillation condition calculation section 12 are adopted, and for another machining time D, it is set that the oscillation conditions set by the oscillation condition setting section 11 are adopted.
[0048] Furthermore, the section setting unit 24 can also specify the oscillation conditions to be adopted by combining the machining section and the machining time. For example, it is possible to perform oscillation machining so that the oscillation conditions calculated by the oscillation condition calculation unit 12 are adopted only when the machining section is B and the machining time is C.
[0049] As explained above, the swing condition selection unit 13 of the machine tool control device 1c of the fourth embodiment selects one of the swing conditions set by the swing condition setting unit 11 and the swing condition calculation unit 12 based on at least one of a pre-specified machining section and machining time. This makes it possible to relax the swing conditions according to the desired machining section and machining time and reduce acceleration / deceleration energy. Swing machining is achieved under swing conditions optimized according to the machining state.
[0050] 8 is a functional block diagram of a machine tool control device 1d according to a fifth embodiment. The machine tool control device 1d of the fifth embodiment further includes a variable condition storage unit 25 in addition to the configuration of the second embodiment.
[0051] The variation condition storage unit 25 stores variation conditions for the oscillation condition calculation unit 12 to calculate the amplitude information and frequency information. A plurality of variation conditions are stored, such as "strong energy saving" in which the amount of reduction in acceleration / deceleration energy is relatively large, "weak energy saving" in which the amount of reduction in acceleration / deceleration energy is relatively small, and "normal" in which the amount of reduction in acceleration / deceleration energy is medium. For the plurality of variation conditions, mathematical formulas and coefficients are set according to the respective purposes.
[0052] The oscillation condition calculation unit 12 retrieves the fluctuation conditions stored in the fluctuation condition storage unit 25 and calculates amplitude information and frequency information according to the fluctuation conditions. The amplitude information and frequency information calculated by the oscillation condition calculation unit 12 are input to the oscillation condition selection unit 13.
[0053] The swing condition selection unit 13 outputs amplitude information and frequency information corresponding to the variable conditions selected based on the designation of the machining program, etc., to the swing command calculation unit 14. The subsequent processing is the same as in the above embodiment.
[0054] As described above, the machine tool control device 1d of the fifth embodiment further includes a variation condition storage unit 25 that stores a plurality of variation conditions for the oscillation condition calculation unit 12 to vary the amplitude information and frequency information, and the oscillation condition calculation unit 12 can calculate an oscillation condition for each of the plurality of variation conditions stored in the variation condition storage unit 25. This makes it possible to adjust the amount of reduction in acceleration / deceleration energy according to the purpose, thereby further improving user convenience.
[0055] In the fifth embodiment, the oscillation condition calculation unit 12 calculates the amplitude information and the frequency information based on each fluctuation condition, but the present invention is not limited to this configuration. The oscillation condition calculation unit 12 may be configured to first receive the selection result of the oscillation condition selection unit 13, and then calculate the amplitude information and the frequency information based on the fluctuation condition corresponding to the selection result.
[0056] 9 is a functional block diagram of a machine tool control device 1e according to a sixth embodiment. The machine tool control device 1e of the sixth embodiment further includes an energy calculation unit 26 and a display unit 27 in addition to the configuration of the third embodiment.
[0057] The energy calculation unit 26 calculates acceleration and deceleration energy required for the rocking operation based on the input rocking conditions. In the sixth embodiment, the energy calculation unit 26 receives information indicating the rocking conditions from each of the rocking condition setting unit 11 and the rocking condition calculation unit 12. The energy calculation unit 26 calculates acceleration and deceleration energy corresponding to each of the received rocking conditions.
[0058] The acceleration / deceleration energy calculated by the energy calculation unit 26 may be calculated in J (Joules), which generally indicates energy, using the above-mentioned integration, or may be calculated using other calculation methods. For example, CO 2 The acceleration / deceleration energy calculated by the energy calculation unit 26 is input to the display unit 27.
[0059] The display unit 27 displays the acceleration / deceleration energy input from the energy calculation unit 26 on a display provided in the machine tool control device 1e or on an external computer. As described above, the display unit 27 displays the acceleration / deceleration energy in units of J (joules) or CO 2 The magnitude of acceleration / deceleration energy is notified to the user in terms of the discharge amount. In the sixth embodiment, the display unit 27 executes a process of displaying acceleration / deceleration energy corresponding to each of the oscillation conditions of the oscillation condition setting unit 11 and the oscillation condition calculation unit 12. Note that the display unit 27 may not only execute the display process but also function as a display itself.
[0060] As described above, the machine tool control device 1e of the sixth embodiment further includes an energy calculation unit 26 that calculates the acceleration / deceleration energy required for swing operation based on the swing conditions, and a display unit 27 that calculates at least one of the energy based on the swing conditions set by the swing condition setting unit 11 and the energy under the swing conditions calculated by the swing condition calculation unit 12, and displays the acceleration / deceleration energy corresponding to the swing conditions. This allows the user to grasp the acceleration / deceleration energy according to the swing conditions. In the sixth embodiment, the acceleration / deceleration energies corresponding to the swing condition setting unit 11 and the swing condition calculation unit 12 are displayed, allowing the user to compare the difference between a case where no adjustment is made and a case where adjustment is made.
[0061] 10 is a functional block diagram of a machine tool control device 1f according to a seventh embodiment. The machine tool control device 1f of the seventh embodiment is equipped with a display device 2 for realizing a GUI (Graphical User Interface) function. The display device 2 is composed of, for example, display means such as a display for displaying various types of information, and operation means such as a touch panel, keyboard, buttons, etc.
[0062] The following describes the functions of the machine tool control device 1f and the display device 2. In addition to the configuration of the third embodiment, the machine tool control device 1f further includes an energy calculation unit 31 and a reference setting unit 32. The display device 2 also includes a reference display unit 41, a target input unit 42, and an oscillation condition display designation unit 43.
[0063] The energy calculation unit 31 calculates the acceleration / deceleration energy required for the rocking operation based on the input rocking conditions. The energy calculation unit 31 of the seventh embodiment calculates the acceleration / deceleration energy corresponding to the rocking conditions received from the rocking condition setting unit 11. The energy calculation unit 31 may calculate the acceleration / deceleration energy in J (Joules), which generally indicates energy, using the above-mentioned integral, or may use other calculation methods. For example, the CO converted based on a predetermined conversion formula 2 It may also be output as an emission amount.
[0064] Information indicating the acceleration / deceleration energy calculated by the energy calculation unit 31 of the seventh embodiment is input to the reference setting unit 32. The reference setting unit 32 outputs the information indicating the acceleration / deceleration energy calculated by the energy calculation unit 31 to the reference display unit 41 of the display device 2.
[0065] The reference display section 41 on the display device 2 side displays the acceleration / deceleration energy calculated based on the oscillation conditions of the oscillation condition setting section 11 as information indicating the reference.
[0066] Next, the target input unit 42 will be described. The target input unit 42 receives conditions for calculating acceleration / deceleration energy specified by the user, and outputs the received information to the oscillation condition calculation unit 12. The information received by the target input unit 42 is a target acceleration / deceleration energy or a reduction rate of the acceleration / deceleration energy with respect to a predetermined reference. The predetermined reference in the seventh embodiment is an oscillation condition set in the machining program (oscillation condition setting unit 11).
[0067] The oscillation condition calculation unit 12 of the seventh embodiment calculates oscillation conditions that satisfy the conditions specified in the target input unit 42. One or more oscillation conditions may be calculated as long as they satisfy the specified conditions. The calculation result of the oscillation condition calculation unit 12 is output to the oscillation condition display designation unit 43. The oscillation condition display designation unit 43 may present multiple patterns of combinations of amplitude information and frequency information.
[0068] The oscillation condition display designation unit 43 displays the calculation results of the oscillation condition calculation unit 12. Furthermore, the oscillation condition display designation unit 43 accepts an operation from a user who has confirmed the display of the calculation results of the oscillation condition calculation unit 12 and determines a user selection result. Then, the oscillation condition display designation unit 43 outputs the user selection result to the oscillation condition selection unit 13. As a result, the oscillation conditions calculated by the oscillation condition calculation unit 12 satisfy the conditions designated by the user (for example, a predetermined combination of amplitude information and oscillation conditions, an air cut margin setting, etc.).
[0069] The swing condition selection unit 13 selects one of the swing conditions corresponding to the user's selection result and the swing conditions set by the swing condition setting unit 11. The selection criteria are set based on the machining program, external signals, etc., as in the above embodiment.
[0070] As described above, the machine tool control device 1f of the seventh embodiment comprises an energy calculation unit 31 that calculates acceleration / deceleration energy required for swing operation based on the swing conditions set by the swing condition setting unit 11, a reference display unit 41 that displays information based on the acceleration / deceleration energy calculated by the energy calculation unit 31 as a reference, a target input unit 42 that inputs a target acceleration / deceleration energy or a reduction rate of the acceleration / deceleration energy relative to the reference, and a swing condition display designation unit 43 that displays at least one swing condition calculated by the swing condition calculation unit 12 to satisfy the conditions input by the target input unit 42 and designates at least one of the displayed swing conditions, and the swing condition selection unit 13 selects either the swing condition designated by the swing condition display designation unit 43 or the swing condition set by the swing condition setting unit 11. As a result, the swing conditions calculated by the swing condition calculation unit 12 correspond to those designated by the user, and when the calculation result is selected by the swing condition selection unit 13, swing machining can be performed with acceleration / deceleration energy that is more suited to the user's desire.
[0071] 11 is a functional block diagram of a machine tool control device 1g according to an eighth embodiment. In addition to the configuration of the seventh embodiment, the machine tool control device 1g further includes a swing condition input unit 33. Furthermore, the processing executed by an energy calculation unit 34 in the eighth embodiment differs from the processing executed by the energy calculation unit 31 in the seventh embodiment.
[0072] The oscillation condition input unit 33 outputs reference oscillation conditions for indicating the reference to the user to the energy calculation unit 34. The reference oscillation conditions output by the oscillation condition input unit 33 may be acquired from parameters set in the machine tool or the control device 1g of the machine tool, or may be acquired by the user from input means, an external computer, or the like.
[0073] The energy calculation unit 34 of the eighth embodiment calculates the acceleration / deceleration energy required for the rocking operation based on the rocking conditions input from the rocking condition input unit 33. The energy calculation unit 34 may calculate the acceleration / deceleration energy in J (Joules), which generally indicates energy, using the above-mentioned integral, or may use other calculation methods. For example, the energy calculation unit 34 may calculate the acceleration / deceleration energy in J (Joules), which generally indicates energy, based on a predetermined conversion formula. 2 The acceleration / deceleration energy calculated by the energy calculation unit 34 may be output to the reference setting unit 32 .
[0074] The reference setting unit 32 outputs information indicating the reference to the reference display unit 41. The reference display unit 41 displays, as the reference acceleration / deceleration energy, information based on the oscillation conditions input by the oscillation condition input unit 33. The subsequent processing is the same as in the seventh embodiment.
[0075] As described above, the control device 1g of the machine tool of the eighth embodiment comprises: a swing condition input unit 33 that inputs swing conditions that serve as a reference for the acceleration / deceleration energy associated with the swing operation; an energy calculation unit 34 that calculates the acceleration / deceleration energy required for the swing operation based on the swing conditions input by the swing condition input unit 33; a target input unit 42 that uses information based on the acceleration / deceleration energy calculated by the energy calculation unit 34 as a reference and inputs a target acceleration / deceleration energy or a reduction rate of the acceleration / deceleration energy relative to the reference; and a swing condition display designation unit 43 that displays at least one swing condition calculated by the swing condition calculation unit 12 to satisfy the conditions input by the target input unit 42 and designates at least one of the displayed swing conditions, and the swing condition selection unit 13 selects either the swing condition designated by the swing condition display designation unit 43 or the swing condition set by the swing condition setting unit 11.
[0076] Even in this configuration, the oscillation conditions calculated by the oscillation condition calculation unit 12 correspond to the user's designation, and when the calculation result is selected by the oscillation condition selection unit 13, oscillation machining can be performed with acceleration / deceleration energy that is more in line with the user's wishes. Furthermore, the user can designate acceleration / deceleration energy by referring to the standard designated by the user or the standard set based on the parameters of the machine tool.
[0077] 12 is a functional block diagram of a machine tool control device 1h according to a ninth embodiment. In addition to the configuration of the third embodiment, the machine tool control device 1h of the ninth embodiment further includes a learning unit 50 and a third adder 51. The learning unit 50 and the third adder 51 are disposed between the second adder 17 and the position control unit 18.
[0078] The learning unit 50 calculates a correction amount based on the integrated value of the position deviation generated by the second adder 17 and the superimposed command of the swing command. The learning unit 50 has a memory, and stores the swing phase and the correction amount in association with each other within one swing cycle or multiple swing cycles, and reads out the superimposed command stored in the memory at a timing at which the phase delay of the swing operation according to the responsiveness of the motor 30 can be compensated for, and outputs the superimposed command as a correction amount to the third adder 51. Note that if the swing phase for which a correction amount is output does not exist in the swing phases stored in the memory, the correction amount to be output may be calculated from a correction amount having a closer swing phase.
[0079] The third adder 51 adds the correction amount input from the learning unit 50 to the integrated value of the position deviation generated by the second adder 17 and the superimposed command of the swing command. The superimposed command corrected by the learning unit 50 and the third adder 51 is output to the position control unit 18. The subsequent processing is the same as in the above embodiment.
[0080] As described above, the machine tool control device 1h of the ninth embodiment further includes an encoder 45 as a position detection unit that detects position information of the motor 30 as a driver for moving at least one of a workpiece and a tool, a first adder 15 as a position deviation calculation unit that calculates a position deviation from the position information detected by the encoder 45, and a learning unit 50 that calculates a correction amount for the position deviation based on the swing command and the position deviation and corrects the position deviation by adding the calculated correction amount to the position deviation. Generally, the higher the swing frequency, the larger the deviation from the superimposed command. In this regard, the configuration of this embodiment can improve the followability to the periodic superimposed command through correction by the learning unit 50. In particular, with the configuration of this embodiment, when the calculation result is selected by the swing condition selection unit 13, swing machining with acceleration / deceleration energy according to the user's intention can be more accurately performed.
[0081] When the learning unit 50 is arranged in other embodiments such as the seventh embodiment or the eighth embodiment, the installation position can be the same as in the ninth embodiment.
[0082] The present disclosure is not limited to the above-described embodiments, and includes modifications and improvements within the scope of achieving the object of the present disclosure.
[0083] The following additional notes are provided regarding the above-described embodiment and modifications.
[0084] (Supplementary Note 1) A control device (1, 1a to 1h) for a machine tool that performs swing machining by swinging a workpiece and a tool relative to one another, comprising: a swing condition setting unit (11) that sets swing conditions; a swing condition calculation unit (12) that calculates swing conditions different from the swing conditions in order to reduce acceleration / deceleration energy required for swing operation determined by the swing conditions; a swing condition selection unit (13) that selects one of the swing conditions set by the swing condition setting unit (11) and the swing condition calculation unit (12); a swing command calculation unit (14) that calculates a swing command based on the swing condition selected by the swing condition selection unit (13); and a control unit (18, 19) that swings the workpiece and the tool relative to one another based on a movement command on which the swing command is superimposed.
[0085] (Supplementary Note 2) In the control device (1, 1a to 1h) of the machine tool, the oscillation condition setting unit (11) sets amplitude information indicating an oscillation amplitude and frequency information indicating an oscillation frequency as the oscillation conditions, and the oscillation condition calculation unit (12) calculates set values obtained by varying the amplitude information and frequency information as the oscillation conditions.
[0086] (Supplementary Note 3) The control device (1a to 1h) for the machine tool further comprises a lower limit value setting unit (23) that sets a lower limit value for at least one set value of the amplitude information and the frequency information, and the product of the amplitude information and the frequency information calculated by the oscillation condition calculation unit (12) is smaller than the product of the amplitude information and the frequency information set by the oscillation condition setting unit (11) and is larger than the lower limit value.
[0087] (Supplementary Note 4) The control device (1a to 1h) for the machine tool further comprises: a machining condition input unit (21) for inputting machining conditions; and a lower limit value calculation unit (22) for calculating the conditions of the amplitude information and the frequency information required to generate an air cut based on the machining conditions, and the lower limit value setting unit (23) sets the conditions of the amplitude information and the frequency information calculated by the lower limit value calculation unit (22) as lower limits.
[0088] (Note 5) In the control device (1, 1a to 1h) of the machine tool, the swing condition selection unit (13) selects one of the swing conditions set by the swing condition setting unit (11) and the swing condition calculation unit (12) based on a specification in a machining program.
[0089] (Note 6) In the control device (1a to 1c, 1e) of the machine tool, the swing condition selection unit (13) selects one of the swing conditions set by the swing condition setting unit (11) and the swing condition calculation unit (12) based on a signal input from the outside.
[0090] (Supplementary Note 7) In the control device (1c) of the above machine tool, the swing condition selection unit (13) selects one of the swing conditions set by the swing condition setting unit (11) and the swing condition calculation unit (12) based on at least one of a pre-specified machining section and a machining time.
[0091] (Appendix 8) In the control device (1d) of the machine tool, the oscillation condition calculation unit (12) further includes a fluctuation condition storage unit (25) that stores a plurality of fluctuation conditions for fluctuating the amplitude information and the frequency information, and the oscillation condition calculation unit (12) is capable of calculating an oscillation condition for each of the plurality of fluctuation conditions stored by the fluctuation condition storage unit (25).
[0092] (Supplementary Note 9) The control device (1e) for the machine tool further includes an energy calculation unit (26) that calculates acceleration / deceleration energy required for swing operation based on the swing conditions, and a display unit (27) that calculates at least one of the energy based on the swing conditions set by the swing condition setting unit (11) and the energy under the swing conditions calculated by the swing condition calculation unit (12), and displays the acceleration / deceleration energy corresponding to the swing conditions.
[0093] (Supplementary Note 10) The control device (1f) for the machine tool comprises: an energy calculation unit (31) that calculates acceleration / deceleration energy required for swing operation based on the swing conditions set by the swing condition setting unit (11); a reference display unit (41) that displays information based on the acceleration / deceleration energy calculated by the energy calculation unit (31) as a reference; a target input unit (42) that inputs the acceleration / deceleration energy or a reduction rate of the acceleration / deceleration energy to be targeted with respect to the reference; a display unit (43) that displays at least one swing condition calculated by the swing condition calculation unit (13) so as to satisfy the conditions input by the target input unit (42); and a designation unit (43) that designates at least one of the swing conditions displayed by the display unit (43), and the swing condition selection unit (13) selects either the swing condition designated by the designation unit (43) or the swing condition (11) set by the swing condition setting unit (11).
[0094] (Supplementary Note 11) The control device (1g) for the machine tool comprises: a swing condition input unit (33) that inputs swing conditions that are standards for acceleration / deceleration energy accompanying a swing operation; an energy calculation unit (34) that calculates acceleration / deceleration energy required for a swing operation based on the swing conditions input by the swing condition input unit (33); a target input unit (42) that uses information based on the acceleration / deceleration energy calculated by the energy calculation unit (34) as a standard and inputs the acceleration / deceleration energy or a reduction rate of the acceleration / deceleration energy that is a target with respect to the standard; a display unit (43) that displays at least one swing condition calculated by the swing condition calculation unit (13) so as to satisfy the conditions input by the target input unit (42); and a designation unit (43) that designates at least one of the swing conditions displayed by the display unit, and the swing condition selection unit (13) selects either the swing condition designated by the designation unit (43) or the swing condition set by the swing condition setting unit (11).
[0095] (Supplementary Note 12) The control device (1h) for the machine tool further includes: a position detection unit (45) that detects position information of a driving body (30) for moving at least one of the workpiece and the tool; a position deviation calculation unit (15) that calculates a position deviation from the position information detected by the position detection unit (45); and a learning unit (50) that calculates a correction amount for the position deviation based on the swing command and the position deviation, and corrects the position deviation by adding the calculated correction amount to the position deviation.
[0096] 1, 1a to 1h Machine tool control device 11 Swing condition setting section 12 Swing condition calculation section 13 Swing condition selection section 14 Swing command calculation section 15 First adder 16 Accumulator 17 Second adder 18 Position control section 19 Speed / current control section 30 Motor 45 Encoder
Claims
1. A control device for a machine tool that performs swing machining by swinging a workpiece and a tool relatively, comprising: a swing condition setting unit that sets swing conditions; a swing condition calculation unit that calculates swing conditions different from the swing conditions in order to reduce the acceleration / deceleration energy required for the swing operation determined by the swing conditions; a swing condition selection unit that selects one of the swing conditions set by the swing condition setting unit and the swing condition calculation unit; a swing command calculation unit that calculates a swing command based on the swing conditions selected by the swing condition selection unit; and a control unit that swings the workpiece and the tool relatively based on a movement command superimposed on the swing command.
2. A control device for a machine tool as described in claim 1, wherein the oscillation condition setting unit sets amplitude information indicating an oscillation amplitude and frequency information indicating an oscillation frequency as the oscillation conditions, and the oscillation condition calculation unit calculates setting values obtained by varying the amplitude information and frequency information as the oscillation conditions.
3. A control device for a machine tool as described in claim 2, further comprising a lower limit setting unit that sets a lower limit value of at least one of the set values of the amplitude information and the frequency information, wherein the product of the amplitude information and the frequency information calculated by the oscillation condition calculation unit is smaller than the product of the amplitude information and the frequency information set by the oscillation condition setting unit and is larger than the lower limit value.
4. A control device for a machine tool as described in claim 3, further comprising: a machining condition input unit for inputting machining conditions; and a lower limit calculation unit for calculating the conditions of the amplitude information and the frequency information required to generate an air cut based on the machining conditions, wherein the lower limit setting unit sets the conditions of the amplitude information and the frequency information calculated by the lower limit calculation unit as lower limits.
5. A control device for a machine tool as described in any one of claims 1 to 4, wherein the swing condition selection unit selects one of the swing conditions set by the swing condition setting unit and the swing condition calculation unit based on specifications in a machining program.
6. A control device for a machine tool as described in any one of claims 1 to 4, wherein the swing condition selection unit selects one of the swing conditions set by the swing condition setting unit and the swing condition calculation unit based on a signal input from the outside.
7. A control device for a machine tool as described in any one of claims 1 to 4, wherein the swing condition selection unit selects one of the swing conditions set by the swing condition setting unit and the swing condition calculation unit, respectively, based on at least one of a pre-specified machining section and machining time.
8. A control device for a machine tool as described in any of claims 2 to 4, further comprising a variation condition memory unit that stores a plurality of variation conditions for varying the amplitude information and the frequency information, and the oscillation condition calculation unit is capable of calculating an oscillation condition for each of the plurality of variation conditions stored by the variation condition memory unit.
9. A control device for a machine tool as described in any one of claims 1 to 4, further comprising: an energy calculation unit that calculates acceleration / deceleration energy required for swing operation based on the swing conditions; and a display unit that calculates at least one of the energy based on the swing conditions set by the swing condition setting unit and the energy under the swing conditions calculated by the swing condition calculation unit, and displays the acceleration / deceleration energy corresponding to the swing conditions.
10. A control device for a machine tool as described in any of claims 1 to 4, comprising: an energy calculation unit that calculates acceleration / deceleration energy required for swing operation based on the swing conditions set by the swing condition setting unit; a reference display unit that displays information based on the acceleration / deceleration energy calculated by the energy calculation unit as a reference; a target input unit that inputs the acceleration / deceleration energy or a reduction rate of the acceleration / deceleration energy to be targeted with respect to the reference; a display unit that displays at least one swing condition calculated by the swing condition calculation unit to satisfy the conditions input by the target input unit; and a designation unit that designates at least one of the swing conditions displayed by the display unit, wherein the swing condition selection unit selects either the swing condition designated by the designation unit or the swing condition set by the swing condition setting unit.
11. A control device for a machine tool as described in any of claims 1 to 4, comprising: a swing condition input unit for inputting swing conditions that serve as a reference for acceleration / deceleration energy associated with a swing operation; an energy calculation unit for calculating the acceleration / deceleration energy required for a swing operation based on the swing conditions input by the swing condition input unit; a target input unit for inputting the acceleration / deceleration energy or a reduction rate of the acceleration / deceleration energy that is targeted with respect to the reference, using information based on the acceleration / deceleration energy calculated by the energy calculation unit as a reference; a display unit for displaying at least one swing condition calculated by the swing condition calculation unit to satisfy the conditions input by the target input unit; and a designation unit for designating at least one of the swing conditions displayed by the display unit, wherein the swing condition selection unit selects either the swing condition designated by the designation unit or the swing condition set by the swing condition setting unit.
12. A control device for a machine tool as described in any one of claims 1 to 4, further comprising: a position detection unit that detects position information of a driving body for moving at least one of the workpiece and the tool; a position deviation calculation unit that calculates a position deviation from the position information detected by the position detection unit; and a learning unit that calculates a correction amount for the position deviation based on the swing command and the position deviation, and corrects the position deviation by adding the calculated correction amount to the position deviation.
Citation Information
Patent Citations
Method for controlling machine tool having plurality of spindles
JP2020074214A
Servo control device
JP2020163487A
Vibration cutting apparatus and contact detection program
JP2021126766A
Numerical control device, learning device, inference device, and numerical control method
JP7158604B1
Numerical control device and numerical control method
WO2022085114A1
