Научная статья на тему 'Intelligent tuning of PID controller to balance the shape memory wire actuated ball and beam system'

Intelligent tuning of PID controller to balance the shape memory wire actuated ball and beam system Текст научной статьи по специальности «Медицинские технологии»

CC BY
163
131
i Надоели баннеры? Вы всегда можете отключить рекламу.
Журнал
Физическая мезомеханика
WOS
Scopus
ВАК
RSCI
Ключевые слова
shape memory alloy / ball on beam system / PID controller / optimization / genetic algorithm / particle swarm optimization / сплав с памятью формы / система «шарик – балансир» / ПИД-регулятор / оптимизация / генетический алгоритм / оптимизация методом роя частиц

Аннотация научной статьи по медицинским технологиям, автор научной работы — M. Banu Sundareswari, G. Thenmozhi, Kaliaperumal Dhanalakshmi

The ball on beam system is a highly nonlinear laboratory model which helps to understand the modern and classical control theory. This paper emphasizes the position control of a ball on beam system which is actuated by shape memory alloy wires in an antagonistic configuration. The shape memory alloy actuator provides the necessary force to actuate the beam in the left and right directions of angular position. To achieve effective control of any system it is necessary to design the controller optimally but it is very difficult due to the requirement of proper tuning which is not feasible by the conventionally designed controller. The objective of this paper is the optimal design of the well-received PID controller by using intelligent tuning techniques to drive the system with the best performance. Since the genetic algorithm and particle swarm optimization are the numerical algorithms that have been extensively used to solve all types of complex engineering problems to improve their performance, these algorithms are used to tune the PID controller. The results of genetic algorithm and particle swarm optimization are benchmarked with a conventionally designed PID controller

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Интеллектуальная настройка ПИД-регулятора для балансировки системы «шарик – балансир» с приводом из сплава с памятью формы

Система «шарик – балансир» представляет собой сильно нелинейную модель, используемую в современной классической теории автоматического регулирования. В работе рассмотрены вопросы управления положением шарика на балансире с использованием проволочного механизма из сплава с памятью формы, сконструированного на принципе противодействия. Привод из сплава с памятью формы обеспечивает необходимое усилие для наклона балансира влево и вправо. Для эффективного регулирования любой системы необходимо устройство соответствующей конструкции, разработка которого является непростой задачей ввиду особых требований к настройке, реализация которых невозможна в традиционных регуляторах. Целью данного исследования является оптимизация конструкции широко используемого ПИД-регулятора с использованием интеллектуальных методов настройки для обеспечения наилучшей производительности системы. Настройка ПИД-регулятора осуществляется на основе генетического алгоритма и оптимизации методом роя частиц. Данные численные алгоритмы широко используются для решения сложных инженерных задач, связанных с повышением производительности. Проведено сравнение результатов, полученных с использованием генетического алгоритма и оптимизации методом роя частиц, с данными для ПИД-регулятора традиционной конструкции.

Текст научной работы на тему «Intelligent tuning of PID controller to balance the shape memory wire actuated ball and beam system»

УДК 621.337

Интеллектуальная настройка ПИД-регулятора для балансировки системы «шарик-балансир» с приводом из сплава с памятью формы

M. Banu Sundareswari, G. Thenmozhi, K. Dhanalakshmi

Национальный технологический институт, Тиручираппалли, 620015, Индия

Система «шарик-балансир» представляет собой сильно нелинейную модель, используемую в современной классической теории автоматического регулирования. В работе рассмотрены вопросы управления положением шарика на балансире с использованием проволочного механизма из сплава с памятью формы, сконструированного на принципе противодействия. Привод из сплава с памятью формы обеспечивает необходимое усилие для наклона балансира влево и вправо. Для эффективного регулирования любой системы необходимо устройство соответствующей конструкции, разработка которого является непростой задачей ввиду особых требований к настройке, реализация которых невозможна в традиционных регуляторах. Целью данного исследования является оптимизация конструкции широко используемого ПИД-регулятора с использованием интеллектуальных методов настройки для обеспечения наилучшей производительности системы. Настройка ПИД-регулятора осуществляется на основе генетического алгоритма и оптимизации методом роя частиц. Данные численные алгоритмы широко используются для решения сложных инженерных задач, связанных с повышением производительности. Проведено сравнение результатов, полученных с использованием генетического алгоритма и оптимизации методом роя частиц, с данными для ПИД-регулятора традиционной конструкции.

