• No results found

Design and Application of Discrete Sliding Mode Control with RBF Network-based Switching Law

N/A
N/A
Protected

Academic year: 2021

Share "Design and Application of Discrete Sliding Mode Control with RBF Network-based Switching Law"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Chinese

Journal of

Aeronautics

Chinese Journal of Aeronautics 22(2009) 279-284 www.elsevier.com/locate/cja

Design and Application of Discrete Sliding Mode Control with RBF

Network-based Switching Law

Niu Jianjun

a,b,

*, Fu Yongling

a

, Qi Xiaoye

a

aSchool of Automation Science and Electrical Engineering, Beijing University of Aeronautics and Astronautics, Beijing 100191, China bInternational Petroleum Exploration and Production Corporation, SINOPEC, Beijing 100083, China

Received 10 June 2008; accepted 14 November 2008

Abstract

This article proposes a novel approach combining exponential-reaching-law-based equivalent control law with radial basis function (RBF) network-based switching law to strengthen the sliding mode control (SMC) tracking capacity for systems with uncertainties and disturbances. First, SMC discrete equivalent control law is designed on the basis of the nominal model of the system and the adaptive exponential reaching law, and subsequently, stability of the algorithm is analyzed. Second, RBF network is used to form the switching law in a direct and online manner with sliding-mode-related inputs and by approximating evalua-tion funcevalua-tion; and the method to adjust its parameters is devised. Finally, comparable experiments are carried out to verify the application of the proposed approach to an inner-axis driven by a direct current (DC) torque motor through extra-low speed servo for a high precision flight simulator, and the axis works under deteriorating conditions such as periodically fluctuating torques of motor, nonlinear friction, and time-varying model parameters. The results show that the combined SMC can effectively improve the servo performance, for instance, to a stable 0.000 08 (°)/s speed response, the tracking error would be within 0.000 08° in 98% of operating times. Moreover, the hybrid nature of the approach imparts the RBF network the features of removing offline training and ease to set initial parameters.

Keywords:sliding mode control; switching law design; radial basis function networks; flight simulators; extra-low speed servo

1. Introduction1

In recent years, thanks to its robust performance against time-dependent parameter variations and dis-turbances, and removal of need for online identifica-tion, in addition to simplicity of physical realizaidentifica-tion, sliding mode control (SMC) has been popularized in

many fields[1-2]. In discrete time systems, SMC is a

quasi- SMC. Concerning its control performance, apart from the sliding surface design, close attention should be paid to the problem of chattering. Ref.[3] first sug-gested improving the control performance through reaching law design, but the parameters of the reach-ing law are hard to choose because it is a difficult process to make a delicate compromise between quick responses and active chattering, which itself also represents the robustness of SMC. Moreover, the SMC

control law usually consists of two parts: ķ

equiva-lent part, based on the nominal model of the system,

*Corresponding author: Tel.: +86-10-82316839.

E-mail address: jj_niu@126.com doi: 10.1016/S1000-9361(08)60100-4

and ĸ the switching part, which can be realized in

multiple forms to ensure the total control law posses-sive of robustness against disturbances, such as nonlinear friction in high precision servo systems and time-dependent parameter variations of nominal model. There is a considerable amount of literature on the approach to the SMC switching law design. For in-stance, Ref.[4] described about the adaptive switching

law to compensate friction based on its exponent

model in flight simulator control; Ref.[5], fuzzy logic to smooth the active chattering; Ref.[6], fuzzy neural networks SMC for servo-motor-driven slider-crank; Ref.[7], improved SMC with radial basis function (RBF) networks for a three-degree-freedom dynamic- vibration damping system; and Ref.[8], application of neural network-based switching law to friction com-pensating in an intersatellite optical communication coarse pointing subsystem. The adaptive methods ap-pear to be the most attractive around, for it is easier to show the stability of the system by constructing suit-able Lyapunov functions, but to pick up a set of opti-mum control factors for the adaptive law is a demand-ing job and sometimes it is difficult to acquire adaptive factors pertinent to online identification, such as speed 1000-9361 © 2009 Elsevier Ltd. Open access under CC BY-NC-ND license.

(2)

