The present invention relates to a control method of a servo control apparatus for receiving target commands from a host controller every certain period and causing an output of a controlled object to follow the target commands, and particularly to a control method capable of speedily responding to the target commands.
It is found that predictive and preview control using the next target command value is effective as a servo control method for causing an output of a controlled object to follow a target command and, for example, in JP-A-Hei7-28508, preview control is performed using the next target command incremental value, the past control input incremental value, an incremental output value of a controlled object, a deviation of the controlled object and predetermined preview control parameters.
However, in the case of performing predictive and preview control by receiving a target command value at the present time from a host controller every certain period, a motion is performed by considering that the target command value at the present time is a target command value of the next M steps, so that there was a problem that the motion delays by M samplings as shown in
Therefore, a technique for solving the problem is developed and is disclosed in JP-A-Hei8-123537. According to that, it is characterized by using a command generator for generating target command values to the next M steps since the present time at sampling time of starting movement and generating only a target command value of the next M steps since the present time after the next sampling time, and as a result of this, the target command values to the next M steps since the present time can be used and M samplings of delay is solved as shown in
However, in the control method disclosed in JP-A-8-123537, the command generator outputs the target command value of the next M steps with respect to the actual time, so that it is required that a motion be known. Accordingly, there was a problem of lack of flexibility with respect to a change in a command.
Therefore, an object of the invention is to be constructed so as to be able to follow without M samplings of delay and flexibly cope with a change in a command of a host controller even in a configuration of receiving a target command value at the present time from the host controller every certain period.
A control method of a servo control apparatus of the invention is characterized in that in a servo control apparatus for causing an output of a controlled object to follow target commands received from a host controller every certain period, predictive target commands to the next M steps are generated every each period using a history of the target commands and command follow-up control is performed by predictive and preview control or feedback gain switching control using the predictive target commands.
Further, the invention is characterized in that in the case of generating predictive target commands to the next M steps, on the basis of a condition that derivative values of the target commands are constant to the next M steps, predictive target command derivative values are obtained and the predictive target command derivative values are summed to generate the predictive target commands to the next M steps.
Further, the invention is characterized in that in the case of generating predictive target commands to the next M steps, on the basis of a condition that second-order derivative values of the target commands are constant to the next M steps, predictive target command second-order derivative values are obtained and the predictive target command second-order derivative values are summed to calculate predictive target command derivative values and when the predictive target command derivative value exceeds a predetermined upper limit value, the predictive target command derivative value is changed to the upper limit value and when the predictive target command derivative value falls below a predetermined lower limit value, the predictive target command derivative value is changed to the lower limit value and when a sign of the predictive target command derivative value differs from a difference value of the target commands, the predictive target command derivative value is changed to zero and the predictive target command derivative values are summed to generate the predictive target commands.
First, a servo control system for carrying out a method of the invention will be described using a block diagram of
In such a configuration, when target commands are captured by the sampler 21 at certain periods, the target commands are buffered in the buffer 22. The target commands buffered are sequentially captured in the predictive target command generating calculation part 23 to calculate and output a predictive target command according to the method of the invention. When the predictive target command calculated is captured in the command follow-up control part 24, comparison with an output of the controlled object 3 is made and follow-up control is performed and a manipulated variable is outputted to the controlled object 3 to perform driving. Next, the method of the invention will be described in order along a processing procedure of a flowchart of
(S13) Using the predictive target commands, the predictive target command generating calculation part 23 performs predictive and preview control to perform follow-up control. Instead of the predictive and preview control, follow-up control may be performed by deciding a state (in acceleration, deceleration, stop, etc.) of the next target command by the generated predictive target commands and performing feedback gain switching control for switching a feedback gain. Thereafter, the flowchart returns to (S11) and the procedure is repeated.
Incidentally, in the case of receiving a difference value of the target command from the host controller during the procedure described above, difference values of values received are set to v and the summation is set to r.
Next, a predictive target command calculated by the processing procedure mentioned above will be described.
Next, a predictive target command calculated by the processing procedure mentioned above will be described.
According to the invention, predictive target commands to the next M steps are generated by a history of target command values, so that even in the case of sequentially receiving the present command from a host controller every certain period, predictive and preview control or feedback gain switching control using the next target command values can be performed without delay with respect to the target command values of the host controller.
Further, products of sampling times and derivative values of target commands are summed to calculate predictive target command values to the next M steps, so that the predictive target command values can be obtained by a small amount of calculation and further, predictive and preview control or gain switching control using the predictive target command values can be performed.
Further, products of sampling times and second-order derivative values of target commands are summed to obtain derivative values of predictive target commands and products of sampling times and the derivative values of the predictive target commands are summed to obtain predictive target command values to the next M steps, so that target commands of constant acceleration and deceleration can be predicted accurately and further, there is an effect capable of performing predictive and preview control or gain switching control using the predictive target command values. Here, when derivatives of target command values move in a trapezoid by a condition that signs of derivative values of the predictive target command values remain unchanged and a condition that derivative values of the predictive target command values have upper limit and lower limit values, the predictive target command values for accurately predicting the time of a constant speed change and the time of a stop can be obtained.
Number | Date | Country | Kind |
---|---|---|---|
2001-311790 | Oct 2001 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP02/06025 | 6/17/2002 | WO |