The present invention relates to a servo control device, and more particularly to a servo control device that performs motor control in accordance with a command including a repetitive oscillation command.
Conventionally, in the control of a drive device such as a motor, a command prepared by superimposing a command in relation to repetitive movement such as a reciprocal vibration command (swing command) on a command having non-repeatability has been used as the control command.
Patent Document 1 describes a technique of controlling a machine tool that performs a threading process by performing a turning process on a workpiece, in which a swing movement is incorporated in a machining movement of a tool in order to thin chips generated by the turning process, and a control technique of the machine tool that adds (superimposes) a repetitive oscillation command relating to a swing movement with a swing amplitude and in a swing direction appropriate for cutting the chips to a movement command for relatively moving the workpiece and the tool for the turning process.
Patent Document 2 relates to a control device for a machine tool that performs swing cutting, and describes a control device for a machine tool that performs machining of a workpiece while relatively swinging a tool and a workpiece by cooperative movement of a spindle and a feed axis in order to finely cut chips generated by machining for the purpose of reducing a load on the machine tool due to swing cutting. This indicates that the command in relation to swinging a workpiece and a tool relatively is superimposed. Further, in the technology of Patent Document 2, when the machining condition indicates the machining by the interpolation movement of one of a plurality of feed axes, the tool and the workpiece are relatively swung in the direction along the machining path, and when the machining condition indicates machining by the simultaneous interpolation movement of the plurality of feed axes, the swing direction is changed or the swing is stopped with respect to the machining path.
As described above, a technique is known in which a control command in a control device of a machine tool includes a repetitive oscillation command such as a reciprocal vibration command (swing command, oscillation command, etc.) in a superimposed manner in addition to a command having non-repeatability.
However, in Patent Document 1, it is assumed that the waveform of the swing command is a sine wave or a triangular wave upon generating the swing command (repetitive oscillation command) in the control device (servo control device). However, unlike a waveform that can be grasped by only a characteristic amount such as a sine wave or a triangular wave, a swing command cannot be handled in the case of being a swing command in which the waveform assumes a complex shape and a free shape which cannot be expressed by only such a feature amount.
Furthermore, in Patent Document 2, a swing command (repetitive oscillation command) is generated by an upper control unit, and the generated swing command is transmitted to a control unit (servo control unit). However, a cosine wave waveform is assumed in Patent Document 2 and, therefore, a command of a waveform having a free shape which cannot be expressed only by a feature amount cannot be handled as well.
With the improvement in the production processing technology by a machine tool, etc., it is desired to further improve the machining accuracy and the machining efficiency, and it is expected in the future that a swing command superimposed on the basic machining command is required to have a waveform having a free shape which cannot be expressed by only a feature amount. In such a case, there is a technical problem in that it is difficult to deal with a device provided on the assumption that the swing command is a sine wave, a cosine wave, or a triangular wave, such as in Patent Document 1 or Patent Document 2.
It is an object of the present invention to provide a servo control device capable of dealing with a case of a control command in which a waveform of a repetitive oscillation command superimposed on a normal movement command has a free shape which cannot be expressed by only a feature amount when a control command obtained by superimposing the repetitive oscillation command on the normal movement command is obtained in a control device of a machine tool.
In order to solve the abovementioned problem, a servo control device for performing control of a servo motor is provided which includes: a repetitive oscillation command generator that obtains a cyclic period and command data for one period of a repetitive oscillation command waveform, and generates and outputs a repetitive oscillation command; and a command superimposer that obtains a movement command from the upper control device and superimposes the repetitive oscillation command outputted by the repetitive oscillation command generator on the movement command.
According to the servo control device of the present disclosure, when servo control is performed, it is possible to deal with a case of a control command in which a waveform of a repetitive oscillation command has a free shape which cannot be expressed by only a feature amount. Furthermore, it is possible to form a waveform of a superimposed command of a free shape by superimposing a repetitive oscillation command of a free shape which cannot be expressed by only a feature amount on a basic movement command, whereby it is possible to deal with a case where further improvement of machining accuracy and machining efficiency is required and finer handling is required.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The servo control device 10 includes a repetitive oscillation command/phase data generator 11, a learning controller 12, a position/speed/current controller 13, a first adder 14, and a second adder 15.
A signal of a normal movement command such as a command having non-repeatability is sent from the upper control device 20 to the first adder 14 of the servo control device 10, and data relating to the signal of the repetitive oscillation command is sent to the repetitive oscillation command/phase data generator 11. The normal movement command includes, for example, a command for basic design for determining the shape of a workpiece. The repetitive oscillation command/phase data generator 11 generates a repetitive oscillation command and sends it to the first adder, generates phase data for each servo period or cycle, and sends it to the learning controller 12. The abovementioned “data relating to a signal of a repetitive oscillation command”, “generation of phase data”, and “generation of a repetitive oscillation command” will be described in detail later. On the other hand, in the first adder 14, the repetitive oscillation command generated by the repetitive oscillation command/phase data generator 11 is added (superimposed) to the movement command sent from the upper control device 20 to form a superimposed command, and the deviation between the superimposed command and the signal fed back from the motor 40 is obtained and sent to each of the learning controller 12 and the second adder 15.
In the learning controller 12, learning control is performed on the deviation between the superposed command obtained by the first adder 14 and the feedback signal based on the phase data generated by the repetitive oscillation command/phase data generator 11. In learning control based on phase data, a compensation amount is obtained by an integrated deviation up to one period before, and an inputted command (deviation) is compensated to improve followability to a periodic command, and the technology itself is well known in the related art, and thus a detailed description thereof is omitted here. By applying the learning control, it is possible to perform operation with high followability and high-precision.
The second adder 15 adds the deviation between the command obtained by superimposing the movement command from the upper control device 20 calculated by the first adder 14 and the repetitive oscillation command from the repetitive oscillation command/phase data generator 11, and the signal fed back from the motor 40, and an output signal from the learning controller 12, whereby the output is sent to the position/speed/current controller 13. The position/speed/current controller 13 calculates an appropriate drive voltage of the motor 40 from the inputted position command, speed command, and current command, and drives the motor 40 by the output extended and adjusted by the amplifier 30.
The upper control device 20 outputs, to the servo control device 10, data related to a normal movement command 21 such as a command having non-repeatability and a repetitive oscillation command 22. In the present disclosure, as the “data relating to the repetitive oscillation command 22”, the cyclic period and the command data for one period of the repetitive oscillation command waveform are outputted from the upper control device 20 to the servo control device 10. Here, the reason why the command data for one period is outputted is that it is possible to deal with not only the conventional sine wave, triangular wave, and rectangular wave, but also with a command of a waveform having a free shape which cannot be expressed by only the feature amount.
Next, with reference to
The repetitive oscillation command is a command for repeating a reciprocating movement, and examples thereof include a command of a waveform (a sine wave or the like) shown as a representative diagram on the right side of
Next, with respect to “generation of phase data”, a method of generating phase data from a repetitive oscillation command will be described with reference to
In
In the example of
[Formula 1]
θ(t)=360×(t/T1) Equation (1)
Here, assuming that the servo control period in the servo control device 10 is Ts, since the time Ts elapses every one period of the servo control period, the phase θ(t) when one period of the servo control period elapses is obtained by substituting t=Ts, as follows.
[Formula 2]
θ(Ts)=360×(Ts/T1) Equation (2)
When n periods (n=1, 2, 3 . . . ) of the servo control period have elapsed, the phase θ is given as a function θ(n) of the number n of periods as follows.
[Formula 3]
θ(n)=360×(n·Ts/T1) Equation (3)
This state is shown in
Next, with respect to “generation of a repetitive oscillation command”, a method of obtaining command data for one period for a repetitive oscillation command of a waveform of a free shape which cannot be expressed by only a feature amount such as amplitude will be described with reference to
Next, one embodiment of the servo control of the present disclosure will be described with reference to the flowchart of
Next, based on the information received by the servo control device and the control cycle, phase data serving as a reference for the repetitive oscillation command and the compensation data generation is generated (Step S2). The repetitive oscillation command is generated as a command having a repetitive movement as shown in
Next, the repetitive oscillation command is superimposed on the normal movement command. On the basis of a signal from the upper control device, the superposition of the command is started or stopped or finished (Step S3). Here, as described above, the deviation between the superimposed command obtained by superimposing the repetitive oscillation command on the normal movement command and the signal fed back from the motor is obtained, and the motor is driven and controlled based on the signal with the obtained deviation.
Finally, learning control is applied based on the phase data generated in Step S3 (Step S4), and this flow ends. By applying the learning control, it is possible to enhance the followability corresponding to a superimposed command in which a high-frequency repetitive oscillation command is superimposed on a movement command, and to perform more accurate control.
In the servo control device according to the invention of the present disclosure, with a configuration in which the cyclic period of the repetitive oscillation command and the command data for one period are obtained from the upper control device, it is possible to deal with a case in which a waveform of the repetitive oscillation command is waveform having a free shape which cannot be expressed by only a feature amount. Furthermore, it is possible to form a waveform of a superimposed command of a free shape by superimposing a repetitive oscillation command of a free shape which cannot be expressed by only a feature amount on a basic movement command, whereby an advantageous effect is achieved in that it is possible to deal with a case where further improvement of machining accuracy and machining efficiency is required and finer handling is required.
Furthermore, by applying the learning control, it is possible to realize higher followability and higher accuracy control operation.
Embodiments of the present invention have been described above; however, the present invention is not limited to these embodiments, and it is needless to say that the present invention can be implemented in various forms without departing from the gist of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2021-052695 | Mar 2021 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2022/013298 | 3/22/2022 | WO |