• Nem Talált Eredményt

Fine Tuning with Sigmoid Functions in Robust Fixed Point Transformation

N/A
N/A
Protected

Academic year: 2022

Ossza meg "Fine Tuning with Sigmoid Functions in Robust Fixed Point Transformation"

Copied!
6
0
0

Teljes szövegt

(1)

Fine Tuning with Sigmoid Functions in Robust Fixed Point Transformation

Kriszti´an K´osi (Phd student)

Doctoral School of Applied Informatics Obuda University´

Budapest, Hungary

Email: kosi.krisztian@phd.uni-obuda.hu

J´anos F. Bit´o, J´ozsef K. Tar Institute of Applied Mathematics

Obuda University´ Budapest, Hungary

Email:

bito@uni-obuda.hu, tar.jozsef@nik.uni-obuda.hu

Abstract—In this paper a novel implementation of the adaptive controllers designed by the use of Robust Fixed Point Trans- formation is studied. Instead guaranteeing global stability the so designed controllers work smoothly in a bounded region of operation. Both the limits of this region as well as the performance of the controller depends on the basic component of the RFPT-based design, i.e. on the properties of a sigmoid function that can be defined in various manners. In this case a special, easily parameterizable sigmoid was chosen that is widely used in the daily engineering practice, a truncated linear function. This function has a single parameter, its slope, that in the same time determines the width of the window within which the adaptive nature of the controller is guaranteed. It was found that by varying this parameter either the precision of the controller or the frequency of the necessary adaptive tuning can be improved. This statement is substantiated by simulations.

I. INTRODUCTION

In the field ofnonlinear controlthe most popular and most widely used controller designing methods even in our days are based on Lyapunov’s 2nd or “direct” method he invented in 1892 and published in his PhD Thesis in connection with the satbility of motion of dynamical systems [1], [2]. For instance in the design of nonlinear observers in fuzzy model reference controllers [3], in guaranteeing and analyzing the stability of fuzzy controllers designed for Multiple Input- Multiple Outpu (MIMO) systems [4], though in well defined special subject areas as model-based control of electric motors its use can be abandonaed ([5]).

The idea of the fixed point transformations based adaptive controllers was outlined in 2007 [6]. An especially advanta- geous variant of such transformations (called “Robust Fixed Point Transformations (RFPT)”) was introduced in 2008 [7].

The motivation in this new approach was the intent of the evasion of the mathematical complexity of the design methods using Lyapunov’s “direct” or 2𝑛𝑑 method [1] that became the most popular design tool from the sixties of the past century since Lyapunov’s results became available in English (e.g. [2]).

In the design of classical adaptive controllers (e.g. [8],[9]), the design for controlling robotic manipulation (e.g. [10], [11], [12], [13]), teleoperation applications [14], control of servo manipulators [15] Lyapunov’s 2𝑛𝑑 method traditionally plays a significant role.

Lyapunov’s great merit is providing us with a mathematical tool by the use of which the global stability of a controller can be guaranteed without knowing the details of the solution of the equations of motion of the controlled system for which generally no closed form analytical solution exists. Though it is easy to understand the essence of Lyapunov’s2𝑛𝑑 method, its application is rather an art requiring exceptionally good skills on behalf of the designer. Another significant motivating element was the fact that though global stability is a significant achievement, the designer normally has to guarantee fine details of the controlled motion that are not evidently revealed or addressed by Lyapunov’s approach. On the contrary, the new design ab ovo concentrates on the realization of some prescribed tracking error relaxation at the cost of giving up the need of global stability. In the same time it worths noting that global stability guarantees much more than the real practical needs. Each “Modern Robust Controller” necessarily has some working boundary within which it can reliably work, and normally this range is defined by cuts [16].

The RFPT-based adaptive controllers’ applicability was ex- tensively investigated via simulations for control of robots [17], platoons [18], chaos synchronization [19], underactuated Classical Mechanical systems [20], strongly nonlinear chem- ical processes (e.g. [21], [22]). In the practice, for properly dealing with uncertainties of not statistical nature the theory of fuzzy sets can be successfully used in various control tasks (e.g. [23], [24]), the applicability of RFPT-based adaptation in the correction of the output of a fuzzy controller was also successfully investigated in [25].

