Abstract
The main objective of the present work is to stabilize and maintain the angular position of Double Inverted Pendulum (DIP) system at desired position in presence of disturbances and noise. The system is highly coupled, nonlinear, complex and unstable, thereby making it difficult to control. Genetic algorithm tuned Fuzzy Controller (GFC) and adaptive Neuro-Fuzzy Controller (NFC) is proposed for the purpose, wherein the fuzzy parameters are optimized by genetic algorithm and artificial neural network respectively. The adaptive neuro-fuzzy control technique enjoys powerful learning capability of neural network, whereas genetic algorithm discovers the optimum solutions for the problem. Also a suitable function is proposed for modifying training data set of neuro-fuzzy inference system that leads to Modified Neuro-Fuzzy Controller (MNFC). Linear Quadratic Regulator (LQR) and Fuzzy Logic Controllers (FLC) are also designed for comparative analysis. Intensive simulation studies are carried out to critically examine the performance of designed controllers on the basis of Integral Absolute Error (IAE), settling time, overshoot and steady state error for set-point tracking, disturbance rejection, noise suppression and simultaneous noise & disturbance rejection. The rigorous comparative analysis shows that MNFC exhibits fast and robust control of DIP system in comparison to designed controllers for all cases.
Keywords
Introduction
Double inverted pendulum system is an ideal platform for control engineers to apply and validate various control techniques because of its high nonlinearity, open loop instability and multi-dimensionality [1]. The system becomes more complex and difficult to control due to large number of variables and highly coupled states. In order to stabilize the system a suitable control force needs to be applied on cart so that pendulums remain at the desired upright position. In recent years, combinations of modern control techniques with intelligent algorithms are employed to control such systems. These hybrid controllers exhibit the advantages of both the techniques which lead to optimal control action.
LQR being a modern control technique is applied successfully for control of various systems. Zhang and Zhang [2] designed a self-adjusting LQR controller for planar inverted pendulum, in which output is reformed by optimizing factor which adjusts the control action according to state variables. Results ensure fast response, better stability and robustness in different working environments. An optimal LQR controller [3] with well-tuned weighting matrices for self-erecting single inverted pendulum is used for stabilization in vertical position. The proposed LQR controller makes stabilization process faster and smoother with less oscillations and better robustness than a full state feedback controller. An alternative control scheme based on finite element method is developed by Dhang et al. for optimal control ofsingle and double inverted pendulum [4]. Zilicet al. [5] designed the state feedback LQ and LQG controller for pneumatically-actuated inverted pendulum. Simulation results prove the effectiveness of designed controllers.
In last few decades, researchers have focused on the intelligent techniques such as fuzzy logic, neural networks etc. This leads to advancement of intelligent human-like control of complex systems. Literature [6–11] reveals the use of fuzzy logic reasoning for design of fuzzy controllers for various applications. The main problem of fuzzy inference system is that, if all the input variables are considered as antecedent part of fuzzy system, then number of fuzzy rules increase exponentially with increase of input variables which leads to poor ability in expressing the control priority orders. To deal with the problem of rule explosion Yi and Yubazaki designed [12] a fuzzy controller for stabilization of a pendulum on cart, based on Single Input Rule Module (SIRM) dynamically connected fuzzy inference model. SIRM and dynamic importance degree are also successfully implemented for control of series and parallel type of double inverted pendulum on cart. The priority orders of the cart and angles are automatically adjusted according to control situations with pendulum angle having higher priority [13, 14]. Fuyan Cheng et al. designed a fuzzy controller [15] using optimal control theory for stabilizing a real time double inverted pendulum system. A composition coefficient for the state variables is evaluated with the help of computer-aided design (CAD), to reduce the number of variables and simplify the design of fuzzy logic controller. The same multivariate problem is also solved using sensor data fusion technique with fuzzy logic control to balance wine glass on inverted pendulum [16].
Being an intelligent technique fuzzy logic proves to be efficient control methodology, but the problem lies in intuition based selection of parameters related to membership functions and rule base, which requires expertise. In order to overcome this problem meta-heuristic algorithms or neural networks are incorporated to fuzzy system [17–23]. Various optimization techniques namely Genetic Algorithm (GA), Ant Colony Optimization (ACO), cuckoo Search, Particle Swarm Optimization (PSO), Differential Evolution (DE) etc. are discussed in literature [24–27]. In this paper, genetic algorithm is utilized as it follows natural selection process without requiring any problem-specific information, search space and also operates satisfactorily on search spaces having gaps, jumps, or noise. It searches in parallel, with numerous points on the problem space in different directions [28]. A genetic algorithm based tuning of fuzzy control rule base is proposed by Herrera et al. [17] so that fuzzy controller behaves as an expert operator. Results obtained prove the good performance of methodology. Genetic algorithm is employed to optimize the control rules of the fuzzy system by Varsek et al. First the rules are automatically changed into understandable form by means of inductive machine learning and then genetic algorithm is used to optimize the numerical parameters of the induced rules [18].
It is discussed in literature that learning capability of artificial neural network is incorporated with fuzzy system to overcome the aforementioned issues [21–23]. Jang [23] presented ANFIS (Adaptive-Network-based Fuzzy Inference System), for mapping of input-output data set using a hybrid learning method. Simulation results of ANFIS, Artificial Neural Network (ANN) and fuzzy logic are compared for different nonlinear functions. ANFIS performed better as compared to other techniques. The self-erecting single inverted pendulum is controlled using two control loops i.e. swing up control and stabilization. A position-velocity controller is used to swing up from stable state to unstable state and an ANFIS controller is designed to maintain stability at unstable point. Simulation results show the efficacy of the control policy [29]. Adaptive neuro fuzzy technique is successfully implemented in different fields of engineering such as wind turbine system [30], dc motor [31, 32] etc. Numerous adaptive control techniques for stabilization of inverted pendulum have been reported in literature. Rudra and Barai [33] designed a robust adaptive back-stepping control law for inverted pendulum. The designed controller is tested for tracking performance and parameter convergence rate of the system. Simulation results prove the effectiveness of the designed controller. Wang [34] proposed a nonlinear adaptive fuzzy sliding mode controller for the position tracking of inverted pendulum system. Simulation studies show the usefulness of the proposed control law.
The objective of the present work is to balance pendulums in upright position by application of a suitable control force on the cart in presence of actuator disturbances and sensor noise. The disturbance arising in DIP system is due to cogging and eccentricity, occurring because of the tendency of rotor to be locked at specific points. Thus actuator experiences sinusoidal disturbance forces [35]. Further noise is generated within the sensor due to aging, environmental conditions, inherent shortcomings of sensor etc. In order to deal with disturbance and noise generated within system, a fuzzy logic controller is designed and to improve its performance, parameters associated with membership functions and rules are optimized using genetic algorithm and neural network. Thus GA-fuzzy controller and adaptive neuro-fuzzy controller are designed for control of DIP system. Further a modified neuro fuzzy controller is proposed with suitable changes in manipulating variable of the training data, which improves the transient as well as steady state performance of the system. The conventional LQR and fuzzy logic controllers are also designed for comparative study. The robustness of designed controllers is tested for set-point tracking, disturbance rejection, noise suppression and simultaneous noise as well as disturbance rejection. A quantitative comparison on the basis of IAE value is carried out to critically evaluate the performance of controllers.
The paper is organized as follows: The model of double inverted pendulum system is discussed in the Section 2, Section 3 discusses the design of controllers. The results and discussion are presented in the Sections 4 and 5 concludes the research work.
Description of double inverted pendulum
The double inverted pendulum system consists of a cart on a rail, two pendulums and encoders. The two pendulums are joined serially and the starting point of first pendulum is attached to the cart. Encoders are used to measure the position and velocity of cart and pendulums. Figure 1 shows double inverted pendulum on cart [15] and values of various parameters of the system are given in Table 1. The behavior of the system is dynamic because of continuous variation in velocity and position of pendulums in response to force applied on cart. The inter-dependency of velocity, position and force of the system is derived by use of a set of differential equations known as Euler Lagrange equations of motion.

