Next Article in Journal
Bioinspired Garra Rufa Optimization-Assisted Deep Learning Model for Object Classification on Pedestrian Walkways
Next Article in Special Issue
I-CPA: An Improved Carnivorous Plant Algorithm for Solar Photovoltaic Parameter Identification Problem
Previous Article in Journal
Evaluation of the Mechanical and Physical Properties of Maxillofacial Silicone Type A-2186 Impregnated with a Hybrid Chitosan–TiO2 Nanocomposite Subjected to Different Accelerated Aging Conditions
Previous Article in Special Issue
A Multi-Objective Carnivorous Plant Algorithm for Solving Constrained Multi-Objective Optimization Problems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization of Butterworth and Bessel Filter Parameters with Improved Tree-Seed Algorithm

by
Mehmet Beşkirli
1,* and
Mustafa Servet Kiran
2,*
1
Department of Computer Engineering, Karamanoğlu Mehmetbey University, 70200 Karaman, Türkiye
2
Department of Computer Engineering, Konya Technical University, 42250 Konya, Türkiye
*
Authors to whom correspondence should be addressed.
Biomimetics 2023, 8(7), 540; https://doi.org/10.3390/biomimetics8070540
Submission received: 29 September 2023 / Revised: 7 November 2023 / Accepted: 7 November 2023 / Published: 11 November 2023
(This article belongs to the Special Issue Plant-Based Algorithm)

Abstract

:
Filters are electrical circuits or networks that filter out unwanted signals. In these circuits, signals are permeable in a certain frequency range. Attenuation occurs in signals outside this frequency range. There are two types of filters: passive and active. Active filters consist of passive and active components, including transistors and operational amplifiers, but also require a power supply. In contrast, passive filters only consist of resistors and capacitors. Therefore, active filters are capable of generating signal gain and possess the benefit of high-input and low-output impedance. In order for active filters to be more functional, the parameters of the resistors and capacitors in the circuit must be at optimum values. Therefore, the active filter is discussed in this study. In this study, the tree seed algorithm (TSA), a plant-based optimization algorithm, is used to optimize the parameters of filters with tenth-order Butterworth and Bessel topology. In order to improve the performance of the TSA for filter parameter optimization, opposition-based learning (OBL) is added to TSA to form an improved TSA (I-TSA). The results obtained are compared with both basic TSA and some algorithms. The experimental results show that the I-TSA method is applicable to this problem by performing a successful prediction process.

1. Introduction

Optimization techniques are used to solve real-world problems that are difficult or complex to solve [1]. Optimization means reaching the best possible result by using the available possibilities [2]. Meta-heuristic algorithms, which are generally inspired by nature, are used in the literature to solve engineering problems that are often complex [3]. Optimal solutions of the solved problems are estimated based on the methods used [4]. According to the No Free Lunch theory, there is no single algorithm for solving optimization problems [5]. For this reason, there are many meta-heuristic algorithms in the literature for optimum solutions to real-world engineering problems [6,7,8]. In this study, parameter adjustment was the aim for Butterworth and Bessel active filters, which is one of the real-world problems. A filter is a device that passes electrical signals at certain frequencies or frequency ranges while blocking the passage of others. Jiang et al. [9] proposed the clonal selection algorithm for selecting the optimal components for the Butterworth filter design. It has been said that the experimental results are much more successful than the studies in the literature. Shakoor et al. [10] presented a genetic algorithm-based optimization approach for the parameter optimization of active filters. They said that it can be used to design all kinds of active filters according to the analysis results. De et al. [11] proposed a particle swarm optimization algorithm for the design of active filters. According to the test results, it is stated that the design error of active filters is minimized thanks to this proposed method. Temurtas [12] made some improvements to the charged system search algorithm (CSS). Both the CSS and the proposed method are used to determine the parameters of the Butterworth filter design problem. Doğan and Ölmez [13] proposed the vortex search algorithm for the component selection of active filters. When the results are compared with the results obtained using algorithms, such as particle swarm optimization, artificial bee colony, the differential evolution algorithm and harmony search algorithm, it is said that the proposed algorithm finds the optimum values for both active filter topologies. Durmuş et al. [14] improved the differential evolution algorithm. Their proposed method is applied to the Chebyshev filter design problem. Optimum parameter values, filter components, and quality factor values are given. It is stated that the proposed method will be a reference for future studies by achieving success based on this problem. Vural et al. [15] used the differential evolution algorithm and harmony search algorithm from metaheuristic algorithms for optimum filter design. Experimental results indicated that both the differential evolution algorithm and the harmony search algorithm minimize the total design error in active filtering. In this study, the tree seed algorithm (TSA), which is inspired by nature, is proposed for parameter optimization of the Sallen–Key topology high- and low-pass active Butterworth and Bessel filters. When the literature is examined, it is seen that the TSA has been applied to many problems. Beşkirli and Dağ [16] used the original TSA to extract the parameters of STM6-40/36 solar panels using three different models. It is said that the TSA performs well on this problem. Ghaouti and Meftah [17] conducted a study on brain MR images. Since the brain has a complex structure, it is said that MR images are not homogeneous. For this reason, they used the TSA to segment and cluster MR images. They stated that the TSA obtained better and satisfactory results compared to the fuzzy c-mean algorithm in this experimental study using a real data set. More [18] optimized the discrete wavelet transform approach in the image constraint technique by using the TSA. It is stated that the algorithm has its own techniques and thus achieves success. Beşkirli and Dağ [19] provided information about the performance of TSA by using the original TSA in the inference of solar panel parameters, such as RTC France, PWP201, using three different models. Mandal et al. [20] aimed to obtain minimum values for the autonomy days (ADs), system cost efficiency, loss of power supply probability (LPSP) and renewable franchise (RF) of a microgrid operating with a renewable energy system. They performed these operations by making some improvements to the TSA. According to the results they obtained, they stated that they achieved noticeable success in terms of the percentage with the proposed algorithm. Venkatasubramanyan et al. [21] used optimization techniques to reduce energy consumption and extend the network lifetime in WSNs. While performing these operations, they proposed a more effective hybrid method by adding the tree seed algorithm (TSA) in order to use the moth search algorithm more effectively. Here, the effect of TSA is stated to be the multipath routing process. They said that the proposed method provides good performance in multipath routing. Liu et al. [22] improved the performance of TSA by adding some improvements to improve the performance of the TSA. They used their proposed method to solve the test functions. According to the results obtained here, they stated that the proposed method has good performance. Sharshir et al. [23] used an artificial neural network (ANN) to estimate the amount of fresh water produced by a conventional and improved solar distillation method. They aimed to improve the performance of the ANN by using the TSA for the estimation of the weights in the ANN. According to their results, they concluded that ANN is a better prediction tool thanks to the TSA. Jiang et al. [24] stated that they improved the performance of TSA by making some improvements to the TSA. To demonstrate this, they solved test functions and engineering problems with the proposed method. They stated that the results they obtained were successful and added that the proposed method has become a promising candidate. Lui et al. [25] stated that the performance of the TSA increased as a result of the improvements made in the update mechanism of the TSA. In order to prove this, they stated that they obtained successful results by solving engineering problems, as well as test functions, with the proposed method. They emphasized that the proposed method is important in terms of feasibility and effectiveness. In this study, the TSA was improved by the OBL method and applied to the filter design problem. The improved TSA was named I-TSA. I-TSA was compared with both the basic TSA and the results of PSO and CSS algorithms. In addition, I-TSA and TSA were analyzed separately according to the ST parameters. Convergence plots, box plots and gain plots, obtained as a result of all of these analyses, are presented in the relevant sections.
The following sections of the study are designed as follows. In Section 2, the TSA method is explained. In Section 3, the improved TSA method is explained. In Section 4, the design of the filters is mentioned. In Section 5, the experimental results obtained according to the filter types are given. In the last chapter (Section 6), the conclusion and suggestions are given.

