Next Article in Journal
A Control Method for IPMSM Based on Active Disturbance Rejection Control and Model Predictive Control
Previous Article in Journal
A Lie Group-Based Iterative Algorithm Framework for Numerically Solving Forward Kinematics of Gough–Stewart Platform
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

High-Speed Interval Type-2 Fuzzy Systems for Dynamic Parameter Adaptation in Harmony Search for Optimal Design of Fuzzy Controllers

1
Division of Graduate Studies and Research, Tijuana Institute of Technology, Tijuana 22414, Mexico
2
School of Mathematics and Statistics, Sejong University, Seoul 05006, Korea
3
College of IT Convergence, Gachon University, Seongnam 13120, Korea
*
Authors to whom correspondence should be addressed.
Mathematics 2021, 9(7), 758; https://doi.org/10.3390/math9070758
Submission received: 6 February 2021 / Revised: 23 March 2021 / Accepted: 29 March 2021 / Published: 1 April 2021

Abstract

:
Fuzzy systems have become a good solution to the problem of fixed parameters in metaheuristic algorithms, proving their efficiency when performing dynamic parameter adaptations using type-1 and type-2 fuzzy logic. However, the computational cost of type-2 fuzzy systems when using the continuous enhanced Karnik–Mendel (CKM) algorithm for type-reduction, when applied to control and optimization, is too high. Therefore, it is proposed to use an approximation to the CKM algorithm in the type-2 fuzzy system for adjusting the pitch adjustment rate (PArate) parameter in the original harmony search algorithm (HS). The main contribution of this article is to verify that the implementation of the proposed methodology achieves results that are equivalent to the interval type-2 fuzzy system with the CKM algorithm, but in less computing time and also allowing an efficient dynamic parameter adaptation. It is noteworthy that this method is relatively new in the area of metaheuristics algorithms so there is a current interest to work with this methodology. The proposed method was used in optimizing the antecedents and consequents for an interval type-2 fuzzy controller of direct current motor. Experimental results without noise and then with uniform random noise numbers (Gaussian noise) in the controller were obtained to verify that the implementation is efficient when compared to conventional and other existing methods.

1. Introduction

Currently, in state of the art science, there exists a plethora of algorithms for solving real world problems, and some of them are classified as bio-inspired algorithms, which replicate the way in which nature deals with optimization problems. Examples of these algorithms are shown in [1,2,3,4,5]: metaheuristics that are derived from hybrid algorithms, mechanisms, and statistics, as we find in [6,7,8], applied to neural networks as in [9,10,11]; and type-2/3 fuzzy systems applied in various applications, such as in [12,13] among others. Most of these algorithms use fixed parameters throughout their iterations, which causes them to fall with higher probability into local minima. For this reason, there is current interest in methods for parameter adaptation in metaheuristics, and fuzzy systems have been put forward as a viable alternative for achieving this goal. Therefore, in the following articles, a solution to this problem has been presented using conventional type-1 [14,15,16] and type-2 [17,18,19] fuzzy logic for parameter adaptation, and they have been implemented with relative success in various control problems and benchmark mathematical functions, as shown in [20,21].
Interval type-2 fuzzy logic has the ability to deal with uncertainty; its main advantages are that it achieves the stabilization and improvement of results on complex problems, unlike type-1 fuzzy logic, which cannot fully deal with uncertainty. However, the computational cost that type-2 fuzzy logic requires with the continuous enhanced Karnik–Mendel (CKM) algorithm, when applied to control and optimization, is too high. Due to this, the use of a relatively new methodology approach for type-reduction called approximate to the continuous enhanced Karnik–Mendel (NACEKM) for dynamic adaptation of parameters in metaheuristic algorithms is proposed in this article. The approximate NACEKM type reduction method used in this work has many key advantages when compared to the original CKM method, such as the following: it is faster because the defuzzification method is reduced to calculating a polynomial; it estimates inherent errors; it is non iterative; sampling is not required; and it is ideal for implementation in hardware problems. On the other hand, the mathematical model is required by the methodology for its implementation, and in the adaptation part, it is required to carry out the methodology for each variation with which it is intended to work. On the other hand, this methodology can be adapted to any problem.
This article describes an algorithm based on a metaheuristic of musical improvisation, which is known as the harmony search algorithm (HS), that has been used to deal with various applications as can be seen in [22,23,24,25]. The main goal of this article is to use an approximation to the continuous enhanced Karnik–Mendel method (CKM), to adjust the pitch adjustment rate (PArate) parameter in the original harmony search (HS) algorithm, thereby solving the problem of having fixed parameters during execution and applying it to the optimization of a benchmark control case.
The organization of the remaining article is outlined as follows: Section 2 describes the terminology of type-2 fuzzy logic. Section 3 describes the terminology of the new approximate continuous enhanced Karnik–Mendel (NACEKM) algorithm, Section 4 presents the terminology of the original harmony search algorithm. Section 5 presents the proposed methodology. Section 6 describes the benchmark control problem and contains the experimentation and results, and finally, Section 7 outlines the conclusions.

2. Fuzzy Logic

The theoretical constructs of interval type-2 fuzzy logic are described in this section. The objective of this work is to implement an approximation method that was recently published by [26] in parameter adaptation for HS, where it is possible to demonstrate the reduction of the computational cost when carrying out experimentation in various case studies. In this article, this approximate method for type reduction was implemented with the main goal of efficiently finding good results for HS.

Type-2 Fuzzy Logic