Schematic diagram of a Double Inverted Pendulum system.
Parameters of DIP system
The Euler Lagrange formulation is used to obtain the dynamic equations as
Therefore, Lagrangian H is
Substituting the value of Lagrangian H in Equation (1) and replacing the generalized coordinate with θ1 and θ2 yields
Or explicitly:
The operating point of the system is at angles (θ1, θ2) = (0, 0) i.e. when both the pendulum angles are zero. A small perturbation is introduced around operating point and expanded using Taylor series. Therefore cos(θ1 - θ2) ≅1, sin(θ1 - θ2) ≅ θ1 - θ2, cos θ1 ≅ cos θ2 ≅ 1, sin θ1 ≅ θ1, sin θ2 ≅ θ2. Thus linearization is done at unstable operating point and linear time invariant state model of the system is obtained from Equations (7 and 8) as follows.
Where
The model of DIP system is simulated by using Equation (9) and force ‘u’ applied to the cart is the manipulating variable obtained from controller. The displacement of cart position ‘x’ is restricted in the range –3 to 3 meters. The state variable model is used to analyze the stability, controllability and observability of the system. The roots of the characteristic equation are obtained and it is observed that two roots are lying on the right side of s-plane and therefore the system is unstable. Thus in order to stabilize the system there is a need to design a suitable controller. In the present work state feedback controller is designed for the purpose. The rank of composite matrix is found to be same as that of the order of the system, thus the system is completely controllable and observable in accordance with Kalman’s test. As the system is controllable its Eigen values can be arbitrarily located by complete state feedback control technique.
The main objective is to stabilize and maintain the angular position of two pendulums at zero radians under the effect of sensor noise and actuator disturbance. This is achieved by applying a suitable horizontal force to the cart. The controllers designed for controlling the system are discussed below.
Linear quadratic regulator
A linear quadratic regulator is designed by minimizing the performance index J.
Therefore,
On the basis of Equation (10 to 14) LQR controller is designed and control input ‘u’ for the system is obtained. The system is highly unstable and dynamic, therefore intelligent controllers are proposed for the control purpose. The fuzzy logic controller is explained in the next section.