The RFPT-based controller has the advantage that they contain the program excerpts of the kinematically prescribed trajectory tracking strategy, the approximate model of the system under control, as well as the blocks of various model- independent observers in different blocks that can be con- nected by various information channels that make this con- struction compatible with the modern design approach based on cognitive infocommunication (e.g. [26]).

The adaptive controllers designed by the use of RFPT show certain robustness with respect to the uncertainties and errors of the available system model in the phase of the design.

Robustness is achieved by the inclusion of a sigmoid function

(2)

in the controller’s structure that determines the details of the iterative learning of the adaptation process. The range of saturation of this function also defines a bounded region of convergence for the iteration. Fine tuning of the parameters of these sigmoid functions allows the designer to optimize the controller for different purposes.

In order to keep the system in the range of stable operation complementary tuning methods for certain parameters of this controller were introduced in [27] and [28]. Furthermore, the behavior of the controller outside the region of convergence was investigated in [29] and [30]. It was found that under certain conditions it behaves like a sliding mode controller with large chattering that was reduced and later was made to cease. In the previous applications in the place of the sigmoid function the𝑡𝑎𝑛ℎ(𝑥)and𝜎(𝑥) := 1+∣𝑥∣𝑥 functions were used.

Presently the application of the truncated linear function is investigated since this function can easily be realized in the practice. The controlled system (i.e. our paradigm) used for the simulations was a 2 DoF system, two mass points coupled by nonlinear springs. In the sequel at first the basics of the RFPT-based design is briefly summarized then the paradigm used for the simulations is outlined. The simulation results will be compared with previous results.

II. THESYSTEMMODELUSED IN THESIMULATIONS

The paradigm used for the simulations was a 2 DoF system:

two mass-points coupled by nonlinear damped springs in vertical direction. In the equations of motion of thecontrolled system (1) the parameters were 𝑚1 = 20𝑘𝑔, 𝑚2 = 30𝑘𝑔 point-like masses attached to the springs, the gravitational acceleration was 𝑔= 9.81𝑚/𝑠2, the lengths of the springs at zero force were𝐿1= 0.4𝑚,𝐿2= 0.8𝑚with stiffness values 𝑘1 = 120𝑁/𝑚, 𝑘2 = 200𝑁/𝑚 and damping coefficients 𝑏1 = 0.6𝑁𝑠/𝑚, and 𝑏2 = 0.4𝑁𝑠/𝑚, respectively. Its rough model in (2) had the parameters as follows: 𝑚˜1 = 40𝑘𝑔,

˜

𝑚2 = 40𝑘𝑔, ˜𝑔 = 11𝑚/𝑠2, 𝐿˜1 = 0.3𝑚, 𝐿˜2 = 0.3𝑚,𝑘˜1 = 260𝑁/𝑚,𝑘˜2= 260𝑁/𝑚𝑏1= 1𝑁𝑠/𝑚, and˜𝑏2= 1𝑁𝑠/𝑚. The nonlinearities of the springs in the controlled system and the approximate model were evidently different. The control signals were the𝑄1and𝑄2forces that were calculated for the masses 𝑚1 and𝑚2 by the use of the rough model. Tracking of the nominal trajectories (3rd order spline functions) was defined by (3) with a time-constant of desired error relaxation Λ = 20/𝑠. The numerical simulations were made by Euler integration of 1𝑚𝑠 time-resolution using the free software SCILAB. The adaptive parameter settings were 𝐵 = −1, 𝐾= 106, and the values𝐴𝑖∈ {10−7.5,10−6.5,10−5.5} were applied with the tuning solution published at [28]: instead using a single𝐴𝑐parameter the𝑟𝑛+1(𝑖) responses were averaged with some 𝑤𝑖 0 “voting weights” with the constraint

𝑖𝑤𝑖 = 1. The tuning used in [28] systematically moved the maximum weight to the best choice.

𝑚1𝑞1−𝑔) +𝑘1(𝑞1−𝐿1)3 𝑘2(𝑞2−𝑞1−𝐿2)3+𝑏1𝑞˙1=𝑄1