signals at the extra-low speed servo. As for a digital control system without fuzzy logic control (FLC) card, it usually reduces the FLC rule list to a deci-sion-making table with limited volume, thus further deteriorating its effects. Although the forward neural networks can be integrated mathematically into the digital control algorithm, the type, structure, parame-ter-adjusting method, choices of input signals, and performance evaluating functions will influence both the effects and application modes of the networks.

Considering the above-mentioned factors, a novel approach is presented for the position-tracking system based on SMC. The equivalent control law is designed on the basis of exponential reaching law and its speed-converging factor is adjusted adaptively online according to the absolute value of the sliding mode; the switching law is formulated real-time without off-line learning, yet with ease to set initial parameters of RBF network. The method is verified through extra-low speed servos on a direct current (DC)-torque-motor- driven inner-axis of a high precision flight simulator. The major disturbance of the low speed servo system is from nonlinear friction, which would deteriorate both the steady and the transient-state servo performances unless they are diminished or properly compensated. The fol-lowing experiments have confirmed the feasibility and the advantages of the method to low speed servos. 2. SMC Control Law Design

For an SMC system, the control law usually consists

of an equivalent control law, ueq, and a switching law,

sw

u . Conventionally, equivalent law is deduced from

the relationship between sliding mode, s, and its

dif-ferential, s, on the basis of the pertinent mathematic

model of the system; thus, it depends heavily upon the models and the accuracy of parameters. Moreover, in most cases, the model stemming from a complicated system is always in a simplified or linearized form, with its parameters varying in different working condi-tions. Therefore, to compensate the inaccuracy arising from these uncertainties, the switching law becomes necessary and critical.

Now, consider a most common system, a second-order single-input single-output process, to illustrate the ap-proach for SMC design.

( , ) ( , ) ( ) ( ) f t g t u t t y ș ½ ¾ ¿ ș ș ș d (1)

where system status vector is ș [T T]R2 , time

variablet! 0 R, control inputuR, outputyR,

status function is f( , )ș t , input effect factor vector is

( , )

g ș t g, disturbance d(t) is finite. 2.1. Equivalent control law

In the system, let the state variablex1 T,x2 T,

sampling period be T; then the system by Eq.(1) can be

discretized in state spaces as

(k 1) ( )k u k( )

x Ax B (2)

Lete( )k R( )k x( )k , then, the error equation in

discrete time is

(k 1) ( )k u k( ) ( )k (k1)

e Ae B AR R (3)

where R(k)=[r(k) dr(k)]T, r(k) is the kth sampling

value of expected input value for the system, and dr(k)

the differential of r(k) in the form of dr(k) = r(k)

r(k1). An inside-extending method is used to get the

predictive values of r(k+1), dr(k+1) from

( 1) 2 ( ) ( 1) d ( 1) 2d ( ) d ( 1) r k r k r k r k r k r k ½ ¾ ¿ (4)

The sliding surface is designed as e e ( ) ( ) [ 1] ( 0) s k k c c ½ ¾ ! ¿ c e c (5)

For a continuous time system, the commonly used exponent reaching law is

sgn( ) ( 0, 0)

s İ s qs s! q! (6)

To express Eq.(6) in the discrete time system for a

sampling period T, the following equation can be

ob-tained

( 1) ( ) sgn( ( )) ( )

s k s k İT s k qTs k (7) In a discrete time system, SMC with exponent

reaching law has three adjustable parameters q, c, and

İ. The response of the system is quicker and more

likely to be associated with chattering problems, when

the values of q and c become bigger.İis a factor

rep-resenting the robustness of system against the distur-bances. The robustness becomes stronger and the

chances of having chattering become more, when the İ

value becomes bigger. Therefore, the choice of a suit-able parameter set becomes crucial. Referring to the analysis in Ref.[9]ˈonly if |s(k)| > İT/(2qT), the value

of |s(k)| is degressive. Hence, under the condition of

0 < q < 2/T1, let İ=|s(k)| be an adaptive factor that may be used to simplify the parameter-selecting process but that increases the adaptability of the control law. Then Eq.(7) can be rewritten into

( 1) (1 ) ( ) ( ) sgn( ( ))

