Abstract

The fractional-order concepts are a useful tool to describe several physical phenomena, and nowadays they are widely used in the field of automatic control. A genetic algorithm (GA) is a search process for finding approximate solutions in optimization problems. The GA provides further flexibility and robustness that are unique for signal process. In this paper we consider the development of an optimal fuzzy fractional PD + I controller in which the parameters are tuned by a GA. The performance of the proposed fuzzy fractional control is illustrated through some application examples.

1. Introduction

Fractional calculus (FC) is a generalization of integration and differentiation to a noninteger order , with the fundamental operator being , where and are the limits of the operation [1, 2]. The FC concepts constitute a useful tool to describe several physical phenomena, such as heat, flow, electricity, magnetism, mechanics, or fluid dynamics. Presently, the FC theory is applied in almost all areas of science and engineering, with its ability being recognized in bettering the modelling and control of many dynamical systems. In fact, during the last years FC has been used increasingly to model the constitutive behavior of materials and physical systems exhibiting hereditary and memory properties. This is the main advantage of fractional-order derivatives in comparison with classical integer-order models, where these effects are simply neglected.

In this paper we investigate several control strategies/structures based on fuzzy fractional-order algorithms. The fractional-order PID controller ( controller) involves an integrator of order and a differentiator of order . It was demonstrated the good performance of this type of controller in comparison with the conventional PID algorithms. Recently, there have been a lot of researches in the application of fuzzy PID control [39]. The fuzzy method offers a systematic procedure to design controllers for many kinds of systems that often leads to a better performance than that of the conventional PID controller. It is a methodology of intelligent control that mimics human thinking and reacting by using a multivalent fuzzy logic and elements of artificial intelligence.

It was proved that the use of the fuzzy fractional controllers improved the results for many kinds of systems, since it gives additional flexibility to the design. In this line of thought many applications of this type of controllers were developed in the last few years. For example, in [3, 4], the authors proved the effectiveness of fuzzy fractional PD and PID controllers in terms of their digital implementation and robustness. In [10], an intelligent robust fractional surface sliding mode control for a nonlinear system is studied. In [6], a fractional-order fuzzy PID controller was proposed and compared to classical PID, fuzzy PID, and even controllers. Many other applications can be found in [1116].

A genetic algorithm (GA) is a search technique based on the natural selection process. The GA is a particular class of evolutionary algorithms that use techniques inspired by evolutionary biology such as inheritance, mutation, natural selection, and crossover, established by Darwin’s theory of evolution [1719]. The GA is used in the field of robotics, strategy planning, nonlinear dynamical systems, data analysis, art, evolving pictures, music, and many others in the real world applications [1720]. The GA provides a unique flexibility and robustness for process optimization. Due to this reason, during the last years many control applications used the GA in order to find better results. For example, in [6], the authors optimized their system with GA while minimizing several integral error indices along with the control signal as the objective function. Hu et al.  [21] developed a methodology for the systematic design of fuzzy PID controllers based on genetic optimization, where they proved that the proposed system always provides the best control performance. In [22], the GA was used for tuning the PI controller for load frequency control. Herrera and Lozano showed in [23] the benefits derived from the synergy between evolutionary algorithms and fuzzy logic systems.

Bearing these ideas in mind, the paper is organized as follows. Section 2 gives the fundamentals of fractional-order control systems. Section 3 presents the control and optimization strategies. Section 4 gives some simulations results assessing the effectiveness of the proposed methodology. Finally, Section 5 draws the main conclusions.

2. Fractional-Order Control Systems

Fractional-order control systems are characterized by differential equations that have, in the dynamical system and/or in the control algorithm, an integral and/or a derivative of fractional order [24, 25]. Due to the fact that these operators are defined by irrational continuous transfer functions, in the Laplace domain, or infinite dimensional discrete transfer functions, in the domain, we often encounter evaluation problems in the simulations. Therefore, when analyzing fractional-order systems, we usually adopt continuous or discrete integer-order approximations of fractional-order operators [2628]. The following two subsections provide a background for the remaining of the paper by giving the fundamental aspects of the FC and the discrete integer-order approximations of fractional-order operators used in this study.

2.1. Fundamentals of Fractional Calculus