Interval type-2 fuzzy sets (IT2 FSs) were inspired by the traditional fuzzy sets put forward by Zadeh [27]. IT2 FSs help to manage uncertainty through a secondary domain. Recently, the following advances have been developed in this area [28,29,30,31,32,33]. The mathematical expression that describes IT2 FSs is shown in Equation (1).
A ˜ = { ( ( x , u ) , 1 ) | x X ,   u J x [ 0 , 1 ] }
The primary domain is represented by X and the secondary domain is denoted by Jx.
The IT2 FS is comprised of the upper and lower membership functions and the region contained inside these functions is called footprint of uncertainty (FOU) [34].
Equation (2) illustrates the form of the fuzzy rules of the interval type-2 fuzzy system, and its structure is illustrated in Figure 1.
R l : IF   x 1   is   F ˜ 1 l   and and   x p   is   F ˜ p l ,   THEN   y   is   G ˜ l , where   l = 1 , , M
A type-reducer and a defuzzifier are included in the output processing block, which produces a type-1 fuzzy set output (from the type-reducer) or a precise value (from the defuzzification block) [35,36].

3. Numerical Approximation of the New Approximate Continuous Enhanced Karnik–Mendel (NACEKM) Method and Methodology

Liu and Mendel in [37] presented a method called CKM algorithm where they pose type-reduction calculation as root-finding for a function, and the work in this article is based on that idea. The objective is to implement the numerical approximation of the new approximate continuous enhanced Karnik–Mendel (NACEKM) method that was recently published in [26]. In the work presented in [37], the CKM algorithm was explained in detail, from which the CKM type reduction approach was posed as finding the roots of a function. Equations (3) and (4) define the critical points of the upper ( x ^ u ) and lower ( x ^ l ) membership functions.
Based on Equations (3) and (4), two functions are proposed, which are represented as Equations (5) and (6), where φ ( ξ ) represents the type-reduction for the upper membership function and ψ ( ξ ) and ξ [ a , b ] represent the type-reduction for the lower membership function.
x ^ l = a ξ x μ ¯ ( x ) d x + ξ b x μ _ ( x ) d x a ξ μ ¯ ( x ) d x + ξ b μ _ ( x ) d x
x ^ u = a ξ x μ _ ( x ) d x + ξ b x μ ¯ ( x ) d x a ξ μ _ ( x ) d x + ξ b μ ¯ ( x ) d x
φ ( ξ ) = a ξ ( ξ x ) μ ¯ ( x ) d x + ξ b ( ξ x ) μ _ ( x ) d x
ψ ( ξ ) = a ξ ( ξ x ) μ _ ( x ) d x + ξ b ( ξ x ) μ ¯ ( x ) d x
Since the functions contain only a single root, it is intended to solve this problem by means of the Newton–Raphson method, specifically using the root-finding problem.
Equations (7) and (8) are based on NACEKM [21], where the first iteration of Newton–Raphson is considered to be an efficient approximation of CKM, where ξ l and ξ r represent the left and right switch points, respectively.
ξ l ξ l 0 φ ( ξ l 0 ) φ ( ξ l 0 )
ξ r ξ r 0 ψ ( ξ r 0 ) ψ ( ξ r 0 )
Equation (9) establishes the enhanced version of the Karnik–Mendel method (EKM) criteria to initialize the Newton–Raphson method.
ξ l 0 = ( x f x o ) 2.4 + x 0 ,   ξ r 0 = ( x f x o ) 1.7 + x 0
Equations (5) and (6) are intended to obtain the NACEKM. In this situation, Equations (10) and (11) are put forward as a part of the solution to Equations (5) and (6).
φ ( ξ ) = ( ξ x ) x 0 ξ μ ¯ ( x ) d x + x 0 ξ ( μ ¯ ( x ) d x ) d x + ( ξ x ) ξ x f μ _ ( x ) d x + ξ x f ( μ _ ( x ) d x ) d x
ψ ( ξ ) = ( ξ n x ) x 0 ξ μ _ ( x ) d x + x 0 ξ ( μ _ ( x ) d x ) d x + ( ξ x ) ξ x f μ ¯ ( x ) d x + ξ x f ( μ _ ( x ) d x ) d x
Equation (12) represents the A(ξ) and V(ξ) functions where they represent the upper and lower limits, respectively, that compose Equations (10) and (11).
Based on Equation (12), the φ(ξ) and ψ(ξ) functions are defined in Equation (13), where b ¯ l represents the upper and b _ l the lower left points. Similarly, b ¯ r and b _ r represent the upper right and lower right points, respectively.
A ¯ ( ξ ) = ( ξ x ) μ ¯ ( x ) d x ,   V ¯ ( ξ ) = ( μ ¯ ( x ) d x ) d x A _ ( ξ ) = ( ξ x ) μ _ ( x ) d x ,   V _ ( ξ ) = ( μ _ ( x ) d x ) d x
φ ( ξ l ) = i = 1 b ¯ l 1 A ¯ | x 0 i x f i + A ¯ | x b ¯ l ξ l + i = 1 b ¯ l 1 V ¯ | x 0 i x f i + V ¯ | x i b ¯ l ξ l + A _ | ξ l x f b _ l + i = b _ + 1 n A _ | x o i x f i + V _ | ξ l x f b _ l + i = 1 n _ V _ | x o i x f i ψ ( ξ r ) = i = 1 b ¯ r 1 A _ | x 0 i x f i + A _ | x b _ r ξ r + i = 1 b _ r 1 V _ | x 0 i x f i + V _ | x i b _ r ξ r + A _ | ξ r x f b ¯ r + i = b _ + 1 n A _ | x o i x f i + V _ | ξ r x f b ¯ r + i = 1 n _ V _ | x o i x f i
Based on Equation (13), the algorithm for NACEKM is illustrated in Figure 2.

4. Harmony Search Algorithm