s k qT s k s k T s k (8) From Eq.(5), the following can be deduced:

e

( 1) ( 1)

s k c e k (9)

Combining Eq.(3), Eq.(8), and Eq.(9), Eq.(10) can be obtained as follows 1 eq( ) ( e ) [ e ( ) e ( 1) e ( ) ( ) sgn( ( )) (1 ) ( )] (10) u k k k k s k T s k qT s k c B c Ae c r c Ar Stability analysis for the discrete SMC is shown as follows.

Proof For a small sampling discrete time system, the condition for SMC existence and reaching can be written as

(3)

[ ( 1) ( )]sgn( ( )) 0 [ ( 1) ( )]sgn( ( )) 0 s k s k s k s k s k s k ½ ¾ ! ¿ (11)

The existence condition is

[ (s k 1) s k( )]sgn( ( ))s k ( +1)q T s k( ) 0 (12) The reaching condition is

[ (s k 1) s k( )]sgn( ( )) [2 (s k q 1) ] ( )T s k !0 (13)

where0q+1 2/ T.

2.2. RBF network-based switching law

Neural networks have the ability to approximate nonlinear function. For example, in Ref.[10], RBF network was used to approximate the parameters for a friction Stribeck model; in Ref.[11], for a complex friction model; and in Ref.[12], for nonlinear charac-teristics of friction. Therefore, RBF network is rea-sonably suitable to be used in nonlinear switching law design. RBF network is a three-layer forward network, in which the mapping from input layer to hidden with radius basis functions is nonlinear, whereas from the hidden to output layer is linear, thus having an advan-tage of quicker learning ability and fewer chances of falling into local minimum, compared with standard feed-forward back-propagation networks. Therefore, the RBF network is selected in this article as an ap-proach for switching-law adaptive production, and, enlightened by Ref.[6], a single input RBF network is designed to produce switching law with sliding surface value expressed by Eq.(5) as the net input; but, differ-ent from Ref.[6], the network output is the switching law instead of the whole control law, because at the very beginning, the random setting of both radial-activated function parameters and weight vectors is more likely to result in poor transient response of the start stage. However, a model-based equivalent law with well-tuned parameters can take advantage of the heuristic knowl-edge and ensure a much smaller network input value. The smaller input enables the output value from the network account to be a smaller proportion of the whole control law, thus ensuring a smoother beginning, eliminating the demanding offline training phase, and moreover, enabling the RBF network to have a learn-ing-while-functioning feature.

To ensure the sliding-mode reaching condition

( ) ( ) ( ) ,

s t s t d D s t Į>0, the switching law can be de-signed as [5]

sw sgn( ) ( , )

u D s g x t (14)

For RBF network to approximate the switching law, the following form holds:

2

sw 1 1 e j ij i m m x c b i i i i i u

¦

w h

¦

w (15)

where m is the hidden neuron number, wi the ith output

layer weight, hi the output of ith hidden neuron, xj the jth

value of input vector, cij the center of RBF, and bi the

radii of RBF.

To ensure that the RBF network approximates the switching law online, the input vector of RBF network is designed to be a single element, which is the sliding

mode s; then, in the hidden-output calculation process,

the vector norm operations for exponent with the base e degrade to scalar subtractions, and reduce the dimen-sion of center vector for RBF functions, which cuts down the valuable computing time because of a sim-plified network, and the real-time feasibility of the network is strengthened.

The aim of the control is ( ) ( )s t s t o0, the approxi-mation criterion of the RBF network can be defined as

( ) ( )

E s t s t (16)

By using negative-gradient method, the iterative al-gorithms for wi, ci, and bi are

sw sw ( ( ) ( )) ( ( ) ( )) d i i i i u E s t s t s t s t w w w u w K w Kw Kw w w w w w (2) ( ) i B s t h K (17) ( 1) ( ) d ( ) i i i w t w t w t (18) sw sw ( ( ) ( )) d ( ( ) ( )) 2 (2) i i i i i i i i E s t s t c c c u s t s t u c s c B w h b K K K K w w w w w w w w (19) ( 1) ( ) d ( ) i i i c t c t c t (20) sw sw ( ( ) ( )) ( ( ) ( )) d i i i i u E s t s t s t s t b b b u b Kw Kw Kw w w w w w 2 2 ( ) (2) i i i i s c B w h b K (21) ( 1) ( ) d ( ) i i i b t b t b t (22)