𝑚2𝑞2−𝑔) +𝑘2(𝑞2−𝑞1−𝐿2)3+𝑏2𝑞˙2=𝑄2 (1)

˜

𝑚1𝑞1−𝑔) + ˜˜ 𝑘1( 𝑞1−𝐿˜1

)5

˜𝑘2(

𝑞2−𝑞1−𝐿˜2

)5

+ ˜𝑏1𝑞˙1=𝑄1

˜

𝑚2𝑞2˜𝑔) + ˜𝑘2(

𝑞2−𝑞1−𝐿˜2

)5

+ ˜𝑏2𝑞˙2=𝑄2

(2)

¨

𝑞𝑑𝑖(𝑡) := ¨𝑞𝑖𝑁(𝑡) + 3Λ2(

𝑞𝑁𝑖 (𝑡)−𝑞𝑖(𝑡)) +3Λ( +

˙

𝑞𝑁𝑖 (𝑡)−𝑞˙𝑖(𝑡)) + +Λ3𝑡

0

(𝑞𝑖𝑁(𝜏)−𝑞𝑖(𝜏)) 𝑑𝜏

(3)

III. THE BASICS OF THERFPT-BASEDDESIGN

The basic equations of RFPT for a multiple input - multiple output system are given in (4, 5). In the case our paradigm, the

“system response in control cycle𝑛+ 1” i.e.𝑟𝑛+1 physically means the array [¨𝑞1,𝑞¨2], 𝑛+1 := ¨𝑞𝑑𝑛+1 −𝑞¨𝑛 denotes the

“response” error,𝑒𝑛+1:= ∣ℎ𝑛+1𝑛+1, the three control parameters are𝐾𝑐,𝐴𝑐and𝐵𝑐, and𝜎()corresponds to a sigmoid function.

Normally the 𝐵 =±1 possibilities are viable depending on the design of the controller. To each control cycle an iteration belongs.

𝑟𝑛+1= (1 +𝐵𝑛+1)𝑟𝑛+𝐾𝑐𝑒𝑛+1 (4) 𝐵𝑛+1=𝐵𝑐𝜎(𝐴𝑐∥ℎ𝑛+1∥) (5) The RFPT-based control is evidently an iterative “learning”

method. It compares the realized output with the desired one, and computes the transformation of the input. If the controller works well then this iterative task generates a Cauchy sequence. Its appropriate limit point corresponds to the solution of the control task.

IV. THESIGMOIDFUNCTION

The sigmoid function must produce output between±1with the restrictions that 𝜎(0) = 0, 𝑑𝜎𝑑𝑥𝑥=0 = 1 [7]. For sigmoid function now the following construction was used (6):

𝜎:=

⎧⎨

−1𝑖𝑓 𝑥 <−𝜀

𝑥𝜀;𝑖𝑓 −𝜀≤𝑥≤𝜀

1𝑖𝑓 𝑥 >𝜀 (6)

This choice differs from the originally used sigmoids that the restriction 𝑑𝜎𝑑𝑥𝑥=0= 1not necessarily is met. In this manner the width of the unsaturated region is not uniquely determined by parameter 𝐴𝑐 so the introduction of this new parameter 𝜀 introduces new possibilities in the design.

V. FINETUNINGRESULTS

The results are compared with the previous ones taken from [30] where𝜎(𝑥) := 1+∣𝑥∣𝑥 was in use. If𝜀= 1the function in (6) produces results that are very similar to that obtained by the original sigmoid function. In the here presented simulations the option 𝜀 = 2.4 was chosen. Finding a balance between smoothness and precision, parameter 𝜀 = 1.6 was chosen.

The trajectories were approximately the same, just small differences are in the that look like that of the original case the original case was a bit more precise Fig. 1,2.

(3)

Fig. 1. Trajectories for the truncated linear system (𝜀= 2.4)

Fig. 2. Trajectories for the original case, taken from [30]

It can be noted that the phase trajectories are a bit better in the original case.

Fig. 3. Phase trajectories for the truncated linear system (𝜀= 2.4)

Fig. 4. Phase trajectories for the original case, taken from [30]

The exerted force was approximately the same for both the 𝜀= 2.4 and the original case, because the same masses were moved along almost the same paths.