Fuzzy logic control structure.
Fuzzy logic provides a simple way to control a system, without the use of actual mathematical model of the system. The uncertainty and instability of double inverted pendulum system makes fuzzy controller a good choice of control policy. Fuzzy control structure developed is shown in Fig. 2 which consists of DIP system, fusion function, scaling gains and fuzzy logic controller. As discussed above the DIP system is a multivariate system having six state variables. Due to high dimensionality of the system there is a problem of rule explosion in designing fuzzy logic controller. If five membership functions are assigned to each of the six state variables, the number of rules needed is 56 (15625). Constructing such a rule base is a tedious task for designer. It is revealed from the literature [15, 36] that, the problem may be solved using a sensory fusion designed by state feedback gain of LQR, which reduces the dimension for fuzzy controller.
Fusion function ‘F (x)’ is chosen in such a way that all the non-derivative states are fused to form error ‘E’ and the derivative states are fused to form rate of change of error ‘EC’ as given in Equations (17 and 18) respectively. Thus the dimension of the system is reduced to two i.e. comprehensive error E and the rate of change of error EC, which impressively simplifies the design of fuzzy logic controller. The two fused states are scaled by gains KE = 17 and KEC = 6.2, and applied as input to the fuzzy logic controller. The values of these gains are obtained by trial and error. Input variables E and EC are fuzzified by Gaussian membership functions. The selection of membership function depends on the internal behavior of the system. In this work, five Gaussian membership functions are used for both inputs and output which are labeled as NM (negative medium), NS (negative small), ZE (zero), PS (positive small), and PM (positive medium).
The error E and rate of change of error EC are inputs to the fuzzy logic controller and called as antecedent or premise. U is the control output and called as consequence or conclusion. The conclusion is evaluated by the fuzzy logic controller so as to reduce the error and rate of change of error between the actual and desired position of the system. Further the rule base (Table 2) for FLC is developed on the basis of knowledge and experience gained by analyzing the dynamics of system. A fuzzy If-Then rule is expressed as:
Rule base for FLC
The inputs E and EC are mapped to suitable membership functions. The inference system invokes each appropriate rule on the basis of inputs and generates a fuzzified output. The Mamdani inference technique is used to infer the output. The fuzzified output is converted to crisp value with the help of centroid defuzzification method, which returns the centre of area under the curve as crisp output. 3-dimensional surface showing variation of output U with respect to E and EC is shown in Fig. 3. Gain KU = 25, obtained by trial and error, is used for scaling of output U and then applied to the cart of system.