where K !0 is the learning efficiency factor, ci the

ith center element of the single input network, B(2) the

second element of the column vector B in Eq.(3).

3. Application

The hybrid SMC algorithm is well applied to the inner axis servo control of an electro-hydraulic-driven three-axis flight simulator, being the key equipment in the hardware-in-loop simulation of a control and guide system, where each axis simulation performance will exert direct influences on the testing creditability. The proposed algorithm is focused on high precision ex-tra-low speed servo of a DC-torque-driven inner axis, where friction is the major disturbance torque because it, if not compensated properly, might lead to the ac-tuator’s crawling at low speeds, tracking-wave aber-rance, large steady errors, and even limited cycle os-cillation. Other disturbances include periodical

(4)

fluc-tuation of motor torque and coupling torque of other axes. Therefore, an approach to design a controller capable of compensating friction and robust against these nonlinear disturbances is essential to obtain an efficient tracking performance for the axis.

Fig.1 shows the structural scheme of the inner axis servo. The angular displacements of the inner axis measured by an optical encoder, and the angular speeds measured by a tachometer motor are fed back through their acquisition-card channels to form sam-pling values through samsam-pling and decoding by the control program. Comparing these values with their corresponding expected ones produces error signals, which, in their original or improved form, serve to be the input of the control algorithm. The control voltage

signals, U, generated by the industrial personal

com-puter (IPC) processing unit according to the selected control algorithm, are transformed by pulse width modulation (PWM) power-magnifying device into the

averaged PWM voltage, Um,to drive the DC torque

motor to carry out inner axis servo control. Therefore, a conclusion can be drawn that, with a system posses-sive of a well-matched hardware, the servo quality is completely dependent on the designed control law. Meanwhile, for a high precision servo system at low speeds, direct and accurate speed signals are also hard to obtain. Consequently, the crux of this article is to design an algorithm without entailing speed-signal-re-lated states but alleviate the disturbance effects to enhance the servo performance.

Fig.1 Hardware system of inner axis of the simulator.

For the motor, Eqs.(23)-(25) represent mathematic models of its voltage, torque, and load:

a a e m m d d i R i L K U t T (23) m t T K i (24) t m d JTBT T T (25)

where Ra is armature resistance, La armature

induc-tance,i armature current, Ke counter voltage factor, șm

motor angle displacement, Tm motor output torque, Kt

torque factor of the motor, J the equivalent moment of

inertia on the motor axis, Bt equivalent viscous damping

factor, and Td torque disturbance inclusive of friction

torque Mf and coupling torque.

The system is a discrete time digital control with IPC as the controller. Let the digital control law

gen-erator be f(TrT), where Tr is expected input; taking

into account the converted frequency of PWM power set, which is much higher than the system’s working frequency, the transform function of PWM power set

can be simplified into a magnifying factor, KPWM;

then the system block diagram can be redrawn as shown in Fig.2, from which it can be observed that,

Fig.2 Transfer function block diagram of the system.

outside the constraint of the closed loop, the

distur-bance Td will exert direct effects on the inner axis

and deteriorate the servo performance. 4. Experimental Verification

The given SMC control law parameters are as fol-lows: sampling period T = 2 ms; c = 110; q = 3;H is the adjusting adaptivity according to the absolute value of

sliding mode, s; here, q2/T1 ensures the

conver-gence of SMC. Nominal parameters of the simulator: Ra=0.7 :, La=7 mH, Ke=2.9 V·(rad·s1)1, KPWM=2.65,

Kt=2.95 N·m/A, and J =3.2 kg˜m2. The system state

matrixes in discrete time are

1 0.002 , 0 , [1 0], 1 0.992 4 0.007 ª º ª º « » « » ¬ ¼ ¬ ¼ 0 A B C d

The experiments to verify the validity of the pro-posed hybrid SMC are carried out in two steps. First, only the equivalent part of the control law is tested for its effectiveness and application scope with the servo signals including both low-amplitude and low-frequency sine signals and triangular signals representing the minimum stable speed of the simulator. Second, the hybrid SMC control law is applied to the minimum- speed servo to justify the merits of the proposed hybrid algorithm by comparing the test results.

