Professional Documents
Culture Documents
RLS Model IdentificationBased Robust Controlfor Gimbal Axis of Control Moment Gyroscope
RLS Model IdentificationBased Robust Controlfor Gimbal Axis of Control Moment Gyroscope
RLS Model IdentificationBased Robust Controlfor Gimbal Axis of Control Moment Gyroscope
C ONTROL moment gyroscope(CMG) has been the comparison between the measured discharge current and
developed and verified as an indirect torque actuators for the calculated discharge current, the model performance of
attitude control tasks in various systems [1,2]. Compared to RLS is validated. Variable constraint method has been
the maneuver of the general motor-actuated system, its presented [7]. Original RLS cannot have constraints for each
manipulation requires more advanced motion control parameter. However, in the real system, some physical
techniques due to the complexity of the torque generation quantities have constraints. Therefore, their method can be
mechanism such as a single wheel robot. effective when the estimated parameters should be
In the single wheel robot, balancing is controlled by the constrained for the consideration of the real quantities.
torque induced from CMG [2]. Since the induced torque is Similar to the concept, they proposed constrained RLS
indirectly controlled by the magnitude and direction of two method to track the large disturbance conditions [8]. Also,
momentums of a flywheel and a gimbal, ultimate control of RLS is proposed for the low-frequency oscillation estimation
the balancing angle should be sophisticated [3]. One of [9]. For the electrical model of double-star IPM machine,
critical control issues for CMGs is to avoid singularity where RLS is proposed in [10]. Other examples of RLS applications
null motion of zero torque occurs. can be found [11-15].
Therefore, the return to the origin of the gimbal axis of Therefore, in this paper, RLS algorithm is used for the
GMGs is important and should be guaranteed in some gimbal modeling of CMG. RLS is aimed to find the
_____________________________________________ relationship between the torque and the motion of the
*This work was supported by the basic research funds through the flywheel under the current controller. Through the
contract of National Research Foundation of Korea identification process, the inverse dynamic equation can be
(NRF-2014R1A21A11049503 and NRF-2016R1A2B2012031). derived for the angle restriction of the gimbal axis. The
S. D. Lee and S. Jung are with Department of Mechatronics Engineering,
Chungnam National University, Daejeon, Korea 305-764. inverse dynamic equation is used to cancel disturbance.
(e-mail: jungs@cnu.ac.kr).
1 2
Θ(z) a1 a 2 Z a 3Z
1 2
(5)
T(z) 1 a 4Z a5Z
θ ( n ) a 1 τ ( n ) a 2 τ ( n 1) a 3 τ ( n 2 ) a 4 θ ( n 1) a 5 θ ( n 2 )
Fig. 1 Photograph of CMG
(6)
T
In both (1) and Fig. 1, the direction of angular momentum θ[ n ] ψ [ n ] φ[ n ] (7)
can be changed by the motion of gimbal axis. To achieve the ψ[ n ] τ[ n ] τ[ n 1] τ[ n 2 ] θ[ n 1] θ[ n 2 ]
T
(8)
directed torque generation, both the rate and the angle of the
φ[ n ] a 1 [ n ] a 5 [ n ]
T
gimbal axis should be regulated. On the while, the rate control a 2 [n ] a 3[n ] a 4 [n ] (9)
of gimbal axis can be performed through the current control
of the gimbal axis. However, the current controller cannot where (8) is the input vector and (9) is the parameter vector.
confirm the angle returning property. As times goes, the When (9) can be estimated, (7) can be rewritten as follow.
direction of angular momentum can be easily changed under
the current control scheme, and this leads to gimbal angle T
θ[ n ] ψ [ n ] φ̂ [ n ] eˆ [ n ] (10)
drift.
This phenomenon can be easily fixed by adding the
position controller as an outer loop of the current controller. where eˆ [ n ] is the estimation error.
However, such a position control scheme cannot confirm the The resultant parameters by RLS algorithm can be
exact manipulation and agility of the gimbal axis. By the estimated through the updates of gain, covariance, and
effect of the position controller, the rate can be changed and parameters recursively. The gain update equation becomes
the resultant torque cannot be formulated as regulated format.
Therefore, the sophisticated current control scheme for CMG 1
C[ n 1] ψ[ n ]
to prohibit from drifting away is proposed with an RLS λ
G[ n ] (11)
identification based-control method. . 1 T
1 ψ [ n ] C[ n 1] ψ[ n ]
λ
585
Cn[j][1]= 1/f*(Cn-1[0][1])- 1/f* (Gn[j]*P[0]* Cn-1[0][1]+
The covariance and parameter update equations become Gn[j]*P[1]
* Cn-1[1][1]+ Gn[j]*P[2]* Cn-1[2][1] + Gn[j]*P[3]* Cn-1[3][1]
+ Gn[j]*P[4]* Cn-1[4][1]);
C[ n ]
1
C[ n 1] G[ n ] ψ T
[ n ] C[ n 1] (12) Cn[j][2]= 1/f*(Cn-1[0][2])- 1/f* (Gn[j]*P[0]* Cn-1[0][2]+
λ Gn[j]*P[1]
θˆ [ n ] θˆ [ n 1] G[ n ] θ[ n ] ψ [ n ]θˆ [ n 1]
T
(13) * Cn-1[1][2]+ Gn[j]*P[2]* Cn-1[2][2] + Gn[j]*P[3]* Cn-1[3][2]
+ Gn[j]*P[4]* Cn-1[4][2]);
Cn[j][3]= 1/f*(Cn-1[0][3])- 1/f* (Gn[j]*P[0]* Cn-1[0][3]+
where λ is the forgetting factor. Gn[j]*P[1]
RLS algorithm can be implanted in the VC++ Software. * Cn-1[1][3]+ Gn[j]*P[2]* Cn-1[2][3] + Gn[j]*P[3]* Cn-1[3][3]
The overall characteristics of implemented algorithm can be + Gn[j]*P[4]* Cn-1[4][3]);
summarized in Table I Cn[j][4]= 1/f*(Cn-1[0][4])- 1/f* (Gn[j]*P[0]* Cn-1[0][4]+
Gn[j]*P[1]
Table I RLS algorithm realized in VC++ * Cn-1[1][4]+ Gn[j]*P[2]* Cn-1[2][4] + Gn[j]*P[3]* Cn-1[3][4]
+ Gn[j]*P[4]* Cn-1[4][4]);
Step I: Initialization
Step IV: Parameter update
Gain: G[5]={0,0,0,0,0};
Covariance: C[5][5]={{10,0,0,0,0}, Pn[k]= Pn-1[k]+ Gn[k]*( On[0]- (In[0]*Pn-1[0]+ In[1]*Pn-1[1] +
In[2]*Pn-1[2] + In[3]*Pn-1[3] + In[4]*Pn-1[4];
{0,10,0,0,0},
{0,0,10,0,0},
Step V: Output estimation
{0,0,0,10,0},
{0,0,0,0,10}}; EO=Pn[0]In[0]+ Pn[1]In[1]+ Pn[2]In[2]+ Pn[3]In[3]
Estimated parameters: P[5]={0,0,0,0,0}; +Pn[4]In[4];
Forgetting factor: f=0.999;
Input vector: I[5]={0,0,0,0,0}; The realized algorithm is validated through the comparison
Measured output: O =0; between the measured and the estimated output. In Fig. 2 (a),
Estimated output: EO=0; the measured angle and estimated angle are plotted together
Where, sub notation ‘n’ is the current data and ‘n-1’ for comparison. The overall error is gradually minimized as
designates for the previous data shown in Fig. 2 (b). Modeling performance is investigated in
the frequency-domain. Fig. 2 (c) shows the corresponding
Step II: Gain update estimated model with real plant.
(1+ 1/f* (( P[0]* Cn-1 [0][0]+ P[1]* Cn-1 [1][0]+ P[2]* Cn-1
0
angle(rad)
[2][0]
+ P[3]* Cn-1 [3][0]+ P[4]* Cn-1 [4][0])*P[0] -0.1
+( P[0]* Cn-1 [0][1]+ P[1]* Cn-1 [1][1]+ P[2]* Cn-1 [2][1] +
P[3] -0.2
+( P[0]* Cn-1 [0][4]+ P[1]* Cn-1 [1][4]+ P[2]* Cn-1 [2][4] + 0.05
P[3]
* Cn-1 [3][4]+ P[4]* Cn-1 [4][4])*P[4]))); 0
586
0.8
plant estimated current ˆi d ( t ) and the torque gain is amplified. The
model
0.6 resultant torque error becomes
angle(rad)
0.4
e (n ) K ( ie (n ) iˆd (n )) (16)
0.2
0
where τ e ( t ) is the torque error and K is the torque gain.
0 1 2 3 4 5 6 7 8 9 10
Freq(Hz)
(c) Modeling performance
Fig. 2 Model estimation
V. EXPERIMENTAL VERIFICATION
A. Experimental setup
IV. CONTROL SCHEME The proposed control method is verified through the
The control scheme is similar to disturbance observer. By experiment. The experimental setup is shown in Fig. 4. When
use of identified model, the disturbance can be cancelled. The the unexpected torque is applied in the gimbal axis, the angle
RLS algorithm can be directly adopted in the current returning performances are investigated.
controller. The estimated angle is used to derive the inverse
dynamics of the gimbal system. The inverse dynamic
equation can be described as follows.
a 2 τˆ ( n 1) a 3 τˆ ( n 2 ) θ ( n ) a 4 θ ( n 1) a 5 θ ( n 2 )
τˆ ( n ) (14)
a1
B. System identification
Through the RLS algorithm, the inverse dynamic equation
can be obtained. Then the stability of the inverse model can
be checked and guaranteed by means of the parameter
transformation method through the specific algorithm
suggested in [17].
-4
x 10
0
-0.5
unitless
-1
Fig. 3 Proposed control scheme
before
-1.5 after
In Fig. 3, τ d ( t ) is the disturbed torque, control block I.D is
the inverse dynamic block such as (14), P n ( t ) is the estimated -2
0 2 4 6 8 10 12 14 16 18 20 22
times(sec)
parameters of RLS, and O n ( t ) is the measured angle data. (a) a1 and the transformation of a1
-5
x 10
The current input is compared with the feedback current 4
-2
unitless
i e (n ) i d (n ) i f (n ) (15) -4
before
-6 after
-8
where i d ( t ) is desired current and i f ( t ) is the current feedback -10
0 2 4 6 8 10 12 14 16 18 20 22
from gimbal axis. times(sec)
(b) a2 and the transformation of a2
And then, the current error can be compensated with the
587
denominator polynomial of the estimated model are both
-5
x 10
5
-5
before
seconds in Fig. 5.
-10 after
-15
0 2 4 6 8 10 12 14 16 18 20 22 2
times(sec)
(c) a3 and the transformation of a3
0
a0
1.5
1 -2
unitless
0.5 -4 -3 -2 -1 0 1 2 3 4
a1
before
0 after (a) Stability check for the numerator of the transformed model
-0.5
0 2 4 6 8 10 12 14 16 18 20 22 2
times(sec)
(d) a4 and the transformation of a4
0
a0
0.4
0.2
-2
0
unitless
-0.2 -4 -3 -2 -1 0 1 2 3 4
a1
-0.4 (b) Stability check for the denominator of the transformed model
Fig. 7 Stability of the transformed model
-0.6
0 2 4 6 8 10 12 14 16 18 20 22
times(sec)
(e) a5 and the transformation of a5
Fig. 5 Estimated and transformed parameters C. Angle returning under disturbance
To confirm the performance by the proposed control
scheme, disturbance rejection is tested as shown in Fig. 8.
Two intentional interrupts are applied to the CMG while
2 CMG is controlled. Two interrupts are applied in the opposite
direction to each other to see the returning performance.
0 When two interrupts are applied, the resulting angle return
a0
-4 -3 -2 0 -1 1 2 3 4
a1
(a) Stability check for the numerator of the estimated model
0
a0
-2
-4 -3 -2 -1 0 1 2 3 4
a1
(b) Stability check for the denominator of the estimated model
Fig. 6 Stability of the estimated model
588
[7] V. H. Naschimento and Y. V. Zakharov, “RLS adaptive filter with
0.4
inequality constraints”, IEEE Signal Processing Letters, vol. 23, no. 5,
pp. 752-756, 2016.
0.2 [8] D. Rai, R. Gokaraju, and S. O. Faried, “Adaptive control using
Interrupt 1 Returned motion 1
constrained RLS and dynamic pole-shift technique for TCSCs”, IEEE
0 Transactions on Power Delivery, vol. 29, no. 1, pp. 224-234, 2014.
anlge(rad)
REFERENCES
[1] R. H. Bishop, S. J. Paynter, and J. W. Sunkel, “Adaptive control of
space station with control moment gyros”, IEEE Control Systems, pp.
23–28, 1992.
[2] J. H. Park and S. Jung, “Development and control of a single-wheel
robot: practical mechatronics approach”, Mechatronics, vol. 23, pp.
594-606, 2013.
[3] S. D. Lee and S. Jung, “Experimental Studies on Q filter Design of a
Disturbance Observer for a One-wheel Robot”, IEEE Conference on
AIM, pp. 751-756, 2016.
[4] Jr. Cannon, H. Robert, and E. Schmitz, “Initial experiments on the
end-point control of a flexible one-link robot”, The International
Journal of Robotics Research, vol. 3, no. 3, pp. 62-75, 1984.
[5] L. Ljung, “System identification”, John Wieley & Sons, Inc., 1999.
[6] D. Raouti, S. Flazi, and D. Benyoucef, “Modeling and identification of
electrical parameters of positive dc point-to-plane corona discharge in
dry air using RLS method”, IEEE Transactions on Plasma Science, vol.
44, no. 7, pp. 1144-1149, 2016.
589