Surface view of Fuzzy logic control.
The main drawback of fuzzy logic controller is the intuition based selection of gains and parameters related to the membership functions. The problem is solved by a suitable optimization technique. In the present case, genetic algorithm is used, which emends the span of inputs and adapts the membership functions accordingly to realize optimal fuzzy logic controller. The fuzzy logic controller optimized with the help of GA leads to a GA-fuzzy logic controller as explained in next section.

GA-fuzzy control structure.
As discussed previously the optimal selection of gains and parameters associated with membership function is required for efficient fuzzy logic controller. Generally the span and parameters of membership functions are selected intuitively to design FLC. In order to design the efficient fuzzy logic controller genetic algorithm is used for optimization of parameters associated with membership functions and gains (KU, KE and KEC), which leads to a Genetic Algorithm tuned Fuzzy Logic Controller (GFC). Figure 4 shows the schematic diagram of GFC. The conventional FLC designed previously is a two-dimensional fuzzy controller and has 5 + 5 + 5 = 15 membership functions. Each membership function has two parameters i.e. centre and width {γ
i
, σ
i
} and span of both inputs and output needs to be optimized. Thus total number of parameters to be optimized are 39 (i.e. parameters of membership functions 15*2 = 30, span of inputs and output membership function is 2 + 2 +2 = 6 and scaling gain of inputs and output of controller 1 + 1 +1 = 3). The lower and upper bounds of each variable are defined based on FLC designed earlier. The multi objective fitness function for optimizing the fuzzy controller is weighted sum of overshoot and settling time of both the pendulums and cart position as given in Equation (19).
Genetic algorithm is a random search method that copies the method of biological evolution. GA begins without prior information of the exact solution. It depends solely on responses from its surroundings and evolution operators (i.e. reproduction, crossover and mutation) to get better solution. It starts from various independent points and explores them in parallel. These capabilities improve the performance of GA for complex fields with high dimensionality. The typical start of the GA process is with a random population that is formed by a real-valued number or a binary string called chromosome. The fitness of each chromosome is evaluated and survival of the fittest scheme is applied. The algorithm is described briefly with the sequence of steps as follows: Generate random population having 50 sets of chromosomes for 39 variables of FLC, on the basis of upper and lower bound of variables. Evaluate the fitness function value Z for every chromosome in population by simulating DIP system with FLC controller. Generate new population using the subsequent steps: Select parent chromosomes from a population according to their fitness value i.e. lower the fitness value, higher is the chance to be selected. Crossover is performed on the parent chromosomes to form new offspring. To increase the diversity in population, mutation operation is performed on the offspring. Place new offspring’s in the new population. If the stopping criterion is met i.e. function tolerance is 10-6 or maximum number of iterations (100) is achieved, then stop and return the best solution from current population. Otherwise, go to step 2.
50 chromosomes are generated for each variable in a single iteration. Rank method is used for fitness scaling in which the raw scores are scaled on the basis of rank of each chromosome, rather than its score. Therefore rank of the fittest chromosome is 1, the next fittest is 2, and so on. Then tournament selection function is used for choosing parents for the succeeding generation based on their scaled values. Now parents are crossover using scattered method, to form new chromosomes for the next generation. After crossover, to increase the diversity in the search space, adaptive feasible mutation operation is performed in which flipping of a bit is done. The fitness of newly generated chromosome is evaluated online and the process is repeated until the stopping criterion of function tolerance is met or last iteration is performed. Thus parameters of membership function are adapted and the optimized fuzzy controller is realized. GA converges to the optimal solution in 64 iterations with the fitness value Z = 8.6 as shown in Fig. 5(a). Values obtained for gains are KE = 26.361, KEC = 9.474, KU = 31.419. The premise parameters for membership functions of input E and EC along with the conclusion parameters of output membership function U for GFC controller are given in Table 3. The optimized membership functions for two inputs, output and control surface of the GA-fuzzy logic control are shown in Fig. 5. It is observed from Fig. 5(b), (c) and (d) that shape of membership functions are optimized and covers the entire span of the inputs and output. The wider membership functions in inputs have dominant effect in selecting the output membership function and vice versa.