In 2001, Zong Woo Geem developed an algorithm based on musical improvisation called harmony search (HS), and it specifically referred to Jazz in this case. [38]. This algorithm uses three parameters to mimic the behavior of an orchestra that consists of: pitch adjustment rate (PArate) parameter, harmony memory accepting (HMR), and random selection, and these parameters are outlined by Equations (14)–(16).
H M R [ 0 , 1 ]
X n e w = X o l d + b p ( 2   r a n d 1 )
P A r a t e = P L o w e r   l i m i t + P R a n g e r a n d Where   P R a n g e = P U p p e r   L i m i t P L o w e r   L i m i t
Based on HMR, HS performs memory consideration if 0 ≤ Rand ≤ HMR and random selection if HMR ≤ Rand ≤ 1. With PArate, HS performs pitch adjustment if 0 ≤ Rand ≤ PArate and does nothing if PArate ≤ Rand ≤ 1. Memory consideration means Xnew comes from HM. Random selection means Xnew comes from the total value range. Pitch adjustment means Xnew is further tweaked by adding delta (a tiny positive or negative value; if we want to use bp, we have to define it first) once Xnew is obtained from memory consideration.

5. Methodology for Implementing NACEKM in Parameter Adaptation of HS

The NACEKM numerical approximation was implemented for achieving parameter adaptation in a dynamic fashion in the original HS. Previously, the operation and performance of this algorithm was studied in detail, as mentioned in [39,40,41,42,43,44,45], to identify and understand the behavior of each parameter within the algorithm. In the proposed fuzzy system for parameter adaptation, the iterations are taken as input and the pitch adjustment rate (PArate) parameter as the output. Equations (17) and (18) represent the mathematical expressions of these fuzzy variables.
I t e r a t i o n s = C u r r e n t   I t e r a t i o n M a x i m u n   o f   i t e r a t i o n s
P A r a t e = i = 1 r P A r a t e μ i P A r a t e ( P A r a t e 1 i ) i = 1 r P A r a t e μ i P A r a t e
where PArate is the pitch adjusment; r P A r a t e represents the number of rules of the IT2 FS corresponding to PArate; P A r a t e 1 i represents the output result for rule i with respect to PArate; μ i P A r a t e is the membership function of rule i corresponding to PArate.
The parameters used for the construction of the interval type-2 fuzzy system (IT2FHS) and its triangular interval type-2 (IT-T2) membership function with uncertainty in a are represented in Table 1.
Equation (19) represents the partial knowledge of the construction of each IT-T2 membership function for each input and output, and the linguistic terms of the fuzzy sets are lower, middle and higher, respectively.
The IT2FHS rules are expressed in increasing fashion as the iterations progress, as illustrated in Table 2. The knowledge expressed by the fuzzy rules is that as iterations increase, then HMR is also increasing (nonlinearly) to improve the HS performance.

6. Experiment to Direct Current Motor Speed Controller