2. Tree Seed Algorithm

The TSA, inspired by nature, was proposed by Kıran in 2015 [26]. The TSA is formed from the interaction of the positions of trees and seeds in the search space. The best tree in the population or randomly selected tree position is used for each seed production. The most important parameter of the TSA method is the ST control parameter. This parameter ensures the diversity of seed production. This diversity is realized using the formulas in Equations (1) and (2) [27]. Here, if the randomly selected number is less than the ST parameter value, the first equation is used, and if it is larger, the second equation is used.
S i , j = T i , j + α i , j × B j - T r , j
S i , j = T i , j + α i , j × T i , j - T r , j
where S i , j refers to the seeds produced. T i , j refers to the tree of the specified size. α i , j is a random number generated between −1 and 1. B j denotes the best tree. T r , j denotes a tree randomly selected from the population. At the beginning of the search space, the initial population (tree locations), which is specified as possible solutions in optimization problems, is obtained using Equation (3) [28].
T i , j = L j , m i n + r i , j ( H j , m a x - L j , m i n )
where L j , m i n and H j , m a x are the lower and upper bounds of the search space, respectively. r i , j is a randomly generated value between 0 and 1. To select the best solution from the population, a function f is defined, which is used in Equation (4) [29].
B = m i n f T i               i = 1 , 2 , , N
where N stands for the trees in the population. The working diagram of the TSA is given in Figure 1 [30]. Here, trees are first planted in the search space (a), then seed production is performed for each tree (b), and finally seed selection is performed (c). The pseudo code of the TSA is given in Algorithm 1 [31].
Algorithm 1 TSA pseudo-code
Step 1: The initialization of the algorithm
 Randomly generate tree locations on the D-dimensional search space using Equation (3).
 Evaluate the tree locations by the fitness function.
 Select the best location using Equation (4).
Step 2: Search with seeds
FOR all trees
  Decide the number of seeds produced for this tree.
  FOR all seeds
   FOR all dimensions
    IF (rand < ST)
     Update this dimension using Equation (1).
    ELSE
     Update this dimension using Equation (2).
    END IF
   END FOR
  END FOR
  Select the best seed and compare it with the tree.
  If the seed location is better than the tree location, the seed substitutes for this tree.
END FOR
Step 3: Selection of the best solution
 Select the best solution of the population.
If new best solution is better than the previous best solution, new best solution substi-tutes for the previous best solution.
Step 4: Testing the termination condition

3. Improved Tree Seed Algorithm

Since the initial population is randomly distributed in the search space of the TSA, initial solutions are generated randomly. Instead, by using the opposition-based learning (OBL) method [32], the TSA can obtain a better initial population and by continuing the process, the TSA can produce successful solutions. The OBL method was first introduced in 2005 and has been used in many studies. Thus, the OBL method aims to improve the performance of the algorithm. In this study, the OBL method evaluates the solution of the problem while at the same time generating an opposing solution so that the TSA will have the chance to produce a solution closer to the global optimum in the search space [33]. According to the OBL method, when a and b are real numbers, the value of x is calculated as in Equation (5).
x = a + b - x

4. Filter Design Problem