Optimized GA fuzzy controller (a) convergence curve (b) Membership functions of E(c) Membership functions of EC (d) Membership functions of U and (e) Control surface.
Parameters associated with membership function of GFC controller
The parameters of fuzzy logic controller may also be optimized with the help of artificial neural network. Such structure is referred as adaptive neuro-fuzzy inference system. The technique is also tested for the control of DIP system and is discussedbelow.
Adaptive neuro-fuzzy inference technique is an approach of transforming the burden of designing fuzzy logic control and decision systems to the training and learning of connectionist neural networks. First-order Takagi–Sugeno fuzzy model is used to design the NFC. Control structure for NFC controller is shown in Fig. 6. It is depicted in the block diagram that the parameters of the fuzzy logic controller are optimized with the help of neural network learning. It has two inputs, error (e) and rate of change of error () and the output is control signal u. The ith IF–THEN rule is given as:

Block diagram of neuro-fuzzy controller.

Five layered NFC architecture.
In layer 1, every node is an adaptive node, with individual membership function specifying the degree of inputs to satisfy the quantifier. A
j
and B
j
are considered to be Gaussian membership functions and their representations are given in Equations (20 and 21).
The parameters for fuzzy membership functions are central value ‘γ’ and standard deviation σ > 0. These parameters are known as premise parameters. The change in these parameters due to the data set considered for training, adjusts the shape of Gaussian membership function.
In layer 2, every node is fixed and denoted by Π, output is the product of all incoming signals and is given in Equation (22).
Every node of the second layer represents the firing strength of the associated rule. The firing strength (W i ), is obtained by T-norm operator which is algebraic product (A j × B j ).
In layer 3, every node is a static node denoted as N and output of ith node is the ratio of firing strength of the ith rule (W
i
) to the summation of the firing strength of all the rules, as given in Equation (23).
Every node in layer 4 is an adaptive node with a node function given by the Equation (24).
Where P i , Q i and R i are the sets of control variables and is known as normalized firing strength generated from layer 3. Parameters in this layer are defined as output parameters. Layer 5 is designated by Σ which represents a single fixed node. It calculates the global output as the sum of all entering signals and is given by the Equation (25).
A hybrid learning algorithm is utilized to identify NFC parameters. Initially, input membership functions and number of rules for fuzzy inference system are framed according to the input–output training data sets. These membership functions can be assigned for input variables, either by plotting the data sets and examining them visually or simply by trial and error approach. But these methods are not very effective and to overcome the disadvantages, clustering methods are utilized. Therefore initial membership function and number of fuzzy rules are generated using grid partition clustering method. In this method, the number of membership functions on each input variable uniquely determines the number of rules. There are two inputs and five membership functions of each input which results in 5∧2 = 25 fuzzy IF–THEN rules. The Gradient descent and least square estimation learning algorithms are combined for fast identification of premise and consequent parameters of NFC.
The training data set is generated by simulating the system with LQR controller using 4th order Runge-Kutta differential equation solver having the sampling time of 0.01 sec. Initial state is considered as (0.25 0.120.10 0 0)
T
and a noise of 0.1 radian is incorporated in 2nd pendulum for time interval of 4 to 4.1 s. Total 1201 samples of input-output data set are obtained in 12 s. The error e, rate of change of error and the corresponding force on the cart u are obtained under these conditions. It is observed from the simulation results (Fig. 8a) that there are large transients in the response due to noise, which implies that LQR controller does not efficiently control the noisy system. In order to minimize the transients and improve the steady state performance of the system a necessary modification in the training data set is proposed. The modification is made by subtracting a function h1 (y) from the manipulating variable. Where h1 (y) is selected in such a way that its effect is more during transients. The samples at steady state are modified by a multiplying function h2 (y), in order to drive the system output towards steady state rapidly. The following modification functions given in Equations (26 and 27) are found suitable for the required purpose and are achieved by rigorous analysis of data. Modified training data u
m
is shown in Fig. 8(b).
Where y is an integer and u (y) * h2 (y) is calculated as
The modified data so obtained is used to train the MNFC controller offline. Fuzzy inference system is generated using grid partition clustering method with two inputs and one output. Inputs are fuzzified with 5 Gaussian membership functions and first order output is employed. Finally the parameters of fuzzy inference system are optimized using hybrid training algorithm, with epochs as 60 and tolerance for error as zero. Error obtained after training is 1.37626 and the error plot is shown in Fig. 9(a). The structure of MNFC with twenty five rules is shown in Fig. 9(b). The surface view of the fuzzy system without training and after training is shown in Fig. 10(a) and (b) respectively.