The mathematical definition of a fractional-order derivative and integral (so-called differintegral) has been the subject of several different approaches [1, 2]. One commonly used definition for the fractional-order derivative is given by the Riemann-Liouville definition (): where is integer, is the applied function, and is the Gamma function of . Another widely used definition is given by the Grünwald-Letnikov approach (: where is the time increment and [] means the integer part of .

Another definition is given by the Caputo approach:

The “memory” effect of these operators is demonstrated by (1)–(3), where the convolution integral in (1) and (3) and the infinite series in (2a) and (2b) reveal the unlimited memory of these operators, ideal for modelling hereditary and memory properties in physical systems and materials.

An alternative definition to (1)–(3), which reveals useful for the analysis of fractional-order control systems, is given by the Laplace transform method. Considering vanishing initial conditions, the fractional differintegration is defined in the Laplace domain, , as

The fractional operator can be more easily interpreted in the frequency domain. In fact, the open-loop Bode diagrams of amplitude and phase of have correspondingly a slope of 20 dB/dec and a constant phase positioned at rad over the entire frequency domain.

2.2. Approximations of Fractional-Order Operators

In this study we adopt discrete integer-order approximations to the fundamental element of a fractional-order control (FOC) strategy. The usual approach for obtaining discrete equivalents of continuous operators of type adopts the Euler, Tustin, and Al-Alaoui generating functions [26, 29, 30].

It is well known that rational-type approximations frequently converge faster than polynomial-type approximations and have a wider domain of convergence in the complex domain [29]. Thus, using the Euler operator and performing a power series expansion of give the discretization formula corresponding to the Grünwald-Letnikov Definition (2a) and (2b): where is the sampling period and is the impulse response sequence.

A rational fraction-type approximation can be obtained through a Padé approximation to the impulse response sequence , yielding the discrete transfer function: where and the coefficients and are determined by fitting the first values of into the impulse response of the desired approximation . Thus, we obtain an approximation that matches the desired impulse response for the first values of [26]. Note that the above Padé approximation is obtained by considering the Euler operator but the determination process will be exactly the same for other types of discretization schemes.

3. Control and Optimization Strategies

3.1. Fractional PID Control

The generalized PID controller, , has a transfer function of the form [28] where and are the orders of the fractional integrator and differentiator, respectively. The parameters , , and are correspondingly the proportional, integral, and derivative gains of the controller. Clearly, taking we get the classical controllers, respectively [24, 31, 32]. Other PID controllers are possible, namely, controller, controller, controller, and so on. The fractional-order controller is more flexible and gives the possibility of adjusting more carefully the closed-loop system characteristics [2, 33].

In the time domain the is represented by

The fractional-order differential operators in (8) are implemented using the approximations (5) and (6), yielding the discrete transfer function: where and are the fraction-type approximations to fractional-order integral and derivative, respectively.

3.2. Fuzzy Fractional PD + I Control

Fuzzy control emerged on the foundations of Zadeh’s fuzzy set theory [3, 4, 9]. This kind of control is based on the ability of a human being to find solutions for particular problematic situations. It is well known from our experience that humans have the ability to simultaneously process a large amount of information and make effective decisions, although neither input information nor consequent actions is precisely defined. Through multivalent fuzzy logic, linguistic expressions in antecedent and consequent parts of IF-THEN rules describing the operator’s actions can be efficaciously converted into a fully structured control algorithm.

The fuzzy logic controllers are not dependent on accurate mathematical models, which are one of the most important advantages in its use, particularly in applications where systems are difficult to model or contain significant nonlinearities.

In the system of Figure 1, we apply a fuzzy logic control (FLC) for the actions and the integral of the error is added to the output in order to find a fuzzy controller [3, 34]. This kind of configuration eliminates the steady state error due to the integer integrative action. The block diagram of Figure 2 illustrates the configuration of the proposed fuzzy controller.

In this controller, the control actions are the error , the fractional derivative of , and the integral of . The represents the controller output. Also, the controller has four gains to be tuned, , , corresponding to the inputs and to the output.

The control action is generally a nonlinear function of error , fractional change of error , and integral of error : where is the discrete fractional derivative implemented as rational fraction approximation (6) using the Euler scheme (5); the integral of error is calculated by rectangular integration:

In fact, we can adopt an integral action of fractional order, , yielding a fuzzy fractional controller [3]. However, in this work we consider only values of .

To further illustrate the performance of the fuzzy a saturation nonlinearity is included in the closed-loop system of Figure 1 and inserted in series with the output of the fuzzy controller. The saturation element is defined as where and are, respectively, the input and the output of the saturation block and is the signum function.

Here we give an emphasis of the proposed FLC presented in Figure 2. The basic structure for FLC is illustrated in Figure 3 [35].

The fuzzy rule base, which reflects the collected knowledge about how a particular control problem must be treated, is one of the main components of a fuzzy controller. The other parts of the controller perform make up the tasks necessary for the controller to be efficient.

For the fuzzy controller illustrated in Figure 2, the rule base can be constructed in the following form (see Table 1):if is NM and is NS, then is NL, where NL, NM, NS, ZR, PS, PM, and PL are linguistic values representing “negative large,” “negative medium,” “negative small,” “zero,” “positive small,” “positive medium,” and “positive large,” respectively. is the error, is the fractional derivative of error, and is the output of the fuzzy controller. The membership functions for the premises and consequents of the rules are shown in Figure 4.

With two inputs and one output the input-output mapping of the fuzzy logic controller is described by a nonlinear surface, as presented in Figure 5.

The fuzzy controller will be adjusted by changing the parameter values of , , , and . The fuzzy inference mechanism operates by using the product to combine the conjunctions in the premise of the rules and in the representation of the fuzzy implication. For the defuzzification process we use the centroid method.

3.3. Genetic Optimization

The evolutionary computing was introduced in the 60s by I. Rechenberg, and the GA was invented by John Holland who published a book in 1975 about this subject.

These algorithms begin with a set of solutions, represented by chromosomes, called population (). Initially, a population is generated randomly. Solutions from one population are taken (parents) and used to form a new . This is motivated by the hope that the new will be better than the old one. Individuals are then selected to form new solutions according to their fitness; therefore, the more suitable they are the more chances they have to reproduce. This is repeated until some condition is satisfied. Figure 6 presents the block diagram representative of the methodology used in the GA.

In these algorithms the crossover () and the mutation () operators are the most important parts. The is a recombination operator that combines subparts of two parent chromosomes to produce offspring that contain some parts of both parents genetic material. The simplest way to do it is to choose some random point, copy everything before this point from the first parent, and then to copy everything after the point from the other parent. There are other ways to make ; namely, we can choose more points. The most used way of encoding is a binary string; however, there are many other ways of encoding, such as to encode directly through real numbers.

The selection of a better encoding technique depends on the problem we have to solve. The operation randomly changes the offspring resulting from . This procedure intended to prevent falling of all solutions in the into a local optimum. In case of binary encoding, we can switch a few randomly chosen bits from 1 to 0 or from 0 to 1.

Another important concept in GA is the Elitism. The Elitism strategy (ES) was introduced by Kenneth De Jong in 1975 and is an addition to many selection methods that forces the GA to retain some number of the best individuals at each generation (). With this tool, such individuals can be lost if they are not selected to reproduce or if they are destroyed by or . Many researchers have found that ES improves significantly the GA’s performance [1720].

The advantage of GA is in its parallelism. GA is travelling in a search space using more individuals than other methods. However, GA also has disadvantages, namely, the computational cost, because many times these algorithms are slower than other methodologies.

In this work we propose a fuzzy fractional controller, where the gains will be tuned through the application of a GA, in order to achieve a superior control performance of the control system of Figure 1. The optimization fitness function corresponds to the minimization of the integral time absolute error (ITAE) criterion that measures the response error as defined as [20] where , , , ) are the controller parameters to be optimized.