As the maximum speed of a flight simulator is de-pendent on its actuators and matched power capacity, its minimum stable speed will decide the speed ratio of

(5)

the simulator, and, in some cases, the simulator must simulate the attitudes of objects rotating at extra low speeds. Therefore, as one of the key characteristic in-dices of the servo quality of a flight simulator, the minimum stable speed should be minimized as low as possible. As far as we know, the lowest figure for it is 0.000 1 (°)/s.

Step 1 Low speed servo of the equivalent part. Fig.3 illustrates the results of sine wave tracking with amplitude of 5° and period of 0.01 Hz, in which, Fig.3(a) shows the sliding mode of the servo course; Fig.3(b) the control voltage, Fig.3(c) the tracking curve, and Fig.3(d) the servo error. It is observed that the dynamic position tracking error is about 0.1%, which proves that the equivalent control law has an efficient tracking capacity for this type of signals.

(a) Sliding mode trend

(b) Controller output

(c) Tracking response

(d) Tracking error

Fig.3 Sine wave tracking with ueq.

In the case of minimum stable speed servo, with a triangular wave of amplitude 0.03° and period 0.000 66 Hz, the input signal represents both forward and re-verse rotating speed of 0.000 08 (°)/s to the system. Fig.4 illustrates the results of a typical servo. It shows that dur-ing 95% times, the trackdur-ing error is within ±0.001° and that the tracking wave curve has a plateau top. This implies that the equivalent nominal model-based SMC

(a) Sliding mode trend

(b) Controller output

(c) Tracking response

(d) Tracking error

Fig.4 Minimum stable speed response with ueq.

alone has limited influences upon the disturbance in the system, thereby making it necessary to introduce a well designed switching law to the equivalent part.

Step 2 Minimum stable speed of hybrid SMC. With the same triangular signal as was used in Step 1, Fig.5 shows results of one typical servo. The track-ing error fluctuates symmetrically with respect to the zero line. This indicates that, in a whole cycle, the pre-viously mentioned disturbances have acquired proper compensation and during 98% times, the tracking error is within ±0.000 08°. As stipulated in the Chinese army test standard GJB1801-93, the minimum stable speed of the inner flight axis should be 0.000 08 (°)/s.

(a) Sliding mode trend

(b) Controller output

(c) Tracking response

(d) Tracking error

Fig.5 Minimum stable speed response with ueq+usw. Figs.4-5 also show that the proposed hybrid SMC approach has dramatically improved the servo per-formance; meanwhile, the introduction of the RBF network-based switching law also has noticeably alle-viated the sliding chattering, thus ensuring the smoo- thness of input control. Moreover, the equivalent SMC provides a prerequisite for the RBF network to set ini-tial parameters with ease and obviates the need for offline learning. The results further justify the neces-sity and feasibility for the approach to comprise two parts to achieve their complementing of each other’s deficiency and to introduce RBF network to produce

(6)

switching law online. 5. Conclusions

With the novel hybrid SMC, the high precision sys-tem can accomplish a satisfied minimum stable speed servo. Meanwhile, a controller with equivalent SMC control law alone at extra-low speeds has limited func-tion due to the major fricfunc-tion disturbance of the system. This further confirms that the equivalent SMC has a limited robustness against the disturbance because of its strong dependence upon models and parameters. Therefore, it is necessary to combine the equivalent SMC control law with the switching law to realize mutual complementation, with RBF network-based switching law alleviating the sliding chattering and strengthening the robustness of whole control scheme against disturbances on one side, with the equivalent SMC providing a prerequisite for the RBF network to produce switching law online without offline training on the other. Moreover, the switching law based on rea-sonably matched RBF network has advantages, such as easy realization without involving any speed-related unobservable state variables and parameter presetting with ease. All these factors justify the worth of integrat-ing RBF network with SMC.

References

[1] Liu J K. Matlab simulation for sliding model control. 1st ed. Beijing: Tsinghua University Press, 2005; 13-15. [in Chinese]