(a) Pendulum angles controlled by LQR controller and (b) Modified training data.

(a) Training error (b) MNFC structure.

Control surface of MNFC (a) Initial surface view (b) Final surface view after training.
The results obtained from MNFC are compared with NFC as shown in Fig. 11. It is observed from the results that modification in the manipulating variable improves the performance of the system significantly. The integral absolute error (IAE) of the two pendulum angles is obtained to be 0.168 and 0.1013 for MNFC whereas it is 0.216 and 0.1296 for NFC. This is due to reason that the suggested modification attempts to adjust the manipulating variable during transients as well as steady state conditions.

Comparison of NFC and MNFC response (a) 1st pendulum angle (b) 2nd pendulum angle.
The robustness of designed controllers for the control of double inverted pendulum is investigated by conducting intensive simulation studies. The designed controllers are rigorously examined for set-point tracking, disturbance rejection, noise suppression and simultaneous noise and disturbance rejection. All the simulations are performed in MATLAB on Intel®, Core™i3, 4GB RAM, 1.70 GHz personal computer. The algebraic solver used for the simulation is Runge-kutta with sampling time of 0.001 s. Further, the performance and robustness of designed controllers are compared on the basis of integral absolute error (IAE), settling time, overshoot and steady state error of both the pendulum angles.
Set-point tracking performance
As discussed previously, the control input u in Equation (12) is obtained using the matrix K which in turn is obtained by minimizing the performance index JEquation (10). Thus LQR controller is designed for control and stabilizing of pendulum angles by generating control input u. It is observed from the results (Fig. 12) that the pendulum angles obtained are oscillatory, have large overshoots and steady state is reached at a later stage. Therefore, in order to improve the control performance fuzzy logic controller is designed. Fusion function is incorporated to reduce the dimension of input variables to error E and rate of change of error EC which greatly simplifies the design of FLC. The performance of designed FLC is slightly better than LQR controller. The integral absolute error, oscillations and settling time are reduced as compared to LQR. The membership functions and the rules associated with fuzzy logic control are selected on the basis of expert’s intuition.

Set-point tracking performance of MNFC, GFC, FLC and LQR (a) 1st pendulum angle (b) 2nd pendulum angle (c) Controller output.
The performance of the designed FLC may further be improved if the parameters of FLC are tuned using an optimization technique. In the present case genetic algorithm is considered for the purpose which leads to GFC. GA searches the parameters of fuzzy in unrestricted and multidirectional manner to produce optimized fuzzy inference system. Response of the system with GFC is much better than FLC and LQR controller. Further, neural network learning capability is utilized for adapting the parameters of TS fuzzy system. The network is trained by modified data obtained from LQR controller, which leads to modified neuro-fuzzy controller (MNFC). The set-point tracking performance comparison is shown in Fig. 12. It is obvious from the figure that MNFC controller minimizes the overshoot, integral absolute error (IAE) and settling time significantly. The improvement in the performance is due to the optimum parameters of fuzzy system. The quantitative analysis for various controllers is summarized in Table 4, which verifies the effectiveness of the proposed MNFC controller in terms of settling time, overshoot and IAE.
Reference tracking performance
Robustness is the ability of the controllers to deal with the perturbations arising in the system due to various factors such as actuator disturbance and sensor noise. The robustness of the designed controllers is examined under the effect of actuator disturbance due to cogging and noise generated by sensor in the feedback path. A quantitative comparison on the basis of IAE value of pendulums angle is made to analyze the performance of controllers.
Disturbance rejection
The robustness of the designed controller is examined by incorporating disturbance to the DIP system. Disturbance can arise in the actuator in oscillatory form due the effect of cogging and eccentricity [35]. Therefore, sinusoidal disturbance (mentioned in Table 5) is added to the input ‘u’ of the system for entire time span. The tracking performance of both the pendulums for MNFC, GFC, FLC and LQR controllers for added disturbance of 2sin25tN is shown in Fig. 13. The values of IAE for 1st and 2nd pendulum under the effect of disturbance are summarized in Table 5. It is observed from the results, that IAE values are smaller for MNFC controller as compared to GFC, FLC and LQR controllers for different cases of disturbance, which is also verified from Fig. 14. Thus, it is observed that proposed MNFC controller rejects the disturbance more efficiently than other designed controllers.
IAE values for different cases of disturbance
IAE values for different cases of disturbance

