Abstract

In the recent years, the digital IIR filter design as a single objective optimization problem using evolutionary algorithms has gained much attention. In this paper, the digital IIR filter design is treated as a multiobjective problem by minimizing the magnitude response error, linear phase response error and optimal order simultaneously along with meeting the stability criterion. Hybrid gravitational search algorithm (HGSA) has been applied to design the digital IIR filter. GSA technique is hybridized with binary successive approximation (BSA) based evolutionary search method for exploring the search space locally. The relative performance of GSA and hybrid GSA has been evaluated by applying these techniques to standard mathematical test functions. The above proposed hybrid search techniques have been applied effectively to solve the multiparameter and multiobjective optimization problem of low-pass (LP), high-pass (HP), band-pass (BP), and band-stop (BS) digital IIR filter design. The obtained results reveal that the proposed technique performs better than other algorithms applied by other researchers for the design of digital IIR filter with conflicting objectives.

1. Introduction

The electrical signal is the best method to transfer information to longer distances. As the signal becomes complex, we require to process the signal to extricate the information available in the signal. Generally, signals are classified into two categories, that is, continuous-time and discrete-time signals. Digital signal processing (DSP) is a numerical manipulation of discrete-time signal data. With the advent of digital circuit technology, cheaper, simple, and faster digital computers with huge memory storage capability are able to perform complex real time digital signal processing. In the recent period, digital signal processing (DSP) is the area of interest for engineers and scientists due to their accuracy, reliability, flexibility, low cost, and small physical size. Filtering is an essential part of digital signal processing for different applications such as telecommunications, speech processing, image processing, consumer electronics, biomedical systems, industrial applications, and military electronics. As compared to the analog filters, digital filters are flexible, reliable, and versatile. The sampled values of input signal and the transfer function of digital filter can be easily stored in the memory [1, 2].

Digital filters are classified as finite impulse response (FIR) filters and infinite impulse response (IIR) filters. IIR filter provides better response than FIR filters with the same order or same number of coefficients. The stability of the digital IIR filter can be obtained by limiting the parameter space in a suitable range. Multimodal error surface of IIR filter may force gradient based algorithm to get stuck in local minima [3]. In order to avoid the above problem and to find the global minima, global optimization techniques like genetic algorithm (GA), particle swarm optimization (PSO), differential evolution (DE), predator prey optimization (PPO), artificial bee colony (ABC), and so forth have been used by the researchers [37] to design digital IIR filters.

The synergy between exploration and exploitation is a thrust area in the optimization process. The generalization of heuristics allows the wide applicability but it limits the efficiency of heuristics and simply delivers mediocre performance. The hybridization of general heuristics with problem-specific heuristics provides better results for more complicated problems. The technique which uses general heuristics as global search and a specific heuristic as local search is generally called hybrid algorithm. With a proper tuning, hybrid algorithms with a good explorative ability as a population-based global search algorithm also provide a good exploitive performance as a local search algorithm [8]. Many researchers have applied various hybrid optimization techniques for design of digital IIR and FIR filters. Singh et al. [9] had applied DE hybridized with pattern search technique for the design of digital IIR filter. DE has been used for global search technique and pattern search method as local search technique. Kaur and Dhillon [10] had proposed integrated cat swarm optimization (CSO) and DE for digital IIR filter design. So Kaur and Dhillon discussed hybridization of two global search techniques. Hua et al. [11] have hybridized DE and PSO for designing 2D FIR filter. Vasundhara et al. [12] had proposed hybridization of adaptive DE and PSO for FIR filter design. Both researchers have also considered the hybridization of two different global search techniques. Bindiya and Elias [13] had applied different modified metaheuristic algorithms for the design of multiplier-less nonuniform channel filters and compared their results. They concluded that gravitational search algorithm (GSA) is the fastest and also gives acceptable values of the frequency-response characteristics and complexity. Saha et al. [14] had applied GSA for design and simulation of FIR band-pass and band-stop filters and compared the results with results obtained by DE, PSO, RGA, and BBO. It has been concluded that GSA converges faster than other techniques. Saha et al. [15] had also applied GSA with wavelet mutation for design of IIR filter and concluded that GSAWM provides better results as compared to other techniques. The above researchers considered the design problem as a single objective optimization problem and applied the techniques for minimizing the magnitude response error of digital filter only with supplementary conditions.