In this section, the case of a speed control problem in a direct current motor (DC) was considered. The fuzzy harmony search approach was used for optimal design of the fuzzy controller antecedents and consequents. IT2 FSs was implemented in the controller and the goal was validating the effectiveness of the proposed method. Figure 3 illustrates the graphical view of the DC motor components.
The type-2 fuzzy system for controlling the speed of the DC motor is constituted by the following inputs and outputs: input 1 is the error and uses two trapezoidal and one IT-T2 membership functions; input 2 is the error change and voltage is the output, both containing the same type of two trapezoidal and three triangular type-2 membership functions, respectively. The parameter values considered for the construction of the IT2 FSs controller for DC motor are represented in Table 3.
The IT2 FS is of Mamdani type, and its structure is presented in Figure 4. The IT2 FS contains fifteen fuzzy rules that are represented in Table 4.
The nonlinear surface of the controller is represented in Figure 5.
For the optimization of the antecedents and consequents of the IT2 FS controller for the direct current DC motor controller, the HS with parameter adaptation is used. The representation of the IT-T2 membership function with uncertainty is shown in Figure 6 and its mathematical expression in Equation (19). The illustration of the trapezoidal type-2 membership functions (TI-T2) with a particular footprint of uncertainty is shown in Figure 7 and its mathematical expression in Equation (20).
μ 1 ( x ) = maximum ( minimum ( x a 1 b 1 a 1 , c 1 x c 1 b 1 ) , 0 ) μ 2 ( x ) = maximum ( minimum ( x a 2 b 2 a 2 , c 2 x c 2 b 2 ) , 0 ) μ ¯ ( x ) = { maximum ( μ 1 ( x ) , μ 2 ( x ) ) x ( b 1 , b 2 ) 1 x ( b 1 , b 2 ) μ _ ( x ) = minimum ( μ 1 ( x ) , μ 2 ( x ) )
μ 1 ( x ) = maximum ( minimum ( x a 1 b 1 a 1 , 1 , d 1 x d 1 c 1 ) , 0 ) μ 2 ( x ) = maximum ( minimun ( x a 2 b 2 a 2 , 1 , d 2 x d 2 c 2 ) , 0 ) μ ¯ ( x ) = { maximum ( μ 1 ( x ) , μ 2 ( x ) ) x ( b 1 , c 2 ) 1 x ( b 1 , c 2 ) μ _ ( x ) = minimum ( α , minimum ( μ 1 ( x ) , μ 2 ( x ) ) )
A TI-T2 membership function has eight parameters, and an IT-T2 membership function has six parameters. In total there are 90 parameters for the antecedents and consequents of the controller, which can be optimized with the proposed method to improve performance and achieve the objective. Table 5 summarizes the values assigned to each parameter.
Experimentation was performed with uniform random number noise at a level of 0.09, which represented 90 percent of noise. Figure 8 shows how the uniform random noise was implemented in the controller.
The root mean square error (RMSE) is the objective function considered in the optimization process, as is outlined in Equation (21):
R M S E = 1 N t = 1 N ( x t x ^ t ) 2
The performance of the controller is illustrated in Figure 9, where we can appreciate that the motor must increase the velocity to reach its steady-state speed as soon as it turns on, which in this case, is at a velocity of 40 rad/s.

6.1. Results for the Experiment of Direct Current Motor Speed Controller

The results obtained when performing the 30 simulations using the proposed method for the optimal design of the type-2 fuzzy controller for the DC motor are illustrated in Table 6. Experiments were done without considering noise and then also with noise perturbing the controller, in this way verifying that, on average, type-2 performs better when noise exists in the control process.
The best simulation results obtained without considering noise and with the presence of noise are graphically represented in Figure 10 and Figure 11, respectively.
Figure 12 illustrates the architecture of the fuzzy controller for the best simulation result obtained without considering noise applied in the control of the plant, and the surface is shown in Figure 13.
Figure 14 illustrates the structure of the best design for the fuzzy system obtained with noise applied in the fuzzy controller of the plant and the surface of this fuzzy system is illustrated in Figure 15.

6.2. Comparison of the Proposed Method with Other Existing Methods

The following Table 7 and Table 8 show the results that were obtained in other articles when optimizing the DC motor controller, the main difference of the proposed method with respect to these articles is that, in the proposal presented in this article, a type-2 fuzzy controller is implemented.
Table 7 shows the comparison of the results obtained with the Approximate continues Enhanced Karnik–Mendel method of the Fuzzy Harmony Search algorithm (FHS FIS 3) and the Approximate continues Enhanced Karnik-Mendel method of the Differential Evolution Search algorithm (FDE FIS 3). against the results obtained in the proposed methods without noise and with noise.
Table 8 shows the comparison of the results obtained with the Harmony Search Algorithm without noise (HS without noise), Harmony Search Algorithm with noise (HS with noise), Type-1 Fuzzy Harmony Search Algorithm without noise (FHS without noise) and Type-1 Fuzzy Harmony Search Algorithm with noise (FHS with noise) against the results obtained in the proposed methods without noise and with noise.
The results summarized in Table 7 show the obtained RMSE when applying the CKM approach methodology for the parameter adjustment of the HMR parameter in the HS algorithm and the F parameter in the differential evolution algorithm (FDE); these two methods were used to optimize the type-1 controller of the DC motor. The results with the proposed method are also presented.
Table 8 summarizes the results obtained in [46] for the DC Motor type-1 controller optimization, where the dynamic adaptation of the HMR parameter is done with type-1 fuzzy logic. The noise that was applied was with a level of 0.05, which represents 5%. The results with the proposed method are also illustrated.
When comparing the results obtained with other articles, such as in [26], with the proposed method, it can be noted that the obtained error average was lower. By comparison of the results with the work in [46] against the original HS method without noise and with noise and the FHS method without noise, it can be concluded that better results were obtained with the proposed method. The results were better in the FHS Type-1 with noise, because in that article, a Gaussian noise of 0.05 was used, and in the proposed method, a higher level of noise of 0.09 was used. In any case, it was possible to verify that, when using the approximation of CKM method for the PArate parameter adaptation in the original HS algorithm and when it is used in the optimization of the Interval Type-2 controller of the DC Motor, the main goal of this article was achieved, and the efficiency of the proposed method was verified.

7. Conclusions and Future Work

This article has presented the implementation of the NACEKM method in the parameter adaptation of the original HS algorithm. The NACEKM is a relatively new methodology that offers performance improvements and lower computational cost; therefore, the main contribution of this article was verifying that the implementation of the proposed methodology has equivalent performance to the type-2 fuzzy system and eliminates the problem of fixed parameters in the HS algorithm. In addition, it was also applied to the optimization of a type-2 control problem without and with noise in the controller. Analyzing the results obtained from the proposed numerical approximation of the CKM algorithm, it can be observed that good results are achieved in both cases by applying noise or not in the controller.
The results were also compared with two existing articles where it can be noted that the proposed methodology has excellent performance for this optimization problem.
This methodology can be applied in a wide range of different problems, such as hardware, control, adaptation, etc. Due to the significant advantages it has, its limitation would be that, in the mathematical model and in the adaptation, the methodology must be carried out with each variation of the intended work, but it can be adapted to each specific case.
As future work, the proposed methodology can be implemented in the experimentation of other Type-2 fuzzy controller cases in order to validate that the results are also relevant when the proposed method is applied to other problems. We also still have to elevate the use of fuzzy logic to what is called generalized type-2 fuzzy logic or shadowed type-2 fuzzy logic until reaching type-3 fuzzy logic, and in theory, better results can be expected.

Author Contributions

Contributed to the discussion and analysis of the results in the conclusions, O.C., F.V., J.H.Y. and Z.W.G.; contributed to the introduction, simulation results, first; in the implementation of the proposed methodology, second, in finding the optimal design of interval type-2 fuzzy systems approach, C.P. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (2020R1A2C1A01011131).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data will be available upon request.

Acknowledgments

We appreciate the support and trust provided by the program of the Division of Graduate Studies and Research of Tijuana Institute of Technology.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CKMContinuous enhanced Karnik–Mendel
PAratePitch adjustment rate parameter
HSOriginal harmony search algorithm
NACEKMNumerical approximation of the new approximate continuous enhanced Karnik–Mendel
IT2 FSsInterval type-2 fuzzy set
EKMEnhanced version of the Karnik–Mendel method
HMRHarmony memory accepting parameter
IT2FHSInterval type-2 fuzzy system for harmony search
IT-T2Triangle interval type-2 membership function
DCDirect current motor speed controller
TI-T2Trapezoidal interval type-2 membership functions
RMSERoot mean square error
FHSType-1 fuzzy harmony search algorithm

References

  1. Fan, X.; Sayers, W.; Zhang, S.; Han, Z.; Ren, L.; Chizari, H. Review and Classification of Bio-inspired Algorithms and Their Applications. J. Bionic Eng. 2020, 17, 611–631. [Google Scholar] [CrossRef]
  2. Aghelpour, P.; Bahrami-Pichaghchi, H.; Kisi, O. Comparison of three different bio-inspired algorithms to improve ability of neuro fuzzy approach in prediction of agricultural drought, based on three different indexes. Comput. Electron. Agric. 2020, 170, 105279. [Google Scholar] [CrossRef]
  3. Silva, J.; Varela, N.; Varas, J.; Lezama, O.; Maco, J.; Villón, M. Comparison of Bioinspired Algorithms Applied to the Timetabling Problem. In Computational Methods and Data Engineering; Springer: Singapore, 2020; pp. 427–437. [Google Scholar]
  4. Singh, D. A new bio-inspired algorithm: Lizard optimisation. Int. J. Comput. Aided Eng. Technol. 2021, 14, 1–26. [Google Scholar] [CrossRef]
  5. Silva, J.; Cabrera, D.; Maco, J.; Villón, M.; Guliany, J.G.; Roncallo, A.; Palma, H.H. Comparison of Bioinspired Algorithms Applied to the Timetabling Problem in Sport. Procedia Comput. Sci. 2020, 170, 965–970. [Google Scholar] [CrossRef]
  6. Deng, W.; Xu, J.; Song, Y.; Zhao, H. Differential evolution algorithm with wavelet basis function and optimal mutation strategy for complex optimization problem. Appl. Soft Comput. 2020, 100, 106724. [Google Scholar] [CrossRef]
  7. Houssein, E.H.; Saad, M.R.; Hashim, F.A.; Shaban, H.; Hassaballah, M. Lévy flight distribution: A new metaheuristic algorithm for solving engineering optimization problems. Eng. Appl. Artif. Intell. 2020, 94, 103731. [Google Scholar] [CrossRef]
  8. Reddy, G.T.; Reddy, M.P.K.; Lakshmanna, K.; Rajput, D.S.; Kaluri, R.; Srivastava, G. Hybrid genetic algorithm and a fuzzy logic classifier for heart disease diagnosis. Evol. Intell. 2020, 13, 185–196. [Google Scholar] [CrossRef]
  9. Mohammadzadeh, A.; Kayacan, E. A non-singleton type-2 fuzzy neural network with adaptive secondary membership for high dimensional applications. Neurocomputing 2019, 338, 63–71. [Google Scholar] [CrossRef]
  10. Tavoosi, J.; Mohammadzadeh, A.; Jermsittiparsert, K. A review on type-2 fuzzy neural networks for system identification. Soft Comput. 2021, 25, 1–16. [Google Scholar]
  11. Qasem, S.N.; Mohammadzadeh, A. A deep learned type-2 fuzzy neural network: Singular value decomposition approach. Appl. Soft Comput. 2021, 105, 107244. [Google Scholar] [CrossRef]
  12. Liu, Z.; Mohammadzadeh, A.; Turabieh, H.; Mafarja, M.; Band, S.S.; Mosavi, A. A New Online Learned Interval Type-3 Fuzzy Control System for Solar Energy Management Systems. IEEE Access 2021, 9, 10498–10508. [Google Scholar]
  13. Sedaghati, A.; Pariz, N.; Siahi, M.; Barzamini, R. A new fractional-order developed type-2 fuzzy control for a class of nonlinear systems. Int. J. Syst. Sci. 2021, 52, 1–19. [Google Scholar] [CrossRef]
  14. Amador-Angulo, L.; Castillo, O. Optimal Design of Fuzzy Logic Systems through a Chicken Search Optimization Algorithm Applied to a Benchmark Problem. In Recent Advances of Hybrid Intelligent Systems Based on Soft Computing; Springer: Cham, Switzerland, 2020; pp. 229–247. [Google Scholar]
  15. Castillo, O.; Valdez, F.; Soria, J.; Yoon, J.H.; Geem, Z.W.; Peraza, C.; Ochoa, P.; Amador-Angulo, L. Optimal Design of Fuzzy Systems Using Differential Evolution and Harmony Search Algorithms with Dynamic Parameter Adaptation. Appl. Sci. 2020, 10, 6146. [Google Scholar] [CrossRef]
  16. Bernal, E.; Castillo, O.; Soria, J.; Valdez, F. Fuzzy galactic swarm optimization with dynamic adjustment of parameters based on fuzzy logic. Sn Comput. Sci. 2020, 1, 59. [Google Scholar] [CrossRef]
  17. Ontiveros, E.; Melin, P.; Castillo, O. Comparative study of interval Type-2 and general Type-2 fuzzy systems in medical diagnosis. Inf. Sci. 2020, 525, 37–53. [Google Scholar] [CrossRef]
  18. Bernal, E.; Lagunes, M.L.; Castillo, O.; Soria, J.; Valdez, F. Optimization of Type-2 Fuzzy Logic Controller Design Using the GSO and FA Algorithms. Int. J. Fuzzy Syst. 2020, 23, 42–57. [Google Scholar] [CrossRef]
  19. Bernal, E.; Castillo, O.; Soria, J.; Valdez, F. Type-2 Fuzzy Logic for Dynamic Parameter Adaptation in the Imperialist Competitive Algorithm. In Hybrid Intelligent Systems in Control, Pattern Recognition and Medicine; Springer: Cham, Switzerland, 2020; pp. 109–118. [Google Scholar]
  20. Ochoa, P.; Castillo, O.; Soria, J. Optimization of fuzzy controller design using a Differential Evolution algorithm with dynamic parameter adaptation based on Type-1 and Interval Type-2 fuzzy systems. Soft Comput. 2020, 24, 193–214. [Google Scholar] [CrossRef]
  21. Valdez, F. A review of optimization swarm intelligence-inspired algorithms with type-2 fuzzy logic parameter adaptation. Soft Comput. 2020, 24, 215–226. [Google Scholar] [CrossRef]
  22. Hasanipanah, M.; Keshtegar, B.; Thai, D.K.; Troung, N.T. An ANN-adaptive dynamical harmony search algorithm to approximate the flyrock resulting from blasting. Eng. Comput. 2020, 1–13. [Google Scholar] [CrossRef]
  23. Zhu, Q.; Tang, X.; Li, Y.; Yeboah, M.O. An improved differential-based harmony search algorithm with linear dynamic domain. Knowl. Based Syst. 2020, 187, 104809. [Google Scholar]
  24. Saha, S.; Ghosh, M.; Ghosh, S.; Sen, S.; Singh, P.K.; Geem, Z.W.; Sarkar, R. Feature Selection for Facial Emotion Recognition Using Cosine Similarity-Based Harmony Search Algorithm. Appl. Sci. 2020, 10, 2816. [Google Scholar]
  25. Talaei, K.; Rahati, A.; Idoumghar, L. A novel harmony search algorithm and its application to data clustering. Appl. Soft Comput. 2020, 92, 106273. [Google Scholar] [CrossRef]
  26. Ontiveros-Robles, E.; Melin, P.; Castillo, O. New methodology to approximate type-reduction based on a continuous root-finding Karnik–Mendel algorithm. Algorithms 2017, 10, 77. [Google Scholar] [CrossRef] [Green Version]
  27. Liang, Q.; Mendel, J.M. Interval type-2 fuzzy logic systems: Theory and design. Ieee Trans. Fuzzy Syst. 2000, 8, 535–550. [Google Scholar] [CrossRef] [Green Version]
  28. Peng, W.; Li, C.; Zhang, G.; Yi, J. Interval type-2 fuzzy logic based transmission power allocation strategy for lifetime maximization of WSNs. Eng. Appl. Artif. Intell. 2020, 87, 103269. [Google Scholar] [CrossRef]
  29. Naik, K.A.; Gupta, C.P.; Fernandez, E. Design and implementation of interval type-2 fuzzy logic-PI based adaptive controller for DFIG based wind energy system. Int. J. Electr. Power Energy Syst. 2020, 115, 105468. [Google Scholar] [CrossRef]
  30. Moreno, J.E.; Sanchez, M.A.; Mendoza, O.; Rodriguez-Diaz, A.; Castillo, O.; Melin, P.; Castro, J.R. Design of an interval Type-2 fuzzy model with justifiable uncertainty. Inf. Sci. 2020, 513, 206–221. [Google Scholar] [CrossRef]
  31. Sharma, R.; Deepak, K.K.; Gaur, P.; Joshi, D. An optimal interval type-2 fuzzy logic control based closed-loop drug administration to regulate the mean arterial blood pressure. Comput. Methods Programs Biomed. 2020, 185, 105167. [Google Scholar] [CrossRef]
  32. Carvajal, O.; Melin, P.; Miramontes, I.; Prado-Arechiga, G. Optimal design of a general type-2 fuzzy classifier for the pulse level and its hardware implementation. Eng. Appl. Artif. Intell. 2021, 97, 104069. [Google Scholar] [CrossRef]
  33. Luo, G.; Ma, B.; Wang, Z.; Yin, L.; Wang, Y. Model-free adaptive control for the PEMFC air supply system based on interval type-2 fuzzy logic systems. J. Renew. Sustain. Energy 2020, 12, 064301. [Google Scholar] [CrossRef]
  34. Mendel, J.M.; John, R.I.B. Type-2 fuzzy sets made simple. IEEE Trans. Fuzzy Syst. 2002, 10, 117–127. [Google Scholar] [CrossRef]
  35. Mendel, J.M.; Liu, X. Simplified interval type-2 fuzzy logic systems. IEEE Trans. Fuzzy Syst. 2013, 21, 1056–1069. [Google Scholar] [CrossRef]
  36. Mendel, J.M. General type-2 fuzzy logic systems made simple: A tutorial. IEEE Trans. Fuzzy Syst. 2014, 22, 1162–1182. [Google Scholar] [CrossRef]
  37. Liu, X. A survey of continuous Karnik–Mendel algorithms and their generalizations. In Advances in Type-2 Fuzzy Sets and Systems; Sadeghian, A., Mendel, J.M., Tahayori, H., Eds.; Springer: New York, NY, USA, 2013; pp. 19–31. [Google Scholar]
  38. Zhang, T.; Geem, Z.W. Review of Harmony Search with Respect to Algorithm Structure. Swarm Evol. Comput. 2019, 48, 31–43. [Google Scholar] [CrossRef]
  39. Peraza, C.; Valdez, F.; Garcia, M.; Melin, P.; Castillo, O. A New Fuzzy Harmony Search Algorithm Using Fuzzy Logic for Dynamic Parameter Adaptation. Algorithms 2016, 9, 69. [Google Scholar] [CrossRef]
  40. Valdez, F.; Peraza, C.; Castillo, O. Introduction to Fuzzy Harmony Search. In General Type-2 Fuzzy Logic in Dynamic Parameter Adaptation for the Harmony Search Algorithm; Springer: Cham, Switzerland, 2020; pp. 1–4. [Google Scholar]
  41. Peraza, C.; Valdez, F.; Castillo, O. Harmony Search with Dynamic Adaptation of Parameters for the Optimization of a Benchmark Controller. In Intuitionistic and Type-2 Fuzzy Logic Enhancements in Neural and Optimization Algorithms: Theory and Applications; Springer: Cham, Switzerland, 2020; pp. 157–168. [Google Scholar]
  42. Castillo, O.; Valdez, F.; Soria, J.; Amador-Angulo, L.; Ochoa, P.; Peraza, C. Comparative study in fuzzy controller optimization using bee colony, differential evolution, and harmony search algorithms. Algorithms 2019, 12, 9. [Google Scholar] [CrossRef] [Green Version]
  43. Peraza, C.; Valdez, F.; Melin, P. Optimization of intelligent controllers using a type-1 and interval type-2 fuzzy harmony search algorithm. Algorithms 2017, 10, 82. [Google Scholar] [CrossRef] [Green Version]
  44. Peraza, C.; Valdez, F.; Castro, J.R.; Castillo, O. Fuzzy dynamic parameter adaptation in the harmony search algorithm for the optimization of the ball and beam controller. Adv. Oper. Res. 2018. [Google Scholar] [CrossRef]
  45. Peraza, C.; Valdez, F.; Castillo, O. An improved harmony search algorithm using fuzzy logic for the optimization of mathematical functions. In Design of Intelligent Systems Based on Fuzzy Logic, Neural Networks and Nature-Inspired Optimization; Springer: Cham, Switzerland, 2015; pp. 605–615. [Google Scholar]
  46. Valdez, F.; Castillo, O.; Peraza, C. Fuzzy Logic in Dynamic Parameter Adaptation of Harmony Search Optimization for Benchmark Functions and Fuzzy Controllers. Int. J. Fuzzy Syst. 2020, 22, 1198–1211. [Google Scholar] [CrossRef]
Figure 1. Mamdani interval type-2 fuzzy logic system.
Figure 1. Mamdani interval type-2 fuzzy logic system.
Mathematics 09 00758 g001
Figure 2. Algorithm for NACEKM.
Figure 2. Algorithm for NACEKM.
Mathematics 09 00758 g002
Figure 3. Graphical illustration of the motor components.
Figure 3. Graphical illustration of the motor components.
Mathematics 09 00758 g003
Figure 4. Interval type-2 fuzzy system for DC motor.
Figure 4. Interval type-2 fuzzy system for DC motor.
Mathematics 09 00758 g004
Figure 5. DC motor surface controller.
Figure 5. DC motor surface controller.
Mathematics 09 00758 g005
Figure 6. TI-T2 with uncertain parameter a.
Figure 6. TI-T2 with uncertain parameter a.
Mathematics 09 00758 g006
Figure 7. TI-T2 with uncertain parameter a.
Figure 7. TI-T2 with uncertain parameter a.
Mathematics 09 00758 g007
Figure 8. Graphical illustration of the noise affecting the controller.
Figure 8. Graphical illustration of the noise affecting the controller.
Mathematics 09 00758 g008
Figure 9. Speed response of the motor without performing the optimization.
Figure 9. Speed response of the motor without performing the optimization.
Mathematics 09 00758 g009
Figure 10. Best simulation result obtained without considering noise in the plant.
Figure 10. Best simulation result obtained without considering noise in the plant.
Mathematics 09 00758 g010
Figure 11. Best simulation result obtained with the presence of noise in the plant.
Figure 11. Best simulation result obtained with the presence of noise in the plant.
Mathematics 09 00758 g011
Figure 12. Best design of the fuzzy system without noise.
Figure 12. Best design of the fuzzy system without noise.
Mathematics 09 00758 g012
Figure 13. Surface of the best fuzzy system without considering noise.
Figure 13. Surface of the best fuzzy system without considering noise.
Mathematics 09 00758 g013
Figure 14. Best fuzzy structure for the fuzzy system with noise.
Figure 14. Best fuzzy structure for the fuzzy system with noise.
Mathematics 09 00758 g014
Figure 15. Surface of the best fuzzy system with noise.
Figure 15. Surface of the best fuzzy system with noise.
Mathematics 09 00758 g015
Table 1. Partial knowledge of the interval type-2 fuzzy system (IT2FHS) expressed in the membership functions.
Table 1. Partial knowledge of the interval type-2 fuzzy system (IT2FHS) expressed in the membership functions.
Lower μ 1 ( x ) = maximum ( minimum ( x 0.58 0.66 , 0.41 x 0.49 ) , 0 )
μ 2 ( x ) = maximum ( minimum ( x + 0.41 0.49 , 0.58 x 0.5 ) , 0 )
μ ¯ ( x ) = maximum ( μ 1 ( x ) , μ 2 ( x ) ) x ( 0.08 , 0.08 )
μ ¯ ( x ) = 1 x ( 0.08 , 0.08 )
μ _ ( x ) = minimum ( μ 1 ( x ) , μ 2 ( x ) )
Middle μ 1 ( x ) = maximum ( minimum ( x + 0.83 1.24 , 0.91 x 0.5 ) , 0 )
μ 2 ( x ) = maximum ( minimum ( x 0.08 0.5 , 1.08 x 0.5 ) , 0 )
μ ¯ ( x ) = maximum ( μ 1 ( x ) , μ 2 ( x ) ) x ( 0.41 , 0.58 )
μ ¯ ( x ) = 1 x ( 0.41 , 0.58 )
μ _ ( x ) = minimum ( μ 1 ( x ) , μ 2 ( x ) )
Higher μ 1 ( x ) = maximum ( minimum ( x 0.41 0.5 , 1.41 x 0.5 ) , 0 )
μ 2 ( x ) = maximum ( minimum ( x 0.58 0.5 , 1.58 x 0.5 ) , 0 )
μ ¯ ( x ) = maximum ( μ 1 ( x ) , μ 2 ( x ) ) x ( 0.91 , 1.08 )
μ ¯ ( x ) = 1 x ( 0.91 , 1.08 )
μ _ ( x ) = minimum ( μ 1 ( x ) , μ 2 ( x ) )
Table 2. Representation of fuzzy rules.
Table 2. Representation of fuzzy rules.
HMRLowerMiddleHigher
Iteration
LowerLower
MiddleMiddle
HigherHigher
Table 3. IT2 FSs membership functions.
Table 3. IT2 FSs membership functions.
Input Error
IT2MFa1a2b1b2c1c2d1d2
Negv−1.956 −1.346 −0.955 −0.345 −1.622−1.012 −0.622−0.012
CeroV−0.574 −0.1400.441−0.219 0.2500.743
PosV−0.002 0.607 0.9971.606 0.3290.9401.33 1.94
Input Change_Error
ErrNeg−1.956 −1.346 −0.955 −0.345 −1.622 −1.012 −0.622−0.012
ErrNegM−0.029 −0.468−0.124−0.489−0.1930.065
SinErr−0.390 −0.091 0.251 −0.1120.193 0.437
ErrMaxM−0.029 0.2780.627 0.230 0.579 0.817
ErrMax0.007 0.6181.008 1.615 0.340 0.950 1.34 1.949
Output Voltage
Dis−1.956 1.346 −0.955 −0.345 −1.622 −1.012 −0.622 −0.012
Dism−0.761 −0.468−0.124−0.489 −0.193 0.065
Man−0.390 −0.091 0.251 −0.112 0.193 0.437
Aumm−0.013 0.294 0.643 0.246 0.595 0.833
Aum0.007 0.6181.008 1.615 0.340 0.950 1.34 1.949
Table 4. Fuzzy rules for the motor controller.
Table 4. Fuzzy rules for the motor controller.
NumberInputsOutput
ErrorChange in ErrorVoltage
1NegativeVErrNegativeDis
2NegativeVSinErrorDis
3NegativeVErrMaximumDis_m
4CeroVErrNegativeAum_m
5CeroVErrMaximumDis_m
6PositiveVErrNegativeAum_m
7PositiveVSinErrorAum
8PositiveVErrMaximumAum
9CeroVSinErrorMan
10NegVErrNegative_MDis
11CeroVErrNegative_MAum_m
12PositiveVErrNegative_MAum
13PositiveVErrMaximum_MAum
14CeroVErrMaximum_MDis_m
15NegativeVErrMaximum_MDis
Table 5. Summarizes the details of the values considered in each parameter for the experimentation. PArate, pitch adjustment rate; HMR, harmony memory accepting.
Table 5. Summarizes the details of the values considered in each parameter for the experimentation. PArate, pitch adjustment rate; HMR, harmony memory accepting.
ParameterFHS
Harmonies 50
Dimension90
Iterations 30
Number of experiments30
HMR harmony memory accepting0.95
PArate pitch adjustment rateDynamic
Table 6. Results for the experiments without considering noise and with the use of noise.
Table 6. Results for the experiments without considering noise and with the use of noise.
Without NoiseWith Noise
Best1.51 × 10−14.11 × 10−1
Worst9.86 × 10−12.01 × 10−2
Average3.67 × 10−11.38 × 10−2
Standard deviation1.68 × 10−11.89 × 10−3
Table 7. Comparison with other existing methods [26].
Table 7. Comparison with other existing methods [26].
FHS FIS 3 [26]FDE FIS 3 [26]Proposed Method without NoiseProposed Method with Noise
Best2.36 × 10−12.73 × 10−11.51 × 10−14.11 × 10−1
Worst7.00 × 10−16.06 × 10−19.86 × 10−12.01 × 10−2
Average4.52 × 10−14.35 × 10−13.67 × 10−11.38 × 10−2
Table 8. Comparison with other existing methods [46]. HS, harmony search; FHS, type-1 fuzzy harmony search algorithm.
Table 8. Comparison with other existing methods [46]. HS, harmony search; FHS, type-1 fuzzy harmony search algorithm.
HS without NoiseHS with NoiseFHS without NoiseFHS with NoiseProposed Method without NoiseProposed Method with Noise
Best4.64 × 10−14.65 × 10−14.41 × 10−10.00 × 10+01.51 × 10−14.11 × 10−1
Worst5.85 × 10−15.84 × 10−17.01 × 10−13.45 × 10−49.86 × 10−12.01 × 10−2
Average5.21 × 10−15.35 × 10−15.78 × 10−14.20 × 10−53.67 × 10−11.38 × 10−2
Standard deviation3.33 × 10−22.95 × 10−27.77 × 10−28.43 × 10−51.68 × 10−11.89 × 10−3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Castillo, O.; Valdez, F.; Peraza, C.; Yoon, J.H.; Geem, Z.W. High-Speed Interval Type-2 Fuzzy Systems for Dynamic Parameter Adaptation in Harmony Search for Optimal Design of Fuzzy Controllers. Mathematics 2021, 9, 758. https://doi.org/10.3390/math9070758

AMA Style

Castillo O, Valdez F, Peraza C, Yoon JH, Geem ZW. High-Speed Interval Type-2 Fuzzy Systems for Dynamic Parameter Adaptation in Harmony Search for Optimal Design of Fuzzy Controllers. Mathematics. 2021; 9(7):758. https://doi.org/10.3390/math9070758

Chicago/Turabian Style

Castillo, Oscar, Fevrier Valdez, Cinthia Peraza, Jin Hee Yoon, and Zong Woo Geem. 2021. "High-Speed Interval Type-2 Fuzzy Systems for Dynamic Parameter Adaptation in Harmony Search for Optimal Design of Fuzzy Controllers" Mathematics 9, no. 7: 758. https://doi.org/10.3390/math9070758

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop