The present invention claims priority under 35 U.S.C. §119 to Japanese Application No. 2015-056945, filed on Mar. 19, 2015, the entire content of which is incorporated herein by reference.
Field of the Invention
The present invention relates to a servo control device for controlling a shaft of an arm or the like of a machine tool or a robot, and in particular to tandem control for controlling one control target, using two motors.
Description of the Related Art
In a drive mechanism of a machine tool, a robot, or the like, when a control target, or a moving unit, is so large that a torque (a thrust force in the case of a linear motion type) of a single motor for driving a shaft of the moving unit is insufficient, tandem control may be executed by giving a command to two motors to drive a single control target, using two motors. In the tandem control state, respective motors (a rotation type or a linear type) drive one control target in a rotation direction or a linear motion direction via a gear or a coupling element.
An equation of motion in the case of driving the target plant shown in
[Expression 1]
I1{dot over (v)}1+Σr=τdis (1)
I2{dot over (v)}2−τr=τ2+τdis (2)
wherein the respective velocities of the drive shaft 1 and the drive shaft 2 are denoted as v1, v2, and a deflection torque τr is expressed as an expression (3).
[Expression 2]
τr=K(x1−x2) (3)
Initially, the first shaft position control unit 100a will be described. According to the conventional art, a feedforward structure is employed in order to achieve high speed response to a command. Specifically, an acceleration/deceleration processing unit 50a executes acceleration/deceleration processing for appropriate acceleration or derivative of acceleration with respect to a position command value X to output a position command value Xc subjected to such acceleration/deceleration processing. The position command value Xc is subjected to time differentiation in a differentiator Ma thereby giving a velocity feedforward amount VF, and further subjected to time differentiation in the differentiator 55a thereby giving an acceleration amount command value AF. An amplification rate ATF1 of an amplifier ATF1 is a constant for obtaining an acceleration/deceleration torque feedforward amount τF1 corresponding to a motor torque that accelerates the target plant 200 shown in
The feedback structure is formed as described below. That is, using the position x1 of the drive shaft 1, detected by a position detector (not shown), as a position feedback, a subtractor unit 51a subtracts from the position command value Xc to output a position error, which is amplified by a position error amplifier Kp1. An output from the position error amplifier Kp1 is added to the velocity feedforward amount VF in an adder unit 52a thereby giving a velocity command value V1.
The subtractor unit 53a subtracts a velocity v1 obtained by differentiating the position x1 in a differentiator 56a from the velocity command value V1 to output a velocity error, which is then generally subjected to proportional integral amplification in a velocity error amplifier Gv1. An output from the velocity error amplifier Gv1 is added to the acceleration/deceleration torque feedforward amount τF1 in an adder unit 57a to be outputted from the first shaft position control unit 100a.
The second shaft position control unit 100b will not be described here as the inside structure and structural elements thereof are the same as those of the first shaft position control unit 100a. Note that in the tandem control state, the first shaft position control unit 100a and the second shaft position control unit 100b are given a common position command value X from an upper-level device (not shown), and the position command value Xc subjected to acceleration/deceleration processing needs to be common, which means that operations of the acceleration/deceleration processing unit 50a and of the acceleration/deceleration processing unit 50b are the same.
The subtractor unit 58 subtracts the velocity v2 of the drive shaft 2 from the velocity v1 of the drive shaft 1 to output a velocity difference (hereinafter referred to as a deflection velocity). The deflection velocity is amplified by Gd times by an amplifier Gd thereby giving a torque feedback τb. The torque feedback τp is then subtracted from the torque command value, or an output from the first shaft position control unit 100a, in the subtractor unit 59 thereby giving a torque command value τ1 relative to the drive shaft 1 of the position control device 300. In addition, the torque feedback τp is added to the torque command value, or an output from the second shaft position control unit 100b, in an adder unit 60 thereby giving a torque command value τ2 relative to the drive shaft 2 of the position control device 300.
With this structure, the torque command value is corrected so as to reduce generation of deflection. In this case, the torque feedback τp has an effect of reducing vibration due to torque interference between the drive shaft 1 and the drive shaft 2. While I1=0.3 [kg·m2], I2=0.1 [kg·m2], and K=50·103 [Nm/rad] are selected as a target plant condition, preferable control condition (Kp*, Gv*, ATF*: *=1 or 2) is set for this target plant, and a disturbance torque τdis shown in
The upper graph in
It is known from
Note here that by including deflection velocity detection between control shafts and torque feedback control by the amplifier Gd (hereinafter additionally using the term of torque compensation control) in the equations of motion, namely, the expressions (1), (2), and (3), transmission characteristic of the deflection torque τr relative to the disturbance torque τdis is expressed as an expression (4).
As this characteristic is of a secondary lag system, vibration characteristic can be expressed as an expression (5), using an attenuation coefficient ζ.
That is, in order to achieve both an appropriate damping characteristic and a response characteristic, it is necessary to select the amplification rate Gd so as to achieve the attenuation coefficient ζ=0.5 to 0.8, depending on the target plant condition.
The conventional position control device shown in
Further, in the case where the condition of a target plant in the tandem control state is constant or varies only slightly, such as is in tandem driving of a feed shaft of a machine tool, it is possible to select an amplification rate Gd in advance while checking vibration characteristic. However, in a case where a workpiece is held on both end portions thereof by two respective main shafts positioned on the opposite sides relative to each other and subjected to turning processing, the workpiece is shifted from being in an independent control state to the tandem control state in which torque interference is caused between shafts, shown in
In such an operation, the target plant condition (inertial moments I1, I2 of the respective shafts and the rigidity K in the tandem control state) varies significantly depending on the material or shape of the workpiece. Therefore, even though the amplification rate Gd is selected in advance, the attenuation coefficient ζ resultantly deviates significantly from an appropriate value once the workpiece is changed to another, and accordingly it is not possible to achieve tandem control with preferable damping characteristic and response characteristic.
In view of the above, the present invention aims to provide a position control device appropriate for tandem driving and capable of promptly achieving torque compensation control with preferable attenuation characteristic even in a position control device including independently formed first and second shaft position control units and incapable of torque compensation control using a deflection velocity between control shafts or in an operation in which the independent control state and the tandem control state are repetitively switched and the target plant condition thus varies significantly.
In the tandem control state, generally, a deflection torque it is calculated through estimation. In particular, at the time of shifting to the tandem control state, the rigidity K is calculated based on the velocity of the other shaft, transferred from an upper-level device (not shown), the velocity of its own shaft and the deflection torque estimated at the same time as estimation of the velocity of the other shaft, to set a compensator gain for a deflection vibration reduction torque compensator that gives an appropriate attenuation coefficient ζ to tandem control response.
With the above, a torque command value including a deflection vibration reduction torque compensation amount added is obtained, and accordingly, it is possible to achieve tandem control with preferable damping characteristic and response characteristic with an appropriate attenuation coefficient ζ, depending on a target plant condition that varies significantly.
According to a position control device according to the present invention, it is possible to promptly achieve tandem control capable of torque compensation control with preferable attenuation characteristic at the time of shifting to the tandem control state even in a structure including independently formed first and second shaft position control units and incapable of torque compensation control using a deflection velocity between control shafts, or in the case where the independent control state and the tandem control state are repetitively switched and the target plant condition thus varies significantly.
In the following, an embodiment of the present invention will be described referring to an example (hereinafter referred to as an embodiment).
Below, a first shaft position control unit 5a will be described. A second shaft position control unit 5b will not be described as the inside structure and structural elements thereof are the same as those of the first shaft position control unit 5a. Each of the shaft position control units 5a, 5b roughly includes a calculation unit for calculating a torque command value before compensation (an output value from the adder unit 57a, 57b), a deflection vibration reduction torque compensator 2a, 2b, and a compensator gain calculation unit 3a, 3b. Physically, the shaft position control unit 5a, 5b includes a CPU for various operations and a memory for storing various control parameters and a detected value. The deflection vibration reduction torque compensator 2a applies a damping characteristic to a target plant to reduce vibration. In the position control device according to the present invention, as real time detection of a deflection velocity is not possible, a deflection torque τr is estimated, and a deflection vibration reduction torque compensation amount τb1 is calculated based on the deflection torque τr estimated.
wherein J refers to an inertia moment identified using a publicly known technique with respect to each of the drive shafts 1 and 2 in the independent control state. Specifically, the inertial moment I1 of the drive shaft 1 is applied in the deflection torque estimation unit 6a, and the inertial moment I2 of the drive shaft 2 is applied in the deflection torque estimation unit 6b.
Further, as it is possible to express the contents of the curly brackets of the expression (6) by an expression (7), based on the block diagram of a target plant in the tandem control state shown in
Thereafter, using the high-pass filter 10# (cut-off frequency ωh) and the low pass filter 11# (cut-off frequency ωc) in the deflection torque estimation unit 6#, the disturbance torque τdis is removed from ^d*, estimated based on the expression (8). Accordingly, an output of the deflection torque estimation unit 6# is expressed by an expression (9), giving an estimate ^τr of the deflection torque τr.
[Expression 8]
{circumflex over (τ)}r(s)≈(−1)*τr(s) (9)
Further, the deflection vibration reduction torque compensator 2# applies time differentiation to the deflection torque estimate ^τr in the differentiator 12#, and amplifies by deflection vibration reduction compensation gain CVS* times in the differentiator 13#, Cvx* being expressed as an expression (10).
In the compensator gain calculation unit 3a to be described below, a rigidity estimate ^K and an amplification rate Dp of the expression (10) are determined, and the deflection vibration reduction compensation gain CVS* is calculated to be set to the deflection vibration reduction torque compensator 2#.
When the switch 14# is turned on, an output from the amplifier 13# constitutes a deflection vibration reduction torque compensation amount τb*, or an output from the deflection vibration reduction torque compensator 2#. Processing of calculating a deflection vibration reduction torque compensation amount τb* from the deflection torque estimate ^τr is expressed as an expression (11). To express in the block diagram of a target plant in the tandem control state shown in
The deflection vibration reduction torque compensation amount τb1 is added to an output (a torque command value before compensation) of the adder unit 57a by an adder unit 4a shown in
In the following, an operation of the compensator gain calculation unit 3a shown in
The compensator gain calculation unit 3a repetitively executes serial processing shown in the flowchart in
Initially, the tandem control command flag Ftdmc is checked at S10. With the tandem control command flag Ftdmc in an on state, a tandem control steady state flag Ftdm is checked at S11. That is, the tandem control steady state flag Ftdm in an on state indicates completion of compensator gain calculation, and the processing is simply ended. Meanwhile, the tandem control steady state flag Ftdm in an off state indicates being in the compensator gain calculation cycle. In this case, a compensator gain calculation flag Fcal is checked at S12. As the compensator gain calculation flag Fcal in an off state indicates the initial cycle of compensator gain calculation, tandem control initializing processing is executed at S13.
In the tandem control initializing processing, the deflection vibration reduction compensation gain CVS1=0 and a switch signal SW1 in an on state are outputted to the deflection vibration reduction torque compensator 2a to thereby validate the tandem control structure. Further, after turning on the compensator gain calculation flag Fcal, and after the present cycle, compensator gain calculation is executed. At S14, the calculation cycle k is set to 1 before proceeding to S15. Meanwhile, when the compensator gain calculation flag Fcal is in an on state at S12, the compensator gain calculation cycle is ongoing. Thus, the processing proceeds to S15. Note that the calculation cycle end number cycend is a parameter set in advance. Processing at S16 and thereafter is executed until the calculation cycle k reaches the calculation cycle end number cycend.
At S16, a rigidity estimate ^K is calculated. Specifically, for every period Ts, the velocity v1(k) of the drive shaft 1 and the deflection torque estimate ^τr(k) outputted from the deflection vibration reduction torque compensator 2a are buffered in the memory. The velocity v2(k) of the drive shaft 2 having the detection delay time Td and transferred from an upper-level device is also buffered in the memory. The velocity v2(k) of the drive shaft 2 and the velocity v1(k) and the deflection torque estimates ^τr(k) and ^τr(k−1) at the same detection timing are selected from the buffer, and calculation of an expression (12) or (13) is executed.
The numerator on the right side of the expression (12) is an approximation of a differential value of the deflection torque τr, and the rigidity estimate ^KO(k) obtained by dividing the numerator by the deflection velocity gives a calculated estimate of the rigidity K, shown in
An expression (14) expresses filtering processing for removing a velocity detection error or an error component due to subtle discrepancy in the detection timing included in the calculation of the rigidity estimate ^KO(k).
[Expression 12]
{circumflex over (K)}(k)={circumflex over (K)}(k−1)+CF{{circumflex over (K)}O(k)−{circumflex over (K)}(k−1)} (14)
In the expression (14), a rigidity estimate after filtering is expressed as ^K(k), wherein CF is a filter constant set in advance in the range of 0<=CF<=1. The above described is an operation for calculating a rigidity estimate ^K at S16. At S17, the calculation cycle k is counted up.
Below, one example of an operation for estimation calculation of a rigidity estimate ^K will be described, referring to a simulation waveform shown in
Returning to the flowchart in
Note here that as the amplification rate Dp corresponds to the amplification rate Gd in the conventional position control device shown in
Note here that the inertia moment I1 and the inertia moment I2 are identified as to the respective shafts 1 and 2 in the independent control state, and set to the respective shafts in advance via an upper-level device. Note that an appropriate value for the attenuation coefficient ζ is set in advance.
After completion of calculation and setting of the deflection vibration reduction compensation gain CVS* at S18, the tandem control steady state flag Ftdm is turned on at S19. The compensator gain calculation unit 3a does not operate in the subsequent cycle with the tandem control command flag Ftdmc in an on state. When the tandem control state thereafter shifts to the independent control state (Ftdmc on→off), processing at the time of independent control at S20 is thereafter executed.
In the processing at the time of independent control, a switch signal SW1 in an off state is outputted to the deflection vibration reduction torque compensator 2a to thereby invalidate the tandem control structure. Further, in order to prepare for subsequent shift to the tandem control state, the compensator gain calculation flag Fcal and the tandem control steady state flag Ftdm are set off.
In the tandem control steady state after completion of calculation and setting of the deflection vibration reduction compensation gain CVS*, the compensator gain calculation unit 3# applies a disturbance torque τdis in a stepwise manner to simulate a disturbance response for every period TS=0.1 [ms]. The result of simulation is shown in
With the above, it is possible to achieve performance in the damping characteristic and response characteristic at the position error level, equivalent to that of a conventional structure that directly detects a deflection velocity. Further, as utilization of a deflection torque estimate ^τr enables calculation for identifying a rigidity estimate ^K, which is not possible for a conventional structure, it is possible to promptly achieve tandem control capable of torque compensation control with an appropriate attenuation coefficient ζ at the time of shifting to the tandem control state even when the independent control state and the tandem control state are repetitively switched and the target plant condition thus significantly varies.
Number | Date | Country | Kind |
---|---|---|---|
2015-056945 | Mar 2015 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5646495 | Toyozawa | Jul 1997 | A |
6184644 | Eguchi | Feb 2001 | B1 |
20010028228 | Toyozawa et al. | Oct 2001 | A1 |
20030111973 | Iwashita | Jun 2003 | A1 |
20070007926 | Iwashita | Jan 2007 | A1 |
20080169778 | Eguchi | Jul 2008 | A1 |
20080218116 | Maeda | Sep 2008 | A1 |
20080297094 | Ooga | Dec 2008 | A1 |
20150378347 | Sato | Dec 2015 | A1 |
Number | Date | Country |
---|---|---|
2001-273037 | Oct 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20160274563 A1 | Sep 2016 | US |