Yu and Xinjie [16] had applied cooperative coevolutionary genetic algorithm to design the digital IIR filter. Magnitude response and phase response are simultaneously optimized along with the minimum filter order. Wang et al. [17] applied local search operator enhanced multiobjective evolutionary algorithm (LS-MOEA) for design of digital IIR filter with multiple objectives. Wang et al. [17] has also applied nondominated sorted based genetic algorithm II (NSGA-II) for the above problem. Kaur et al. [18] applied real coded genetic algorithm (RCGA) for design of digital IIR filter with multiple objectives. The literature survey reveals that metaheuristic methods generally suffer from either the exploration or exploitation capabilities leading to lack of diversity and stagnation to local minima, respectively. Involvement of many parameters leads to parameter tuning problems and becomes time consuming. Mostly the aforementioned methods lack to maintain balance between exploration and exploitation.

Any proposed optimization method may be a good choice to design digital filters that may have exclusive advantages like robust, global search capability, little information requirement, ease of implementation, parallelism, no requirement of continuous, and differentiable objective function. The intent of this paper is to propose the global search technique, gravitational search algorithm (GSA) to design the digital IIR filter. The global search technique is then hybridized with evolutionary search method for exploring the search space locally. With the increase in number of filter coefficients, the number of comparisons increases exponentially in evolutionary search technique during exploration of search space. To reduce such comparisons, a unique binary successive approximation (BSA) strategy has been implemented while exploring the search space locally. The opposition-based learning strategy is applied to have a start with good initial population. In this paper the design of digital IIR filter is treated as a multiobjective problem by simultaneously minimizing the magnitude response error, linear phase response error, and optimal order along with meeting the stability criterion. The proposed hybrid technique is applied to solve the multiparameter and multiobjective optimization problem of low-pass, high-pass, band-pass, and band-stop digital IIR filter design. Owing to the imprecise nature of decision maker judgement, it is presumed that decision maker may have fuzzy or imprecise goals for each objective [19]. Hybrid GSA is used to simulate trade-off between conflicting objectives that is magnitude response error and phase response. Once the trade-off has been obtained, fuzzy set theory helps decision maker to decide the optimal design of IIR digital filter over the noninferior trade-off curve.

This paper is divided into five sections. In Section 2, digital IIR filter problem is described. The gravitational search algorithm (GSA) and binary successive approximation (BSA) based evolutionary search method for optimal IIR filter design are explained in Section 3. The GSA and hybrid GSA have been applied to standard mathematical test functions in Section 4 to evaluate the relative performance. In Section 5, digital IIR filter has been designed by applying the proposed hybrid heuristic search technique and obtained results are evaluated and compared with results of other authors. The final conclusion and discussions are outlined in Section 6.

2. IIR Filter Design Problem

Digital infinite impulse response (IIR) filter design requires the optimization of set of filter coefficients which meet various specification of the filter such as pass-band width and gain, stop-band width and attenuation, edge frequencies of pass band and stop band, peak ripples in pass band and stop band, and linear phase response in pass band and transition band.

The cascaded digital IIR filter has several first order and second order sections together and is easy to implement. Putting , the structure of cascading type IIR filter can be expressed as [20]where

Vector denotes the set of filter coefficients of first order and second order sections of dimensions with .

The coefficients of the transfer function are approximated during the design of filter. The transfer function is compared this with the ideal transfer function . The magnitude error function is obtained from these two values as given below:where

The ripple magnitude of pass-band and of stop-band are defined as below

During the design of filter, the linear phase response is also optimized for both pass band and transition band. The expression for phase is defined as below:

The first order difference in phase is determined aswhere

is the total number of sampling points in pass band and transition band. The phase response will be linear if all the elements of have the equal values [18]. So the second objective function is to minimize variance of phase differences and is expressed as below:

Consider all these objectives, subject to the following stability constraints:

For the design of digital IIR filter with the above multiobjective optimization criterion, the fuzzy membership functions are assigned to magnitude response error function and phase response error function along with stability constraints. The fuzzy sets are stated by their membership functions. Such membership functions describe the degree of membership in certain fuzzy sets using values from 0 to 1. The membership function value 0 indicates incompatibility with the sets whereas 1 means full compatibility [19]. The member functions are used to convert minimization to maximization optimization problem and constraints are converted into objective function to be maximized.

2.1. Magnitude Response Error

The main objective to design digital IIR filter is to minimize the magnitude response error in a predefined pass-band and stop-band and within prescribed permissible ripples. In the prescribed pass-band the signal is allowed to pass and in the prescribed stop-band the signal is restricted.

The membership function of magnitude response in pass-band is described in Figure 1.

Mathematical representation of membership function of magnitude response during pass-band is given as below:where is the frequency in pass-band; is the magnitude response in pass-band; is the minimum magnitude in pass band; is maximum magnitude in the pass-band; and are the maximum tolerable deviations in magnitude in pass-band; is kept almost nearer to zero; is the membership function of magnitude response in pass-band; .

The membership function of magnitude response in stop-band is described in Figure 2.

Mathematical expression of membership function of magnitude response during stop-band is given as below:where is the frequency in stop band; is the magnitude response in stop-band; is maximum magnitude in the stop-band; is the maximum tolerable deviations in magnitude in stop-band; is the membership function of magnitude response in stop-band; .

The main objective is to maximize the membership function of magnitude response in both pass-band and stop-band and is represented as below:

The maximum value of provides the design of digital filter having minimum value of magnitude response error.

2.2. Phase Response Error

As described in (8), the phase response error is to be minimized. This minimization problem is converted into maximization problem as described as below:where is the objective function of phase response. Maximum value of objective function provides the minimum value of linear phase response error .

2.3. Membership Function of Stability Constraints

The stability constraints for the design of digital IIR filter are obtained by using the Jury method [21] on the filter coefficients given in (9a). Using fuzzy set theory, the membership function of stability constraints given in (9a) is shown in Figure 3.

Mathematically, membership function of stability constraint given in (9a) is given below:

Similarly membership function for stability constraints given in (9b) to (9e) can be described. The overall objective to meet these above five stability constraints is mathematically given below and is to be maximized:

If the value is 1 that means all constraints are satisfied. Otherwise it gives the percentage level of satisfaction of constraints.

2.4. Multiobjective Problem Formulation

The task of digital IIR filter design is to find an optimum structure with minimum magnitude response error and minimum linear phase response error while satisfying the stability constraints. By applying fuzzy set theory, multiobjective constrained problem is converted into multiobjective unconstrained optimization problem and is stated as below:where is the membership function of magnitude response error given in (12); is the membership function of linear phase response error given in (13); is the membership function of stability constraints given in (15); is a vector decision variable of dimensions with .

The objective is to find the value of filter coefficients being decision variables, , which maximizes the entire objective functions simultaneously. The value of membership function indicates how much the solution satisfies the objective on the scale from 0 to 1. The maximum satisfaction of membership function for any filter coefficient combination is obtained by taking the intersection of the membership functions of participating objectives and is expressed as below:

2.5. Optimal Order of Digital Filter

The expression for optimal order of digital IIR filter is described below:where and are and control genes of corresponding first order and second order blocks, respectively, and the value of genes will be either 1 or 0. and are the maximum number of first order and second order blocks, respectively. Maximum order of the digital IIR filter will be . The order of the filter has been determined by control genes as shown in Figure 4. The coding method has been taken from Yu and Xinjie [16]. The value of control gene determines whether the particular block will be considered for filter design or not. The block will be considered activated when the corresponding control gene is 1. The number of binary bits used to generate control genes depends upon the value of and . The decision vector shown in (2) is modified as below:

