1 Introduction

In the current scenario, the signal has a significant role in the digital signal processing (DSP) systems. Most of the signals have inherent noise and also get distorted with external noise; hence there is a need of digital filters to achieve the desired spectral characteristics. The basic building blocks of DSP systems are digital filters. Depending on the duration of the impulse response, digital filters are categorized into finite impulse response (FIR) filter and infinite impulse response (IIR) filter [15]. The implementation of FIR filters uses non-recursive structures and having many desired advantages. The coefficients of linear phase FIR filter are symmetrically located around the central coefficient, and these filters are simple to design than IIR filters. The researchers have applied conventional methods to design digital filters such as window method and frequency sampling method. Various types of window function, i.e. Kaiser, Blackmann, Hanning, Hamming have been used as per filter specifications. In windowing method, for an ideal filter, the infinite length impulse response is approximated into a window of finite length to accomplish the real response [15, 25, 26]. However, due to this approximation, it does not permit the precise control of cut-off frequencies and the transition width. For the design of FIR filter, Parks and McCellan [25] have suggested a well-known method named as ‘PM algorithm’, which is based on Chebyshev approximation method. In PM method, the weighting function is applied to determine the relative values of the amplitude error in the frequency bands and not by the deviations themselves. Hence, the PM method requires many iterative cycles to design the digital filter [26]. McClellan et al. [17] have reported improved results as compared to the results obtained by PM algorithm. These classical methods are single-point search methods and solution struck at a local optimal point for multi-modal optimization problems. Further, these methods are not suited for optimization problems having discontinuous and non-differentiable objective function.

In order to overcome these drawbacks of conventional techniques, the researchers have proposed population-based search techniques. For the design of FIR filters, a number of population-based search techniques have been implemented in the recent years. Karaboga and Cetinkaya [10] have applied differential evolution technique for the design of digital FIR filter. The fuzzy adaptive simulated annealing technique has been implemented to design FIR filters [24]. Kar et al. [8] have proposed craziness-based PSO technique and employed for FIR stop-band filter. Saha et al. [28] have applied cat swarm optimization (CSO) technique to determine the optimal coefficients of FIR filters. Aggarwal et al. [2] have applied the L1-norm based real-coded genetic algorithm to search optimal coefficients of high-pass FIR filter. In another attempt, few evolutionary and swarm-based optimization techniques have also been applied for the design of digital FIR filters by Aggarwal et al. [1]. For the design of the optimal FIR filter and multi-band filters, the adaptive cuckoo search algorithm [30] and improved cuckoo search PSO technique [5] have also been applied, respectively.

The digital filters encounter the problem of time delays. Hence, researchers give much attention to the stability problem of digital filters. The Markovian jump systems are an effective tool for the design of filters. Researchers are continuously working to deal with issues related to Markovian jump system. Recently, Xia et al. [36] have addressed the problem of mixed passivity and H filter design for a class of Markovian jump delay systems with nonlinear perturbation under quantization and event-triggered scheme. In another attempt, the problem of extended dissipativity analysis for digital filters which simultaneously consists time delay and Markovian jumping parameters have been addressed [37]. Xia et al. [35] have extended the work to deal with the problem of filter design for discrete-time neural networks subject to Markovian jumping parameters and time-varying delay.

The population-based search techniques have been classified into different categories, namely evolutionary techniques, physics-based techniques, swarm-based techniques etc. Recently, Mirjalili [19] has suggested a swarm-based algorithm, Moth-flame optimization, which is a nature-inspired algorithm based on the navigation mechanism of Moths in transverse orientation. The MFO technique has been used to resolve various practical optimization problems, i.e. optical network unit placement in fibre-wireless access network [31], optimal reactive power dispatch [18, 21], thresholding image segmentation [3], unit commitment problem [27], and circular antenna array synthesis [4].

The MFO technique is inspired by Moths navigation method in the night. The Moths fly by making a certain angle corresponding to the moon. By using this process, they travel for long distances in a straight line. Nevertheless, these Moths can simply confuse due to artificial lights. The researchers have proposed various modifications in the MFO technique or integrated with other optimization techniques for better performance. Li et al. [13] have proposed Lévy-flight strategy-based MFO (LMFO) and tested on constrained and unconstrained benchmark functions successfully. Elsakaan et al. [6] have proposed enhanced MFO algorithm which combines the merits of the MFO and Lévy flight search. The enhanced MFO has been applied to solve economic dispatch problem with emissions. Recently, a Moth search algorithm [14, 33] has been proposed, which is inspired by the phototaxis and Lévy flights of the Moths. They have successfully tested the proposed algorithm on benchmark problems. Wang et al. [34] have proposed chaos theory to exploit MFO’s potential and to enhance its performance. They have applied proposed technique for parameter optimization of kernel extreme learning machine and feature selection. Khalilpourazari and Khalilpourazary [12] have proposed an integration of water cycle optimization algorithm and MFO algorithm to solve the constraint optimization problems. Zhang et al. [39] have proposed an evolutionary algorithm by exploiting the spiral search behaviour of Moths and also incorporates search actions of fireflies to explore the search space. The proposed algorithm has been applied for intelligent facial emotion recognition. Xu et al. [38] have integrated Gaussian mutation, Cauchy mutation, Levy mutation and combination of these with MFO technique and tested on benchmark functions. They have concluded that the integrate technique is able to search better quality results as compared to other population-based techniques. Despite of the various advantages of global search techniques, the exploitation capability of these algorithms is inferior as compared to local search techniques [7]. However, local search techniques are computationally expensive and can easily trap into local optimal solution due to single-point search. The Powell’s pattern search as a potential local search technique has been applied by researchers and its performance has been found very promising [22, 23].

