Documente Academic
Documente Profesional
Documente Cultură
Design of Digital FIR High Pass Filter Using Particle Swarm Optimization
(PSO) Technique
Amarjeet Kaur Jatana1, Darshan Singh Sidhu2
1,2
ABSTRACT
Digital filters play a vital role in todays broadening
field of signal processing and communication. FIR filters
are used in wide variety of applications due to linear
phase response and stability. The traditional nonoptimization methods for filter design suffer from the
problem of inefficient frequency response and also it
needs analog to digital conversion. Various conventional
gradient based optimization techniques are not able to
solve non-differential functions. Thus this paper presents
one of the evolutionary computation techniques i.e.
Particle Swarm Optimization (PSO) for the design of
digital FIR high pass (HP) filter. PSO is a random
algorithm which provides optimal filter coefficients.
PSO offers many advantages such that error function is
minimized, simple implementation, robust design
specifications, enhanced search capability and provides
fast convergence. PSO algorithm is implemented for the
design of FIR high pass filter. Simulation study affirms
that the proposed algorithm is accurate and has fast
convergence speed. Various results reveal the superiority
of the algorithm.
Keywords-Finite Impulse Response (FIR) Filter, High
Pass (HP) Filter, Particle Swarm Optimization (PSO),
Ripple magnitude.
I.
INTRODUCTION
www.ijsret.org
472
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 4, Issue 5, May 2015
II.
y m bk xm k
(1)
k 0
www.ijsret.org
473
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 4, Issue 5, May 2015
N
H z hn z n , n 0,1,...,N
(2)
n 0
p maxi H i , x min i H i , x
for i passband
(9)
is halved. Thus
s maxi H i , x
H d e j hn e jn
(3)
n 0
0
H i e j
1
for
0 c
(4)
otherwise
(5)
E1 x H I i H D i , x
(6)
i 0
(7)
1
H I i
0
f 2 x Minimize E 2 x
f 3 x Minimize p
f 4 x Minimize s
The multi-objective function is converted to single
objective function: Minimize
i passband
for
i stopband
(8)
(11)
(10)
f 1 x Minimize E1 x
f x 1 f1 x 2 f 2 x 3 f 3 x 4 f 4 x
2
K
E 2 x H I i H D i , x
i 0
for i stopband
www.ijsret.org
474
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 4, Issue 5, May 2015
k 1
i
w v c1 rand1 pbest x
k
i
k 1
i
x v
k
i
k
i
Value
Population Size
100
Iteration Cycle
200
C1, C2
(12)
k 1
i
(13)
k 1
IT
w wm ax ( wm ax wm in )
max IT
wm in
0.1
wm ax
0.4
the final
Table 2
Desired Design Conditions for High Pass Filter
(14)
Filter
Type
High
Pass
Pass-band
0.8
Stop-band
Maximum
Value of
H , x
0 0.7
www.ijsret.org
475
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 4, Issue 5, May 2015
14
objective function
12
10
8
6
4
2
0
20
22
24
26
28
30
32
Table 3
Various Design Parameters of High Pass FIR Filter for different orders
Filter
Order
Objective
Function
L1 -Norm Error
L2 -Norm Error
Pass-band
Performance
Stop-band
Performance
20
5.5209
2.663781
0.328815
0.124907
0.126031
22
4.4301
2.021664
0.256289
0.130451
0.084450
24
4.1773
1.836927
0.263674
0.148345
0.057541
26
3.7702
1.927878
0.248097
0.070976
0.088446
28
2.6694
1.396111
0.170330
0.060939
0.049359
30
4.9676
3.322492
0.376548
0.036599
0.090261
32
12.0720
18.860910
1.747700
0.484646
0.202543
www.ijsret.org
476
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 4, Issue 5, May 2015
Table 4
Optimized High Pass FIR Filter coefficients of order 28
h(n)
h(0)=h(28)
h(1)=h(27)
h(2)=h(26)
h(3)=h(25)
h(4)=h(24)
h(5)=h(23)
h(6)=h(22)
PSO result
-0.007027
0.009866
-0.003250
-0.010234
0.021418
-0.020307
0.002473
h(7)=h(21)
h(8)=h(20)
h(9)=h(19)
h(10)=h(18)
h(11)=h(17)
h(12)=h(16)
h(13)=h(15)
h(14)
0.025522
-0.046672
0.042242
-0.001159
-0.071979
0.157044
-0.224765
0.250648
www.ijsret.org
477
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 4, Issue 5, May 2015
Table 5
Statistical Data for FIR HP Filter of order 28
Maximum value
of Objective
function
Minimum value
of Objective
function
Average value
of Objective
function
Standard Deviation
Of Objective
function
2.808803
2.669424
2.673466
0.016157
V.CONCLUSION
In this paper, particle swarm optimization (PSO)
algorithm has been applied to design Digital FIR High
Pass Filter. The order of the filter has been varied from
20 to 32. The values of all the parameters are optimal for
order 28. As shown through simulation results the
proposed PSO method possesses the merits of
REFERENCES
[1] J.G. Proakis and D.G. Manolakis, Digital Signal
Processing Pearson, fourth edition, 2013.
[2] T.W. Parks and J.H. McClellan, Chebyshev
approximation for non recursive digital filters with
linear phase, IEEE Transactions on Circuit
Theory, vol. 19, pp. 189194, 1972.
[3] S. Mandal, S.P. Ghoshal, R. Kar and D. Mandal,
Design of optimal linear phase FIR high pass filter
using craziness based particle swarm optimization
technique, Journal of King Saud University, vol.
24, pp. 8392, 2012.
[4] H.C. Lu and S.T. Tzeng, Design of arbitrary FIR
log filters by genetic algorithm approach, Signal
Processing, vol. 80, pp. 497-505, 2000.
[5] N. Karaboga, A new design method based on
artificial bee colony algorithm for digital IIR filters,
Journal of Franklin Institute, vol. 4, pp.328-348,
2009.
www.ijsret.org
478
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 4, Issue 5, May 2015
www.ijsret.org
479