The variable is a positive integer with maximum value of and the variable is a positive integer with maximum value of . The variable and will also be optimized along with the coefficients of the filter.

3. Optimization Technique

3.1. Gravitational Search Algorithm

This optimization algorithm is based on the law of gravity. In this algorithm, each candidate of the population is considered as an object (mass). Each object has four specifications, that is, active gravitational mass, passive gravitational mass, inertia mass, and position. Gravitational and inertia masses are determined by the fitness function and position of the object corresponds to the solution of the problem. All the objects attract each other with a gravitational force. Candidates having good solutions have heavy masses. Heavy masses move slowly and attract lighter masses towards good solutions. At the end of iteration, masses are updated as per their new positions. With the lapse of time, we consider that all the masses be attracted by the heaviest mass and this mass will represent the optimum solution [22].

In GSA, population is considered as an isolated universe of objects (masses). Value of gravitational mass and inertia mass of an object has been assumed equal. Each object obeys the Newtonian laws of gravitation and motion as described below.

Law of Gravitation. Each object attracts every other object with gravitational force. The gravitational force between two objects is directly proportional to the product of their masses () and inversely proportional to the square of the distance () between them. But in GSA only distance is taken instead of R2, because it gives better results. This is the deviation of GSA from the Newtonian laws of gravitation.

Law of Motion. The current velocity of any object is equal to the fraction of previous velocity of the object and acceleration of the object. Acceleration of the object is equal to the force applied on the object divided by the inertia mass of the object.

Algorithm has been initialized with random population of dimensional objects (masses) and each object is describes aswhere represents the position of object in the dimension.

At a specific iteration “,” the force acting on object by object is described as below:where and are gravitational masses of and objects, respectively. is the gravitational constant at iteration “.” , a small constant, has been added to avoid extra ordinary high value of force between two objects and almost lies on the same place in the space. is the Euclidian distance between and objects and described as below:

To provide stochastic characteristics to the algorithm, it is considered that total force acting on the object in dimension is a randomly weighted sum of component of the force exerted by all other objects and is given bywhere is a random variable in the interval , corresponding to the object.

As per the law of motion, the acceleration of the object in the direction at iteration “” is defined as below:

The velocity of the object is calculated as sum of fraction of current velocity and acceleration of the object. Therefore, the velocity and position of the object is updated as described below:where is a random variable in the interval . The gravitational constant has been initialized at the beginning and reduces with successive iterations. Gravitational constant at iteration “” is described as below:where is the initial value of gravitational constant. is a predefined constant and is the maximum number of iterations.

Masses of the objects are updated as follows:where represents the fitness value of the object at iteration “.” For minimization problem, and are described as follows:

To have good compromise between exploration and exploitation, the number of objects can be reduced with successive iterations. So it is supposed that only a set of objects with heavy masses will exert gravitational force on other objects. But to avoid trapping in local minima, algorithm should use exploration in the beginning. By lapse of iterations, the exploration should fade out and exploitation should fade in. So only kbest objects exert gravitational force on other objects. Initially kbest is a taken equal to number of objects and all objects exert force. With successive iterations kbest decreases linearly in such way that at the last iteration only one object has been left and this provides us the optimum result. Therefore (23) can be modified as follows:where kbest is the set of objects with best fitness value and maximum mass.

If elements of object velocity violate their limits, their values are updated as below:

Similarly if elements of object position violate their limits, their values are updated as below:

3.2. Exploratory Move

In exploratory move, the current point is perturbed in all possible directions for each and every variable at a time and the best point is recorded. After each perturbation, the present point is changed to the best point. At the end of all variable perturbations, if the point found is different from the original point, the exploratory move is called a success; otherwise, the exploratory move is a failure. In any case, the best point arrived at the end of exploratory move.

