The present invention relates to a servo control device, particularly to a servo control device that applies learning control by angle synchronization.
Learning control has been applied to machine tools controlled by a servo control device to generate a high-precision command value for an oscillation motion.
Patent Document 1 describes a control device for a machine tool that performs oscillation cutting, and the control device includes a feed shaft controller for controlling at least one feed shaft by a position command. The feed shaft controller controls the feed shaft based on a composite command obtained by adding a positional deviation and an oscillation command. The control device further includes a learning controller for performing learning control based on an oscillation phase calculated from the oscillation command and the composite command. It is also described that applying the learning control to the oscillation cutting allows accurate control in response to a cyclic operation command instructing a tool or a workpiece to relatively oscillate in a machining feed direction.
Patent Document 2 discloses a servo control device for a machine tool that includes multiple control shafts and performs an oscillation motion based on a command distributed to each shaft of the machine tool and an angle of a main shaft, and describes that the control device performs learning control of calculating an amount of oscillation correction based on an oscillation frequency component extracted from a position deviation. It is also described that this machine tool can achieve high-precision oscillation motion even at a high oscillation frequency.
As described above, it has been known that applying the learning control to the servo control device for the machine tool that performs the oscillation motion allows high precision control. However, the learning control described in both of Patent Documents 1 and 2 is based on angle synchronization, and is achieved on the assumption that the machine tool has a main shaft and phase data can be acquired from the frequency of the main shaft. For example, when a machining device with no main shaft, such as a laser machining device with a Galvano system, performs the oscillation motion, the phase data of the main shaft cannot be obtained. Thus, it has been impossible for such a device to employ the control by the angle synchronization, i.e., the learning control described above cannot be applied to the device.
Development of a control device adopting the learning control has been required for high precision control of the oscillation motion of the machining device with no main shaft. An object of the present disclosure is to provide a control device that can apply learning control by angle synchronization to an oscillation motion of a machining device with no main shaft.
To achieve the object, the present disclosure provides a servo control device for controlling a servomotor. The servo control device includes: a phase data calculator that calculates, when receiving a repetitive oscillation command alone from a host controller, phase data per servo control cycle of the servo control device from data of a cycle or frequency of the repetitive oscillation command and the servo control cycle of the servo control device, or calculates, when receiving a superimposed command generated by superimposing the repetitive oscillation command on a non-repetitive normal move command from the host controller, phase data per servo control cycle of the servo control device from data of a cycle or frequency of the repetitive oscillation command alone in the superimposed command and the servo control cycle of the servo control device; and a learning controller that performs learning control by angle synchronization based on the phase data.
The servo control device of the present disclosure calculates the phase data for each servo control cycle, and performs the learning control based on the phase data. Thus, when the machining involving the oscillation motion is performed by a machining device that has no main shaft and cannot acquire the phase data directly from the frequency of the main shaft, the learning control by the angle synchronization can be applied to the device, allowing high precision control.
Embodiments of the present disclosure will be described in detail below with reference to the drawings.
The servo control device 10 includes a phase data calculator 11, a learning controller 12, a position/speed/current controller 13, a first adder 14, and a second adder 15.
The host controller 20 transmits a command signal to the first adder 14 of the servo control device 10, and data of a cycle or frequency of the command signal is fed to the phase data calculator 11. The phase data calculator 11 calculates phase data per servo control cycle and transmits the phase data to the learning controller 12. The calculation of the phase data will be described in detail later. The first adder 14 calculates a deviation between the command signal transmitted from the host controller 20 and a signal fed back from the motor 40, and transmits the deviation to the learning controller 12 and the second adder 15.
The learning controller 12 performs learning control of the deviation between the command signal from the host controller 20 and the signal fed back from the motor 40 calculated by the first adder 14 based on the phase data calculated by the phase data calculator 11.
The learning control calculates a correction amount from an integral deviation up to one cycle before and corrects an inputted command (deviation) to improve followability to a periodical command. The learning control itself is a common technique. Although control by the angle synchronization is employed in the embodiments of the present disclosure, the learning control could not be applied to machining devices with no main shafts, because the learning control requires position data (phase data) based on the frequency of the main shaft. In the embodiments of the present disclosure, the phase data calculator 11 calculates phase data for each servo control cycle and transmits the phase data to the learning controller 12 so that the learning control by the angle synchronization can also be applied to the machining devices with no main shafts.
The second adder 15 adds the deviation between the command signal from the host controller 20 and the signal fed back from the motor 40 calculated by the first adder 14 to the output from the learning controller 12, and outputs the result to the position/speed/current controller 13. The position/speed/current controller 13 calculates a driving voltage of the motor 40 from a position command, a speed command, and a current command that are inputted, and the motor 40 is driven by the output extended and adjusted by the amplifier 30.
The host controller 20 outputs data of a cycle or frequency of a non-repetitive normal move command 21 and a repetitive oscillation command 22 to the servo control device 10. The data of the cycle or frequency of the non-repetitive normal move command 21 and the repetitive oscillation command 22 may be data of the cycle or frequency of the repetitive oscillation command 22 alone, or data of the cycle or frequency of the repetitive oscillation command 22 alone in a command generated by superimposing the repetitive oscillation command 22 on the non-repetitive normal move command 21.
Subsequently, the normal move command and the repetitive oscillation command will be described with reference to
The normal move command is a non-repetitive command, and includes, for example, a trapezoidal command shown as a typical example in the right part of
Next, a method of calculating the phase data from the repetitive oscillation command will be described with reference to
In the example of
Suppose that a servo control cycle of the servo control device is Ts, time Ts passes every servo control cycle. Thus, the phase θ(t) after the lapse of a single servo control cycle is calculated by substituting Ts for t in the formula (1) to establish the formula (2):
When n servo control cycles (n=1, 2, 3, ...) have passed, the phase θ is represented as the function θ(n) of the cycle n by the formula (3):
The above description has been made on the assumption that the host controller informs the servo control device of the data of the cycle T1 of the repetitive oscillation command. However, the host controller may inform the servo control device of data of a cycle T2 of the oscillation command alone in the command generated by superimposing the repetitive oscillation command on the non-repetitive normal move command. In such a case, likewise, the phase θ(n) when n servo control cycles (n=1, 2, 3, ...) have passed is represented by the formula (4) :
An embodiment of the servo control of the present disclosure will be described below with reference to the flowchart of
Then, phase data, which is a reference for the calculation of correction data, is calculated from the frequency received in Step S11 and a control cycle (Step S12). As described above, the phase data as the reference for the calculation of the correction data is obtained by the formula θ(n) = 360 × (n·Ts/T1), where T1 represents the cycle of the frequency received, Ts represents the servo control cycle, and n represents the number of servo control cycles elapsed (n = 1, 2, 3, ...).
Finally, learning control is applied based on the phase data calculated in Step S12 (Step S13), and the process ends. In the embodiment of the present disclosure, the phase data as the reference for the calculation of the correction data is calculated from the frequency (cycle) of the repetitive oscillation command informed by the host controller and the control cycle. This allows the learning control to be applied even to the machining device that cannot acquire the phase data from the rotation number of the main shaft.
Another embodiment of the servo control of the present disclosure will be described below with reference to the flowchart of
Then, the servo control device receives the frequency of the superimposed command (the frequency of the oscillation command alone in the superimposed command) generated in Step S21 from the host controller (Step S22). The received data is inputted to the phase data calculator of the servo control device.
Then, phase data, which is a reference for the calculation of correction data, is calculated from the frequency received in Step S22 and a control cycle (Step S23). As described above, the phase data as the reference for the calculation of the correction data is obtained by the formula θ(n) = 360 × (n·Ts/T2), where T2 represents the cycle of the frequency of the oscillation command alone in the received superimposed command, Ts represents the servo control cycle, and n represents the number of servo control cycles elapsed (n = 1, 2, 3, ...).
Finally, learning control is applied based on the phase data calculated in Step S23 (Step S24), and the process ends. In the embodiment of the present disclosure, the phase data as the reference for the calculation of the correction data is calculated from the frequency (cycle) of the oscillation command alone in the superimposed command obtained by superimposing the repetitive oscillation command on the normal move command and informed by the host controller. This allows the learning control to be applied even to the machining device that cannot acquire the phase data from the rotation number of the main shaft.
The servo control device of the present disclosure calculates the phase data for each servo control cycle and performs the learning control based on the phase data. Thus, when the machining involving the oscillation motion is performed by the machining device that has no main shaft and cannot acquire the phase data directly from the frequency of the main shaft, the learning control by the angle synchronization can be applied to the device, improving the followability of the device to a periodical command. Consequently, the servo control device of the present disclosure is expected to achieve high precision control of a machine tool with no main shaft.
As for a configuration in which the host controller informs the servo control device of the data of the cycle or frequency of the non-repetitive normal move command and the repetitive oscillation command, the servo control device of the present disclosure can handle the non-repetitive normal move command and the data of the cycle or frequency of the repetitive oscillation command that are informed separately, or the data of the cycle of frequency of the command generated by superimposing the repetitive oscillation command on the normal move command. Thus, it can be said that the servo control device of the present disclosure has increased versatility.
Embodiments have just been described as examples of the present invention. However, the present invention is not limited to those embodiments, but is applicable to other embodiments without deviating from the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2020-172267 | Oct 2020 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/037048 | 10/6/2021 | WO |