Tracking performance of MNFC, GFC, FLC and LQR for disturbance of 2sin25t N (a) 1st pendulum angle (b) 2nd pendulumangle (c) Controller output (d) Disturbance profile.

Variation in IAE for varying amplitude of disturbance (a) 1st pendulum angle (b) 2nd pendulum angle.
The robustness of the controllers is further investigated by observing their adaptation to the sensor noise in feedback path. A random noise with maximum amplitude of 0.01 radian as shown in Fig. 15(d) is added to the feedback path of 1st pendulum, 2nd pendulum and then both pendulums simultaneously. The tracking performance of designed controllers for addition of random noise to both pendulums is shown in Fig. 15. The values of IAE for each controller after the addition of random noise to the pendulums are recorded in Table 6. A quantitative comparison of IAE value for all controllers is depicted in Fig. 16.

Tracking performance of MNFC, GFC, FLC and LQR for noise added to both pendulums (a) 1st pendulum angle (b) 2nd pendulum angle (c) Controller output (d) Noise profile.
IAE Variation for random noise

IAE values for different cases of noise (a) 1st pendulum angle (b) 2nd pendulum angle.
MNFC controller has powerful learning capability, so when system is subjected to random noise due to sensor, MNFC tunes the network accordingly and adapts itself to the changes and provides better response by suppressing the noise effectively. The value of IAE for FLC and GFC controllers is comparatively higher, as they are incapable to generalize and take action according to the rule base. Hence, the proposed MNFC controller efficiently suppresses the effect of random noise present in system as compared to other controllers.
Effectiveness of the designed controller is also tested for simultaneous inclusion of disturbance and noise to the system. A random noise of amplitude 0.01 radian to feedback path of both pendulums and disturbance of 4sin25tN is added to the input of DIP system for complete time span. The tracking performance and controller output is shown in Fig. 17 and the value of IAE for each controller is recorded in Table 7. The performance of MNFC is again found to be better than other designed controllers.

Tracking performance of MNFC, GFC, FLC and LQR for simultaneous addition of noise and disturbance (a) 1st pendulum angle (b) 2nd pendulum angle (c) Controller output.
IAE values for simultaneous addition of disturbance and noise
Thus from the rigorous analysis it is concluded that MNFC controller is more efficient and robust than other designed schemes for reference trajectory tracking, disturbance rejection as well as noise suppression.
The present work focuses on optimum design of fuzzy logic controller for DIP system with the help of artificial intelligence and evolutionary optimization algorithms. Genetic algorithm based fuzzy controller and adaptive neuro-fuzzy controller are designed by optimizing the FLC parameters using genetic algorithm and neural network respectively. Also a suitable function is proposed for modifying training data set which is utilized in design of neuro-fuzzy inference system that leads to MNFC. Further, FLC and LQR are also designed for comparative analysis. Intensive simulation studies are carried out to test the performance of the controllers for reference tracking, disturbance rejection, noise suppression and simultaneous noise as well as disturbance rejection. The proposed MNFC significantly minimize the IAE as compared to GFC, FLC and LQR for all cases. Thus it is concluded that MNFC exhibits robust and precise control of DIP system as compared to other designed controllers.