A filter is a device that passes electrical signals in a certain frequency range without undergoing any change and prevents signals from other frequencies from passing [34]. There are two types of filter designs. The first is the passive filter, and the second is the active filter. Passive filter design incorporates resistors, capacitors and coils as circuit elements, whereas semiconductor circuit elements, like transistors, are added to the circuit along with passive circuit elements for active filter design. In this study, low-pass active Butterworth and Bessel filters (LPAFs) and high-pass active Butterworth and Bessel filters (HPAFs) were designed by connecting five filters in succession and increasing to the 10th order in Sallen–Key topology, which is an electronic filter topology with a second-order active filter. In this study, resistors suitable for the E24 series were used. All nominal resistance values of the E24 series resistors are given in Table 1. The E24 series comprises preferred resistor values enabling electronic component designers and manufacturers to select from a practical range of values. This set was developed to simplify the design process.

4.1. Design and Equations of LPAF

The second order in Sallen–Key topology and the tenth order in Sallen–Key topology circuit diagrams for the LPAF are given in Figure 2 and Figure 3, respectively.
The equations for the transfer function of the circuit, standard form and amplitude effect are given in Equations (6)–(8), respectively [12,35,36,37,38].
H L P F ( s ) = V o ( s ) V i ( s ) = 1 1 + s ( R 1 + R 2 ) C 1 + s 2 R 1 R 2 C 1 C 2 , s = j 2 π f H L P F ( f ) = 1 1 - ( 2 π f ) 2 R 1 R 2 C 1 C 2 + j 2 π f ( R 1 + R 2 ) C 1
H L P F ( f ) = 1 1 - f F S F · f c 2 + j f Q · F S F · f c F S F = 1 2 π f c R 1 R 2 C 1 C 2 ; Q = R 1 R 2 C 1 C 2 ( R 1 + R 2 ) C 1
H L P F ( f ) = 1 1 - f F S F · f c 2 2 + f Q · F S F · f c 2

4.2. Design and Equations of HPAF