[2] Krupp D R, Jr. Dynamic sliding manifold-based con-trol in system with unmoded cascade dynamics. PhD thesis, the University of Alabama, 2004.

[3] Gao W B, Wang Y F, Homaifa A. Discrete-time vari-able structure control systems. IEEE Transaction on Industrial Electronics 1995; 42(2): 117-122.

[4] Zhang J J, Chen X L, Feng R P, et al. Design of vari-able structure controller based on friction adaptive compensation. Journal of Harbin Institute of Technol-ogy 2000; 32(4): 92-95. [in Chinese]

[5] Wang J, Rad A B, Chan P T. Indirect adaptive fuzzy sliding mode control: Part I: fuzzy switching. Fuzzy Sets and Systems 2001; 122(1): 21-30.

[6] Huang S J, Huang K S, Chiou K C. Development and application of a novel radial basis function sliding mode controller. Mechatrolnics 2003; 13(4): 313-329.

[7] Lin F J, Wai R J. Sliding mode controlled slider crank mechanism with fuzzy neural networks. IEEE Transac-tions on Industrial Electronics 2001; 48(1): 60-70. [8] Song S M, Song Z Y, Chen X L, et al. The nonlinear

friction NN compensation of inter-satellite optical communication coarse pointing subsystem. Acta Aero-nautica et AstroAero-nautica Sinica 2007; 28(2): 358-364. [in Chinese]

[9] Guan C, Zhu S N. Integral sliding mode adaptive con-trol for electro-hydraulic servo system. Transactions of China Electro Technical Society 2005; 20(4): 52-57. [in Chinese]

[10] Huang S N, Tan K K, Lee T H. Adaptive friction com-pensation using neural network approximations. IEEE Transactions on Systems, Man, and Cybernetics, Part C: Application and Reviews 2000; 30(4): 551-557. [11] Selmic R R, Lewis F L. Neural-networks

approxima-tion of piecewise continuous funcapproxima-tions: applicaapproxima-tion to friction compensation. IEEE Transactions on Neural Networks 2002; 13(3): 745-751.

[12] Vitiello V, Tornamb A. Adaptive compensation of modeled friction using a RBF neural network ap-proximation. Proceedings of the 46th IEEE Conference on Decision and Control, 2007; 4699-4704.

Biographies:

Niu Jianjun Born in 1972, he is a Ph.D. candidate of mechanoelectronics in Beijing University of Aeronautics and Astronautics. His main research interests are servo control of flight table, hydraulic system development, and servo. E-mail:jj_niu@126.com

Fu Yongling Born in 1966, Ph.D., he is a professor and doctoral supervisor in Beijing University of Aeronautics and Astronautics. His main research interests are novel hydraulic system development and application, special robots, and integration of mechanical and electric systems.

E-mail:fuyongling@yahoo.com.cn

Qi Xiaoye Born in 1961, Ph.D., he is an associate profes-sor and M.S. superviprofes-sor in Beijing University of Aeronautics and Astronautics. His main research interests are hydraulic system development and application, in addition to airborne actuator systems.

References

Related documents

“circus rope”, Staatliche Akademie der Bildenden Kunste, Karlsruhe, Germany. “step by step”, Staatliche Akademie der Bildenden Kunste, Karlsruhe, Germany. printed in Norwich,

Reservations required for all events, space is limited and 48-hour cancellation policy applies.. When possible, events will be held outside for

Despite never winning a Gold Glove or a Fielding Bible Award, Chase Utley has the best Runs Saved and Plus/Minus totals over the past three seasons.. Add his stellar defense at

Abstract: The purpose of this comparative study was to compare academic achievement and student motivation under teacher-centered and student-centered instructional methods in

The fifth recommendation is to investigate whether there are any significant differences in levels of engagement based on various colleges in the CUNY system. This study

In-person informed consent is obtained from all participants enrolling in the Biobank and provides permission to: (1) access EHR data for research; (2) collect and use

children: asthma (reduced by 72% - exclusive breastfeeding for at least 3 month); atopic dermatitis (reduced by 42% high risk families - exclusive

Chronic Ulcers pose significant and challenging health as well as economic problems, as it needs long term surgical and nursing care whether it is á Burn