You are on page 1of 5

Proceedings of the Second International Conference on Machine Learning and Cybernetics, Wan, 2-5 November 2003

HYBRID CONTROL OF LOAD SIMULATOR FOR UNMANNED AERIAL


VEHICLE BASED ON WAVELET NETWORKS
ZHAO-HUI YUAN, JIAN-DE WU, JIONGHUA TENG

Department of Automatic Control, Northwestem Polytecbnical University, Xi’an 7 10072,China


E-MAIL:Ayuanzhh@nwpu.edu.cn

Abstract: reducing the surplus torque is finite because of the system’s


How to eliminate the surplus torque ofa loading system is non-linearity and variation of parameters. Moreover, other
m e of the key problems to design a load simulator. Based on ways such as the multiplayer forward neural network which
the learning characteristic of neural network and the function decreases the effect of indetermination and disturbance
approximation ability of the wavelet, a hybrid control based through system identification and the controls are restricted
on wavelet networks was proposed. The application results
in the unmanned aerial vehicle load simulator show that the
because of slow speed of study and relations between
proposed controller can effectively eliminate the surplus results of study and list entries of training data.
torque and fairly improve the dynamic loading performances Wavelet networks are one kind of local
ofthe loading simulator. In addition, the results show that the base-function networks. Wavelet networks have the
proposed controller belongs to the fine robustness for non-linearity learning ability because base-function has
unknown exteroal loading disturbances. adjustable distinguishable resolutions. Furthermore,
wavelet base-function is compactly supported and nerve
Key words: cells influence little each other. It leads to wavelet networks
Load simulator: Wavelet networks; Surplus torque; having quick learning speed. Based on the wavelet
Unmanned aerial vehicle; Robustness transform, the localization in time-frequency of wavelet
decomposition and multiresolution function, a hybrid
1. Introduction control based on wavelet networks was proposed. Control
system will be realized through building networks. The
The unmanned aerial vehicle load simulator is an simulation results show that this method is effective and
electric servo loading system, which runs important roles in feasible.
hardware-in-the-loop simulation of aerial vehicle on the
ground. The load simulator is used to produce load similar 2. Description of torque load simulator
to the real airflows. It makes the manipulative system work
similar to the real circumstance. Because the loaded object
moves with the loading system, the surplus torque, which is 2.1 Composition of system
result from the loaded object motion and parameters variety,
leads to the larger system error and less robustness. In load The schematic of load simulator is predigested as
simulator, surplus torque is defined as output error with the a h o m in Fk.1
loaded object motion while the reference input of system
equals zero. In the servo machine of unmanned aerial
vehicle, the load simulator is applied to loading on -
rubber and track the motion of unmanned aerial vehicle “ental feedbaek
simultaneously. The motion is the disturbance of the
loading system. The errors with the disturbance are serious Figure I Block diagram of system
generally without any restraint. So the restraint of surplus
torque is a key problem that must be solved in the load 2.2 Mathematical model
simulator.
In order to decrease the surplus torque, the popular Based on the schematic and the actuator’s equations of
way in recent years is to design a constant compensator the loading system, the corresponding mathematical model
according to the constant sbucture theory, but the effect of of the system can be obtained.

0-7803-7865-2/03/$17.00 02003 IEEE


715
Proceedings of the Second International Conference on Machine Learning and Cybernetics, Xi'an, 2-5 November 2003

