Fuzzy controllers (FCs) based on integer concepts have proved their interesting capacities in several engineering domains. The fact that dynamic processes can be more precisely modeled by using fractional systems has generated a great interest in considering the design of FCs under fractional principles. In the design of fractional FCs, the parameter adjustment operation is converted into a multidimensional optimization task where fractional orders, and controller parameters, are assumed as decision elements. In the design of fractional FCs, the complexity of the optimization problem produces multi-modal error surfaces which are significantly hard to solve. Several metaheuristic algorithms have been successfully used to identify the optimal elements of fractional FCs. But, most of them present a big weakness since they usually get sub-optimal solutions as a result of their improper balance between exploitation and exploration in their search process. This chapter analyses the optimal parameter calibration of fractional FCs. To determine the best elements, the approach employs the Social Spider Optimization (SSO) algorithm, which is based on the simulation of the cooperative operation of social-spiders. In SSO, candidate solutions represent a group of spiders, which interact with each other by considering the biological concepts of the spider colony. Different to most of the metaheuristic algorithms, the approach explicitly avoids the concentration of solutions in the promising positions, eliminating critical defects such as the premature convergence and the deficient balance of exploration–exploitation.

3.1 Introduction

A fractional order model is a system that is characterized by a fractional differential equation containing derivatives of non-integer order. In fractional calculus, the integration and the differentiation operators are generalized into a non-integer order element, where is a fractional number and a and t symbolize the operator limits [1, 2]. Several dynamic systems can be more accurately described and controlled by fractional models in comparison to integer order schemes. For this reason, in the last decade, the fractional order controllers [3,4,5] have attracted the interests of several research communities.

A fractional-order controller incorporates an integrator of order and a differentiator of order. The superior performance of such controllers with regard to conventional PIDs has been widely demonstrated in the literature [6].

On the other hand, fuzzy logic [7] provides an alternative method to design controllers through the use of heuristic information. Remarkably, such heuristic information may come from a human-operator who directly manipulates the process. In the fuzzy logic methodology, a human operator defines a set of rules on how to control a process, then incorporated it into a fuzzy controller that emulates the decision-making process of the operator [8].

Fractional fuzzy controllers (FFCs) are the results of the combination of conventional fuzzy controllers and fractional operators. Under such combination, FFCs exhibit better results than conventional FCs for an extensive variety of dynamical systems. This capacity is attributed to the additional flexibility offered by the inclusion of the fractional parameters.

Parameter calibration is an important step to implement applications with FFCs. This procedure is long and time consuming, since it is commonly conducted through trial and error. Therefore, the problem of parameter estimation in FFCs can be handled by evolutionary optimization methods. In general, they have demonstrated to deliver interesting results in terms of accuracy and robustness [5]. In these methods, an individual is represented by a candidate parameter set, which symbolizes the configuration of a determined fractional fuzzy controller. Just as the evolution process unfolds, a set of evolutionary operators is applied in order to produce better individuals. The quality of each candidate solution is evaluated through an objective function whose final result represents the performance of the parameter set in terms of the produced error. Some examples of such approaches being applied to the identification of fractional order systems have involved methods such as Genetic Algorithms (GA) [5], Particle Swarm Optimization (PSO) [9], Harmony Search (HS) [10], Gravitational Search Algorithm (GSA) [11] and Cuckoo Search (CS) [12]. Although such algorithms present interesting results, they have exhibited an important limitation: they frequently obtained sub-optimal solutions as a consequence of the limited balance between exploration and exploitation in their search strategies. Such limitation is associated to the evolutionary operators that have been employed to modify individual positions. In such algorithms, during their operation, the position of each individual for the next iteration is updated, producing an attraction towards the position of the best particle seen so far or towards other promising individuals. Therefore, as the algorithm evolves, such behaviors cause that the entire population concentrate rapidly around the best particles, favoring the premature convergence and damaging the appropriate exploration of the search space [13, 14].

The Social Spider Optimization (SSO) algorithm [15] is a recent evolutionary computation method that is inspired on the emulation of the collaborative behavior of social-spiders. In SSO, solutions imitate a set of spiders, which cooperate to each other based on the natural laws of the cooperative colony. Unlike the most popular evolutionary algorithms such as GA [16], PSO [17], HS [18], GSA [19] and CS [20], it explicitly evades the concentration of individuals in the best positions, avoiding critical flaws such as the premature convergence to sub-optimal solutions and the limited balance of exploration–exploitation. Such characteristics have motivated the use of SSO to solve an extensive variety of engineering applications such as energy theft detection [21], machine learning [22], electromagnetics [23], image processing [24] and integer programming problems [25].

This chapter presents a method for the optimal parameter calibration of fractional FCs based on the SSO algorithm. Under this approach, the calibration process is transformed into a multidimensional optimization problem where fractional orders, as well as controller parameters of the fuzzy system, are considered as a candidate solution to the calibration task. In the method, the SSO algorithm searches the entire parameter space while an objective function evaluates the performance of each parameter set. Conducted by the values of such objective function, the group of candidate solutions are evolved through the SSO algorithm so that the optimal solution can be found. Experimental evidence shows the effectiveness and robustness of the method for calibrating fractional FCs. A comparison with similar methods such as the Genetic Algorithms (GA), the Particle Swarm Optimization (PSO), the Harmony Search (HS), the Gravitational Search Algorithm (GSA) and the Cuckoo Search (CS) on different dynamical systems has been incorporated to demonstrate the performance of this approach. Conclusions of the experimental comparison are validated through statistical tests that properly support the discussion.

The Chapter is organized as follows: Sect. 3.2 introduces the concepts of fractional order systems; Sect. 3.3 describes the fractional fuzzy controller used in the calibration; Sect. 3.4 presents the characteristics of SSO; Sect. 3.5 formulates the parameter calibration problem; Sect. 3.6 shows the experimental results while some final conclusions are discussed in Sect. 3.7.

3.2 Fractional-Order Models

Dynamical fractional-order systems are modeled by using differential equations, which involve non-integer integral and/or derivative operators [26, 27]. Since these operators produce irrational continuous transfer functions, or infinite dimensional discrete transfer functions, fractional models are normally studied through simulation tools instead of analytical methods [5, 28,29,30,31,32,33]. The remainder of this section provides a background of the fundamental aspects of the fractional calculus, and the discrete integer-order approximations of fractional order operators that are used in this paper.

3.2.1 Fractional Calculus

Fractional calculus is a generalization of integration and differentiation to the non-integer order fundamental operator. The differential-integral operator, denoted by \( {}_{a}D_{t}^{\alpha } \), takes both the fractional derivative and the fractional integral into a single expression defined as:

$$ {}_{a}D_{t}^{\alpha } = \left\{ {\begin{array}{*{20}l} {\frac{{d^{\alpha } }}{{dt^{\alpha } }},} & {\alpha > 0,} \\ {1,} & {\alpha = 0,} \\ {\int\limits_{a}^{t} {(d\tau )^{\alpha } ,} } & {\alpha < 0.} \\ \end{array} } \right. $$
(3.1)

where a and t represent the operation bounds, whereas \( \alpha \in \Re \). The commonly used definitions for fractional derivatives are the Grünwald-Letnikov, Riemann-Liouville [34] and Caputo [35]. According to the Grünwald-Letnikov approximation, the fractional-order derivative of order \( \alpha \) is defined as follows:

$$ D_{t}^{\alpha } f(t) = \mathop {\lim }\limits_{h \to 0} \frac{1}{{h^{\alpha } }}\sum\limits_{j = 0}^{\infty } {\left( { - 1} \right)}^{j} \left( {\begin{array}{*{20}c} \alpha \\ j \\ \end{array} } \right)f(t - jh) $$
(3.2)

In the numerical calculation of fractional-order derivatives, the explicit numerical approximation of the \( \alpha \)-th derivative at the points \( kh,(k = 1,2, \ldots ) \) maintains the following form [36]:

$$ {}_{{(k - M_{m} /h)}}D_{{t_{k} }}^{\alpha } f(t) \approx h^{ - \alpha } \sum\limits_{j = 0}^{k} {\left( { - 1} \right)}^{j} \left( {\begin{array}{*{20}c} \alpha \\ j \\ \end{array} } \right)f(t_{k} - j) $$
(3.3)

where \( M_{m} \) is the memory length \( t_{k} = kh \), h is the time step and \( \left( { - 1} \right)^{j} \left( {\begin{array}{*{20}c} \alpha \\ j \\ \end{array} } \right) \) are the binomial coefficients. For their calculation, we can use the following expression:

$$ c_{0}^{(\alpha )} = 1,\begin{array}{*{20}c} {} & {c_{j}^{(\alpha )} = \left( {1 - \frac{1 + \alpha }{j}} \right)c_{j - 1}^{(\alpha )} } \\ \end{array} $$
(3.4)

Then, the general numerical solution of the fractional differential equation is defined as follows:

$$ y(t_{k} ) = f(y(t_{k} ),t_{k} )h^{\alpha } - \sum\limits_{j = 1}^{k} {c_{j}^{(\alpha )} y(t_{k - j} )} $$
(3.5)

3.2.2 Approximation of Fractional Operators

Assuming zero initial conditions, the fractional operator is defined in the Laplace domain as \( L({}_{a}D_{t}^{\alpha } f(t)) = s^{\alpha } F(s) \). Several approaches [37,38,39] have been proposed for producing discrete versions of continuous operators of type \( s^{\alpha } \). In this chapter, the Grünwald-Letnikov approximation has been used due to its interesting properties for generating discrete equivalences [40,41,42,43]. Under this method, the discretization considers the following model:

$$ D^{\alpha } (z^{ - 1} ) = \left( {\frac{{1 - z^{ - 1} }}{{T_{c} }}} \right) = \sum\limits_{k = 0}^{\infty } {\left( {\frac{1}{{T_{c} }}} \right)^{\alpha } } ( - 1)\left( {\begin{array}{*{20}c} \alpha \\ k \\ \end{array} } \right)z^{ - k} = \sum\limits_{k = 0}^{\infty } {h^{\alpha } (k)z^{ - k} } , $$
(3.6)

where \( h^{\alpha } (k) \) is the impulse response sequence, whereas \( T_{c} \) represents the sampling frequency. It has been already demonstrated in the literature [36] that rational models converge faster than polynomial methods. Consequently, the Padé approximation approach has been employed to obtain a fractional model from the impulse response by using the definition provided in Eq. 3.7.

$$ H(z^{ - 1} ) = \frac{{b_{0} + b_{1} z^{ - 1} + \cdots + b_{m} z^{ - m} }}{{1 + a_{1} z^{ - 1} + \cdots + a_{n} z^{ - n} }} = \sum\limits_{k = 0}^{\infty } {h(k)z^{ - k} }, \quad m \le n $$
(3.7)

where m, n and the parameters \( a_{i} \) and \( b_{i} \) are calculated by adjusting the first m + n + 1 coefficients of \( h^{\alpha } (k) \).

3.3 Fuzzy Controller

A fuzzy controller (FC) is a nonlinear system produced from empirical rules. Such empirical information may come from a human operator who directly manipulates the process. Each rule, just as the natural language, presents an IF-THEN format. The collection of all rules constitutes the rule base that emulates the decision-making process of the operator. An important characteristic of one FC is the partitioning of the control scheme into regions [44]. At each region, the control strategy can be simply modeled by using a rule that associates the region under which certain actions are performed. Despite proposing several configurations of FCs in the literature, the fuzzy fractional \( {\text{PD}}^{\alpha } + \text{I} \) has been selected since it presents interesting characteristics of robustness and stability [5]. In this structure, the integral error is incorporated to the output of the fuzzy fractional \( {\text{PD}}^{\alpha } \) controller. Under this configuration, the integral action supports the elimination of the final steady state error.

The controller configuration is shown in Fig. 3.1. In the Figure, E, DE and IE represents the error, the fractional derivative error and the integral error, respectively. It has four gains \( K_{p} ,K_{d} ,K_{i} \) and \( K_{u} \) to be calibrated, the first three gains correspond to the input and the last one to the output. The control action u is a nonlinear mapping function of E, DE and IE with the following model:

Fig. 3.1
figure 1

Fuzzy \( {\text{PD}}^{\alpha } + \text{I} \) controller

$$ \begin{array}{*{20}c} {u(k) = \left( {f(E,CE) + IE} \right)K_{u} } \\ {u(k) = \left[ {f\left( {K_{p} e,K_{d} D^{\alpha } e} \right) + K_{i} Ie} \right] \cdot K_{u}, } \\ \end{array} $$
(3.8)

A fuzzy controller consists of three conceptual components: a rule base, which contains a selection of fuzzy rules; a database, which defines the membership functions used by the fuzzy rules; and a reasoning mechanism, which performs the inference procedure. There are two different fuzzy systems: the Mamdani [45] and the Takagi-Sugeno (TS) [46]. In order to maintain compatibility to similar works reported in the literature, the rule base and the membership functions are selected the same as [5, 9]. Under such conditions, Table 3.1 shows the rule base used by the fuzzy controller to be calibrated. In Table 3.1, NL, NM, NS, ZR, PS, PM and PL represent the linguistic variables “Negative Large”, “Negative Medium”, “Negative Small”, “Zero”, “Positive Small”, “Positive Medium” and “Positive Large”, respectively. Figure 3.2 shows the membership functions that model the premises and the consequences of each rule. Consequently, a determined rule from Table 3.1 can be constructed in the following form:

Table 3.1 Rule base of the controller to be calibrated
Fig. 3.2
figure 2

Control surface

$$ {\text{If}}\,\varvec{E}\,is\,{\mathbf{NL}}\,{\text{and}}\,\varvec{DE}\,{\text{is}}\,{\mathbf{ZR}}\;{\text{then}}\,\varvec{v}\,{\text{is}}\,{\mathbf{NL}} $$

In this rule, the control strategy can be simply modeled as follows: if the error is “Negative Large” and the error derivate “Zero” then the output is “Negative Large”. The acting of all rules produces the control strategy which is shown by the nonlinear surface in Fig. 3.2.

3.4 Social Spider Optimization (SSO)

The social spider optimization (SSO) algorithm [15] is an evolutionary computation method that emulates the cooperative behavior of spiders within a communal colony. SSO has been designed to find the global solution of a nonlinear optimization problem with box constraints in the form:

$$ \begin{array}{*{20}c} {\text{minimize}} & {f({\mathbf{x}})} & {{\mathbf{x}} = (x^{1} , \ldots ,x^{d} ) \in {\mathbb{R}}^{d} } \\ {\text{subject to}} & {{\mathbf{x}} \in {\mathbf{X}}} & {} \\ \end{array} $$
(3.9)

where \( f:{\mathbb{R}}^{d} \to {\mathbb{R}} \) is a nonlinear function whereas \( {\mathbf{X}} = \left\{ {\left. {{\mathbf{x}} \in {\mathbb{R}}^{d} } \right|l_{h} \le x^{h} \le u_{h} ,h = 1, \ldots ,d} \right\} \) is a bounded feasible space, constrained by the lower \( (l_{h} ) \) and upper \( (u_{h} ) \) limits.

SSO utilizes a population S of N candidate solutions to solve the problem formulated in Eq. 3.1. Each candidate solution represents a spider position whereas the general web symbolizes the search space X. In SSO, the spider population S is classified into two categories: males (M) and females (F). In order to simulate a real spider colony, in SSO, the number \( N_{f} \) of females F is randomly selected within a range of 65–90% of the entire population S, whereas the rest \( N_{m} \) is considered as male individuals \( (N_{m} = N - N_{f} ) \). Under such conditions, the Group F assembles the set of female individuals \( ({\mathbf{F}} = \{ {\mathbf{f}}_{1} ,{\mathbf{f}}_{2} , \ldots ,{\mathbf{f}}_{{N_{f} }} \} ) \) whereas M groups the male members \( ({\mathbf{M}} = \{ {\mathbf{m}}_{1} ,{\mathbf{m}}_{2} , \ldots ,{\mathbf{m}}_{{N_{m} }} \} ) \), where \( {\mathbf{S}} = {\mathbf{F}} \cup {\mathbf{M}} \) \( ({\mathbf{S}} = \left\{ {{\mathbf{s}}_{1} ,{\mathbf{s}}_{2} , \ldots ,{\mathbf{s}}_{N} } \right\}) \), such that \( {\mathbf{S}} = \left\{ {{\mathbf{s}}_{1} = {\mathbf{f}}_{1} ,{\mathbf{s}}_{2} = {\mathbf{f}}_{2} , \ldots ,{\mathbf{s}}_{{N_{f} }} = {\mathbf{f}}_{{N_{f} }} ,{\mathbf{s}}_{{N_{f} + 1}} = {\mathbf{m}}_{1} ,{\mathbf{s}}_{{N_{f} + 2}} = {\mathbf{m}}_{2} , \ldots ,{\mathbf{s}}_{N} = {\mathbf{m}}_{{N_{m} }} } \right\} \).

In the approach, each spider i maintain a weight \( w_{i} \) according to its solution quality. Therefore, \( w_{i} \) is calculated as follows:

$$ w_{i} = \frac{{fitness_{i} - worst}}{best - worst} $$
(3.10)

where \( fitness_{i} \) represents the fitness value produced by the evaluation of the i-th spider’s position, \( i \in 1, \ldots ,N \). best and worst symbolize the best fitness value and worst fitness value of the whole population S, respectively.

In the optimization process, the main mechanism of SSO is the information exchange, which it is simulated trough vibrations produced in the communal web. The vibration that a spider i perceives from a spider j is modeled with the following expression:

$$ V_{i,j} = w_{j} e^{{d_{i,j}^{2} }} $$
(3.11)

where \( w_{j} \) represents the weight of the spider j and \( d_{i,j}^{2} \) the distance between both spiders. It is considered that each spider i is only able to perceive three types of vibrations \( V_{i,c} \), \( V_{i,b} \) and \( V_{i,f} \).

\( V_{i,c} \) is the vibration transmitted by the nearest individual c with a higher weight with regard to \( i(w_{c} > w_{i} ) \). \( V_{i,b} \) represents the vibration emitted by best element of the entire population S. Finally, \( V_{i,f} \) considers the vibration produced by the nearest female spider. This vibration type is only applicable if i is a male individual.

In the operation of SSO, a population of N spiders is processed from the initial stage (k = 0) to a determined number gen of iterations \( (k\, = \,gen) \). Each individual depending on its gender is conducted by a set of different evolutionary operators. Therefore, in case of the female members, a new position \( {\mathbf{f}}_{i}^{k + 1} \) is generated by modifying the current element location \( {\mathbf{f}}_{i}^{k} \). The modification is randomly controlled by using a probability factor PF. Consequently, the movement is produced in relation to other spiders according their vibrations, which are transmitted trough the communal web:

$$ {\mathbf{f}}_{i}^{k + 1} = \left\{ {\begin{array}{*{20}l} {{\mathbf{f}}_{i}^{k} + \alpha \cdot V_{i,c} \cdot ({\mathbf{s}}_{c} - {\mathbf{f}}_{i}^{k} ) + \beta \cdot V_{i,b} \cdot ({\mathbf{s}}_{b} - {\mathbf{f}}_{i}^{k} ) + \delta \cdot ({\text{rand}} - \frac{1}{2})} \,\,\, {{\text{with probability }}PF} \\ {{\mathbf{f}}_{i}^{k} - \alpha \cdot V_{i,c} \cdot ({\mathbf{s}}_{c} - {\mathbf{f}}_{i}^{k} ) - \beta \cdot V_{i,b} \cdot ({\mathbf{s}}_{b} - {\mathbf{f}}_{i}^{k} ) + \delta \cdot ({\text{rand}} - \frac{1}{2})}\,\,\, {{\text{with probability}} 1 - PF} \\ \end{array} } \right. $$
(3.12)

here \( \alpha \), \( \beta \), \( \delta \) and rand represent random numbers between [0,1] whereas k is the iteration number. The individuals \( {\mathbf{s}}_{c} \) and \( {\mathbf{s}}_{b} \) symbolize the nearest member to i that maintains a higher weight and the best element of the complete population S, respectively.

On the other hand, male spider members are classified into two types: non-dominant (ND) and dominant (D). The dominant group D is composed by the half of the male individuals whose fitness values are better with regard to the complete male set. Consequently, the non-dominant (ND) category collects the rest of the male elements. In the optimization process, male members are operated according to the following model:

$$ {\mathbf{m}}_{i}^{k + 1} = \left\{ {\begin{array}{*{20}l} {{\mathbf{m}}_{i}^{k} + \alpha \cdot V_{i,f} \cdot ({\mathbf{s}}_{f} - {\mathbf{m}}_{i}^{k} ) + \delta \cdot ({\text{rand}} - \frac{1}{2})} & {{\text{if }}{\mathbf{m}}_{i}^{k} \in {\mathbf{D}}} \\ {{\mathbf{m}}_{i}^{k} + \alpha \cdot \left( {\frac{{\sum\limits_{{h \in {\mathbf{ND}}}} {{\mathbf{m}}_{h}^{k} \cdot w_{h} } }}{{\sum\limits_{{h \in {\mathbf{ND}}}} {w_{h} } }} - {\mathbf{m}}_{i}^{k} } \right)} & {{\text{if }}{\mathbf{m}}_{i}^{k} \in {\mathbf{ND}}} \\ \end{array} } \right. $$
(3.13)

where \( {\mathbf{s}}_{f} \) symbolizes the nearest female element to the male individual i.

The final operation in SSO is mating. It is performed between dominant males and the female individuals. Under this operation, a new individual \( {\mathbf{s}}_{new} \) is produced by the combination of a dominant male \( {\mathbf{m}}_{g} \) and other female members within a specific range r. The weight of each involved element defines the probability of influence of each spider into \( {\mathbf{s}}_{new} \). The elements with heavier weights are more likely to influence the new individual \( {\mathbf{s}}_{new} \). Once \( {\mathbf{s}}_{new} \) is generated, it is compared with the worst element of the colony. If \( {\mathbf{s}}_{new} \) is better than the worst spider, the worst spider is replaced by \( {\mathbf{s}}_{new} \). Otherwise, \( {\mathbf{s}}_{new} \) is discarded. Figure 3.3 illustrates the operations of the optimization process performed by the SSO algorithm. More details can be found in [15].

Fig. 3.3
figure 3

Operations of the optimization process performed by the SSO algorithm

3.5 Problem Formulation

In the design stage of fractional FCs, the parameter calibration process is transformed into a multidimensional optimization problem where fractional orders, as well as controller parameters of the fuzzy system, are both considered as decision variables. Under this approach, the complexity of the optimization problem tends to produce multimodal error surfaces whose cost functions are significantly difficult to minimize.

This chapter presents an algorithm for the optimal parameter calibration of fractional FCs. To determine the parameters, the estimation method uses the Social Spider Optimization (SSO) method. Different to the most of existent evolutionary algorithms, the method explicitly evades the concentration of individuals in the best positions, avoiding critical flaws such as the premature convergence to sub-optimal solutions and the limited balance of exploration–exploitation.

Therefore, the calibration process consists of finding the optimal controller parameters that present the best possible performance for the regulation of a dynamical system. Figure 3.4 illustrates the SSO scheme for the parameter calibration process.

Fig. 3.4
figure 4

SSO scheme for the parameter calibration process

Under such conditions, the fractional fuzzy controller parameters \( (\alpha ,K_{p} ,K_{d} ,K_{i} ,K_{u} ) \) represent the dimensions of each candidate solution (spider position) for the calibration problem. To evaluate the performance of the fractional fuzzy controller under each parameter configuration (candidate solution), the Integral Time Absolute Error (ITAE) [47] criterion has been considered. The ITAE index J measures the similarity between the closed-loop step response y(t) produced by a determined parameter configuration \( (\alpha ,K_{p} ,K_{d} ,K_{i} ,K_{u} ) \) and the step function r(t). Therefore, the quality of each candidate solution is evaluated according to the following model:

$$ J(\alpha ,K_{p} ,K_{d} ,K_{i} ,K_{u} ) = \int\limits_{0}^{\infty } {t\left| {r(t) - y(t)} \right|} $$
(3.14)

Thereby, the problem of parameter calibration can be defined by the following optimization formulation:

$$ \begin{array}{*{20}l} {\text{minimize}} \hfill & {J({\mathbf{x}})} \hfill & {{\mathbf{x}} = (\alpha ,K_{p} ,K_{d} ,K_{i} ,K_{u} ) \in {\mathbb{R}}^{5} } \hfill \\ {\text{subject to}} \hfill & {} \hfill & {0 \le \alpha \le 3} \hfill \\ {} \hfill & {} \hfill & {0 \le K_{p} \le 5} \hfill \\ {} \hfill & {} \hfill & {0 \le K_{d} \le 5} \hfill \\ {} \hfill & {} \hfill & {0 \le K_{i} \le 5} \hfill \\ {} \hfill & {} \hfill & {0 \le K_{u} \le 5} \hfill \\ \end{array} $$
(3.15)

3.6 Numerical Simulations

This section presents the performance of the SSO scheme for the calibration of fractional FCs considering several dynamical systems. The algorithm is also evaluated in comparison to other similar approaches that are based on evolutionary algorithms. To test the performance of the SSO approach, the technique uses a representative set of three transfer functions that have been previously employed. Equation 3.43.6 present the transfer functions that are used in our simulations. Such functions involve three different system categories: High-order plants \( (G_{1} (s)) \), non-minimum systems \( (G_{2} (s)) \) and dynamical fractional systems \( (G_{3} (s)) \).

$$ G_{1} (s) = \frac{1}{(s + 1)(1 + 0.5s)(1 + 0.25s)(1 + 0.125s)} $$
(3.16)
$$ G_{2} (s) = \frac{1 - 5s}{{(s + 1)^{3} }} $$
(3.17)
$$ G_{3} (s) = \frac{1}{{(s^{1.5} + 1)}} $$
(3.18)

In the experiments, we have applied the SSO algorithm to calibrate the fractional parameters for each dynamical systems, and the results are compared to those produced by the Genetic Algorithms (GA) [5], Particle Swarm Optimization (PSO) [9], Harmony Search (HS) [10], Gravitational Search Algorithm (GSA) [11] and Cuckoo Search (CS) [12]. In the comparison, all methods have been set according to their own reported guidelines. Such configurations are described as follows:

  1. 1.

    PSO, parameters \( c_{1} = 2, \) \( c_{2} = 2 \) and weights factors have been set to \( w_{\hbox{max} } = 0.9, \) and \( w_{\hbox{min} } = 0.4 \) [17].

  2. 2.

    GA, the crossover probability is 0.55, the mutation probability is 0.10 and number of elite individuals is 2. Furthermore, the roulette wheel selection and the 1-point crossover are both applied.

  3. 3.

    GSA, From the model \( G_{t} = G_{O} e^{{ - \alpha \frac{t}{T}}} \), it is considered \( \alpha = 10 \), \( G_{O} = 100 \) and T = 100 or T = 500.

  4. 4.

    HS, its parameters are set as follows: the harmony memory consideration rate HMCR = 0.7, the pitch adjustment rate PAR = 0.3 and the Bandwidth rate BW = 0.1.

  5. 5.

    CS, its elements are configured such as the discovery rate \( p_{a} = 0.25 \) and the stability index \( \beta = 3/2 \).

  6. 6.

    SSO, the parameter PF has been set to 0.7 following an experimental definition.

The experimental results are divided into three sub-sections. In the first Sect. (3.6.1), the performance of the SSO algorithm is evaluated with regard to high-order plants \( (G_{1} (s)) \). In the second Sect. (3.6.2), the results for non-minimum systems \( (G_{2} (s)) \) are provided and finally, in the third Sect. (3.6.3), the performance of the calibration scheme over fractional dynamical systems \( (G_{3} (s)) \) is discussed.

3.6.1 Results Over High-Order Plants \( (G_{1} (s)) \)

In this experiment, the performance of the SSO calibration scheme is compared to GA, PSO, HS, GSA and CS, considering the regulation of high-order dynamical systems \( (G_{1} (s)) \). In the simulations, a temporal response from 0 to 10 s has been considered. In the comparison, all algorithms are operated with a population of 50 individuals (N = 50). To appropriately evaluate the convergence properties of all calibration methods, the maximum number of generations has been set to (A) 100 iterations and (B) 500 iterations. This stop criterion has been selected to maintain compatibility to similar works reported in the literature [5, 9, 28]. By selecting such number of iterations, the experiment aims to test the quality of the produced solutions when the operation of each calibration method is limited to a reduced number of iterations.

All the experimental results in this section consider the analysis of 35 independent executions of each algorithm. Table 3.2 presents the calibrated parameters obtained through each method. Such results consider the best controller parameters in terms of the produced ITAE values after 100 iterations. On the other hand, Table 3.3 shows the calibrated parameters considering 500 iterations.

Table 3.2 Calibrated parameters for \( G_{1} (s) \) produced by each algorithm after 100 iterations
Table 3.3 Calibrated parameters for \( G_{1} (s) \) produced by each algorithm after 500 iterations

According to Tables 3.2 and 3.3, the SSO scheme provides better performance than GA, PSO, HS, GSA and CS for both cases. Such differences are directly related to a better trade-off between exploration and exploitation of the SSO method. It is also evident that the SSO method produces similar results with 100 or 500 iterations. Therefore, it can be established that SSO maintains better convergence properties than GA, PSO, HS, GSA and CS in the process of parameter calibration.

Figure 3.5 exhibits the step responses produced by each parameter set, considering 100 and 500 iterations. The remarkable convergence rate of the SSO algorithm can be observed at Fig. 3.5. According to the graphs, the step responses produced by the controller parameters that have been defined through SSO, are practically the same irrespective of the number of iterations. This fact means that the SSO scheme is able to find an acceptable solution in less than 100 iterations.

Fig. 3.5
figure 5

Step responses after applying the calibrated parameters to the high order plant \( G_{1} (s) \) with a 100 iterations, and with b 500 iterations

3.6.2 Results Over Non-minimum Systems \( (G_{2} (s)) \)

This section presents the comparison of the SSO calibration scheme with GA, PSO, HS, GSA and CS, considering the regulation of non-minimum systems \( (G_{2} (s)) \). Non-minimum systems are defined by transfer functions with one or more poles or zeros in the right half of the s-plane. As a consequence, the response of a non-minimum system to a step input exhibits an “undershoot”, which indicates that the output of the dynamical system becomes negative first before changing direction to positive values.

The experimental simulation runs from 0 to 50 s. All algorithms are operated with a population of 50 individuals (N = 50), matching with the experiments in Sect. 3.6.1. Table 3.4 presents the calibrated parameter of each method after 100 iterations, while Table 3.5 exhibits the results for 500 iterations. Both tables show that the SSO scheme delivers better results than GA, PSO, HS, GSA and CS in terms of the ITAE index. Figure 3.6 presents the step responses produced by each parameter set, considering 100 and 500 iterations. By analyzing the plot in Fig. 3.6, it is observed that the step response of the SSO scheme is less sensitive to the number of iterations than other techniques.

Table 3.4 Calibrated parameters for \( G_{2} (s) \) produced by each algorithm after 100 iterations
Table 3.5 Calibrated parameters for \( G_{2} (s) \) produced by each algorithm after 500 iterations
Fig. 3.6
figure 6

Step responses after applying the calibrated parameters to the high order plant \( G_{2} (s) \) with a 100 iterations, and with b 500 iterations

3.6.3 Results Over Fractional Systems \( (G_{3} (s)) \)

Unlike high-order plants and non-minimum systems, fractional dynamical systems produce multimodal error surfaces with different local optima. As a consequence, fractional fuzzy controllers that regulate their behavior are, in general, more difficult to calibrate [9]. Under such conditions, the experiment reflects the capacity of each calibration algorithm to locate the global optimum in presence of several local optima.

In this experiment, the performance of the SSO calibration scheme is compared to GA, PSO, HS, GSA and CS, considering the regulation of fractional dynamical systems \( (G_{3} (s)) \). In the simulations, a temporal response from 0 to 3 s is considered. In the test, all algorithms are operated with a population of 50 individuals (N = 50).

The calibrated parameters are averaged over 30 executions obtaining the values reported in Tables 3.6 and 3.7. The results exhibit the configuration for each method with 100 and 500 iterations, respectively. It is evident that the SSO scheme presents better performance than PSO, HS and GSA independently on the number of iterations. However, the difference between GA and the SSO approach in terms of the ITAE index is relatively small for the case of 100 iterations. On the other hand, in the case of 500 iterations, the performance among the SSO approach, GA and CS are practically the same. Figure 3.7 presents the step response that is produced by each parameter set, considering 100 and 500 iterations. Similar to Sects. 6.1 and 6.2, it is demonstrated (from Fig. 3.7) that the SSO-calibrator obtains better solutions than GA, HS and PSO yet demanding a lower number of iterations.

Table 3.6 Calibrated parameters for \( G_{3} (s) \) produced by each algorithm after 100 iterations
Table 3.7 Calibrated parameters for \( G_{3} (s) \) produced by each algorithm after 500 iterations
Fig. 3.7
figure 7

Step responses after applying the calibrated parameters to the high order plant \( G_{3} (s) \) with a 100 iterations, and with b 500 iterations

Finally, in order to stress the importance of the fractional \( {\text{PD}}^{\alpha } + \text{I} \) scheme, an experiment that evaluates the influence of the parameter \( \alpha \) in the regulation of \( G_{3} (s) \) is conducted. In the experiment, the fractional \( {\text{PD}}^{\alpha } + \text{I} \) controller is operated as an integer fuzzy controller by setting \( \alpha = 1 \). Under such conditions, the rest of the parameters of \( {\text{PD}}^{\alpha } + \text{I} \) \( (K_{p} ,K_{d} ,K_{i} ,K_{u} ) \) are calibrated through the SSO approach considering the regulation of the fractional system \( G_{3} (s) \). Then, the values \( \alpha \) vary from 0 to 1 while registering the performance of the regulation.

As a result of the optimization method, the following parameter values are obtained: \( (K_{p} ,K_{d} ,K_{i} ,K_{u} ) \equiv (1.3087,0.5883,0.5808,4.0012) \) with ITAE = 418.8032. After calibrating the integer fuzzy controller, the values of \( \alpha \) are modified from 0 to 1, while the parameter set remains fixed to \( (1.3087,0.5883,0.5808,4.0012) \). Table 3.8 presents the results obtained from the experiment. Such values report the regulation quality of \( G_{3} (s) \) in terms of the ITEA values. By analyzing Table 3.8, it is clear that the regulation quality strongly depends on the selection of the order for \( \alpha \). Particularly in this experiment, the best regulation performance is reached when the order of \( \alpha \) is set to 0.6. Figure 3.8 presents the influence of \( \alpha \) in terms of the regulation quality.

Table 3.8 Regulation quality of \( G_{3} (s) \) in terms of the ITEA values
Fig. 3.8
figure 8

Influence of \( \alpha \) in the regulation quality of \( G_{3} (s) \) in terms of the ITEA values

3.7 Conclusions

Due to its multiple applications, the calibration of fractional fuzzy controllers has attracted the interests of several research communities. In the calibration process, the parameter estimation is transformed into a multidimensional optimization problem whose fractional order and the corresponding controller parameters of the fuzzy system are considered as decision variables. Under this approach, the complexity of fractional-order chaotic systems tends to produce multimodal error surfaces for which their cost functions are significantly difficult to minimize. Several algorithms that are based on evolutionary computation principles have been successfully applied to calibrate the parameters of fuzzy systems. However, most of them still have an important limitation since they frequently obtain sub-optimal results as a consequence of an inappropriate balance between exploration and exploitation in their search strategies.

This chapter presents a method for the optimal parameter calibration of fractional FCs that is based on the SSO algorithm. The SSO algorithm is a novel evolutionary computation method that is inspired on the emulation of the collaborative behavior of social-spiders. Unlike most of the existing evolutionary algorithms, the method explicitly evades the concentration of individuals in best positions, avoiding critical flaws such as the premature convergence to sub-optimal solutions and the limited balance of exploration–exploitation.

In order to illustrate the proficiency and the robustness of this approach, SSO scheme has been experimentally evaluated considering three different system categories: high-order plants, non-minimum systems and dynamical fractional systems. To assess the performance of the SSO algorithm, it has been compared to other similar evolutionary approaches such as Genetic Algorithms (GA), Particle Swarm Optimization (PSO), Harmony Search (HS), Gravitational Search Algorithm (GSA) and Cuckoo Search (CS). The experiments have demonstrated that the SSO method outperforms other techniques in terms of solution quality and convergence.