Fig. 5. Exerted force (Q) for the truncated linear system (𝜀= 2.4)

Fig. 6. Exerted force (Q) for the original case, taken from [30]

The accelerations of the original system were a bit more precise then that belonging to the truncated linear function with𝜀= 2.4.

Fig. 7. Accelerations for the truncated linear system (𝜀= 2.4)

(4)

Fig. 8. Accelerations for the original case, taken from [30]

Fig. 9. Accelerations for the truncated linear system (zoomed) (𝜀= 2.4)

Fig. 10. Accelerations for the original case (zoomed), taken from [30]

The tracking error was smaller in the original system than that of the truncated linear system, but it was acceptable difference for that case.

Fig. 11. Tracking error for the truncated linear system (𝜀= 2.4)

Fig. 12. Tracking error for the original case, taken from [30]

The variation of the voting weights were much more smoother in the case of the truncated linear system than in the original case. It means that the controller works much smoother.

Fig. 13. Voting weights for the truncated linear system (𝜀= 2.4)

Fig. 14. Voting weights for the original case, taken from [30]

The response error is better in the original system, but the difference is in the acceptable range.

(5)

Fig. 15. Response error for the truncated linear system (𝜀= 2.4)

Fig. 16. Response error for the original case, taken from [30]

The “Required Accelerations” (i.e. the adaptively distorted ones) were approximately same for both cases.

Fig. 17. The “Required Acceleration” for the truncated linear system (𝜀= 2.4)

Fig. 18. The “Required Acceleration” for the original case, taken from [30]

The response error was higher than in the original case, but it is less when truncated linear sigmoid function with parameter𝜀= 2.4 applied.

Fig. 19. Response error for the truncated linear system (𝜀= 1.6)

The tracking error was higher than in the original case, but it was less when truncated linear sigmoid function with parameter𝜀= 2.4 was applied.

Fig. 20. Tracking error for the truncated linear system (𝜀= 1.6)

The variation of the voting weights was much smoother than in the original case, but the truncated linear function with parameter𝜀= 2.4 yielded smoother result.

Fig. 21. Voting weights for the truncated linear system (𝜀= 1.6)

The results show that by sacrificing some precision a con- troller can be obtained that works smoother than the original one.

(6)

VI. CONCLUSION

On the basis of the compared results it can stated that the introduction of a new parameter into a new (truncated linear) sigmoid function allowed the extension of the range of adaptivity in certain cases, therefore it provides the designer with richer possibilities as

Increasing the precision of the controller, or

Smoothing the operation of the, or

Finding a balance between smoothness and precision.

The one of the important fact is that this solution is easy to implement in hardware.

ACKNOWLEDGMENT

The authors thankfully acknowledge the grant provided by the National Development Agency in the frame of the projects T ´AMOP-4.2.2/B-10/1-2010-0020 (Support of the scientific training, workshops, and establish talent management system at the ´Obuda University) and T ´AMOP-4.2.2.A-11/1/KONV- 2012-0012: Basic research for the development of hybrid and electric vehicles - The Project is supported by the Hungarian Government and co-financed by the European Social Fund.

REFERENCES

[1] A.M. Lyapunov, A general task about the stability of motion. (in Russian), PhD Thesis, 1892.

[2] A.M. Lyapunov, Stability of motion. Academic Press, New-York and London, 1966.

[3] M. A. Khanesar, M. Teshnehlab, O. Kaynak, Model Reference Fuzzy Control of Nonlinear Dynamical Systems Using an Optimal Observer, Acta Polytechnica Hungarica, Vol. 8, No.4, pp 35-54, 2011.

[4] R-E. Precup1, M-L. Tomescu, E. M. Petriu, S. Preitl, C-A. Dragos¸, Stable Design of a Class of Nonlinear Discrete-Time MIMO Fuzzy Control Systems, Acta Polytechnica Hungarica, Vol. 9, No.2, pp 57-76, 2012.

[5] R. Sadouni, A. Meroufel, Indirect Rotor Field-oriented Control (IRFOC) of a Dual Star Induction Machine (DSIM) Using a Fuzzy Controller, Acta Polytechnica Hungarica, Vol. 9, No.4, pp 177-192, 2012.