Ключевыеслова: сплав с памятью формы, система «шарик-балансир», ПИД-регулятор, оптимизация, генетический алгоритм, оптимизация методом роя частиц

DOI 10.24411/1683-805X-2019-16010

Intelligent tuning of PID controller to balance the shape memory wire actuated ball and beam system

M. Banu Sundareswari, G. Thenmozhi, and K. Dhanalakshmi

Department of Instrumentation and Control Engineering, National Institute of Technology, Tiruchirappalli, 620015, India

The ball on beam system is a highly nonlinear laboratory model which helps to understand the modern and classical control theory. This paper emphasizes the position control of a ball on beam system which is actuated by shape memory alloy wires in an antagonistic configuration. The shape memory alloy actuator provides the necessary force to actuate the beam in the left and right directions of angular position. To achieve effective control of any system it is necessary to design the controller optimally but it is very difficult due to the requirement of proper tuning which is not feasible by the conventionally designed controller. The objective of this paper is the optimal design of the well-received PID controller by using intelligent tuning techniques to drive the system with the best performance. Since the genetic algorithm and particle swarm optimization are the numerical algorithms that have been extensively used to solve all types of complex engineering problems to improve their performance, these algorithms are used to tune the PID controller. The results of genetic algorithm and particle swarm optimization are benchmarked with a conventionally designed PID controller.

Keywords: shape memory alloy, ball on beam system, PID controller, optimization, genetic algorithm, particle swarm optimization

1. Introduction

The objective of the ball and beam system is to locate the ball at a required position on the beam. The ball on beam system is an open loop unstable system because the ball slides to move to one of the ends of the beam. The

position of the ball on the system changes with an acceleration that is proportional to the gradient of the beam. The task of the controller is to automatically control and brace the ball at a required position with the help of actuator output. The control variables are the acceleration of the beam

© Banu Sundareswari M., Thenmozhi G., Dhanalakshmi K., 2019

and the voltage output of the actuator. In practice, two configurations of the system are available based on the actuator location. In one configuration the beam is hinged at the center and oscillates about the hinged point. In the other configuration, the two sides of the beam are hinged by lever arms. The gear arrangement is required to transfer the actuator signal to the system. The demerit of this system is that since more mechanical parts are considered in the design, it introduces some complications during the equation formation [1]. In this paper, the centrally hinged contour of the ball on beam system is taken for analysis. The actuator plays a major role in transferring the control action from the controller to the plant in any control system. The electric actuators are best suited for all applications in the areas of mechatronics, robotics and aerospace systems. Generally, DC motor and stepper motors are used as conventional electrical actuators. The advancement of smart material technology, particularly the shape memory alloy (SMA) extends a scope to replace them by alternative means, also to avoid their heavyweight and bulky construction. Actuators based on smart materials like piezoelectric and shape memory alloy are popular, but still the latter is preferable in comparison with the former in this application for reasons like feasibility and applicability [2].

Shape memory alloy is one of the smart material which is gaining popularity due to its microstructure, molecular characteristics, and distinguished properties such as simple mechanism, lightweight, high force to weight ratio, less space requirement, etc. that make them suitable for actuation and even sensing. Unlike other metals and alloys, shape memory alloys exhibit the shape memory effect, i.e., an shape memory alloy can be strained at low temperature and when raised to a higher temperature returns back to its original undeformed state due to the transformation of states between low temperature martensite M and high temperature austenite A phase [3]. During heating and cooling of shape memory alloy wire due to phase transformation, shape memory alloys can engender the force and displacement and so temperatures are the main variables to be taken into account for building up shape memory alloy actuators [4]. The dynamic performance of the shape memory alloy actuation can be improved by reducing the heating and cooling time. Fast heating can be achieved by electrical resistance heating or Joule heating and it provides safe delivery of power without overheating and fast cooling can be done by natural convection [5]. The repeated and desired actuation of the shape memory alloy wire is achieved in two ways: (i) shape memory alloy wire with bias spring which has no active control of movement during natural cooling, (ii) two shape memory alloy wires with differential or antagonistic arrangement which provide better control by alternate heating and cooling of the shape memory alloy wires [6]. The differential arrangement of shape memory alloy is used as the actuator for the system under study.