The evolutionary method is used to search for the optimal filter coefficients. In this method, for number of filter coefficients, feasible solutions are generated. A dimensional hypercube of side Δ is formed around the point. represents the coefficients of IIR filter from the current point of hypercube. The better solution is obtained from the objective function of the IIR filter. Another hypercube is formed around the current better point and the iterative process is continued. All the corners of the hypercube, represented in the binary bits code, are explored for better results simultaneously. Table 1 shows the coefficient pattern for 3-coefficient digital IIR filter where 3-bit binary code is used to represent the 8 corners of the three-dimensional hypercube (Figure 5). The decimal serial numbers of the hypercube are changed into their respective binary codes. The deviation from the current center point is obtained by replacing 1’s of the code with +Δ and 0’s with −Δ. As the number of coefficients of the IIR filter increased, the number of hypercube corners increases exponentially. So the process becomes time consuming [23].

3.3. BSA Strategy

To reduce the computational time, binary successive approximation (BSA) strategy is used to explore the optimal solution. BSA strategy to search for the optimal solution is explained in Figure 6, where solution procedure moves towards the optimal solution by comparing two solutions at a time represented by the two corners of the hypercube [23].

The search process is started by initializing the coefficient vector giving objective function Ft. To perform BSA strategy by the iterative process is initially selected as below:Two corners, with reference to above selected corner, are created for comparison as below:In reference to these two corners, coefficient vectors are generated as shown in Table 1. Mathematically, it is represented in the generalized form: whereThe initial increment to coefficients is decided by

Objective functions at and are evaluated using (17) as follows:

The minimum value of these two is selected to be computed with the rest of the corners, generated subsequently, and the selected corner for the generation of the next two corner is

This process is repeated till all the corners of the hypercube are explored and the overall minimum is selected to find the new centre point for the next iteration. When the last element of vector contains one of the last branches of BSA tree that is reached, which ensures that all corners of hypercube are explored, the procedure is terminated. In BSA method, the number of computations is reduced by large amount, as elaborated in Table 2.

3.4. Algorithms

The different steps of the proposed algorithms are shown in Algorithms 1 and 2.

(1) Search space identification.
(2) Randomized initialization of population.
(3) Fitness evaluation of objects using (17).
WHILE (stopping criterion is not met).
(4) Update , , and ().
(5) Calculation of the total force in different directions using (23).
(6) Calculation of acceleration and velocity using (24) and (25) respectively.
(7) Updating objects’ position using (26).
(8) Fitness evaluation of objects using (17).
(9) Apply exploratory move to improve the fitness value using Algorithm 2.
ENDDO
STOP.

(1) Enter with filter coefficients being decision variable as , and set .
DO
(2.1)    .
(2.2) Set    using (33), .
(2.3) Compute    using (34).
(2.4) Compute    using (35).
(2.5) Obtain and from (36) and (37) respectively.
(2.6) Evaluate fitness from (39).
DO
(2.7.1)
(2.7.2) Obtain , and from (34), (35), (36), and (37) respectively.
(2.7.3) Evaluate fitness from (39).
(2.7.4) Obtain    from (40).
WHILE  
IF     THEN
(2.8.1)    and
ELSE
(2.8.2)   
END
WHILE  
RETURN

4. Validation of Proposed Technique

The proposed GSA technique alone and then hybridized with BSA based evolutionary technique has been applied to standard unimodal test functions, multimodal test functions with large and small dimensional variables shown in Tables 3, 4, and 5, respectively. The population has been taken as 50. Maximum number of iterations has been set to 200. In (27), , the initial value of gravitational constant has been taken as 200. A predefined constant, , has been taken as 20. The GSA is hybridized with BSA based on evolutionary search technique for searching the variable space locally. The exploratory move has been repeated 50 times. The algorithm is made to run 500 times independently to justify the global solution.