[6] J.K. Tar, I.J. Rudas and K.R. Kozłowski, Fixed Point Transformations- Based Approach in Adaptive Control of Smooth Systems.Lecture Notes in Control and Information Sciences 360 (Eds.: M. Thoma and M.

Morari), Robot Motion and Control 2007 (Ed.: Krzysztof R. Kozłowski), Springer Verlag London Ltd., pp. 157–166, 2007.

[7] J.K Tar, J.F. Bit´o, I.J Rudas, K.R. Kozlowski J.A. Tenreiro Machado, Possible adaptive control by tangent hyperbolic fixed point transforma- tions used for controlling theΦ6-type Van der Pol oscillator,Proc. of the 6th IEEE International Conference on Computational Cybernetics (ICCC 2008), November 27-29, 2008, Stara Lesna, Slovakia, 15-20.

[8] Jean-Jacques E. Slotine, W. Li, Applied Nonlinear Control, Prentice Hall International, Inc., Englewood Cliffs, New Jersey, 1991.

[9] R. Isermann, K.H. Lachmann, and D. Matko, Adaptive Control Systems, New York DC, Prentice-Hall, USA, 1992.

[10] R.M. Murray, Z. Li, S.S. Sastry, A mathematical introduction to robotic manipulation, CRC Press, New York, 1994.

[11] Charles C. Nguyen, Sami S. Antrazi, Zhen-Lei Zhou, Charles E.

Campbell Jr., Adaptive control of a stewart platform-based manipulator, Journal of Robotic Systems, Volume 10, Number 5, 1993, pp. 657–687, 1993.

[12] R. Kamnik, D. Matko and T. Bajd, Application of Model Reference Adaptive Control to Industrial Robot Impedance Control, Journal of Intelligent and Robotic Systems, vol. 22, pp. 153–163, 1998.

[13] J. Soml´o, B. Lantos, P.T. C´at, Advanced robot control, Akad´emiai Kiad´o, Budapest, 2002.

[14] K. Hosseini–Suny, H. Momeni, and F. Janabi-Sharifi, Model Reference Adaptive Control Design for a Teleoperation System with Output Pre- diction, J Intell Robot Syst, DOI 10.1007/s10846-010-9400-4, pp. 1–21, 2010.

[15] C.J. Khoh and K.K. Tan, Adaptive robust control for servo manipulators, Neural Comput & Applic, vol. 12, pp. 178–184, 2005.

[16] L. Kov´acs, Modern Robust Control in Patophysiology From Theory to Application, IEEE 11th International Symposium on Applied Machine Intelligence and Informatics (SAMI 2013), pp. 13. 2013.

[17] ) J.K. Tar, J.F. Bit´o, Krzysztof R. Kozłowski, J.A. Tenreiro Machado, Application of Robust Fixed Point Transformations for Technological Operation of Robots,Lecture at the Seventh International Workshop on Robot Motion and Control, June 1-3, 2009, Czerniejewo, Poland; issued in Lecture Notes in Control and Information Sciences 396 (Eds: M. Thoma, F. Allgver, M. Morari) - Robot Motion and Control 2009 (Ed. Krzysztof R. Kozowski), Springer-Verlag Berlin Heidelberg, Chapter 9, pp. 93–101.

[18] J.K. Tar, Decentralized Control of Platoons Based on a Novel Adaptive Control of Lucid Geometric Interpretation, in theProc. of the 9th WSEAS Intl. Conf. on Mathematical and Computational Methods in Science and Engineering” (MACMESE’07), Trinidad and Tobago Islands, November 5-7 2007, WSEAS Press, pp. 185–190.

[19] T.A. V´arkonyi, J.K. Tar, I.J. Rudas, Robust Fixed Point Transformations in Chaos Synchroniztion, in Proc. of the 11th International Symposium of Hungarian Researchers on Computational Intelligence and Informatics, Budapest, November 18-20, 2010, ´Obuda University, Hungary, pp. 219–

224

[20] T.A. V´arkonyi, J.K. Tar, I.J. Rudas, Fuzzy Parameter Tuning in the Stabilization of an RFPT-based Adaptive Control for an Underactuated System, Proc. of the 2011 IEEE 12th International Symposium on Computational Intelligence and Informatics (CINTI), 21-22 Nov. 2011, Budapest, pp. 591–596, 2011.