This paper addresses three issues: the study on the most significant ball on beam control system, implemented with a new smart actuator to prove its capability to drive such a system and to apply and claim improved performance with the optimal design of the well-proven PID control scheme. The PID controller for shape memory alloy actuated ball on beam system is designed using one of the classical tuning techniques such as the Ziegler-Nichols (ZN) method. It is found from the outcomes that the performance of the Ziegler-Nichols method tuned PID controller is not up to the expectation. Hence the nonclassical methods such as the genetic algorithm (GA) and particle swarm optimization (PSO) have been implemented to get the optimal PID controller parameters to improve the system performance using MATLAB simulation and the results are verified experimentally. It is found that these algorithms outperform the conventional PID controller by employing any one of the time-domain specifications such as settling time, overshoot and integral square error, integral absolute error, integral time squared error and integral time absolute error. The results are compared for Ziegler-Nichols method, genetic algorithm and particle swarm optimization based PID controllers.

2. Illustration of the system

This ball on beam is a benchmark for nonlinear dynamic, underactuated mechanical system in the laboratory level whose core concept can be applied to some practical control problems such as landing of airplane, problem, moving robot balancing; position control of spaceship and also that is a very useful system to understand modern as well as classical control concepts. The control of such a complex nonlinear system is difficult because the system has two degrees of freedom: the angular position of the beam

Rotary potentiometer

Nichrome wire

Electrical connection

Fig. 1. The experimental setup schematic of implementation. DAQ — data asquisition block (color online)

Table 1

System specifications

Beam length, cm

Beam breadth, cm

Beam thickness, cm

Mass of the beam, kg

Mass of the ball, kg

Radius of the ball, cm

Value

60

0.2

0.153

0.028

1.6

and the corresponding rolling location of the ball. The objective is to ascend the position of the ball which depends upon the position of the beam.

2.1. Experimental setup

The schematic setup and photograph of the ball on beam system are shown in Fig. 1. The structure of the ball on beam system consists of a centrally supported beam with a ball that moves along the beam. The structure incorporates two shape memory alloy wires whose contour is mechanically parallel and electrically in series which rolls over the pulley to provide antagonistic actuation. Such a contour provides ease of connection and offers double the strain and force. The horizontal beam can be rotated through an angle of ±15° by antagonistic shape memory alloy. The angle of the beam is detected by a servo potentiometer fixed at the shaft. The location of the ball is acquired by the variable resistance method using two nichrome wires sliding over the entire length of the beam. The two detected signals from the servo and linear potentiometers are given to the controller and the generated control signal is converted to current using voltage to current converter circuit (OPA547). This current is given to the shape memory alloy actuator using a data acquisition card (USB 1408 FS) which produces a force resulting in a torque acting on the beam to rotate the beam by an angle 0. By controlling the control signal to these actuators, the topographic point of the ball is ascended and maintained at the desired position. The details of the beam, ball, and shape memory alloy wire are shown in Tables 1 and 2.

2.2. System model

The mathematical exemplar of the shape memory alloy actuated ball on beam system consists of two parts: (i) the

Table 2

Specifications of shape memory alloy wire

Diameter, cm

Length, cm

Transition temperature, °C

Young's modulus (martensite), GPa

Young's modulus (austenite), GPa

Approximate current at room temperature, A

Value

0.015

90

90

28

75

0.410

Fig. 2. The ball and beam system

equation model of the ball and (ii) the equation model of the shape memory alloy actuator as shown in Fig. 2. The model of this centrally pivoted system is derived with the following considerations: the gravity of the beam is neglected and the angles of beam and actuator positions are to be the same. Since the system is open-loop unstable, the closed-loop feedback is necessary to stabilize the system [6, 7]. The transfer function of the system relating the ball position x and the beam angle 0 is given in Eqs. (2) and (3). The shape memory alloy actuator generates a force that acts on the pulley which translates this force to the shaft of the hinged beam.

To balance the dynamics of the ball and to bring it to a required set point on the beam, the angle of rotation and strain are very important which are decided by the radius of the pulley and the length of the shape memory alloy wire. Equation (1) shows the relationship between the beam angle and the length of the shape memory alloy wire:

(1)

360° G ( s ) = X ( s )

9( s ) 2 •

1

1 + 2/s (R/r)2 s 2

(2)

(3)

0(s) Is

The models of the ball and the shape memory alloy actuator are determined using a system identification approach in MATLAB using the prediction error estimate method. This method is preferred over other methods due to good estimation accuracy. The models obtained are shown in Eqs. (4) and (5) which possess more than 80% fitness: X (s) 2.907s + 2.218

0(s) s 2 + 0.54s + 0.1421 ' 8( s ) = 0.1247 U ( s ) = s2 + 0.1123s + 0.3489 •

(4)

(5)

3. Control strategies and implementation

3.1. Control using convevtional PID

The control objective is to keep the ball at any required set position, by controlling and stabilizing the angle of the beam. The above task is performed by controlling the con-

Fig. 3. Ball on beam system

trol signal to shape memory alloy wire actuators by the PID controller.

The PID controller is extensively used in all industries due to its simplicity in function and reliable performance. Its main function is reducing the steady-state error and improving the dynamic response of the system by adding a pole at the origin which increases the system type number by one with integral action and adding a finite zero with the derivative action of the controller respectively.

The mathematical model of the PID controller is given by Eq. (6)

u (t) = Kp e(t) + Ki | e(t )dt + Kd ^, (6)

dt

where Kp, Ki, Kd are the proportional, integral, derivative gains of the PID controller respectively and e(t) is the error signal given to the controller which is the deviance between the expected output and the actual output, u(t) is the controller output. To get good control performance it is necessary to design or tune the gains properly. To verify the controller performance, the integral performance indices to the error signal e(t) are often a good choice. They are integral absolute error, integral squared error, integral time absolute error, and integral time squared error. Since PID-type controllers are widely used in the process industry, there are many algorithms or methods available among those, Ziegler-Nichols, and Cohen-Coon are familiar but these have their limitations.

Since the overall order of the system is more than two it is difficult to control the system with a single controller hence PID cascade structure as shown in Fig. 3. This con-

trol is preferable for any ball and beam system which contains outer and inner control loops, one with a primary PID controller for controlling the ball position and another with a secondary PID controller to control the beam angle. Various control strategies such as the neural network [8], sliding mode control [9] have been tested on the conventional ball on beam system in which the DC motor acts as the actuator [10]. In this (SMA actuated ball on beam) system, the inner loop governs the shape memory alloy actuator and the outer loop governs the ball position. Few control strategies have been tested on this system and presented as follows: PWM based control, fuzzy based autoadaptive control [6]. The inner and outer PID controllers are designed using the Ziegler-Nichols method to ascend the topographic point of the ball related to change in the beam angle. To evaluate the controller, the time domain variables such as rise time, overshoot, settling time and the error cri-terions are considered. PID controller with proper tuning will yield good time-domain specifications and minimum error criterion [11].

The ZN-PID controller performance is verified in the ball on beam system by the tracking performance for various input signals square, sinusoidal and multistep signals as shown in Figs. 4-6.

3.2. Outline of genetic algorithm

The genetic algorithm is the bioinspired heuristic random search method that emulates natural evolution based on Darwin's survival fittest theory. Genetic algorithm can be used in the complex domain without experiencing any

20°-10°-

(D

§ o°-

s

8-10°-PQ

-20°-30°-

tu

—1

Reference

Experimental

Simulation

10 15 20 Time, s

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

25 30

40200-

o

Qh ^ 20

PQ

-40-

7— Reference { Experimental Simulation

10 15 20 Time, s

25 30

Fig. 4. Square wave tracking of beam angle (a) and ball position (b) (color online)

-30°-

bû a a

I

CD

m

40-

20-

/ \

# > / \

0~9

A

H

- Reference

Experimental ---Simulation

10 15 20 Time, s

25

30

8h -20-

m -40-

-60-

\j

\j

\

f ?

F F

\J

Reference

Experimental ---Simulation

10

15 Time, s

20

25 30

Fig. 5. Sine wave tracking of beam angle (a) and ball position (b) (color online)

20°-

10°-

0°-

-10°-

-20°^■

Reference L^

Experimental

Simulation

JL"

S 1 / T.

-Reference "lA

-Experimental

---Simulation

0 5 10 15 20 25 30 35 40 Time, s

-40

0 5 10 15 20 25 30 35 40 Time, s

Fig. 6. Multistep tracking of beam angle (a) and ball position (b) (color online)

difficulty. Genetic algorithm is characterized by a group of parameters such as chromosome representation (encoding), population size, number of generations, boundary values for variables to be optimized, probability rate of main operators of genetic algorithm such as selection, crossover and mutation [12].

An objective function with error criterion ITAE (integral time absolute error) is more suitable for servo control problems since the error signal is forced to settle down at zero as soon as possible. This constraint is formed to design the controller with less overshoot, fast rise time and small settling time. Based on the fitness value of each mortal and probability value, the groups of chromosomes are

chosen to undergo three basic operations of genetic algorithm: selection, crossover and mutation to create new mortal to produce the best solution as parents yield the optimal solution as children. In recombination or crossover, the portion of chromosomes which corresponds to the qualities of the parents are exchanged or combined to form the offspring. The new feature of the offspring is obtained by flipping or mutating the single bit or gene in the chromosome.

3.3 Implementation of genetic algorithm based PID

The transient response of the system can be improved by tuning the PID controller optimally using genetic algo-

Fig. 7. Schematic structure of GA-PID controller of ball on beam system

rithm [13]. The schematic structure of the controller design using genetic algorithm is shown in Fig. 7. The parameters of the PID controller such as Kp, Ki, Kd are the genes for the set of chromosomes. The boundary values for the genes are obtained from the conventional tuning method of Ziegler-Nichols. The selection of chromosome for the next generation is based on the fitness values of the chromosome which is the error-index. After the selection process, the crossover and mutation operation is performed over the chromosomes of high fitness value. The geometrical selection which is simple to implement is applied here, and it has a notable ability to reduce the effect of prema-

ture convergence. The arithmetic crossover is employed because it takes the integer values of the parent and produces new offspring based on the arithmetic mean. Uniform mutation uses maximum and minimum uniform random value. The processes are continued for the fixed number of the iterations by termination function. The number of iterations has been chosen based on the convergence of objective function.

The optimal values of the PID controller are implemented in the shape memory alloy actuated ball on beam system and the performance of the system for the optimal gain values are verified for different input signals in simu-

30°T 20°-

gp 10° Ö CÖ

-Reference Experimental - Simulation

cd 0°-

S

cd CD

m -io°-

-20°-

10 15 20 25 30 Time, s

60-

40-

g

o

Ö .2 20-

S

en O Qh 0-

Id

-20-

-40 i

— Reference

Experimental

__ - Simulation

1 1 1 |

»■.........1 Ii h Ii i i i i

10 15 20 25 30 Time, s

Fig. 8. Square wave tracking of beam angle (a) and ball position using genetic algorithm (b) (color online)

-Reference L^-

Experimental ---Simulation

5 10 15 20 25 30 35 Time, s

5 10 15 20 25 30 35 Time, s

Fig. 9. Sine wave tracking of beam angle (a) and ball position using genetic algorithm (b) (color online)

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

Time, s

Fig. 10. Multistep tracking of beam angle (a) and

Time, s

position using genetic algorithm (b) (color online)

Pbesti

P

/

Fig. 11. Schematic representation of position and velocity updation (color online)

lation as well as in experimentation as shown in Figs. 810.

3.4. Overview of the particle swarm optimization

It is an evolutionary, stochastic random search technique that imitates the intelligence of the swarm in the scenario of searching for food. It starts with a particle called swarm initialized at random position and velocity in the search

space and also each particle is the solution of the problem. Each particle adjusts/updates its flying position and velocity based on its personal flying experience (cognitive) called Pbest (personal best) and also the experience of other particles (social) Gbest (global best). The aim is to optimally find the solution by shuffling the positions of the particles towards the best fitting value and finally converging towards the single solution [14]. The pre-defined fitness function measures the performance of each particle. The mathematical equation for updating the position and velocity of the particle in the swarm is given by the following Eqs. (7) and (8) and the schematic diagram of the same is given in Fig. 11:

(t +1) = (t) + Vi (t +1), (7)

V; (t + 1) = wVi (t) + r1q(Pbest(t) - Xi (t)) +

+ r2C2(Gbest(t) - X; (t)), (8)

where w is the inertia weight factor, V; (t) is the velocity of particle, i(t) is the number of iteration at t, X; (t) is the particle position at iteration i(t), c1 and c2 are positive acceleration coefficients used for convergence towards Pbest and Gbest solutions, r1 and r2 are the random numbers between [0, 1], Pbest(t) is the best position of the individual particle and Gbest (t) is the best position of group of particle.

"0

30°-l £ 20°-\

CD

m o°-

-io°--20°-

- Reference Experimental

- Simulation

60

10

20 Time, s

Reference lA Experimental Simulation

30

10 20 Time, s

Fig. 12. Square wave tracking of beam angle (a) and ball position using PSO (b) (color online)

-Reference ^

Experimental ---Simulation

A

\

I

V

~30~

Time, s

Time, s

Fig. 13. Sine wave tracking of beam angle (a) and ball position using PSO (b) (color online)

20°-

£ 10°-bû

§ -

«j 0°-

m

-io°-

IL

-Reference L^-Experimental - Simulation

L

10

20 Time, s

30

40

40

20

a 0

CQ

-20

fi

-Reference lA

Experimental ---Simulation

10

20 Time, s

~30

Fig. 14. Multistep tracking of beam angle (a) and ball position using PSO (b) (color online)

3.5. Implementation of particle swarm optimization—PID controller

Determining the optimal gains of PID controller such as proportional, integral and derivative constants for minimum error criteria are assigned in the search space with the vector K = [Kp, Ki, Kd] as the particles of the swarm in particle swarm optimization algorithm. The fitness/objective function is formed based on the error value between the actual output and desired output and the error criterion ITAE. The pseudocode for implementing the particle swarm optimization algorithm for tuning the PID controller gains is given below [14]:

1. Assign initial values for the swarm size, random particles of Kp, Ki, Kd gains with random position and velocity vector, inertia and acceleration constants, and iterations, etc.

2. Determine the objective function value for each particle (Kp, Ki, Kd).

3. Find the social and personal best particles (PID gains) and their respective fitness function.

4. Update the positions and velocity of each particle using Eqs. (7) and (8).

5. Check if termination condition of minimum error is reached or not if reached then stop; otherwise, go to step 2.

Unlike genetic algorithm, in particle swarm optimization there is a balance between global and local minima thereby it provides controlled convergence of the fitness function and obtains the best solution [15]. In this way, particle swarm optimization provides optimal gain values to the PID control action than the conventional and non-conventional methods of genetic algorithm. The convergence of the fitness function (error value) towards the best optimal solution is obtained and the corresponding optimal solutions are implemented in the shape memory alloy actuated beam and also in the ball on beam system. The performances of the system are validated by the tracking response of the various input signals by simulation as well as experimentation as shown in Figs. 12-14. It is observed that the particle swarm optimization based PID control performs better than conventional and genetic algorithm for square wave, sine wave and multistep input for both ball position and beam angle.

Table 3

Comparison of performances of ZN, GA and PSO

Control parameter Beam angle Ball position

Tuning method ZN GA PSO ZN GA PSO

Rise time 1.7 0.5227 0.3946 1.2136 0.5656 0.3926

Settling time 14.5 12.301 10.069 14.6288 11.7607 10.1443

Overshoot, % 26.137 13.8676 4.2488 30.29 8.49 6.0800

ISE 0.2972 0.0846 0.0737 0.2414 0.1855 0.1166

IAE 0.5303 0.1964 0.1609 0.4065 0.3123 0.2178

ITSE 0.1060 0.0102 0.0065 0.0568 0.0274 0.0117

ITAE 0.2251 0.0408 0.0266 0.1429 0.0745 0.0460

Steady-state error 0.0259 0.0295 0.02 0.0699 0.0158 0.0040

0.14 T 0.12-

<D

5 o.ioH

>

ö 0.08 H

0.060.04-

K M

20

* Best fitness

* Mean fitness

0

"F"

40 60 Iteration

80

100

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

0.18 0.16 T

§ 0.14-'

0.120.100.08 0.06

20

* Best fitness

* Mean fitness

m

40 60 Iteration

80

100

Fig. 15. Convergence of fitness value in PSO (a) and GA (b) (color online)

4. Results and discussion

The influences of the optimized PID controller gains are studied from the following results. The gains of the PID controllers for controlling beam angle and ball position are tuned using the conventional ZN method and the tracking responses for different input signals, square, sinusoidal, multistep are simulated and verified experimentally

as shown in Figs. 4-6. The Time domain parameters of the system and performance indices are determined and tabulated as shown in Table 3. The objective function (ITAE) is minimized using the genetic algorithm and particle swarm optimization and the convergence graph for objective function is obtained for optimal values of PID gain parameters as shown in Fig. 15. The tracking response of the system

10 15 20 Time, s

10 15 20 Time, s

Fig. 16. Simulation (a) and experimental results of step response of beam angle using ZN, GA and PSO (b) (color online)

10 15 20 Time, s

10 15 20 Time, s

Fig. 17. Simulation (a) and experimental results of step response of ball and beam using ZN, GA and PSO (b) (color online)

for the step change in the position of ball and beam angle is simulated and checked experimentally with those optimal gain values as shown in Figs. 16, 17. To validate the performance of particle swarm optimization, genetic algorithm based controller with conventional controller, the time domain specifications are observed from the response and the performance indices (error criterion) integral square error (ISE), integral absolute error (IAE), integral time squared error (ITSE) and integral time absolute error (ITAE), are evaluated and tabulated in Table. 3. Due to the premature convergence of genetic algorithm based PID, the fitness function converges at local minima. But in particle swarm optimization the inertia weight and acceleration coefficients are used to provide better convergence of the solution than genetic algorithm and avoid premature convergence. It is proved that the particle swarm optimization based PID controller has minimum settling time and overshoot than the conventional controller and genetic algorithm based PID controller. Based on the results it is seen that the particle swarm optimization—PID controller outperforms the ZN-PID and GA-PID controller in terms of ISE, IAE, ITSE and ITAE for both beam angle and the ball position.

5. Conclusions

This paper exhibits the implementation of optimization algorithms (genetic algorithm, particle swarm optimization) for the shape memory alloy actuated ball on beam system. This study is considered essential since the implementation of the basic, well-received PID controller on this system did not prove fruitful, due to the most dominating effect of overshoot and large settling time which are of course most undesirable for any control system. The results indicate that the optimally tuned PID controllers control the beam with the action of shape memory alloy actuator wire and hence position control of the ball is attained with minimum settling time and overshoot in comparison to the conventional PID. The performance indices ISE, IAE, ITSE and ITAE are also evaluated and compared for all the three schemes. The results demonstrate that the tuning of the controller based on particle swarm optimization leads to improved performance and increases the tracking accuracy of the shape memory alloy actuator as well as the ball on beam system.

References

1. Mohd Fuaad Rahmat, Herman Wahid, Norhaliza Abdul Wahab. Application of intelligent controller in a ball and beam control system // Int. J. Smart Sensing Intellig. Syst. - 2010. - V. 3. - No. 1. - P. 45-60.

2. Moallem M., Tabrizi V.A. Tracking control of an antagonistic shape memory alloy actuator pair // IEEE Trans. Control Syst. Technol. -2009. - V. 17. - No. 1. - P. 184-190.

3. Nespoli A., Besseghini S., Pittacio S., Vill E., Viscuso S. The high potential of shape memory alloy in developing miniature mechanical devices: A review on shape memory mini-actuators // Sens. Actuator.- 2010. - V. 158. - No. 1. - P. 149-160.

4. Teh Y.H., FeatherstoneR. An architecture for fast and accurate control of shape memory alloy actuators // Int. J. Robot. Res. - 2008. - V. 27. -No. 5. - P. 1-18.

5. Romano R, Tannuri E.A. Modelling, control and experimental validation of a novel actuator based on shape memory alloys // Mechatro-nics. - 2009. - V. 19. - No. 7. - P. 1169-1177.

6. Selvarani Ruth D.J., Sunjai Nakshatharan S., Dhanalakshmi K. Auto-adaptive control of a one joint arm direct driven by antagonistic shape memory alloy // Int. J. Smart Sens. Intelligent Syst. - 2013. - V. 6. -No. 3. - P. 833-839.

7. Banu Sundareswari M., Sunjai Nakshatharan S., Selvarani Ruth D.J., Dhanalakshmi K. Optimal Design of PID Controller for Shape Memory Alloy Actuated Ball on Beam // Proc. of Int. Conf. Intelligent Unmanned Systems (ICIUS), Jaipur, India, September 2013.

8. Li X., Yu W. Synchronization of ball and beam systems with neural compensation // Int. J. Automat. Syst. - 2010. - V. 8. - No. 3. - P. 491496.

9. Naif B. Almutairi, MohamedZribi. On the sliding mode control ofa ball

on a beam system // Nonlin. Dynam. - 2010. - V. 59. - P. 221-238.

10. Oh S.-K., Jang H.-J., Pedrycz W. The design of a fuzzy cascade controller for ball and beam system: A study in optimization with the use of parallel genetic algorithms // Eng. Appl. Artific. Intell. - 2009. -V. 22. - No. 2. - P. 261-271.

11. Banerjee T., Chowdhuri S., Sarkar G., Bera J. Performance comparison between GA and PSO for optimization of PI and PID controller of direct FOC induction motor drive // Int. J. Sci. Res. Publ. -2012. - V. 2. - No. 7. - P. 2250-3153.

12. KeshmiriM., Jahromi A.F., Mohebbi A. MohammadHadi Amoozgar, Wen-Fang Xie. Modelling and control of ball and beam system using model based and Non model based control approaches // Int. J. Smart Sens. Intell. Syst. - 2012. - V. 5. - No. 1. - P. 14-35.

13. Eissa M.M., Virk G.S., Abdel Ghany A.M., Ghith E.S. Optimum induction motor speed control technique using genetic algorithm // Am. J. Intell. Syst. - 2013. - V. 3. - No. 1. - P. 1-12.

14. Mohammad Pourmahmood Aghababa. Optimal design of fractional-order PID controller for five bar linkage robot using a new particle swarm optimization algorithm // Soft. Comput. - 2016. - V. 20. -P. 4055-4067.

15. Mohmoodapadi M.J., Adljooy Shafaie A., Bhageri A., Nariman Jadeh N. A novel combination of particle swarm optimization and genetic algorithm for parieto optimal design of five-degree freedom vehicle vibration model //Appl. Soft Comput. - 2013. - V. 13. -P. 2577-2591.

Received 19.11.2019, revised 19.11.2019, accepted 26.11.2019

CeedeHua 06 aemopax

M. Banu Sundareswari, Research Scholar, National Institute of Technology, India G. Thenmozhi, Research Scholar, National Institute of Technology, India

Kaliaperumal Dhanalakshmi, Dr., Prof., National Institute of Technology, India, [email protected]

i Надоели баннеры? Вы всегда можете отключить рекламу.