The second order in Sallen–Key topology and tenth order in Sallen–Key topology circuit diagrams for the HPAF are given in Figure 4 and Figure 5, respectively.
The equations for the transfer function of the circuit, standard form and amplitude effect are given in Equations (9)–(11), respectively [12,35,36,37,38].
H H P F ( s ) = V o ( s ) V i ( s ) = 1 1 + C 1 + C 2 s R 1 C 1 C 2 + 1 s 2 R 1 R 2 C 1 C 2 , s = j 2 π f H H P F ( f ) = 1 1 - 1 2 π f R 1 R 2 C 1 C 2 2 - j C 1 + C 2 2 π f R 1 C 1 C 2
H H P F ( f ) = 1 1 - f c F S F · f 2 - j f c Q · F S F · f F S F = 2 π f c R 1 R 2 C 1 C 2 ; Q = R 1 R 2 C 1 C 2 ( R 2 ( C 1 + C 2 )
H H P F ( f ) = 1 1 - f c F S F × f 2 2 + f c Q × F S F × f 2

4.3. Cost Function Errors

The total error calculation of the designed filter was calculated using Equations (12) and (13). This formula is obtained by summing the cost function errors of FSF values and Q values.
E r r o r 1 = i = 1 5 F S F t , i - F S F i F S F t , i ,   E r r o r 2 = i = 1 5 Q t , i - Q i Q t , i ,
E r r o r T o t a l = 0.5 × E r r o r 1 + 0.5 × E r r o r 2

5. Experimental Results

The proposed I-TSA was used to estimate the parameters of the Butterworth and Bessel filter problem. Parameter optimization was also performed on the ST parameter of the I-TSA method, and the ST parameter was determined as 0.1, 0.5 and 0.9, respectively. The estimation results obtained for both Butterworth and Bessel filters are given in the tables, and the gain graphs are shown in the figures. The performance of the proposed I-TSA was also compared with the results of both the basic TSA and PSO and CSS algorithms. Convergence and box plots are also presented. All results are presented under the relevant headings.

5.1. Butterworth Filter (BWF) Results

5.1.1. LPAF

The results obtained by applying the I-TSA method to the LPAF problem are given in this section. The values obtained as a result of the least error value obtained using the I-TSA method are given in Table 2. R1 (kΩ), R2 (kΩ), C1 (nF) and C2 (nF) values for each stage are shown in Table 2.
In Table 3, the FSF values and Q values estimated using the I-TSA method are given. It has been observed that the results obtained with the proposed method are very close to the targeted results. Especially when the ST value is 0.1, it has achieved a better performance in terms of FSF and Q values.
In Table 4, the parameter of the LPAF problem is the error value obtained as a result of the estimation with the I-TSA method. For the LPAF problem, the I-TSA, TSA, PSO and CSS was run 30 times, and the best, mean, worst and standard deviation values obtained are given in the table. When the table is examined, it is seen that the I-TSA method has the least error value when the ST value is 0.1. Therefore, it can be said that the parameter values in cases where the ST value is 0.1 are robust.
When analyzed according to all ST conditions of the I-TSA, TSA, PSO and CSS, the graphs in Figure 6 are obtained. In Figure 6a, it is seen in the MaxFEs graph that when the ST value is 0.1, I-TSA achieves a more stable convergence and reaches the minimum error value. The box plots obtained from here are given in Figure 6b. In addition, the gain and gain (dB) graphs based on the minimum error value according to the ST values are given in Figure 6c,d, respectively.

5.1.2. HPAF

The results obtained by applying the I-TSA method to the HPAF problem are given in this section. The values of the minimum error value result obtained according to the ST values of the I-TSA method are given in Table 5. R1, R2, C1 and C2 values for each stage are shown in Table 5.
In Table 6, the FSF values and Q values estimated using the I-TSA method are given. It has been observed that the results obtained with the proposed method are very close to the targeted results. The closest value in terms of FSF and Q values was obtained with an ST value of 0.1. It was observed that the ST value of 0.1 was closer to the FSF and Q values.
In Table 7, the parameter of the HPAF problem is the error value obtained as a result of the estimation with the I-TSA method. For the HPAF problem, the I-TSA, TSA, PSO and CSS method was run 30 times, and the best, mean, worst, and standard deviation values obtained are given in the table. When the table is examined, it is seen that the I-TSA method has the least error value when the ST value is 0.1. Therefore, it can be said that the parameter values in cases where the ST value is 0.1 are robust.
When analyzed according to all algorithms, the graphs in Figure 7 are obtained. In Figure 7a, it is seen in the MaxFEs graph that when the ST value is 0.1, I-TSA achieves a more stable convergence and reaches the minimum error value. The box plots obtained from here are given in Figure 7b. In addition, the gain and gain (dB) graphs based on the minimum error value according to the ST values are given in Figure 7c,d, respectively.

5.2. Bessel Filter (BF) Results

5.2.1. LPAF

The results obtained by applying the I-TSA method to the LPAF problem are given in this section. The values obtained because of the least error value obtained by the I-TSA method are given in Table 8. R1, R2, C1 and C2 values for each stage are shown in Table 8.
Table 9 shows the FSF values and Q values estimated using the I-TSA method. It is seen that the results obtained with the proposed method are very close to the targeted results. The closest value in terms of the FSF value was obtained when the ST value was 0.1. The closest value in terms of the Q value was obtained when the ST value was 0.1.
In Table 10, the parameter of the LPAF problem is the error value obtained as a result of the estimation with the I-TSA, TSA, PSO and CSS method. For the LPAF problem, the I-TSA, TSA, PSO and CSS method was run 30 times, and the standard deviation values obtained are given in the table. When the table is examined, it is seen that the I-TSA method has the least error value when the ST value is 0.1. Therefore, it can be said that the parameter values in cases where the ST value is 0.1 are robust.
When analyzed according to all algorithms, the graphs in Figure 8 are obtained. In Figure 8a, it is seen in the MaxFEs graph that when the ST value is 0.1, I-TSA achieves a more stable convergence and reaches the minimum error value. The box plots obtained from here are given in Figure 8b. In addition, the gain and gain (dB) graphs based on the minimum error value according to the ST values are given in Figure 8c,d, respectively.

5.2.2. HPAF

The results obtained by applying the I-TSA method to the HPAF problem are given in this section. R1, R2, C1 and C2 values for each stage are shown in Table 11, the FSF and Q values are given in Table 12 and the finally, a comparison among the swarm intelligence algorithms have been given in in Table 13.
Table 12 shows the FSF values and Q values estimated using the I-TSA method. It is seen that the results obtained with the proposed method are very close to the targeted results. The closest value in terms of the FSF value was obtained when the ST value was 0.5 and 0.9. In terms of the Q value, the closest value was obtained when the ST value was both 0.1 and 0.9.
In Table 13, the parameter of the HPAF problem is the error value obtained as a result of the estimation with the I-TSA method. For the HPAF problem, the I-TSA, TSA, PSO and CSS method was run 30 times, and the standard deviation values obtained are given in the table. When the table is examined, it is seen that the TSA method has the least error value when the ST value is 0.1. Therefore, it can be said that the parameter values in cases where the ST value is 0.1 are robust.
When analyzed according to all algorithms, the graphs in Figure 9 are obtained. In Figure 9a, it is seen in the MaxFEs graph that when the ST value is 0.1, I-TSA achieves a more stable convergence and reaches the minimum error value. The box plots obtained from here are given in Figure 9b. In addition, the gain and gain (dB) graphs based on the minimum error value according to the ST values are given in Figure 9c,d, respectively.

6. Conclusions

The TSA method has become an alternative method for many real world problems. In this study, the I-TSA method, which is constructed by improving the TSA, is used for the first time in the literature to estimate the parameters of Butterworth and Bessel filters. For this study, I-TSA and TSA methods were analyzed for three different values of the ST parameter. These values are 0.1, 0.5 and 0.9, respectively. In the LPAF problem for Butterworth filter design, the I-TSA outperforms both the basic TSA and other algorithms with the least error value when the ST value of the I-TSA is 0.1. At the same time, in the HPAF problem, the least error value was obtained when the ST value of the I-TSA was 0.1. For Bessel filter design, in both the LPAF and HPAF problems, the I-TSA was more successful than other algorithms by obtaining the least error value when the ST value was 0.1. The success of the I-TSA was analyzed according to the ST values, and it was concluded that it achieved the best result at a value of 0.1. In addition, convergence graphs, box plots and gain graphs were drawn for all ST values in the I-TSA method. When these graphs are analyzed, it is seen that the I-TSA converges more successfully and produces more stable results than other algorithms when the ST value is 0.1 in all problems. As a result, the performance of the I-TSA is improved by contributing to the good results of the proposed OBL method for the TSA in the filter design problem.
In future studies, it is planned to use different plant-based algorithms in the filter design problem. It is also recommended to use the proposed I-TSA in different problems.

Author Contributions

Conceptualization, M.B. and M.S.K.; methodology, M.B.; software, M.B.; validation, M.B. and M.S.K.; formal analysis, M.S.K.; investigation, M.B. and M.S.K.; resources, M.B.; writing—original draft preparation, M.B. and M.S.K.; writing—review and editing, M.B. and M.S.K.; visualization, M.B.; supervision, M.S.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Beşkirli, A.; Özdemir, D.; Temurtaş, H. A comparison of modified tree–seed algorithm for high-dimensional numerical functions. Neural Comput. Appl. 2020, 32, 6877–6911. [Google Scholar] [CrossRef]
  2. Beşkirli, A.; Temurtaş, H.; Özdemir, D. Determination with linear form of Turkey’s energy demand forecasting by the tree seed algorithm and the modified tree seed algorithm. Adv. Electr. Comput. Eng. 2020, 20, 27–34. [Google Scholar] [CrossRef]
  3. Beşkirli, A.; Dağ, İ. A new binary variant with transfer functions of Harris Hawks Optimization for binary wind turbine micrositing. Energy Rep. 2020, 6, 668–673. [Google Scholar] [CrossRef]
  4. Beşkirli, A.; Beşkirli, M.; Haklı, H.; Uğuz, H. Comparing energy demand estimation using artificial algae algorithm: The case of Turkey. J. Clean Energy Technol. 2018, 6, 349–352. [Google Scholar] [CrossRef]
  5. Wolpert, D.H.; Macready, W.G. No free lunch theorems for optimization. IEEE Trans. Evol. Comput. 1997, 1, 67–82. [Google Scholar] [CrossRef]
  6. Tefek, M.F.; Uğuz, H.; Güçyetmez, M. A new hybrid gravitational search–teaching–learning-based optimization method for energy demand estimation of Turkey. Neural Comput. Appl. 2019, 31, 2939–2954. [Google Scholar] [CrossRef]
  7. Tefek, M.F. Artificial bee colony algorithm based on a new local search approach for parameter estimation of photovoltaic systems. J. Comput. Electron. 2021, 20, 2530–2562. [Google Scholar] [CrossRef]
  8. Tefek, M.F.; Arslan, M. Highway accident number estimation in Turkey with Jaya algorithm. Neural Comput. Appl. 2022, 34, 5367–5381. [Google Scholar] [CrossRef]
  9. Jiang, M.; Yang, Z.; Gan, Z. Optimal Components Selection for Analog Active Filters Using Clonal Selection Algorithms. In Advanced Intelligent Computing Theories and Applications. With Aspects of Theoretical and Methodological Issues; Springer: Berlin/Heidelberg, Germany, 2007; pp. 950–959. [Google Scholar]
  10. Shakoor, A.; Abbas, S.; Abbas, Z. Optimization of the Design Parameters of Low Pass Filter Using Genetic Algorithm. Univ. Wah J. Sci. Technol. 2019, 3, 55–60. [Google Scholar]
  11. De, B.P.; Kar, R.; Mandal, D.; Ghoshal, S.P. Optimal selection of components value for analog active filter design using simplex particle swarm optimization. Int. J. Mach. Learn. Cybern. 2015, 6, 621–636. [Google Scholar] [CrossRef]
  12. Temurtaş, H. The estimation of low and high-pass active filter parameters with opposite charged system search algorithm. Expert Syst. Appl. 2020, 155, 113474. [Google Scholar] [CrossRef]
  13. Doğan, B.; Ölmez, T. Vortex search algorithm for the analog active filter component selection problem. AEU-Int. J. Electron. Commun. 2015, 69, 1243–1253. [Google Scholar] [CrossRef]
  14. Durmuş, B.; Temurtaş, H.; Özyön, S. The design of multiple feedback topology Chebyshev low-pass active filter with average differential evolution algorithm. Neural Comput. Appl. 2020, 32, 17097–17113. [Google Scholar] [CrossRef]
  15. Vural, R.A.; Bozkurt, U.; Yildirim, T. Analog active filter component selection with nature inspired metaheuristics. AEU-Int. J. Electron. Commun. 2013, 67, 197–205. [Google Scholar] [CrossRef]
  16. Beşkirli, A.; Dağ, İ. Parameter extraction for photovoltaic models with tree seed algorithm. Energy Rep. 2023, 9, 174–185. [Google Scholar] [CrossRef]
  17. Boumediene Ghaouti, G.; Meftah, B. An Optimized Clustering Approach using Tree Seed Algorithm for the Brain MRI Images Segmentation. Intel. Artif. 2023, 26, 44–59. [Google Scholar] [CrossRef]
  18. More, S. Image Constraint Technique Used by Bio-Inspired Tsa Optimized Algorithm for Large Memory Management. SSRN 2023, 8, 1–10. [Google Scholar] [CrossRef]
  19. Beşkirli, A.; Dağ, İ. An efficient tree seed inspired algorithm for parameter estimation of Photovoltaic models. Energy Rep. 2022, 8, 291–298. [Google Scholar] [CrossRef]
  20. Mandal, B.; Chatterjee, S.; Roy, P.; Mukherjee, I. A novel evolutionary algorithm named oppositional based chaotic tree seed algorithm (OCTSA) applied for energy cost minimization in hybrid microgrid system for different locations in India. Res. Sq. 2023. [Google Scholar] [CrossRef]
  21. Venkatasubramanian, S. Optimal Cluster head selection-based Hybrid Moth Search Algorithm with Tree Seed algorithm for multipath routing in WSN. In Proceedings of the 2023 International Conference on Networking and Communications (ICNWC), Chennai, India, 5–6 April 2023; pp. 1–7. [Google Scholar]
  22. Liu, J.; Hou, Y.; Li, Y.; Zhou, H. A multi-strategy improved tree–seed algorithm for numerical optimization and engineering optimization problems. Sci. Rep. 2023, 13, 10768. [Google Scholar] [CrossRef]
  23. Sharshir, S.S.; Abd Elaziz, M.; Elsheikh, A. Augmentation and prediction of wick solar still productivity using artificial neural network integrated with tree–seed algorithm. Int. J. Environ. Sci. Technol. 2023, 20, 7237–7252. [Google Scholar] [CrossRef]
  24. Jiang, J.; Yang, X.; Li, M.; Chen, T. ATSA: An Adaptive Tree Seed Algorithm based on double-layer framework with tree migration and seed intelligent generation. Knowl.-Based Syst. 2023, 279, 110940. [Google Scholar] [CrossRef]
  25. Liu, J.; Hou, Y.; Li, Y.; Zhou, H. Advanced strategies on update mechanism of tree-seed algorithm for function optimization and engineering design problems. Expert Syst. Appl. 2024, 236, 121312. [Google Scholar] [CrossRef]
  26. Kiran, M.S. TSA: Tree-seed algorithm for continuous optimization. Expert Syst. Appl. 2015, 42, 6686–6698. [Google Scholar] [CrossRef]
  27. Aslan, M.F.; Sabanci, K.; Ropelewska, E. A new approach to COVID-19 detection: An ANN proposal optimized through tree-seed algorithm. Symmetry 2022, 14, 1310. [Google Scholar] [CrossRef]
  28. Jiang, J.; Meng, X.; Qian, L.; Wang, H. Enhance tree-seed algorithm using hierarchy mechanism for constrained optimization problems. Expert Syst. Appl. 2022, 209, 118311. [Google Scholar] [CrossRef]
  29. Gharehchopogh, F.S. Advances in Tree Seed Algorithm: A Comprehensive Survey. Arch. Comput. Methods Eng. 2022, 29, 3281–3304. [Google Scholar] [CrossRef]
  30. Kiran, M.S.; Hakli, H. A tree–seed algorithm based on intelligent search mechanisms for continuous optimization. Appl. Soft Comput. 2021, 98, 106938. [Google Scholar] [CrossRef]
  31. Chen, X.; Przystupa, K.; Ye, Z.; Chen, F.; Wang, C.; Liu, J.; Gao, R.; Wei, M.; Kochan, O. Forecasting short-term electric load using extreme learning machine with improved tree seed algorithm based on Lévy flight. Eksploat. I Niezawodn. 2022, 24, 153. [Google Scholar] [CrossRef]
  32. Tizhoosh, H.R. Opposition-based learning: A new scheme for machine intelligence. In Proceedings of the International Conference on Computational Intelligence for Modelling, Control and Automation and International Conference on Intelligent Agents, Web Technologies and Internet Commerce (CIMCA-IAWTIC′06), Vienna, Austria, 28–30 November 2005; pp. 695–701. [Google Scholar]
  33. Wang, H.; Wu, Z.; Rahnamayan, S.; Liu, Y.; Ventresca, M. Enhancing particle swarm optimization using generalized opposition-based learning. Inf. Sci. 2011, 181, 4699–4714. [Google Scholar] [CrossRef]
  34. Gift, S.J.G.; Maundy, B. Active Filters. In Electronic Circuit Design and Application; Gift, S.J.G., Maundy, B., Eds.; Springer International Publishing: Cham, Switzerland, 2022; pp. 463–515. [Google Scholar]
  35. Beşkirli, M.; Egi, Y. An efficient hybrid-based charged system search algorithm for active filter design. Neural Comput. Appl. 2023, 35, 7611–7633. [Google Scholar] [CrossRef]
  36. Karki, J. Active low-pass filter design. Tex. Instrum. Appl. Rep. 2000. [Google Scholar]
  37. Sallen, R.P.; Key, E.L. A practical method of designing RC active filters. IRE Trans. Circuit Theory 1955, 2, 74–85. [Google Scholar] [CrossRef]
  38. Pactitis, S. Active Filters: Theory and Design; CRC Press: Boca Ranton, FL, USA, 2018. [Google Scholar]
Figure 1. Working diagram of basic TSA (a) Initialization (b) Seed production (c) Seed selection.
Figure 1. Working diagram of basic TSA (a) Initialization (b) Seed production (c) Seed selection.
Biomimetics 08 00540 g001
Figure 2. Second-order LPAF.
Figure 2. Second-order LPAF.
Biomimetics 08 00540 g002
Figure 3. Tenth-order LPAF.
Figure 3. Tenth-order LPAF.
Biomimetics 08 00540 g003
Figure 4. Second-order HPAF.
Figure 4. Second-order HPAF.
Biomimetics 08 00540 g004
Figure 5. Tenth-order HPAF.
Figure 5. Tenth-order HPAF.
Biomimetics 08 00540 g005
Figure 6. Plots for LPAF in the BWF: (a) convergence graphs of I–TSA, TSA, PSO and CSS; (b) box plots of I-TSA, TSA, PSO and CSS; (c) frequency and gain graphs of I-TSA, TSA, PSO and CSS; (d) frequency and gain (dB) graphs of I-TSA, TSA, PSO and CSS.
Figure 6. Plots for LPAF in the BWF: (a) convergence graphs of I–TSA, TSA, PSO and CSS; (b) box plots of I-TSA, TSA, PSO and CSS; (c) frequency and gain graphs of I-TSA, TSA, PSO and CSS; (d) frequency and gain (dB) graphs of I-TSA, TSA, PSO and CSS.
Biomimetics 08 00540 g006aBiomimetics 08 00540 g006bBiomimetics 08 00540 g006c
Figure 7. Plots for HPAF in the BWF: (a) convergence graphs of I-TSA, TSA, PSO and CSS; (b) box plots of I-TSA, TSA, PSO and CSS; (c) frequency and gain graphs of I-TSA, TSA, PSO and CSS; (d) frequency and gain (dB) graphs of I-TSA, TSA, PSO and CSS.
Figure 7. Plots for HPAF in the BWF: (a) convergence graphs of I-TSA, TSA, PSO and CSS; (b) box plots of I-TSA, TSA, PSO and CSS; (c) frequency and gain graphs of I-TSA, TSA, PSO and CSS; (d) frequency and gain (dB) graphs of I-TSA, TSA, PSO and CSS.
Biomimetics 08 00540 g007aBiomimetics 08 00540 g007b
Figure 8. Plots for LPAF in the BF: (a) convergence graphs of I-TSA, TSA, PSO and CSS; (b) box plots of I-TSA, TSA, PSO and CSS; (c) frequency and gain graphs of I-TSA, TSA, PSO and CSS; (d) frequency and gain (dB) graphs of I-TSA, TSA, PSO and CSS.
Figure 8. Plots for LPAF in the BF: (a) convergence graphs of I-TSA, TSA, PSO and CSS; (b) box plots of I-TSA, TSA, PSO and CSS; (c) frequency and gain graphs of I-TSA, TSA, PSO and CSS; (d) frequency and gain (dB) graphs of I-TSA, TSA, PSO and CSS.
Biomimetics 08 00540 g008aBiomimetics 08 00540 g008b
Figure 9. Plots for HPAF in the BF: (a) convergence graphs of I-TSA, TSA, PSO and CSS; (b) box plots of I-TSA, TSA, PSO and CSS; (c) frequency and gain graphs of I-TSA, TSA, PSO and CSS; (d) frequency and gain (dB) graphs of I-TSA, TSA, PSO and CSS.
Figure 9. Plots for HPAF in the BF: (a) convergence graphs of I-TSA, TSA, PSO and CSS; (b) box plots of I-TSA, TSA, PSO and CSS; (c) frequency and gain graphs of I-TSA, TSA, PSO and CSS; (d) frequency and gain (dB) graphs of I-TSA, TSA, PSO and CSS.
Biomimetics 08 00540 g009aBiomimetics 08 00540 g009b
Table 1. E24 series resistance and capacitors values.
Table 1. E24 series resistance and capacitors values.
11.11.21.31.51.61.822.22.42.73
3.33.63.94.34.75.15.66.26.87.58.29.1
Table 2. The best component values obtained for LPAF in the BWF.
Table 2. The best component values obtained for LPAF in the BWF.
AlgorithmST ValueComponentS1S2S3S4S5
I-TSA0.1R11.61.56.81.53.0
R21.62.23.31.82.0
C110.07.52.24.31.0
C210.010.05.122.043.0
I-TSA0.5R11.83.93.33.01.3
R21.51.21.84.31.0
C110.05.64.32.02.2
C210.010.010.010.091.0
I-TSA0.9R11.03.34.35.12.0
R21.27.56.83.94.7
C115.02.72.01.60.8
C215.03.64.38.236.0
Table 3. Parameter values obtained for LPAF in the BWF.
Table 3. Parameter values obtained for LPAF in the BWF.
S1S2S3S4S5
TargetFSF1.00001.00001.00001.00001.0000
Q0.50620.56120.70711.10133.1969
AlgorithmST Value
I-TSA0.1FSF0.9947181.0116551.0030260.9958470.990855
Q0.5000000.5669240.7141081.1262773.212476
0.5FSF0.9685860.9831120.9958470.9908550.986544
Q0.4979300.5668380.7287671.1001633.188256
0.9FSF0.9685861.0261231.0036500.9852260.999020
Q0.4979300.5319040.7143071.1218163.170368
Table 4. Error value obtained for LPAF in the BWF.
Table 4. Error value obtained for LPAF in the BWF.
AlgorithmST ValueBestMeanWorstStd. Dev.
I-TSA0.10.0465850.2127250.4135370.094703
0.50.0679090.2914630.4942400.100709
0.90.0913010.2862160.4488170.080759
TSA0.10.0758200.2244860.3865900.089920
0.50.1457390.3137180.4721440.085195
0.90.1501400.2745060.4239860.067385
PSO-0.1107550.5274830.9651420.269997
CSS-0.0817020.3787260.9925660.236921
Table 5. The best component values obtained for HPAF in the BWF.
Table 5. The best component values obtained for HPAF in the BWF.
AlgorithmST ValueComponentS1S2S3S4S5
I-TSA0.1R13.96.28.210.018.0
R22.74.72.72.00.4
C18.22.41.83.910.0
C23.03.66.83.33.9
I-TSA0.5R116.02.710.05.130.0
R215.02.04.71.00.8
C11.06.21.88.23.0
C21.07.53.06.23.3
I-TSA0.9R12.04.310.024.051.0
R21.83.04.73.61.0
C16.83.61.81.04.7
C210.05.63.03.01.0
Table 6. Parameter values obtained for HPAF in the BWF.
Table 6. Parameter values obtained for HPAF in the BWF.
S1S2S3S4S5
TargetFSF1.00001.00001.00001.00001.0000
Q0.50620.56120.70711.10133.1969
AlgorithmST Value
I-TSA0.1FSF1.0112570.9969691.0343311.0080550.998849
Q0.5322310.5626680.7089531.1141453.176892
0.5FSF0.9733870.9956421.0009811.0117370.980539
Q0.5163980.5783260.7061661.1182153.020861
0.9FSF0.9830731.0132581.0009811.0115730.972778
Q0.5173970.5842930.7061661.1180342.716184
Table 7. Error value obtained for HPAF in the BWF.
Table 7. Error value obtained for HPAF in the BWF.
AlgorithmST ValueBestMeanWorstStd. Dev.
I-TSA0.10.0662040.2233540.4052340.095903
0.50.0927790.3050700.5102340.105158
0.90.1500580.2988890.4523660.070469
TSA0.10.0846270.2268260.4991360.106131
0.50.1712010.3197720.4632890.075065
0.90.2084700.3312490.4758780.079518
PSO-0.0795770.5868051.4368030.294510
CSS-0.1276010.4458851.3344310.241027
Table 8. The best component values obtained for LPAF in the BF.
Table 8. The best component values obtained for LPAF in the BF.
AlgorithmST ValueComponentS1S2S3S4S5
I-TSA0.1R13.92.21.51.210.0
R23.31.03.01.23.9
C12.24.72.73.60.3
C22.46.24.710.03.3
I-TSA0.5R19.14.73.97.53.3
R27.510.06.83.05.1
C11.01.01.10.80.6
C21.01.32.02.74.7
I-TSA0.9R16.22.210.01.01.3
R210.01.03.61.01.0
C11.05.10.94.72.0
C21.06.21.811.016.0
Table 9. Parameter values obtained for LPAF in the BF.
Table 9. Parameter values obtained for LPAF in the BF.
S1S2S3S4S5
TargetFSF1.00001.00001.00001.00001.0000
Q0.50620.56120.70711.10133.1969
AlgorithmST Value
I-TSA0.1FSF1.9306961.9877602.1061202.2104852.442159
Q0.5204160.5323640.6219580.8333331.420749
0.5FSF1.9264992.0361022.0836372.2549662.391306
Q0.4976720.5317450.6489660.8197411.414874
0.9FSF2.0212701.9082172.0725832.2134762.467593
Q0.4860500.5110600.6204800.7649221.402132
Table 10. Error value obtained for LPAF in the BF.
Table 10. Error value obtained for LPAF in the BF.
AlgorithmST ValueBestMeanWorstStd. Dev.
I-TSA0.10.0623780.2084540.3631400.092668
0.50.0922120.3019080.4929800.100669
0.90.1191400.2897820.4145420.073533
TSA0.10.0812740.2274810.4772950.097471
0.50.1606540.2962570.4981810.086586
0.90.1818320.3108100.4502430.072830
PSO-0.1165030.6454541.4787820.330566
CSS-0.1995370.5415641.4218760.264927
Table 11. The best component values obtained for HPAF in the BF.
Table 11. The best component values obtained for HPAF in the BF.
AlgorithmST ValueComponentS1S2S3S4S5
I-TSA0.1R116.012.012.016.022.0
R210.06.87.54.72.7
C11.21.84.32.44.3
C25.16.82.76.86.2
I-TSA0.5R14.315.012.010.018.0
R23.99.14.73.02.0
C16.25.12.010.010.0
C210.01.59.13.64.3
I-TSA0.9R110.04.310.039.018.0
R211.03.65.613.02.4
C12.48.22.72.06.2
C23.68.27.51.25.1
Table 12. Parameter values obtained for HPAF in the BF.
Table 12. Parameter values obtained for HPAF in the BF.
S1S2S3S4S5
TargetFSF1.00001.00001.00001.00001.0000
Q0.50620.56120.70711.10133.1969
AlgorithmST Value
I-TSA0.1FSF1.9661451.9857092.0310342.2011462.500364
Q0.4967010.5404160.6157130.8101831.403687
0.5FSF2.0260132.0303782.0130532.0648652.472096
Q0.5103670.5380360.6141220.8054741.375686
0.9FSF1.9370152.0271192.1158572.1917422.322216
Q0.4670990.5464530.5895470.8385251.362803
Table 13. Error value obtained for HPAF in the BF.
Table 13. Error value obtained for HPAF in the BF.
AlgorithmST ValueBestMeanWorstStd. Dev.
I-TSA0.10.0360350.1906350.3531100.076729
0.50.1073780.3321730.6201120.124932
0.90.1669240.3377930.5228450.084933
TSA0.10.0548760.2146600.5136160.100502
0.50.1309320.3239920.5271500.097837
0.90.2167840.3666860.4929660.082912
PSO-0.0610110.6823821.3602550.360903
CSS-0.1434290.5807401.0751180.242949
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Beşkirli, M.; Kiran, M.S. Optimization of Butterworth and Bessel Filter Parameters with Improved Tree-Seed Algorithm. Biomimetics 2023, 8, 540. https://doi.org/10.3390/biomimetics8070540

AMA Style

Beşkirli M, Kiran MS. Optimization of Butterworth and Bessel Filter Parameters with Improved Tree-Seed Algorithm. Biomimetics. 2023; 8(7):540. https://doi.org/10.3390/biomimetics8070540

Chicago/Turabian Style

Beşkirli, Mehmet, and Mustafa Servet Kiran. 2023. "Optimization of Butterworth and Bessel Filter Parameters with Improved Tree-Seed Algorithm" Biomimetics 8, no. 7: 540. https://doi.org/10.3390/biomimetics8070540

Article Metrics

Back to TopTop