During the minimization of the fitness function in GA, the chromosomes (potential solutions) that lead to unstable responses make the error take very high values penalizing the fitness function. Therefore, these chromosomes are less likely to be selected for reproduction or elitism, this way being destroyed or lost in the process. This mechanism ensures that only the best chromosomes are chosen to produce new population and that the GA converges to an optimal solution with a stable closed-loop system.

We can use other integral performance criteria such as the integral absolute error (IAE), the integral square error (ISE), or the integral time square error (ITSE). In the present study the ITAE criterion produced good results and is adopted in the sequel. Furthermore, the ITAE criterion enables us to study the influence of time in the error generated by the system.

4. Simulation Results

In this section we analyze the closed-loop system of Figure 1 with the fuzzy fractional controller of Figure 2. The systems used correspond to typical plants [36, 37], namely, a high order process, a high order process with a zero, and a system with a time delay. In all the experiments, the fractional-order derivative is implemented using a 4th-order Padé discrete rational transfer function of type (5). It is used as sampling period of  s. The controller is tuned through the optimization of fitness function corresponding to the minimization of ITAE (13) using a GA. We use . We establish the following values for the GA parameters: population size , crossover probability , mutation probability , and number of generations . The gene codification adopts a decimal code. It is important to refer that a reliable execution and analysis of a GA usually require a large number of simulations to guarantee that stochastic effects are properly considered [17, 19]. Therefore, the experiments consist in executing the GA several times, for generating a good combination of controller parameters. In this study the GA is repeated 10 times and we get the best result, that is, the simulation that leads to the smaller . We set the search space of , , , and .

In the first case, we compare a fuzzy fractional controller , with a fuzzy integer controller . Figure 7 shows the unit step responses of both controllers. The plant system used is represented by the transfer function:

The controller parameters, corresponding to the minimization of the ITAE index, lead to the values for the fuzzy integer controller: , with , and for the fuzzy fractional controller to the following values: , with . These values lead us to conclude that the fuzzy fractional-order controller produced similar results to integer one; however, the error is smaller, as can be seen in Figure 8, where it shows the ITAE error as function of . The graph reveals that for this process we have a lower error for a fractional value of . We verify that the fractional controller is better (in terms of error ) than the integer version, only in a narrow region of . Figure 9 illustrates the variation of FLC parameters (, , , ) as function of the order’s derivative , while Figure 10 shows the variation of the transient response parameters, namely, the settling time , rise time , peak time , and overshoot (%) versus , for the closed-loop step response. The variation of FLC parameters and the transient response parameters reveals a smooth variation with .

In a second experiment, we consider a fuzzy () controller, for process with a right-half plane zero, represented by the transfer function:

Once again, we consider for comparison the corresponding integer version (). Figure 11 shows the unit step responses of both controllers.

The controller parameters, corresponding to the minimization of the ITAE index, lead to the values for the fuzzy integer controller: , with , and for the fuzzy fractional controller: , with . These values lead us to conclude that the fuzzy fractional-order controller produced better results than the integer ones, since the transient response (in particular the settling time and rise time) and the error are smaller. Figure 12 shows the ITAE error as function of . The graph reveals that for this process we have a lower error for . Also note that the fractional controller is better (in terms of error ) than the integer one for . Figure 13 illustrates the variation of FLC parameters (, , , ) as function of the order’s derivative , while Figure 14 shows the variation of , , and (%) versus , for the closed-loop step response. In this case, the and the have the smaller value near the best case (i.e., ) and , , and reveal similar values with the variation of .

In a third study we consider a fuzzy () controller, for process , represented by the transfer function (16), where the time delay is  [s]:

For comparison purposes, we consider the corresponding integer version (). Figure 15 shows the unit step responses of both controllers.

The controller parameters, corresponding to the minimization of the ITAE index, lead to the values for the fuzzy integer controller: , with , and for the fuzzy fractional controller: , with . These values lead us again to remain the previous conclusions drawn for and , namely, that the fuzzy fractional-order controller produced better results than the integer ones, since the transient response (viz., the overshoot and settling time) and the error are smaller. Figure 16 shows the ITAE error as function of . The graph reveals that for this process we have a lower error for . The fractional controller presents smaller values of for . Figure 17 illustrates the variation of FLC parameters (, , , ) as function of the order’s derivative , while Figure 18 shows the variation of , , , and (%) versus for the closed-loop step response. The FLC parameters reveal a slight variation with , as well the transient response parameters.

In conclusion, with the fuzzy fractional controller we get the best controller tuning, superior to the performance revealed by the integer-order scheme. Moreover, we prove the effectiveness of this control structure when used in systems with time delay. In fact, systems with time delay are more difficult to be controlled with the classical methodologies; however, the proposed algorithm reveals to be very effective in the control of this type of systems.

4.1. Fuzzy Fractional PID Structures

In this subsection we study the impact of different fuzzy fractional PID structures on system performance. For that, we compare the structure of Figure 2   used in the previous section with the structures of Figure 19   and Figure 20   applied to process . The GA was executed 10 times, and we get the result that leads to the smaller . We consider the same fuzzy control rules base of Table 1 in all the structures (, , and ).

The control action for these new structures is, respectively, for and : where, .

Figure 21 shows the unit step responses of fuzzy fractional controller for , , and , for the best . Figure 22 depicts the corresponding error as function of . We verify that the lower error occurs for in , , and , leading to errors , , and , respectively.

Analyzing Figure 21 we observe that the step response is less oscillatory for , with smaller values of and than other structures. Figure 22 shows that all three structures present similar results in terms of error as function of order . Structures and give the most similar results while differs mostly on the regions around , , and 0.6.

The different structures analyzed lead to similar results both in the step responses and error . In fact, it is interesting to notice that the best for all the structures when minimizing the ITAE index.

Based on this analysis we verify that the proposed controller gives comparable and, in some situations, even better results than other two structures and . Moreover, the adopted structure is simpler and easier to analyze and implement. These facts justify the choice of the structure used in this study.

5. Conclusion

This paper presented the fundamental aspects of application of the FC theory in fuzzy control systems. In this line of thought, several typical plants were studied. The dynamics of the closed-loop systems were analyzed in the perspective of FC, with the use of a fuzzy controller in which the parameters were tuned through a GA algorithm.

In general, the control strategies presented give better results than those obtained with conventional integer control structures, showing their effectiveness in the control of nonlinear systems.

However, much research is still needed to understand their effective application in systems with larger time delays, and in the presence of noise and different actuator saturation levels.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work is supported by FEDER Funds through the Programa Operacional Factores de Competitividade—COMPETE program and by National Funds through FCT Fundação para a Ciência e a Tecnologia.