N
f ( x )e Ef
Cwj,t~j,h(~),v L2(R)
(,f(~) (2)
j,k=-N

where In this paper, the wavelet is made of higher


O(S)=J,L,S' +(J,R+B,L).s' +(B,R+LG, +K,K,).s+G,R dimensions wavelet functions which are constructed with
N ( s ) = J , L . s 2 + ( J , R + B, L ) ' s + ( B m R+ K , K , ) Lxz
Morlet wavelet p(x) , where ~ ( x =) -xe . The
K , =K,K,
wavelet approximant is expressed as follows
Where T, is torque of load simulator, 8, is angular k

displacement of rubber; G, is stiffness ckfficient of torque ,?(XI . " ' . X I 1= nvcxt, (3)
iil
sensor; B . is viscous friction coefficient; J. is armature The following formula will be obtained from (2).
rotary inertia; R is resistance of armature loop; L is Then a networks based on wavelet functions are
inductance equivalent with armature loop; K , is constructed to approximate functions of L 2 ( R ) .
proportional coefficient, and K, is rotary constant of
f ( x )D i & p [ 2 ] Vf(x) E E(R) (4)
electromotor. iil Si
From (I), it is shown that the disturbance of surplus Smaller s is, that is, the frequency is higher, more
torque is not only relation to the velocity of the rubber's accurate time is. Larger s is, that is, the frequency is
motion, but also the acceleration and the time rate of
smaller, more accurate frequency is. It is difficult to
change of acceleration. Moreover the latter disturbances
enlarge shaqdy with the enlargement of magnitude and approximate the given functions with choosing flexible
frequency of rubber's motion. So, in order to improve the factor si and shift factor ti inadequately.
property of the load simulator, all parts of the disturbance
are compensated simultaneously. If constant structure 3.2 Initialization of wavelet networks Coefficient
theory is used to design constant compensation networks to
decrease the surplus torque, the robustness is miserable The given output maximum of single-variable system
when the adherent stiffness is massive. In the other band, it is deiined as f,,, and the given output minimum of
is difficult to measure the acceleration and the time rate of
change of acceleration directly, and carry into effect system single-variable system is defined as f,, . The first
differential calculation in physics. Consequently, a new divisive value f, is a point between f,, and f , ,
way must be discovered to compensate disturbance. wherer, = f ,, + 5 ( f, - f m i ) . sI is defined as systole
3. Wavelet Networks of interval accordingly, where s,=$ ( f,, - fmi. ) and
the value of 5 is 0.5 commonly. Then the interval
[ fmi, ,f
, ] is divided into two intervals; the second
3.1 Wavelet series and wavelet networks division is carried out with iterative steps and the
parameters are chosen, such as s2 , f2 , s3, f3 etc. And so
Wavelet series is series sum of function ~ ~ , ~ ( x ) ,
on, all wavelet cells are initiated eventually. In this wise,
pjh(x)= 2j'2p(2jx - k ) , j , k E Z , which is used to there are N wavelet cells to be used in variable and N
denote a given function. Function p j S k ( x )comes from R weight coefficients to be leamed, Where, N = Z 0 + 2 I f -
wavelet p(X) bilging and integer +slation. Function + 2m-' and m is frequency of interval division.
Each variable is processed and combined in
p(x) is self-dual if p ( x ) is an orthonormal wavelet, multivariable system. However, it leads to wavelet
and an orthonomal basis of L ~ ( R ) is composed of networks complicatedly because the number of wavelet
{ p j h ( x ) ). So, any function f ( x ) e L 2 ( R ) can be cells increases with variable dimension to the power. A
combined way, which makes the number of wavelet cells
written as a unique linear combination of orthogonal decrease, is as follows.
wavelet series. However, boundless series summation is The variables are considered for two dimensions to
meaningless and unnecessary in actual system. So given depict conveniently. Numerical ranges assumed of system
function is represented approximately by parts of series variables in two components are [ Lmjn, A.,= 1, where
Sum.
i =1, 2. Four combinations of shift factors are derived by

716
Proceedings of the Second International Conference on Machine Leaning and Cybernetics, xi",2-5 November 2003

two times of dividing variables: [ f,,, ,t2,,1, [ rl,2,t2,,] , necessarily to restrain surplus torque better,
[ f , , , . t , , , ] . [ f l , 2 , t 2 , 2The
] . function span is covered with
4.2 Wavelet networks identifier (WNI)
combinations of every dimension by the way that is used to
choose flexible factors and shift factors, and approximation Suppose a non-linear system is given by N A M
effect is guaranteed. form:
J.(x)=fcV(k-l);~~,J.(~-n,),4k-1);.~,4k-n,)), (5)
4. Control system based on wavelet networks
where f(.) is an unknown continuous non-linear
A hybrid control based on wavelet networks is shown function, u(k) and y ( k ) are respectively input and
in Fig.2; where J is instruction signal of system; e is output vectors of system in k hour, and k is a
control error;^ is input signal, and y is output signal discrete-time variable, k =0,1;-. The dynamic property
that is surplus torque. It has shown that the hybrid shown in ( 5 ) can derive from non-linear mapping of
controller is composed of constant compensation, wavelet wavelet networks input and output. The known input and
networks identifier m, and wavelet networks controller measured value of output are regard as leaming samples.
(WNC). The steps of design are as follows: The errors between wavelet network output and expected
Design G,(s) based on (I) to restrain surplus torque; output will change into minimum through training network
Design WNI as reference model to implement parameters. The model of wavelet networks bas been
dynamic identification of plant; created and the dynamic system has been identified when
the learning is complete.
Design WNC to produce non-linear mapping of - h

implementing control and compensate surplus torque


further.
Moreover, in order to improve dynamic propetty of
system and tracking properly, the system is composed of a
closed loop feedback to guarantee stability of system.
Figure 3 The structure of the wavelet network
identifier

--
Let input vector be given by
x = [x,,x,;
- T
..X"]
U
Figure 2 Control system based on wavelet networks = Iv(k - 1);. .y(k-n,),u(k- 1);. .u(k -na)], (6)
(n = ny +nu),
4.1 Constant compensator G,(s) Fig.3 shows the structure of WNI which is obtained
from dividing every component m times, where
/ = ~ n ( z " - ' - I ) + I . The i th wavelet cell input is
Constant compensator is designed according to model
of opening loop system. So, h-ansfer function of
I - -
z, = [ Z ~ , , , Z,... ~ , Fj,"Ir,
~ output is ci
, and corresponding
compensator is derived through deducing equality. While weight value is G, . In this case, output of wavelet
the motion of electric engine is defined as disturbance,
networks is y" . Then relational expressions of WNI are
output of constant compensator is T, if the
K,K, given as follows:
surplus torque of system is desired equaling zero that is [ ~ ( -k l ) - b llK.,j
T, = O . So, the compensation annulus is depicted as

=c,(s).Considering implement in physics, three


ce(s) (7)
K,K,
poles are assigned or exponent of numerator is decreased.
Consequently, surplus torque is compensated partly by
constant compensator. A hybrid controller is designed

.717
Proceedings of the Second International Conference on Machine Learning and Cybernetics, Wan, 2-5 November 2003

corresponding weight value is m i . In this case, output of


wavelet networks is U , Then relational expressions of
WNC similar to WNI are given.
Vector e(k) is defined as errors between system
(9)
output y ( k ) and expected output L ( k ) , where
The error e"(k) between output y"(k) and -
e ( k ) = y"(k)-y(k) , while the system is controlled by
expected output y ( k ) is defined as z ( k ) = y"(k)- y ( k ), WNC. Evaluation function is defmed as follows:
while WNI works with input. Evaluation function is 1 I
J ( k ) = - [ y ( k ) - 7(k)]2 = - e 2 ( k ) (17)
defined as follows: 2 2
- 1 1 The partial derivative algorithm of J ( k ) is given
J ( k ) =,[y(k)-y(k)12 =-2(k)
2
(10)
bv
The partial derivative algorithm of ?(k) is given

According to gradient algorithm, the parameters of


WNI must adjust when every sample is leamed. But, some Likewise, some constraints of parameter $,j is
constraints of parameter $,i is noticed during adjusting noticed' during using gradient algorithm to adjust
parameters for the purpose of guaranteeing the wavelet parameters.
networks property of approximate. The constrains are given
5. Simulation
bY
The plant is the load simulator shown in Fig.]. The
system is an dual-input single-output system. According to
the theory mentioned above, input vectors x" are given by
Where FI and 4are small positive constants. The surplus torque and input signals in k - 1 hour, where
speed of leaming must be changed, if constrains are not x"=[y(k-l),u(k-l)]r, n = 2 and m = 2 , and the
established hy further adjustments, and it is guaranteed that number of wavelet cells is 5. The error a(k) is regarded
the parameters is satisfied with constrains mentioned above,
after adjusting. as adjusting value. While Z ( k ) < & , E is a small
positive constant, and training is stopped. The system is
4.3 Wavelet networks controller (WNC) identified by WNI. In WNC input vectors is given by
x = [e(k),e(k- l),ji(k),b(k)]. According to the definition of
The shctnre of WNC is similar to that shown in Fig.2. surplus torque, system output is surplus torque while
The error e(k) between system output y ( k ) and expected y ( k ) = 0 . So system dimension is 3 actually and numher of
output jJ(k) is defined as e(k) = jJ(k) - y ( k ) . Let input wavelet cells is 7. While e(k) 5 6 , 5 is a small
vector of WNC be given by positive constant, and training is stopped. At present, the
x = [e(k),e(k- l),.' .,e@ - n y ) , y ] r , (16) surplus torque is restrained greatly. When the initial value
There are 2(n, + 2)(2m+' - 1) + 1 wavelet cells in of weight is Zj , Zj =O is during training wavelet
WNC through dividing every component m times.. The networks.
i th wavelet cell input is
2, = t~,.lJ,,Z.. ".~,,z(",+z)(z"-'~l)+l I r , output is g, , and

718
Proceedings of the Second International Conference on Machine Learning and Cybernetics, Wan, 2-5 November 2003

20,
6. Conclusion

It is ordinary that dynamic loading perfmances of


the load simulator are miserable due to the surplus torque.
Based on the learning characteristic of neural network and
02 04 06 08
J
1
the function approximation ability of the wavelet, a hybrid
Tl.C<.) control based on wavelet networks is proposed according to
Figure 4 Surplus torque while the frequency of the characteristics of the unmanned aerial vehicle load
disturbance is lOHz simulator. The way is used successfully in the unmanned
aerial vehicle load simulator, and it is indicated that the
way is a feasible method. Moreover, the wavelet network
learning speed is fast and the proposed controller can
effectively eliminate the surplus torque and fairly improve
the dynamic loading performances of the load simulator. It
is greatly effective to design other load simulators.
-2 '
0 02 04 00 08
I
1 REFERENCES
Tlne(a)
Figure 5 Surplustorque after using wavelet networks Zhang YuLin, Chen Weimin and Yang Jianchun.
control. Wavelet transformation adaptive filter and its
application in active noise control. Control and
Decision, 2002,17(1): 107-110
Wang Qunxian, Li Shaoyuan and Li Junfang. Wavelet
analysis and its applications in control. Control and
Decision, 2000,15(4): 385-394
Wang Zhongyong , Zhang Duanjin and Fang Hao etc.
An approach to self-tuning control based on wavelet
network. Control Theory and Applications,2001,18(2):
ll'EIiOrn. 270-273
Figure 6 Variant curve of training error Delyon B, Juditsky A and Benveniste A. Accuracy
analysis for wavelet approximations[J1. IEEE Trans.
Surplus torque is shown in Fig.4 while dis!mbance on NeumlNetworks. 1995,6(2): 332-348
e = 3.5sin(62.8t)rod/s. It is shown that the magnitude of Zhang Q and Benveniste A. Wavelet networks [J1.
surplus torque is about 15". The surplus torque is very IEEE Trans.on Neural Networks. 1992,3(6): 889-898
greatly, which effects property of system seriously. Using J H Lee, Y Chikkula.Improving computational
a hybrid wavelet networks control, surplus torque is shown efficiency of model predictive control algorithm using
in Fig.5 while- disturbance 8 = 3.5sin(62.8f)rad / s wavelet transformation. Int J Control, 1995, 61(4):
nevertheless and surplus torque is restrained greatly. Fig.6 859-883
depicts the learning error curve. It is obvious that the goal
of networks is achieved when training step is 714th, that is,
surplus torque is restrained completely.

719

You might also like