1. Field of the Invention
The present invention relates to a motor control apparatus.
2. Discussion of the Background
As related art, for example, Japanese Unexamined Patent Application Publication No. 1-138662 discloses a control apparatus in which a low-pass filter is incorporated in a repetitive compensator in order to increase the stability of a control system, thus cutting high frequency components that cause a large phase delay in a delay and ensuring the stability of the control system.
According to one aspect of the present invention, a motor control apparatus includes a sub-controller configured to receive a first deviation, serving as the difference between a target command and a first control output from a control target, calculate a sub-compensation amount, and output the sub-compensation amount, a main controller configured to perform proportional control on the sum of the first deviation and the sub-compensation amount to obtain a first control command, perform proportional-integral control on a second deviation, serving as the difference between the first control command and a second control output from the control target, to obtain a second control command, and output the second control command to the control target, and a two-degree-of-freedom repetitive compensator including a positive feedback loop based on a total delay sampling number obtained by the sub-controller such that the cycle of the target command is divided by the control cycle of the sub-controller.
A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
Embodiments will now be described with reference to the accompanying drawings, wherein like reference numerals designate corresponding or identical elements throughout the various drawings.
The motor control apparatus operates so as to receive a target command (position command Xr) from a higher-level apparatus (not illustrated), receive control outputs (a motor position XM and a motor velocity VM) from a motor, serving as a control target (represented as a machine model 8), and a load in a feedback manner, and drive the control target.
The motor control apparatus includes a sub-controller 5 which receives a position deviation ex, serving as the deviation between the position command Xr and the motor position XM, and outputs an amount of sub-compensation (hereinafter, referred to as the “sub-compensation amount”) v2, and a mechanism (main controller) which performs position proportional control on the sum of the position deviation ex and the sub-compensation amount v2 to obtain a velocity command Vr and performs velocity proportional-integral control on a velocity deviation, serving as the deviation between the velocity command Vr and the motor velocity VM, to obtain a torque command Tr and drives the control target on the basis of the torque command Tr.
The main controller includes a position proportional (P) controller (hereinafter, referred to as the “P controller”) 6 performing position proportional control and a velocity proportional-integral (PI) controller (hereinafter, referred to as the “PI controller”) 7 performing velocity proportional-integral control.
The sub-controller 5 includes a two-degree-of-freedom repetitive compensator 1 and a shaping filter 4. The two-degree-of-freedom repetitive compensator 1 includes a positive feedback loop including a forward delay 2 in a forward route of the loop and a feedback delay 3 in a feedback route thereof, receives the position deviation ex, and outputs an amount of repetitive compensation (hereinafter, “repetitive compensation amount”) w2.
The two-degree-of-freedom repetitive compensator 1 functions as the positive feedback loop including the forward delay 2 in the forward route of the loop and the feedback delay 3 in the feedback route thereof.
The shaping filter 4 is placed at an output stage of the two-degree-of-freedom repetitive compensator 1.
The motor control apparatus includes the sub-controller 5 and the main controller C(z), indicated at 9. The sub-controller 5 receives a deviation e, serving as the deviation between a target command r and a control output y, and outputs the sub-compensation amount v2. The main controller C(z) 9 receives the sum of the deviation e and the sub-compensation amount v2 and outputs a control command u. The motor control apparatus drives a control target P(z) 10.
The components designated by the same reference numerals as those in
The main controller C(z) 9 corresponds to the P controller 6 and the PI controller 7 in
The operation principle of the sub-controller 5 in the motor control apparatus according to the present embodiment will be described below.
First, the main controller C(z) 9 is determined so that a control system has a stabile constant command response characteristic. A complementary sensitivity function T(z) in this case is given by Equation (1) including the main controller C(z) 9 and the control target P(z) 10.
Subsequently, a parameter in the two-degree-of-freedom repetitive compensator 1 is determined.
When let TR be the cycle of the target command r and let Ts denote the control cycle of the two-degree-of-freedom repetitive compensator 1, the total delay sampling number N of the two-degree-of-freedom repetitive compensator 1 is expressed by Equation (2).
N=TR/Ts (2)
When let the delay sampling number of the feedback delay 3 be m, m may be a natural number equal to or greater than the relative order, serving as the difference between the orders of the numerator and the denominator, (hereinafter, referred to as the “relative order of the numerator and denominator”) of the complementary sensitivity function T(z). The delay sampling number of the forward delay 2 is expressed as (N−m).
A pulse transfer function Q2(z) from the deviation e between the target command r and the control output y to the repetitive compensation amount w2, serving as an output of the two-degree-of-freedom repetitive compensator 1, is given by Equation (3).
When z=ejωTs is substituted into Equation (3) and the absolute values of both sides are obtained, Equation (4) is given.
Assuming that ω=nω0 (n=0, 1, 2, . . . ) and ω0=2π/TR, when ω, ω0, and the total delay sampling number N of the two-degree-of-freedom repetitive compensator 1 expressed by Equation (2) are substituted into Equation (4), Equation (5) is given.
Equation (5) means that the two-degree-of-freedom repetitive compensator 1 functions as an internal model of the target command r having the cycle TR.
Finally, the shaping filter H(z)4 is designed so that the whole of the control system is stabilized.
A pulse transfer function G2(z) from the repetitive compensation amount w2, serving as an output of the forward delay 2, to an input d2 of the forward delay 2 is given by Equation (6) from the relationship with the complementary sensitivity function T(z) expressed by Equation (1).
On the basis of the small-gain theorem, a condition for stability of the control system is obtained when the vector locus of G2(ejωTs) in Equation (6) lies within a unit circle in a Nyquist diagram. In this case, a stability condition expressed by Equation (7) is satisfied.
|G2(ejωT
It is assumed that Equation (8) is satisfied in order to meet the stability condition expressed by Equation (7). Note that ai and bi (i=1, 2, . . . , m) are complex constants each having an absolute value equal to or less than 1.
When bi=ai, the right side of Equation (8) indicates a kind of low-pass filter. The smaller the absolute value of ai, the higher the cut frequency of the filter.
Equation (9) is satisfied on the basis of Equations (8) and (7). Equation (9) means that ai and bi (i=1, 2, . . . , m) satisfying the stability condition expressed by Equation (7) absolutely exist in the vicinity of the origin of the Nyquist diagram.
When the main controller C(z) 9 is determined, the shaping filter H(z)4 is expressed by Equation (10) on the basis of Equation (8) because the complementary sensitivity function T(z) is expressed by Equation (1).
As described above, the delay sampling number m of the feedback delay 3 is a natural number equal to or greater than the relative order of the numerator and denominator of the complementary sensitivity function T(z). Since the shaping filter H(z) 4 is proper on the basis of Equation (10), therefore, the motor control apparatus can be mounted.
A concrete mounted example of the motor control apparatus according to the present embodiment will now be described.
For example, it is assumed in
In Equation (11), since the relative order of the numerator and denominator of the complementary sensitivity function T(z) is 1, the delay sampling number m of the feedback delay 3 is set to 2.
When the cycle TR of the position command Xr is, for example, 6 s, the total delay sampling number N of the two-degree-of-freedom repetitive compensator 1 is 3000 on the basis of Equation (2).
When the complex constants ai and bi (i=1, 2) are set such that a1=b1=0.3679 and a2=b2=−0.3679 in order to meet the stability condition expressed by Equation (7), a pulse transfer function G2(z) from the output w2 of the forward delay 2 to the input d2 of the forward delay 2 is expressed by Equation (12) on the basis of Equations (6) and (8).
It is clear from
In the motor control apparatus according to the present embodiment, the total delay time NTS of one cycle through the loop of the two-degree-of-freedom repetitive compensator is set to be equal to the cycle of a periodic disturbance, so that the two-degree-of-freedom repetitive compensator functions as an internal model of the disturbance. This effectively suppresses adverse effects of the disturbance and also stably suppresses the periodic disturbance effectively.
As described above, the motor control apparatus according to the present embodiment can allow the closed loop of the control system to have an inner model of a periodic signal and ensure the stability of the control system.
Furthermore, the motor control apparatus according to the present embodiment can provide effective following capability for a periodic target command or effective suppressing capability for a period disturbance.
Obviously, numerous modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.
Number | Date | Country | Kind |
---|---|---|---|
2009-072655 | Mar 2009 | JP | national |
The present application is a continuation application of PCT/JP2010/054658, filed Mar. 18, 2010, which claims priority to Japanese Patent Application No. 2009-072655, filed Mar. 24, 2009. The contents of these applications are incorporated herein by reference in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
20040054440 | Zhang et al. | Mar 2004 | A1 |
20060015217 | Hagihara et al. | Jan 2006 | A1 |
20080036413 | Ohta et al. | Feb 2008 | A1 |
20080111514 | Ohta et al. | May 2008 | A1 |
20090143871 | Gao et al. | Jun 2009 | A1 |
Number | Date | Country |
---|---|---|
01-138662 | May 1989 | JP |
01138662 | May 1989 | JP |
04-021101 | Jan 1992 | JP |
04021101 | Jan 1992 | JP |
2002-237064 | Aug 2002 | JP |
2002237064 | Aug 2002 | JP |
2003-068035 | Mar 2003 | JP |
2003068035 | Mar 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20120007541 A1 | Jan 2012 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2010/054658 | Mar 2010 | US |
Child | 13243007 | US |