In this work, an integrated optimization technique has been proposed to maintain a fine tuning between exploration and exploitation capability of the search algorithm. In the proposed technique, the search process initiates with MFO technique and a move to the PPS method by an adaptive mechanism and this process continues till the termination criteria. In the light of these observations, the main contributions of the research work are summarized as:

  • An integrated optimization technique has been aimed to incorporate the positive traits of global and local search techniques.

  • The MFO and PPS techniques have been undertaken as a global and local search technique, respectively. In the proposed technique, the best performing MFO particle transferred to PPS technique in an adaptive manner for further improvement.

  • The proposed optimization technique has been implemented to solve standard benchmark functions and for designing of optimal FIR filters.

The paper is structured into five sections. The design formulation of FIR filter is given in Sect. 2. In Sect. 3, the proposed optimization technique has been presented. In Sect. 4, results and discussion are discussed and finally, Sect. 5 outlines the conclusions.

2 FIR Filter Design Formulation

In this section, the mathematical model of various types of FIR filters, i.e. low pass, high pass, band pass and band stop has been presented. The impulse response of FIR filter in terms of Z-Transform is given as:

$$ H(z) = h(0) + h(1)z^{ - 1} + h(2)z^{ - 2} + \cdots ,h(N)z^{ - N} $$
(1)

where h(0), h(1), …, h(n) represents the impulse response of FIR filter; hence Nth order filter requires a N + 1 number of coefficients.

Equation (1) is represented as:

$$ H(z) = \sum\limits_{n = 0}^{N} {h(n)z}^{ - N} $$
(2)

The frequency response of the FIR filter is given as:

$$ H(\omega_{k} ) = \sum\limits_{n = 0}^{N} {h(n)e^{{ - j\omega_{k} n}} } $$
(3)

where H(ωk) represents Fourier transform complex vector; The frequency is sampled in the range of [0, π] with N sample points and ωk = (2π/N).

The magnitude response of the ideal filter is given as:

$$ H_{i} (\omega ) = \left\{ {\begin{array}{*{20}l} {\left\{ {\begin{array}{*{20}l} 1 \hfill & {0 \le \omega \le \omega_{c} } \hfill \\ 0 \hfill & {{\text{otherwise}}} \hfill \\ \end{array} ;\;\;{\text{LP}}} \right.} \hfill \\ {\left\{ {\begin{array}{*{20}l} 0 \hfill & {0 \le \omega \le \omega_{c} } \hfill \\ 1 \hfill & {{\text{otherwise}}} \hfill \\ \end{array} ;\;\;{\text{HP}}} \right.} \hfill \\ {\left\{ {\begin{array}{*{20}l} 1 \hfill & {\omega_{{{\text{cl}}}} \le \omega \le \omega_{{{\text{ch}}}} } \hfill \\ 0 \hfill & {{\text{otherwise}}} \hfill \\ \end{array} ;\;\;{\text{BP}}} \right.} \hfill \\ {\left\{ {\begin{array}{*{20}l} 0 \hfill & {\omega_{{{\text{cl}}}} \le \omega \le \omega_{{{\text{ch}}}} } \hfill \\ 1 \hfill & {{\text{otherwise}}} \hfill \\ \end{array} ;\;\;{\text{BS}}} \right.} \hfill \\ \end{array} } \right. $$
(4)

where Hi(ω) represents the ideal magnitude response; ωcl and ωch represent the lower and upper cut-off frequency, respectively, of the BP and BS filters.

In this work, Type-I linear phase FIR filter has been designed using optimization techniques. The FIR filter has a symmetrical impulse response, hence the number of decision variables to be searched is halved and the remaining half-coefficients are flipped to determine the complete impulse response. To design the FIR filter with quality attributes, i.e. higher stop-band attenuation, lower stop-band and pass-band ripples, control on the transition width, and the suitable objective function, needs to be chosen. Parks and McClellan [25] have been proposed one of the most extensively used error function and is given as:

$$ E(\omega ) = G(\omega )\left[ {H_{d} \left( {e^{j\omega } } \right) - H_{i} \left( {e^{j\omega } } \right)} \right] $$
(5)

where Hi(e), Hd(e) represent the ideal and desired magnitude response, respectively; G(ω) represents the weighting factor to provide approximate errors in different frequency ranges.

Saha et al. [28] have discussed various error functions and recommended a novel error function as an objective function, which is given as:

$$ E(\omega ) = \sum {{\text{abs}}\left[ {{\text{abs}}\left| {\left( {H_{d} (\omega ) - 1} \right) - \delta_{p} } \right| + \sum {{\text{abs}}\left( {\left| {H_{d} (\omega ) - 0} \right| - \delta_{s} } \right)} } \right]} $$
(6)

where δp represent the pass-band ripples and δs represent the stop-band ripples.

Equation (6) considers absolute errors for entire frequency range. The first term represents a frequency range of pass-band and second term incorporates the stop-band frequency range. Higher stop-band attenuation and lesser stop-band ripples can be provided by minimizing the total error between the ideal magnitude response and the desired magnitude response over the entire frequency range. Further, the transition width may also get reduces.

3 Overview of Optimization Techniques

In this work, FIR filter design problem is solved by applying PSO, chaotic DE, artificial bee colony, GWO, MFO and proposed optimization technique to prove the merit of the proposed optimization technique. In this section, a brief discussion of the applied algorithms is given and the detail description of proposed technique has been discussed.

3.1 Particle Swarm Optimization

In particle swarm optimization technique, the search procedure is inspired by bird flocking or fish swarm behaviour [11]. All through the exploration, each particle updates its position through the guidance of global best position and local best position. For a d dimension search space, the velocity vector and position vector of ith particle are represented by: \(V_{i} = \left( {v_{i}^{1} ,v_{i}^{2} , \ldots ,v_{i}^{d} } \right)\) and \(P_{i} = \left( {p_{i}^{1} ,p_{i}^{2} , \ldots ,p_{i}^{d} } \right)\). The particle velocity and position are updated according to Eqs. (7) and (8).

$$ v_{i}^{j} \leftarrow wv_{i}^{j} + c_{1} \times {\text{rand}}() \times \left( {pl_{i}^{j} - x_{i}^{j} } \right) + c_{2} \times {\text{rand}}() \times \left( {pg^{j} - x_{i}^{j} } \right)\;\;\;\;\left( {i \in NP;j \in d} \right) $$
(7)
$$ w = w^{\max } - \frac{{\left( {w^{\max } - w^{\min } } \right) \times {\text{it}}}}{{{\text{IT}}}} $$
(8)
$$ x_{i}^{j} \leftarrow x_{i}^{j} + v_{i}^{j} \;\;\;\;(i \in NP;j \in d) $$
(9)

where \(x_{i}^{j} ,v_{i}^{j}\) represent jth dimension position and velocity, respectively, for ith particle; \(pl_{i}^{j}\) is jth dimension local best position for ith particle; pgj is jth dimension global best position; NP is number of particles; c1, c2 are acceleration coefficients; wmax is the maximum inertia weight and wmin is the minimum inertia weight; rand() represents the random number, which is uniformly distributed over the range [0,1]. For PSO technique, acceleration coefficients c1, c2 have been set to 1.5 and 2.5, respectively. The values of maximum inertia weight and minimum inertia weight wmax, wmin have been set to 0.95 and 0.35, respectively.

3.2 Chaotic Differential Evolution

In DE algorithm, the search evolves by mutation, recombination and selection operators to achieve an optimal solution. The mutation operator adds a vector difference between two arbitrarily chosen population vectors to the parent population vector and is given as [29]:

$$ y_{i}^{j} \leftarrow x_{i,r1}^{j} + f_{m} \left( {x_{i,r2}^{j} - x_{i,r3}^{j} } \right)\;\;\;\;(i \in NP;j \in d) $$
(10)

where r1, r2, r3 are mutually different integers and these integers should also be different from the population index i; fm represents the mutation scale factor.

The search approach of DE and chaotic optimization is contradictory in nature. The DE technique is based on natural evolution and chaotic sequences display an unpredictable, irregular behaviour. This characteristic of chaotic sequences is useful to improve the search capability of DE algorithm. Hence, in this work, chaotic sequence based on logistic map approach has been applied to modify the mutation scale factor as:

$$ y_{i}^{j} \leftarrow x_{i,r1}^{j} + f_{1} (t)\left( {x_{i,r2}^{j} - x_{i,r3}^{j} } \right)\;\;\;\;(i \in NP;j \in d) $$
(11)
$$ f_{1} (t) \leftarrow \mu \times f_{1} (t - 1) \times [1 - f_{1} (t - 1)]\;\;\;\;(i \in NP;j \in d) $$
(12)
$$ f_{1} (t) \in [0,1] $$

where t represents the iteration count, f1(t) represents the mutation scale factor, which is based on logistic map, and μ is a control parameter; \(f_{1} (t) \notin \left\{ {0,0.25.0.50,0.75,1} \right\}\).

Following the mutation operation, crossover process is employed to produce a trial vector \(z_{i}^{j}\) between targeted vector \(x_{i}^{j}\) and intermediate vector \(y_{i}^{j}\) as:

$$ z_{i}^{j} = \left\{ \begin{gathered} x_{i}^{j} \,\,\,\,\,\,\,\,{\text{rand}}()_{j} > C_{R} \hfill \\ y_{i}^{j} \,\,\,\,\,\,\,{\text{otherwise}} \hfill \\ \end{gathered} \right.\;\;\;\;(i \in {\text{NP}};j \in d) $$
(13)

where CR represents a crossover probability factor from the range [0,1].

After the crossover operation, a greedy selection pattern is applied to select the better individual as:

$$ x_{i} = \left\{ \begin{gathered} z_{i} \,\,\,\,\,\,\,\,{\text{obj}}(z_{i} ) < {\text{obj}}(x_{i} ) \hfill \\ x_{i} \,\,\,\,\,\,\,{\text{otherwise}} \hfill \\ \end{gathered} \right.\;\;(i \in {\text{NP}}) $$
(14)

where obj represents the objective function.

The Chaotic DE algorithm parameters, mutation scale factor fm is set to 0.5 and the control parameter μ is set to 4.

The whole process continues till termination condition is met.

3.3 Artificial Bee Colony

In artificial bee colony algorithm, the bee population is divided into employed bees, onlooker bees and scout bees. The initial population xij is evaluated based on nectar amount and employed bees produce new solutions νij and given as [9]:

$$ v_{ij} = x_{ij} + \tau_{ij} (x_{ij} - x_{kj} )\;\;\;\;(i \in {\text{EB}};j \in d;k \in {\text{EB}};i \ne k) $$
(15)

where τij represents a random number between [−1, 1]; k individual is randomly selected and should be different from i; EB is the number of employed bees.

The new population has been evaluated and to update the solution, the greedy selection process is used. Based on the objective function evaluation, the probability has been computed as:

$$ p_{i} = \frac{{{\text{obj}}_{i} }}{{\sum\limits_{l = 1}^{{{\text{EB}}}} {{\text{obj}}_{l} } }} $$
(16)

where obji represents the ith candidate objective function value.

The onlookers produce the new solution νij from the current solution, which is selected based on probability value. The greedy selection process is implemented between current onlooker and new onlooker to update the solution. During the search process, if the nectar value is abandoned for a predetermined number of cycles, then the food source i is replaced with a new food source by the scouts and is given as:

$$ x_{ij} = x_{j}^{\min } + {\text{rand}}() \times \left( {x_{j}^{\max } - x_{j}^{\min } } \right)\;\;\;\;(j \in d) $$
(17)

The whole procedure is repeated till the satisfaction of termination criteria.

3.4 Grey Wolf Optimization Technique

The grey wolves come under the category of top predators, who like to live and hunt in a group. They follow a very unique and strict social ruling hierarchy. The first best solution is known as alpha (α). Consequently, the second and third best solutions are considered as beta (β) and delta (δ), respectively, and all the remaining solutions are presumed as omega (ω). The α, β and δ surely participate in the hunt process and ω may follow them. The grey wolves follow the few steps as follows [20]:

  1. (i)

    (i) Tracking and chasing the prey: Grey wolves surround the prey during hunting. The encircling behaviour by grey wolves is mathematically modelled as:

    $$ Z = \left| {B \times X_{P} \left( {{\text{it}}} \right) - X_{{{\text{GW}}}} \left( {{\text{it}}} \right)} \right| $$
    (18)
    $$ X_{{{\text{GW}}}} \left( {{\text{it}} + 1} \right) = X_{P} \left( {{\text{it}}} \right) - A \times Z $$
    (19)

The coefficient vectors A and B are reckoned as:

$$ A = 2 \times z \times R_{1} - z $$
(20)
$$ B = 2 \times R_{2} $$
(21)
$$ z = 2 - \frac{{2 \times {\text{it}}}}{{{\text{IT}}_{\max } }}\left( {{\text{it}} \in {\text{IT}}_{\max } } \right) $$
(22)
  1. (ii)

    Hunting of prey: The alpha as a leader guides the hunting process and it is followed by beta and delta. The remaining wolves update their positions with respect to the leader (alpha), beta and delta. The mathematical formulation of the hunting process and updating the positions of grey wolves are expressed as:

    $$ Z_{\alpha } = \left| {B_{1} \times X_{\alpha } \left( {{\text{it}}} \right) - X_{{{\text{GW}}}} \left( {{\text{it}}} \right)} \right| $$
    (23a)
    $$ X_{1} \left( {{\text{it}}} \right) = X_{\alpha } \left( {{\text{it}}} \right) - A_{1} \times Z_{\alpha } $$
    (23b)
    $$ Z_{\beta } = \left| {B_{2} \times X_{\beta } \left( {{\text{it}}} \right) - X_{{{\text{GW}}}} \left( {{\text{it}}} \right)} \right| $$
    (24a)
    $$ X_{2} \left( {{\text{it}}} \right) = X_{\beta } \left( {{\text{it}}} \right) - A_{2} \times Z_{\beta } $$
    (24b)
    $$ Z_{\delta } = \left| {B_{3} \times X_{\delta } \left( {{\text{it}}} \right) - X_{{{\text{GW}}}} \left( {{\text{it}}} \right)} \right| $$
    (25a)
    $$ X_{3} \left( {{\text{it}}} \right) = X_{\delta } \left( {{\text{it}}} \right) - A_{3} \times Z_{\delta } $$
    (25b)

    where Xα, Xβ and Xδ are the positions of the three best representatives, i.e. alpha, beta and delta, respectively; X1, X2 and X3 are the prey positions with respect to alpha, beta and delta. The position of the grey wolves is updated by using the average position of alpha, beta and delta and is given as:

    $$ X_{{{\text{GW}}}} \left( {{\text{it}} + 1} \right) = \frac{{X_{1} \left( {{\text{it}}} \right) + X_{2} \left( {{\text{it}}} \right) + X_{3} \left( {{\text{it}}} \right)}}{3} $$
    (26)
  2. (iii)

    Conducting attack: Grey wolves finish their hunt when quarry stops. As the wolves approach the prey, the value of z gradually goes towards zero and prey is supposed to be attacked by grey wolves.

3.5 Moth Flame Optimization

Mirjalili [19] has proposed a MFO technique, which is based on navigation mechanism of Moths. The Moth insects fly at night by keeping a certain angle with the moon. This particular mechanism is called the transverse orientation. The transverse orientation is very useful for the Moths to travel long distances; however, Moths gets distracted by human-made artificial lights. They seek to hold the fixed angle to the light source, due to which they may eventually converge to the artificial light source. The mathematical model of MFO technique restrains all the properties. The mathematical model of an optimizer has been discussed as under:

The set of Moths represent the candidate solutions. Initially, each Moth position is randomly generated within inside the limited boundary. For each Moth, the objective function has been evaluated. The flames represent the best position of Moths at present iteration. The Moth explores around the flame and position is updated accordingly. In MFO algorithm, the logarithmic spiral mechanism has been utilized to update the status of each Moth corresponding to a flame and is given as:

$$ M_{i} = D_{i} \times e^{{{\text{bt}}}} \times \cos (2\pi \,t) + F_{j} \;\;\;\;(i \in {\text{NP}};j \in {\text{NP}}) $$
(27)

where Mi represents the ith Moth; Fj represents the jth flame; Di gives the distance of ith Moth from jth flame; b defines the shape of a spiral; t is a random number between [−1, 1]; the value of t = −1 and t = +1 represent the closest and farthest positions to the flame, respectively, for the logarithmic spiral; NP represent the number of Moths; The random number r generates in the range of [r,1], where r linearly decreases from −1 to −2 with iteration [13].

It is evident from Eq. (27), each Moth is associated with a flame and updates its own position corresponding to a particular flame. On the basis of objective function value, the flames are sorted and the first Moth updates its position using the best flame and last Moth updates the position using the worst flame in the list. The exploitation capability of the algorithm can be improved by decreasing the number of flames adaptively with iterations. The adaptive mechanism is given as:

$$ {\text{Nf}} = {\text{round}}\left[ {\left( {{\text{Nf}}^{\max } - {\text{it}}} \right) \times \frac{{\left( {{\text{Nf}}^{\max } - 1} \right)}}{{{\text{IT}}}}} \right] $$
(28)

where Nf represents the number of flames; Nfmax represents the maximum number of flames; it signifies the current iteration; IT signifies the maximum number of iterations.

3.6 Powell’s Conjugate Direction Method

The Powell’s conjugate direction method is proposed to search the optimal solution [32]. The Powell’s method does not require derivative information of function; hence it can be applied to non-differentiable and discontinuous function. For d dimension decision variable, i.e., X = (x1, x2, …, xd), the d search vectors (say {s1, s2, …, sd}) are generated as:

$$ s_{j}^{k} = \left\{ \begin{gathered} 1\,\,\,\,j = k \hfill \\ 0\,\,\,\,{\text{else}} \hfill \\ \end{gathered} \right.\;\;(j \in d;k \in d) $$
(29)

Each decision variable is modified along with respective search direction and is given as:

$$ x_{j} \leftarrow x_{j} + \varsigma_{j} s_{j}^{k} \;\;\;\;(j \in d;k \in d) $$
(30)

where ςj represents the step length for jth dimension and it is randomly generated within the bounds.

In order to update each dimension of decision variable, the greedy selection process has been applied. The updated decision variable is represented as: \(X^{^{\prime}} = (x_{1}^{^{\prime}} ,x_{2}^{^{\prime}} ,...,x_{d}^{^{\prime}} )\). For the succeeding cycle of optimization, the pattern search direction is computed as:\(Z_{j} (j = 1,2, \ldots ,d) = (x_{1} - x_{1}^{^{\prime}} ,x_{2} - x_{2}^{^{\prime}} , \ldots ,x_{d} - x_{d}^{^{\prime}} )\) and each pattern search direction replaces its corresponding direct search direction. The up-gradation process is repeated with pattern search direction. The search process continues till all the direct search directions discarded.

3.7 Proposed Optimization Technique

In the proposed technique, the best solution obtained by the MFO algorithm (MFO leader) is exploited by PPS technique in a phased manner. The detail explanation of proposed technique is given as:

  1. Step 1:

    Read the input data and algorithm parameters.

  2. Step 2:

    Randomly initialize the decision variables as moth positions within the specified limits.

  3. Step 3:

    Iteration start; it = 1.

  4. Step 4:

    The objective function (Eq. (6)) is evaluated for each moth position.

  5. Step 5:

    The moth position is updated (Eq. (27)) with respect to a particular flame.

  6. Step 6:

    The number of flames decreases as given by Eq. (28).

  7. Step 7:

    Check the performance of MFO leader for a certain life span (LS) as:

    $$ {\text{IF}}\left\{ {F\left( {{\text{it}}} \right) - F\left( {{\text{it}} + {\text{LS}}} \right) < \alpha \times F\left( {{\text{it}}} \right)} \right\} $$

    where F(it) represents the objective function value at it iteration by MFO leader; α is set to 0.05.

    The position of MFO leader is updated by Powell’s method and life span is halved. Due to which, the frequency to update the MFO leader by Powell’s method will be doubled.

    ELSE

    The life span of MFO leader is doubled and the frequency to update the MFO leader by Powell’s method will be halved.

    ENDIF

  8. Step 8:

    Check the termination criteria, which is based on maximum number of iterations as:

    IF (it > itmax)

    MFO leader position represents the global best solution.

    ELSE

    GO TO Step 4.

    STOP

4 Results and Discussion

In this work, two experiments have been carried out and the MATLAB 8.1 version on Intel Core i5-6440HQ processor, 2.3 GHz with 8 GB RAM has been used. In the first experiment, the proposed technique has been tested on standard benchmark functions. In the second experiment, LP, HssP, BP and BS FIR filters of the order of 20 have been optimally designed. For each algorithm, the population size has been taken as 40 with 500 iterations. The algorithm parameters have been set after a number of trials. To consider the effect of random initialization, thirty trails have been performed for each applied algorithm and the best, worst and average values of objective function have been computed. Further, standard deviation is also tabulated. The parametric statistical t test (two samples, two tails) has been conducted to investigate the significance of the proposed optimization technique.

4.1 Experiment 1: Benchmark Functions

The five unconstrained benchmark functions have been undertaken which are multi-modal, continuous/discontinuous in nature. The details regarding these functions are given in Table 1 [12]. The PSO, Chaotic DE, ABC, GWO, MFO and proposed technique have been applied to the standard benchmark functions. The normalized optimum results have been presented in Table 2 and the value in each row 100 represents the minimum value and the remaining values are scaled with respect to the minimum value. The results disclose that the proposed optimization technique is capable of exploring the optimum results for all considered standard benchmark functions. Further, it has also been observed that for Griewank, Schewefel (2.22) and Schewefel (2.26) benchmark functions, GWO technique performs well as compared to PSO, Chaotic DE, ABC and MFO techniques. However, for Ackley and Rastrigin benchmark functions, the MFO technique is able to attain moderate solutions. Hence, it is summarized that, the enclosure of PPS method with MFO technique improves the quality of solution.

Table 1 Benchmark functions for D dimension
Table 2 The best solutions of Benchmark functions

4.2 Experiment 2: Filter Design

In this research work, the optimum filter coefficients for 20th order LP, HP, BP and BS FIR filters are searched by applying PSO, Chaotic DE, ABC, GWO, MFO and proposed optimization technique. The upper and lower limits of filter coefficients are set to +1 and −1, respectively. The FIR filter parameters have been referred from Saha et al. [28] and are given in Table 3.

Table 3 Filter characteristics

4.2.1 Low-pass Filter Design

The performance parameters, i.e., maximum stop-band attenuation, maximum stop-band ripples and pass-band ripples, of the LP filter designed by the proposed optimization technique have been compared with the results obtained by PSO, Chaotic DE, ABC, GWO and MFO techniques. Further, these are compared with the reported results of the literature, which is obtained by DE [10], DE-PSO [16] and CSO [28] techniques. The maximum, minimum and average stop-band attenuation along with the standard deviation (SD) for various optimization techniques are presented in Table 4. The maximum value of stop-band attenuation obtained by proposed technique is superior by 1.56%, 39.01%, 47.35%, 3.05%, 1,89%, 23.16% and 3.26% for PSO, Chaotic DE, ABC, GWO, MFO, DE-PSO [16] and CSO [28] techniques, respectively. From Table 4, it can also be summarized that the proposed optimization technique outperforms its counterparts in terms of maximum, minimum and average values of stop-band attenuation. Further, the standard deviation of the results obtained by proposed optimization technique is minimal, that indicates the proposed optimization technique is capable to achieve better results, repetitively. Figures 1 and 2 illustrate the magnitude response in dB and normalized magnitude response, respectively. The magnitude response of a filter is restricted by normalized transition width, and after analysing the results, it has been observed that proposed technique is able to restrict the transition width within approved limit. However, the transition width reported for PSO, Chaotic DE, MFO and DE [5] techniques violate the prescribed limits.

Table 4 The stop-band attenuation for FIR LP filter
Fig. 1
figure 1

Magnitude (dB) plot for the FIR LP filter

Fig. 2
figure 2

Magnitude (normalized) plot for the FIR LP filter

In order to compare the computational effort, the PSO, Chaotic DE, ABC, GWO and MFO techniques have been executed thirty times and average execution time of each algorithm has been computed and presented in Table 4. The average execution time required by proposed technique is 12.40 s, while MFO technique needs 14.29 s for it. Hence, it is summarized that integration of MFO with Powell’s conjugate direction method improves the exploitation capability of the proposed technique and reduces the computational burden. The statistical values of other two performance parameters, i.e. normalized stop-band ripples and pass-band ripples are presented in Tables 5 and 6, respectively. The maximum value of normalized stop-band ripple achieved by proposed optimization technique is restricted to 0.0175, which is superior as compared to results obtained by other state of art optimization techniques. In addition to that, the other statistical values, i.e. average value, minimum value of stop-band ripple and SD of proposed technique is better than its counterparts.

Table 5 The stop-band ripple (normalized) for the FIR LP filter
Table 6 The pass-band ripple (normalized) for the FIR LP filter

The maximum value of normalized pass-band ripple achieved by proposed optimization technique is restricted to 0.1163, which is better than its counterparts except the results reported for DE technique [5]. However, the results of DE [5] technique is inferior as compared to results obtained by proposed technique. The statistical results of pass-band ripple are also compared and it is summarized that performance of proposed technique is better than other compared optimization techniques. Further, the statistical t test has been performed on average value of stop-band ripples with a 95% level of confidence.

It has been found from t test results that p value is less than 0.05, which shows that the proposed technique is significantly better than other optimization techniques. The normalized pass-band and stop-band ripples are presented in Figs. 3 and 4, respectively, and it is demonstrated that proposed optimization technique is able to bottle up the ripples as per the prescribed limits. The optimized LP filter coefficients obtained by PSO, Chaotic DE, ABC, GWO, MFO and proposed optimization technique have been presented in Table 7.

Fig. 3
figure 3

Normalized pass-band ripple plot for the FIR LP filter

Fig. 4
figure 4

Normalized stop-band ripple plot for the FIR LP filter

Table 7 Optimized coefficients of the FIR LP filter (×10–02)

4.2.2 High-Pass Filter Design

The statistical results of stop-band attenuation are given in Table 8 for HP filter. It has been evident from Table 8 that the maximum stop-band attenuation obtained by proposed optimization technique is 37.06 dB, which is considerably better than as compared to PSO, chaotic DE, ABC, GWO, MFO and CSO [28] techniques. The statistical results also confirm the better search ability of proposed optimization technique as compared to other state of art optimization techniques. Another performance parameter ‘transition width’ is well satisfied by all techniques. In order to judge the computational performance, average computational time has been compared and found that, proposed technique needs less time to search better solution as compared to other compared optimization techniques. The dB plot and normalized magnitude plot for the HP filter realized by various optimization techniques are shown in Figs. 5 and 6, respectively.

Table 8 The stop-band attenuation for HP FIR filter
Fig. 5
figure 5

Magnitude (dB) plot for the FIR HP filter

Fig. 6
figure 6

Magnitude (normalized) plot for the FIR HP filter

The statistical results of other two performance parameters, i.e. stop-band and pass-band ripples are tabulated in Tables 9 and 10, respectively. It has been found from these results that the proposed optimization technique is able to purge the stop-band and pass-band ripples at a better satisfactory level as compared to other compared techniques. The t test results of Table 9, endorse the superiority of the proposed optimization technique as compared to other techniques. The normalized pass-band and stop-band ripples are presented in Figs. 7 and 8, respectively. The convergence characteristics of PSO, Chaotic DE, ABC, GWO, MFO and proposed technique for HP filter are depicted in Fig. 9. It is illustrated from convergence characteristics that proposed technique needs less iteration as compared to other compared techniques to search the global best solution. The optimized coefficients of HP filter, obtained by PSO, Chaotic DE, ABC, GWO, MFO and proposed optimization technique are presented in Table 11.

Table 9 The stop-band ripple (normalized) for the FIR HP filter
Table 10 The pass-band ripple (normalized) for the FIR HP filter
Fig. 7
figure 7

Normalized pass-band ripple plot for the FIR HP filter

Fig. 8
figure 8

Normalized stop-band ripple plot for the FIR HP filter

Fig. 9
figure 9

Convergence characteristics of various optimization techniques for HP filter

Table 11 Optimized coefficients of the FIR HP filter (× 10–02)

4.2.3 Band-pass Filter Design

For band-pass filter design, the result of proposed technique is compared with PSO, chaotic DE, ABC, GWO, MFO and CSO [28] techniques and are presented in Table 12. The maximum stop-band attenuation obtained by proposed optimization technique for BP filter is 36.18 dB, which is 2.79%, 12.75%, 35.19% 39.75%, 9.22% and 4.73% better as compared to results obtained by PSO, Chaotic DE, ABC, GWO, MFO and CSO [28] techniques, respectively. It has been observed from Table 12 that proposed optimization technique is able to maintain the transition widths within the restricted limits, while other optimization techniques violates the restricted limits by small margins. Further, the standard deviation of thirty trials is 1.007, which is minimum that indicates the proposed optimization technique produces superior results, repetitively. The proposed optimization technique needs 12.55 s to reach its global best solution, which is better as compared to MFO and other optimization techniques. Hence, it can be summarized that integration of MFO with PPS in a logical manner improves the exploitation capability of the search algorithm. The dB and normalized plot for the BP filter are illustrated in Figs. 10 and 11, respectively. The statistical values of stop-band and pass-band ripple are presented in Tables 13 and 14, respectively. It has been observed from these results that proposed technique is able to achieve superior results in terms of maximum, minimum, average value and SD. The t test has been performed at the 95% level of confidence on the average value of stop-band ripples statistically. It has been found that proposed optimization technique is significantly better than its counterparts. However, for stop-band ripples, the chaotic DE technique performs at par with proposed technique. Figures 12 and 13 represent the normalized pass-band and stop-band ripples of BP filter by various optimization techniques. The optimal coefficients of BP filter are presented in Table 15.

Table 12 The stop-band attenuation for FIR BP filter
Fig. 10
figure 10

Magnitude (dB) plot for the FIR BP filter

Fig. 11
figure 11

Magnitude (Normalized) plot for the FIR BP filter

Table 13 The stop-band ripple (normalized) for the FIR BP filter
Table 14 The pass-band ripple (normalized) for the FIR BP filter
Fig. 12
figure 12

Normalized pass-band ripple plot for the FIR BP filter

Fig. 13
figure 13

Normalized stop-band ripple plot for the FIR BP filter

Table 15 Optimized coefficients of the FIR BP filter (× 10–02)

4.2.4 Band-stop Filter Design

For band-stop filter, the results are compared with PSO, Chaotic DE, ABC, GWO, MFO, CSO [28], PM [8], RGA [8], CLPSO [8] and CRPSO [8] techniques and are presented in Table 16. The maximum stop-band attenuation obtained by proposed optimization technique is 35.0251 dB, which is better than other compared techniques. The statistical results validate the dominance of proposed optimization technique as compared to other techniques in terms of attenuation. The normalized transition width and average execution time are also represented in Table 16. The average execution time taken by PSO, Chaotic DE, ABC, GWO, MFO and proposed optimization technique on similar operational environment is 15.25 s, 14.98 s, 17.66 s, 15.81 s, 13.98 s, 12.04 s, respectively. From these results, it is evident that proposed optimization technique needs less computational efforts among all these techniques. Tables 17 and 18 represent the maximum, minimum and average values of pass-band and stop-band ripples. It has been noticed that the proposed optimization technique is capable to achieve all the desired attributes of band-pass filter consistently.

Table 16 The stop-band attenuation for FIR BS filter
Table 17 The stop-band ripple (normalized) for the FIR BS filter
Table 18 The pass-band ripple (normalized) for the FIR BS filter

Further, the t test also verifies the credibility of the proposed optimization technique at 95% level of confidence. However, for stop-band ripples, the GWO technique performs at par with proposed technique statistically. For band-stop filter, Figs. 14, 15, 16 and 17 show the magnitude response, pass-band and stop-band ripples using PSO, Chaotic DE, ABC, GWO and MFO techniques. The optimal coefficients of band-stop filter obtained by proposed optimization technique are presented in Table 19.

Fig. 14
figure 14

Magnitude (dB) plot for the FIR BS filter

Fig. 15
figure 15

Magnitude (normalized) plot for the FIR BS filter

Fig. 16
figure 16

Normalized pass-band ripple plot for the FIR BS filter

Fig. 17
figure 17

Normalized stop-band ripple plot for the FIR BS filter

Table 19 Optimized coefficients of the FIR BS filter (× 10–02)

5 Conclusions

In this work, an optimal FIR filter has been designed using PSO, Chaotic DE, ABC, GWO, MFO and proposed optimization techniques. The proposed optimization technique combines the excellent exploration capability of MFO technique and the superior exploitation property of the PPS method. During the search process, the adaptive life span controls the switching of MFO leader from MFO technique to PPS method, which helps to explore the search area with adequate computational efforts. The proposed optimization technique has been tested on five benchmark functions and subsequently, it is applied for an optimum design of LP, HP, BP and BS FIR filters. The results reveal that it has been able to achieve the better solution as compared to results obtained by PSO, Chaotic DE, ABC, GWO and MFO techniques for benchmark functions. For filter design problem, the proposed optimization technique is able to achieve maximum stop-band attenuation, the lowest stop-band and pass-band ripples with adequate transition width. Further, the obtained results have been compared by results reported for other state of art optimization techniques, i.e., DE, DE-PSO, CSO. From the reported results, CSO shows better quality results. Hence, the results of proposed technique are compared with CSO technique in a comprehensive manner. For LP filter, the maximum stop-band attenuation, maximum stop-band ripple, maximum pass-band ripple and transition width reported for CSO technique are 33.99 dB, 0.01998, 0.164 and 0.0946, respectively, while, the proposed technique is able to achieve better corresponding performance parameters for LP filter, i.e. 35.139, 0.0175, 0.1163 and 0.0857. The proposed technique is able to improve the maximum stop-band attenuation for HP, BP, BS filters by 10.23%, 4.96% and 9.07%, respectively, as compared to results reported for CSO technique. The proposed technique shows its superiority in other two performance parameters ‘maximum stop-band ripple’ and ‘maximum pass-band ripple’ as compared to CSO technique results. The maximum stop-band ripple is improved by 32.85%, 18.03%, 28.60%, and maximum pass-band ripple is improved by 7.87%, 8.95% 10.06% for HP, BP and BS filters, respectively. The proposed technique maintains another performance parameter ‘transition width’ within the specified limits. Further, the robustness of the proposed optimization technique is investigated by applying statistical t test and performance is found satisfactory. Finally, it has been concluded that the proposed optimization technique is more robust, computationally efficient and a better global optimizer.