The desired and obtained values of test functions are shown in Table 6. It is observed that for test functions with large dimensional variables, hybridization of GSA with BSA technique gives better results as compared to GSA in terms of achieved function values.

Wilcoxon Signed Rank test has been applied to validate the performance of hybrid algorithm at a significance level 0.05.

Result 1 (-value). -values are expressed in terms of mean and standard deviations of test statics. It is observed that -value is −2.5424 and its corresponding value is 0.01108. So the result is significant at .

Result 2 (-value). The -value is 12. The critical value of for at is 21. Therefore, the result is significant at .

From the above results, it is concluded that proposed GSA and hybrid GSA can be applied to unimodal as well as multimodal test functions. Since error surface of IIR filter is a multimodal function, so the above proposed technique can be applied to design the digital IIR filters.

5. Design of Digital IIR Filter and Comparisons

The design of digital IIR filter in cascaded form has been implemented using proposed GSA and hybrid GSA (HGSA) techniques by searching the filter coefficients in such a manner so that the fitness value (17) approaches 1. The performance of the designed digital IIR filter is measured based on pass-band and stop-band ripples, phase response error, and order of the filter. Low-pass (LP), high-pass (HP), band-pass (BP), and band-stop (BS) IIR filters have been considered for the design. In this paper, the order of digital IIR filter is a variable in the optimization process and is optimized simultaneously along with , , and objective functions. The maximum order for LP, HP, BP, and BS filters has remained 12 as shown in Table 7. Hence the maximum value of and is kept as 4 for LP and HP filters and 0 and 6, respectively, for BP and BS filters. The design conditions for pass-band and stop-band normalized frequencies of LP, HP, BP, and BS filters are also shown in Table 7, where ω is the normalized frequency of the signal and varies from 0 to π. The results of the digital IIR filter design given by Yu and Xinjie [16], Wang et al. [17], and Kaur et al. [18] are referred to, to compare with design obtained by proposed HGSA approach.

The phase response error (8) pass-band as well as stop-band ripples (4a) and (4b) obtained from the proposed GSA and HGSA techniques for LP, HP, BP, and BS filters are compared with CCGA, NSGA-II, LS-MOEA, and RCGA in Table 8. From Table 8, it is concluded that the proposed GSA and HGSA techniques offer better performance in terms of phase response error, pass-band ripples as well as stop-band ripples for LP, HP, BP, and BS filters. It is also revealed HGSA designs have better IIR filter than GSA. The filter design is performed for 500 independent trial runs to achieve minimum, maximum, average, and standard deviation of fitness function described in (17) and is depicted in Table 9. Very small value of standard deviation proves the robustness of the proposed hybrid search technique to achieve global solution.

The designed filters obtained by the proposed HGSA technique for LP, HP, BP, and BS are given by (41), (42), (43), and (44), respectively.

The magnitude response and phase response of LP, HP, BP, and BS are shown in Figure 7. The pole-zero plots for LP, HP, BP, and BS are shown in Figure 8. It is observed that the designed filters follow the stability constraints applied during designing process as all the poles lie inside the unit circle.

From the above results, it is concluded that the proposed hybrid heuristic search technique is effective and robust technique for design of digital IIR filter with better phase response error, pass-band ripples, and stop-band ripples:

6. Conclusion

This paper proposes the design of digital IIR filter with conflicting objectives by using hybrid GSA where GSA and BSA based evolutionary search algorithms are applied as global and local search optimization techniques, respectively. HGSA maintains the balance between exploration and exploitation. Lesser parameters are required to tune. The results reveal that the proposed HGSA techniques offer better performance in terms of phase response error and pass-band as well as stop-band ripples for LP, HP, BP, and BS filters as compared to CCGA and NSGA-II, LS-MOEA, and RCGA methods. It is also revealed that HGSA outperforms GSA to optimize unimodal, multimodal higher, and lower dimensions standard test problems as well as for the design of digital IIR filters. The proposed method independently designs digital filter, whether it is LP, HP, BP, or BS filter.

Conflict of Interests

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