[21] K. K´osi, J.F. Bit´o, J.K. Tar, On the Effects of Strong Asymmetries on the Adaptive Controllers Based on Robust Fixed Point Transformations, IEEE 10th Jubilee International Symposium on Intelligent Systems and Informatics (SISY 2012), September 20-22 2012, Subotica, Serbia, pp.

259–264.

[22] J. K.Tar, I. J. Rudas, L. Ndai, K. K´osi, Adaptive Controllability of the Brusselator Model with Input Coupling, 4th IEEE International Sympo- sium on Logistics and Industrial Informatics (LINDI 2012), September 5-7 2012, Smolenice, Slovakia, pp. 157–162.

[23] J. Tick and J. Fodor, Fuzzy Implications and Inference Processes, COMPUTING AND INFORMATICS, 24:(6) pp. 591–602, 2005.

[24] J. Tick, Fuzzy extension to P-graph based workflow models,IEEE 7th International Conference on Computational Cybernetics (ICCC 2009), Palma de Mallorca, Spain, 26-29 November, 2009.pp. 109–112, 2009.

[25] T.A. V´arkonyi, Fuzzyfied Robust Fixed Point Transformations. In:Pro- ceedings of the 16th International Conference on Intelligent Engineering Systems, INES 2012, Lisbon, Portugal, 1315 June 2012, pp. 457-462, 2012.

[26] ´A. Csap´o, P. Baranyi, A Unified Terminology for the Structure and Semantics of CogInfoCom Channels, Acta Polytechnica Hungarica, Vol.

9, No.1, pp 85-105, 2012.

[27] J.K. Tar, Towards Replacing Lyapunov’s “Direct” Method in Adaptive Control of Nonlinear Systems, (invited plenary lecture), Prorc. of the 3rd Conference in Mathematical Methods in Engineering, 21–24 October 2010, Coimbra, Portugal, Paper 11 (CD issue) 2010.

[28] J.K. Tar, L. N´adai, I.J. Rudas, T.A. V´arkonyi, RFPT-based Adaptive Control Stabilized by Fuzzy Parameter Tuning,Proc. of the 9th European Workshop on Advanced Control and Diagnosis, ACD 2011. Budapest, Hungary,pp. 1–8. Paper 6, 2011.

[29] T.A. V´arkonyi, J.K. Tar, I.J. Rudas, I. Kr´omer, VS-type Stabilization of MRAC Controllers Using Robust Fixed Point Transformations,Proc.

of the 7th IEEE International Symposium on Applied Computational Intelligence and Informatics, May 24-26, 2012, Timis¸oara, Romania, pp.

389–394, 2012.

[30] K. K´osi, Sz. Hajdu, J.F. Bit´o, J.K. Tar,Chaos Formation and Reduction in Robust Fixed Point Transformations Based Adaptive Control, 4th IEEE International Conference on Nonlinear Science and Complexity (NSC 2012), August 6-11 2012, Budapest, Hungary, pp. 211-216.

Hivatkozások

KAPCSOLÓDÓ DOKUMENTUMOK

Using double extraction with ethyl acetate solvent provided the highest recovery of SCs, and it is unambiguously more effective than the original ACN method in case of

method gives the minimum relative error in absolute sense when the growth rate is smaller than the discount rate and the expected life of the asset is less than 10 years; however,

If an error is found in the configuration file, it is reported using the function config_err/2 of the error report module, and the function fails with the reason

We build positive and negative effects with proper transformations of the sigmoid function and using the conjunctive operator.. From the input we calculate the output effect with

It is clear that the voltage increase is recovered more quickly with the self-tuning digital Dahlin PID controller for this sudden change in the input voltage than with

We shall note that this reformulation of the original accuracy measure maximization problem has retained its original characteristics as the sigmoid

As a potential competitor of the Lyapunov function-based adaptive controllers a Fixed Point Transformation-based approach was invented that in the first step transforms the the

In this paper a robust control design based on the Linear Parameter-Varying (LPV) method is presented [9, 10], with which the inflow ramps of the freeway in a heterogeneous traffic