SlideShare a Scribd company logo
w w w . i j m r e t . o r g I S S N : 2 4 5 6 - 5 6 2 8 Page 6
International Journal of Modern Research in Engineering and Technology (IJMRET)
www.ijmret.org Volume 3 Issue 10 ǁ October 2018.
Particle Swarm Optimization Algorithm Based
Window Function Design
Ibrahim TUTAL, Duygu KAYA, Turgay KAYA
(Department of Electrical and Electronics Engineering, Fırat University, Turkey)
ABSTRACT:The window functions used for digital filter design are used to eliminate oscillations in
the FIR (Finite Impulse Response) filter design. In this work, the use of Particle Swarm Optimization
(PSO) algorithm is proposed in the design of cosh window function, in which has widely used in the
literature and has useful spectral parameters. The cosh window is a window function derived from the
Kaiser window. It is more advantageous than the Kaiser window because there is no power series
expansion in the time domain representation. The designed window function shows better ripple ratio
characteristics than other window functions commonly used in the literature. The results obtained
were presented in tables and figures and successful results were obtained
KEYWORDS -Cosh window, PSO, FIR filter
I. INTRODUCTION
Window functions are time-domain
functions that can be used to remove Gibbs'
oscillations in the FIR filter design. Window
functions are widely used in fields such as digital
filter design, signal analysis and prediction, sound
and image processing. Many window function
designs with different properties are proposed in
the literature. The window functions are two types,
fixed and adjustable window functions, according
to the variables they have.
In fixed windows, the window length (N
parameter) controls the mainlobe width of the
window function. Adjustable window functions
with two or more variables can provide a useful
amplitude spectrum. The adjustable window
functions are Dolph-Chebyshev [1], Kaiser [2] and
Saramaki [3] windows. Other window functions
developed based on the Kaiser window are given in
[4,5]. The two-parameter window functions are
insufficient to control the sidelobe roll-off ratio
window reduction which is window spectral
parameters. In the literature, a three-parameter
ultraspherical window function has been proposed
instead of these functions [6-8]. The proposed
window has spectral parameters such as mainlobe
width, ripple ratio, null-to-null width and side-lobe
pattern. PSOs, one of the heuristic computation
methods, is a method derived from the movement
of animals moving in swarms. With this aspect,
PSO can be represented as a social interaction
model [9-13].
In this work, the use of PSO in the design
of the cosh window function, which is developed
based on the Kaiser window and has better
properties, has been proposed. The results obtained
from the developed method are given by tables and
graphs and the method has been shown successful.
II. WINDOW FUNCTION
Window functions are used to eliminate
Gibbs' oscillations that occur in FIR filter design.
In the window function design with PSO, the
design of the window has been realized by an
alternative method without requiring the design
equations. The window functions are classified
according to their spectral characteristics and
compared the other windows according to these
characteristics. The frequency spectrum of a
window can be defined as follows.
( )
( ) ( )j T j
W e A e  

( 1) /2
0 ( ),j N T j T
e W e  

(1)
w w w . i j m r e t . o r g I S S N : 2 4 5 6 - 5 6 2 8 Page 7
International Journal of Modern Research in Engineering and Technology (IJMRET)
www.ijmret.org Volume 3 Issue 10 ǁ October 2018.
( 1) / 2
1
(0) 2 ( )cos
N
n
nT nT  


  
where 0 ( )j T
W e 
is called the amplitude function
of the window, N is the window length and T is the
sampling period. In the equation 1, A(w) = |W0ejwT
|
represents the window's magnitude and θ(w)=-w(N-
1)T/2 represents the window's angle. The
normalized amplitude spectrum of a window can be
obtained by the following equation [5].
𝑊𝑁 𝑒 𝑗𝑤𝑇
| = 20𝑙𝑜𝑔10(|𝐴 𝑤 |/|𝐴 𝑤 | 𝑚𝑎𝑥 ⁡) (2)
The spectral parameters are the mainlobe width
(wM), the null-to-null width (wN), the ripple ratio
(R) and the sidelobe roll off ratio (S), which
determine the window performance. From these
parameters, the mainlobe width determines the
width of the transition band between the pass and
stop band. The ripple ratio determines the ripple at
the pass and stop band, the sidelobe roll of ratio
determines the distribution of the energy in the stop
band.
A. Kaiser Window
At the discrete time, the Kaiser window can be
defined as follows
2
0
0
2
( 1 )
1 1[ ]
( ) 2
0
k
k
n
I
N Nw n n
I
otherwise



       



(3)
whereαk is the adjustable parameter, I0(x) is the first
kind zero-order Bessel function, and the power
series expansion is as follows.
2
0
1
1
( ) 1
! 2
k
k
x
I x
k


  
    
   
 (4)
B. Cosh Window
The cosh window, which is another two parameter
window function, is obtained by writing a cosh
function with similar characteristics instead of I0
(x) function [5].
2
2
cosh( 1 )
1 1[ ]
cosh( ) 2
0
c
c
n
N Nw n n
otherwise



       



(5)
III. PARTICLE SWARM OPTIMIZATION
PSO is an optimization algorithm inspired
by birds and fish moving in flocks. In the PSO
algorithm, each individual is called a particle and
these particles constitute a swarm. Individuals in
the swarm are constantly interacting with other
individuals to achieve the result and with this
interaction they update their current position and
speed thus creating a social model. Each individual
adjusts their position to the position of the best
individual in the herd, taking advantage of previous
experience. PSO algorithm is also an evolutionary
algorithm like Genetic Algorithm (GA). However,
PSO is faster than GA because there are no
operators such as crossover and mutation.
The Basic PSO algorithm:
Every individual in the swarm can be a solution
and every individual is represented by the
dimension vector [9,10].
𝑥𝑖 = 𝑥𝑖1, 𝑥𝑖2, 𝑥𝑖3, … . , 𝑥𝑖𝐷 ∈ 𝑆 (6)
The speed of each individual in the herd is
randomly generated. Each individual has the same
speed as in Equation 7.
𝑣𝑖 = 𝑣𝑖1, 𝑣𝑖2, 𝑣𝑖3,… . , 𝑣𝑖𝐷 (7)
The best local and global positions are
determined. Here, the position of each individual is
defined as follows.
𝑝𝑖 = 𝑝𝑖1, 𝑝𝑖2, 𝑝𝑖3, … . , 𝑝𝑖𝐷 ∈ 𝑆 (8)
Each individual in the PSO adjusts its position
around the individual to Pbest, global and gbest.
The speed and position information of the
individuals are given in equations 9 and 10.
𝑣𝑖
𝑡+1
= 𝑣𝑖
𝑡
+ 𝑐1 𝑟𝑖1 ∗ 𝑝𝑏𝑒𝑠𝑡𝑖
𝑡
− 𝑥𝑖
𝑡
+𝑐2 𝑟𝑖2 ∗ (𝑔𝑏𝑒𝑠𝑡 − 𝑥𝑖
𝑡
)
(9)
𝑥𝑖
(𝑡+1)
= 𝑥𝑖
(𝑡)
+ 𝑣𝑖
(𝑡+1)
, 𝑖 = 1, … … , 𝑃 (10)
w w w . i j m r e t . o r g I S S N : 2 4 5 6 - 5 6 2 8 Page 8
International Journal of Modern Research in Engineering and Technology (IJMRET)
www.ijmret.org Volume 3 Issue 10 ǁ October 2018.
Here c1 and c2 are two social and cognitive
acceleration parameters. r1 and r2 are random
numbers between [0,1]. The general PSO algorithm
is as given below.
Algorithm 1. Particle Swarm optimization
algorithm
Set the initial value of P (swarm size) and c1,c2
(acceleration constants)
Set t=0
Generate 𝑥𝑖
(𝑡)
and 𝑣𝑖
(𝑡)
randomly
Evaluate the fitness function 𝑓(𝑥𝑖
𝑡
)
Set 𝑔𝑏𝑒𝑠𝑡(𝑡)
(where gbest is the best glocal
solution)
Set 𝑝𝑏𝑒𝑠𝑡𝑖
𝑡
(where pbestis the best local solution)
repeat
𝑣𝑖
(𝑡+1)
= 𝑣𝑖
(𝑡)
+ 𝑐1 𝑟𝑖1 ∗ 𝑝𝑏𝑒𝑠𝑡𝑖
𝑡
− 𝑥𝑖
𝑡
+𝑐2 𝑟𝑖2 ∗ (𝑔𝑏𝑒𝑠𝑡 − 𝑥𝑖
𝑡
)
𝑥𝑖
(𝑡+1)
= 𝑥𝑖
(𝑡)
+ 𝑣𝑖
(𝑡+1)
, 𝑖 = 1, … … , 𝑃
Evaluate the fitness function 𝑓(𝑥𝑖
𝑡+1
)
if𝑓(𝑥𝑖
𝑡+1
) ≤ 𝑓(𝑝𝑏𝑒𝑠𝑡𝑖
𝑡
)then
𝑝𝑏𝑒𝑠𝑡𝑖
𝑡+1
= 𝑥𝑖
𝑡+1
else
𝑝𝑏𝑒𝑠𝑡𝑖
𝑡+1
= 𝑝𝑏𝑒𝑠𝑡𝑖
𝑡
end if
if𝑥𝑖
𝑡+1
≤ 𝑓(𝑔𝑏𝑒𝑠𝑡 𝑡
)then
𝑔𝑏𝑒𝑠𝑡(𝑡+1)
= 𝑥𝑖
𝑡+1
else
𝑔𝑏𝑒𝑠𝑡(𝑡+1)
= 𝑔𝑏𝑒𝑠𝑡 𝑡
end if
t=t+1
until termination criteria are satisfied.
Show the best particle
IV. DESIGN RESULTS
The cosh window function designed with PSO
for N = 15 and alphac= 1.73 is given in Figure 1
and the graphical data for graph is given in Table 1.
Error variation is given in Figure 2.
Figure 1: Amplitude response of cosh window for N=15
and alphac=1.73
Table 1: Obtaıned Results
Cosh Window WR S R
N=15, alphac=1.73 0.478 11.23 -20.97
Figure 2: Error variation
V. CONCLUSION
In this study, the cosh window function is
designed by using PSO algorithm. The success of
the developed method has been made for the cosh
window which is preferred in the literature in terms
of its properties. The obtained results are shown in
graphical form. The results showed that the method
used was successful in response to the window
amplitude.
w w w . i j m r e t . o r g I S S N : 2 4 5 6 - 5 6 2 8 Page 9
International Journal of Modern Research in Engineering and Technology (IJMRET)
www.ijmret.org Volume 3 Issue 10 ǁ October 2018.
REFERENCES
[1] P. Lynch, “The Dolph-Chebyshev window:
a simple optimal filter,” Monthly Weather
Review, vol. 125, pp. 655–660, 1997.
[2] J.F., Kaiser, “Nonrecursive digital filter
design using I0-sinh window function”,
1974, in proc. IEEE Int. Symp. Circuits and
systems (ISCAS’74). pp. 20-23.
[3] T., Saramaki, “A class of window functions
with nearly minimum sidelobe energy for
designing FIR filters”, 1989, in proc. IEEE
Int. Symp. Circuits and systems (ISCAS’89).
pp. 359-362.
[4] K. Avci, A. Nacaroğlu, “A new window
based on exponential function”, IEEE Ph.D.
Research in Microelectronics and
Electronics (PRIME 2008), June Istanbul,
Turkey, pp. 69-72, 2008.
[5] K. Avci, A. Nacaroğlu, “Cosh window
family and its application to FIR filter
design”, International Journal of
Electronics and Communications-AEU, vol.
63, pp. 906-917, 2009.
[6] S.W.A. Bergen, A. Antoniou, “Generation
of Ultraspherical window functions”, 2002,
in XI European Signal Processing
Conference, Toulouse, France, September,
vol. 2, pp. 607-610.
[7] S.W.A. Bergen, A. Antoniou, “Design of
Ultraspherical Window Functions with
Prescribed Spectral Characteristics”,
EURASIP Journal on Applied Signal
Processing, vol. pp.13 2053-2065, 2004.
[8] S.W.A. Bergen, A. Antoniou, “Design of
Nonrecursive Digital Filters Using the
Ultraspherical Window Function”,
EURASIP Journal on Applied Signal
Processing, vol. 12, pp. 1910-1922, 2005.
[9] M. Y.Ozsaglam, M.Cunkas, “Particle
Swarm Optimization Algorithm for Solving
Optimızation Problems”, Politelnikdergisi,
vol. 11, 2008.
[10] R.J. Kuo, Y.S. Han, “A hybrid of genetic
algorithm and particle swarm optimization
for solving bi-level linear programming
problem – A case study on supply chain
model”, Applied Mathematical Modelling,
vol. 3,5 pp. 3905–3917, 2011.
[11] A. Aggarwal, T. K. Rawat, D. K. Upadhyay,
“Design of optimal digital FIR filters using
evolutionary and swarm optimization
techniques”, AEU - International Journal of
Electronics and Communications, vol.70, 4,
pp. 373-385, 2016.
[12] F. Javidrad, M. Nazari, “A new hybrid
particle swarm and simulated annealing
stochastic optimization method”, Applied
Soft Computing, vol. 60, pp. 634-654, 2017.
[13] J. Cervantes, F. Garcia-Lamont,
L.Rodriguez, A. López, J. R. Castilla, A.
Trueba, “PSO-based method for SVM
classification on skewed data sets”,
Neurocomputing, vol. 228, pp. 187-197,
2017.

More Related Content

PDF
40120130406008
IAEME Publication
 
PDF
N018219199
IOSR Journals
 
PDF
Hyperparameter optimization with approximate gradient
Fabian Pedregosa
 
PDF
010_20160216_Variational Gaussian Process
Ha Phuong
 
PDF
W33123127
IJERA Editor
 
PDF
Lecture 3 image sampling and quantization
VARUN KUMAR
 
PDF
An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...
IJRESJOURNAL
 
PDF
B010430814
IOSR Journals
 
40120130406008
IAEME Publication
 
N018219199
IOSR Journals
 
Hyperparameter optimization with approximate gradient
Fabian Pedregosa
 
010_20160216_Variational Gaussian Process
Ha Phuong
 
W33123127
IJERA Editor
 
Lecture 3 image sampling and quantization
VARUN KUMAR
 
An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...
IJRESJOURNAL
 
B010430814
IOSR Journals
 

What's hot (20)

PDF
Performance improvement of a Rainfall Prediction Model using Particle Swarm O...
ijceronline
 
PDF
PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
neeraj7svp
 
PDF
Interpolation of-geofield-parameters
Cemal Ardil
 
PDF
Tutorial of topological data analysis part 3(Mapper algorithm)
Ha Phuong
 
PDF
E0212730
IOSR Journals
 
PDF
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Xin-She Yang
 
PDF
Pre-computation for ABC in image analysis
Matt Moores
 
PDF
Andrey Kuznetsov and Vladislav Myasnikov - Using Efficient Linear Local Feat...
AIST
 
PDF
Presentation v3.2
Luca Lorenzi
 
PDF
Robust Kernel-Based Regression Using Orthogonal Matching Pursuit
Pantelis Bouboulis
 
PDF
Profiling in Python
Fabian Pedregosa
 
PDF
Histogram Operation in Image Processing
VARUN KUMAR
 
PDF
Yuki Oyama - Incorporating context-dependent energy into the pedestrian dynam...
Yuki Oyama
 
PDF
Robust Block-Matching Motion Estimation of Flotation Froth Using Mutual Infor...
CSCJournals
 
PDF
Detection of Seam Carving in Uncompressed Images using eXtreme Gradient Boosting
IJCSIS Research Publications
 
PDF
Tchebichef moment based hilbert scan for image compression
Alexander Decker
 
PDF
REU-Airborn Toxins paper
Sihan Chen
 
PDF
Improving initial generations in pso algorithm for transportation network des...
ijcsit
 
PDF
R04404112115
IJERA Editor
 
PDF
safe and efficient off policy reinforcement learning
Ryo Iwaki
 
Performance improvement of a Rainfall Prediction Model using Particle Swarm O...
ijceronline
 
PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
neeraj7svp
 
Interpolation of-geofield-parameters
Cemal Ardil
 
Tutorial of topological data analysis part 3(Mapper algorithm)
Ha Phuong
 
E0212730
IOSR Journals
 
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Xin-She Yang
 
Pre-computation for ABC in image analysis
Matt Moores
 
Andrey Kuznetsov and Vladislav Myasnikov - Using Efficient Linear Local Feat...
AIST
 
Presentation v3.2
Luca Lorenzi
 
Robust Kernel-Based Regression Using Orthogonal Matching Pursuit
Pantelis Bouboulis
 
Profiling in Python
Fabian Pedregosa
 
Histogram Operation in Image Processing
VARUN KUMAR
 
Yuki Oyama - Incorporating context-dependent energy into the pedestrian dynam...
Yuki Oyama
 
Robust Block-Matching Motion Estimation of Flotation Froth Using Mutual Infor...
CSCJournals
 
Detection of Seam Carving in Uncompressed Images using eXtreme Gradient Boosting
IJCSIS Research Publications
 
Tchebichef moment based hilbert scan for image compression
Alexander Decker
 
REU-Airborn Toxins paper
Sihan Chen
 
Improving initial generations in pso algorithm for transportation network des...
ijcsit
 
R04404112115
IJERA Editor
 
safe and efficient off policy reinforcement learning
Ryo Iwaki
 
Ad

Similar to Particle Swarm Optimization Algorithm Based Window Function Design (20)

PDF
ALEXANDER FRACTIONAL INTEGRAL FILTERING OF WAVELET COEFFICIENTS FOR IMAGE DEN...
sipij
 
PDF
IRJET- Comparative Study of Sidelobe Roll-Off Ratio for Various Window Functi...
IRJET Journal
 
PDF
9.venkata naga vamsi. a
Alexander Decker
 
PDF
P REDICTION F OR S HORT -T ERM T RAFFIC F LOW B ASED O N O PTIMIZED W...
ijcsit
 
PDF
Design of Window Function in LABVIEW Environment
International Journal of Modern Research in Engineering and Technology
 
PDF
A hybrid bacterial foraging and modified particle swarm optimization for mode...
IJECEIAES
 
PDF
Project 2: Baseband Data Communication
Danish Bangash
 
PDF
COMPARISON OF WAVELET NETWORK AND LOGISTIC REGRESSION IN PREDICTING ENTERPRIS...
ijcsit
 
PDF
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
ijistjournal
 
PDF
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
ijistjournal
 
PDF
Pedestrian detection under weather conditions using conditional generative ad...
IAESIJAI
 
PDF
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
AIRCC Publishing Corporation
 
PDF
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
ijcsit
 
PDF
Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...
AIRCC Publishing Corporation
 
PDF
Damage detection in cfrp plates by means of numerical modeling of lamb waves ...
eSAT Journals
 
PDF
40120130405025
IAEME Publication
 
PDF
A COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTION
ijsc
 
PDF
A Comparison of Particle Swarm Optimization and Differential Evolution
ijsc
 
PDF
A NOVEL NAVIGATION STRATEGY FOR AN UNICYCLE MOBILE ROBOT INSPIRED FROM THE DU...
JaresJournal
 
PDF
Analytical Model of Cage Induction Machine Dedicated to the Study of the Inne...
IJECEIAES
 
ALEXANDER FRACTIONAL INTEGRAL FILTERING OF WAVELET COEFFICIENTS FOR IMAGE DEN...
sipij
 
IRJET- Comparative Study of Sidelobe Roll-Off Ratio for Various Window Functi...
IRJET Journal
 
9.venkata naga vamsi. a
Alexander Decker
 
P REDICTION F OR S HORT -T ERM T RAFFIC F LOW B ASED O N O PTIMIZED W...
ijcsit
 
Design of Window Function in LABVIEW Environment
International Journal of Modern Research in Engineering and Technology
 
A hybrid bacterial foraging and modified particle swarm optimization for mode...
IJECEIAES
 
Project 2: Baseband Data Communication
Danish Bangash
 
COMPARISON OF WAVELET NETWORK AND LOGISTIC REGRESSION IN PREDICTING ENTERPRIS...
ijcsit
 
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
ijistjournal
 
DESPECKLING OF SAR IMAGES BY OPTIMIZING AVERAGED POWER SPECTRAL VALUE IN CURV...
ijistjournal
 
Pedestrian detection under weather conditions using conditional generative ad...
IAESIJAI
 
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
AIRCC Publishing Corporation
 
USING CUCKOO ALGORITHM FOR ESTIMATING TWO GLSD PARAMETERS AND COMPARING IT WI...
ijcsit
 
Using Cuckoo Algorithm for Estimating Two GLSD Parameters and Comparing it wi...
AIRCC Publishing Corporation
 
Damage detection in cfrp plates by means of numerical modeling of lamb waves ...
eSAT Journals
 
40120130405025
IAEME Publication
 
A COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTION
ijsc
 
A Comparison of Particle Swarm Optimization and Differential Evolution
ijsc
 
A NOVEL NAVIGATION STRATEGY FOR AN UNICYCLE MOBILE ROBOT INSPIRED FROM THE DU...
JaresJournal
 
Analytical Model of Cage Induction Machine Dedicated to the Study of the Inne...
IJECEIAES
 
Ad

More from International Journal of Modern Research in Engineering and Technology (20)

PDF
Numerical Simulations of the Bond Stress-Slip Effect of Reinforced Concrete o...
International Journal of Modern Research in Engineering and Technology
 
PDF
Building an integrated vertical chain - a factor for sustainable construction
International Journal of Modern Research in Engineering and Technology
 
PDF
Applicability Study on the Optical Remote Sensing Techniques in a River
International Journal of Modern Research in Engineering and Technology
 
PDF
There is Always A Better Way: The Argument for Industrial Engineering
International Journal of Modern Research in Engineering and Technology
 
PDF
Study on the LandCover Classification using UAV Imagery
International Journal of Modern Research in Engineering and Technology
 
PDF
Comparative Analysis between Five Level Conventional and Modified Cascaded H-...
International Journal of Modern Research in Engineering and Technology
 
PDF
Cytotoxicity Studies of TiO2/ZnO Nanocomposites on Cervical Cancer Cells
International Journal of Modern Research in Engineering and Technology
 
PDF
Investigation of Performance Properties of Graphene Coated Fabrics
International Journal of Modern Research in Engineering and Technology
 
PDF
Effects of bagasse ash additive on the physiochemical and biological paramete...
International Journal of Modern Research in Engineering and Technology
 
PDF
Production and Analysis of Bioresin From Mango (Mangifera Indica) Kernel Oil
International Journal of Modern Research in Engineering and Technology
 
PDF
Computed Tomography Image Reconstruction in 3D VoxelSpace
International Journal of Modern Research in Engineering and Technology
 
PDF
Antimicrobial Activity of Capsicum Essential Oil of Peppers
International Journal of Modern Research in Engineering and Technology
 
PDF
A study of the temporal flow of passenger and cargo transport in a Brazilian ...
International Journal of Modern Research in Engineering and Technology
 
PDF
Determination of Linear Absorption Coefficient for Different Materials
International Journal of Modern Research in Engineering and Technology
 
PDF
Evaluation of Naturally Occurring Radionuclide in Soil Samples from Ajiwei Mi...
International Journal of Modern Research in Engineering and Technology
 
PDF
Kinematics Modeling and Simulation of SCARA Robot Arm
International Journal of Modern Research in Engineering and Technology
 
PDF
Strength and durability assessment of concrete substructure in organic and hy...
International Journal of Modern Research in Engineering and Technology
 
PDF
Cartographic systems visualization in mobile devices: issues, approaches and ...
International Journal of Modern Research in Engineering and Technology
 
PDF
Narrative: Text Generation Model from Data
International Journal of Modern Research in Engineering and Technology
 
Numerical Simulations of the Bond Stress-Slip Effect of Reinforced Concrete o...
International Journal of Modern Research in Engineering and Technology
 
Building an integrated vertical chain - a factor for sustainable construction
International Journal of Modern Research in Engineering and Technology
 
Applicability Study on the Optical Remote Sensing Techniques in a River
International Journal of Modern Research in Engineering and Technology
 
There is Always A Better Way: The Argument for Industrial Engineering
International Journal of Modern Research in Engineering and Technology
 
Study on the LandCover Classification using UAV Imagery
International Journal of Modern Research in Engineering and Technology
 
Comparative Analysis between Five Level Conventional and Modified Cascaded H-...
International Journal of Modern Research in Engineering and Technology
 
Cytotoxicity Studies of TiO2/ZnO Nanocomposites on Cervical Cancer Cells
International Journal of Modern Research in Engineering and Technology
 
Investigation of Performance Properties of Graphene Coated Fabrics
International Journal of Modern Research in Engineering and Technology
 
Effects of bagasse ash additive on the physiochemical and biological paramete...
International Journal of Modern Research in Engineering and Technology
 
Production and Analysis of Bioresin From Mango (Mangifera Indica) Kernel Oil
International Journal of Modern Research in Engineering and Technology
 
Computed Tomography Image Reconstruction in 3D VoxelSpace
International Journal of Modern Research in Engineering and Technology
 
Antimicrobial Activity of Capsicum Essential Oil of Peppers
International Journal of Modern Research in Engineering and Technology
 
A study of the temporal flow of passenger and cargo transport in a Brazilian ...
International Journal of Modern Research in Engineering and Technology
 
Determination of Linear Absorption Coefficient for Different Materials
International Journal of Modern Research in Engineering and Technology
 
Evaluation of Naturally Occurring Radionuclide in Soil Samples from Ajiwei Mi...
International Journal of Modern Research in Engineering and Technology
 
Kinematics Modeling and Simulation of SCARA Robot Arm
International Journal of Modern Research in Engineering and Technology
 
Strength and durability assessment of concrete substructure in organic and hy...
International Journal of Modern Research in Engineering and Technology
 
Cartographic systems visualization in mobile devices: issues, approaches and ...
International Journal of Modern Research in Engineering and Technology
 

Recently uploaded (20)

PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PPTX
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PDF
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PDF
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PDF
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
PDF
JUAL EFIX C5 IMU GNSS GEODETIC PERFECT BASE OR ROVER
Budi Minds
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
Zero Carbon Building Performance standard
BassemOsman1
 
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Inventory management chapter in automation and robotics.
atisht0104
 
JUAL EFIX C5 IMU GNSS GEODETIC PERFECT BASE OR ROVER
Budi Minds
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 

Particle Swarm Optimization Algorithm Based Window Function Design

  • 1. w w w . i j m r e t . o r g I S S N : 2 4 5 6 - 5 6 2 8 Page 6 International Journal of Modern Research in Engineering and Technology (IJMRET) www.ijmret.org Volume 3 Issue 10 ǁ October 2018. Particle Swarm Optimization Algorithm Based Window Function Design Ibrahim TUTAL, Duygu KAYA, Turgay KAYA (Department of Electrical and Electronics Engineering, Fırat University, Turkey) ABSTRACT:The window functions used for digital filter design are used to eliminate oscillations in the FIR (Finite Impulse Response) filter design. In this work, the use of Particle Swarm Optimization (PSO) algorithm is proposed in the design of cosh window function, in which has widely used in the literature and has useful spectral parameters. The cosh window is a window function derived from the Kaiser window. It is more advantageous than the Kaiser window because there is no power series expansion in the time domain representation. The designed window function shows better ripple ratio characteristics than other window functions commonly used in the literature. The results obtained were presented in tables and figures and successful results were obtained KEYWORDS -Cosh window, PSO, FIR filter I. INTRODUCTION Window functions are time-domain functions that can be used to remove Gibbs' oscillations in the FIR filter design. Window functions are widely used in fields such as digital filter design, signal analysis and prediction, sound and image processing. Many window function designs with different properties are proposed in the literature. The window functions are two types, fixed and adjustable window functions, according to the variables they have. In fixed windows, the window length (N parameter) controls the mainlobe width of the window function. Adjustable window functions with two or more variables can provide a useful amplitude spectrum. The adjustable window functions are Dolph-Chebyshev [1], Kaiser [2] and Saramaki [3] windows. Other window functions developed based on the Kaiser window are given in [4,5]. The two-parameter window functions are insufficient to control the sidelobe roll-off ratio window reduction which is window spectral parameters. In the literature, a three-parameter ultraspherical window function has been proposed instead of these functions [6-8]. The proposed window has spectral parameters such as mainlobe width, ripple ratio, null-to-null width and side-lobe pattern. PSOs, one of the heuristic computation methods, is a method derived from the movement of animals moving in swarms. With this aspect, PSO can be represented as a social interaction model [9-13]. In this work, the use of PSO in the design of the cosh window function, which is developed based on the Kaiser window and has better properties, has been proposed. The results obtained from the developed method are given by tables and graphs and the method has been shown successful. II. WINDOW FUNCTION Window functions are used to eliminate Gibbs' oscillations that occur in FIR filter design. In the window function design with PSO, the design of the window has been realized by an alternative method without requiring the design equations. The window functions are classified according to their spectral characteristics and compared the other windows according to these characteristics. The frequency spectrum of a window can be defined as follows. ( ) ( ) ( )j T j W e A e    ( 1) /2 0 ( ),j N T j T e W e    (1)
  • 2. w w w . i j m r e t . o r g I S S N : 2 4 5 6 - 5 6 2 8 Page 7 International Journal of Modern Research in Engineering and Technology (IJMRET) www.ijmret.org Volume 3 Issue 10 ǁ October 2018. ( 1) / 2 1 (0) 2 ( )cos N n nT nT        where 0 ( )j T W e  is called the amplitude function of the window, N is the window length and T is the sampling period. In the equation 1, A(w) = |W0ejwT | represents the window's magnitude and θ(w)=-w(N- 1)T/2 represents the window's angle. The normalized amplitude spectrum of a window can be obtained by the following equation [5]. 𝑊𝑁 𝑒 𝑗𝑤𝑇 | = 20𝑙𝑜𝑔10(|𝐴 𝑤 |/|𝐴 𝑤 | 𝑚𝑎𝑥 ⁡) (2) The spectral parameters are the mainlobe width (wM), the null-to-null width (wN), the ripple ratio (R) and the sidelobe roll off ratio (S), which determine the window performance. From these parameters, the mainlobe width determines the width of the transition band between the pass and stop band. The ripple ratio determines the ripple at the pass and stop band, the sidelobe roll of ratio determines the distribution of the energy in the stop band. A. Kaiser Window At the discrete time, the Kaiser window can be defined as follows 2 0 0 2 ( 1 ) 1 1[ ] ( ) 2 0 k k n I N Nw n n I otherwise               (3) whereαk is the adjustable parameter, I0(x) is the first kind zero-order Bessel function, and the power series expansion is as follows. 2 0 1 1 ( ) 1 ! 2 k k x I x k                (4) B. Cosh Window The cosh window, which is another two parameter window function, is obtained by writing a cosh function with similar characteristics instead of I0 (x) function [5]. 2 2 cosh( 1 ) 1 1[ ] cosh( ) 2 0 c c n N Nw n n otherwise               (5) III. PARTICLE SWARM OPTIMIZATION PSO is an optimization algorithm inspired by birds and fish moving in flocks. In the PSO algorithm, each individual is called a particle and these particles constitute a swarm. Individuals in the swarm are constantly interacting with other individuals to achieve the result and with this interaction they update their current position and speed thus creating a social model. Each individual adjusts their position to the position of the best individual in the herd, taking advantage of previous experience. PSO algorithm is also an evolutionary algorithm like Genetic Algorithm (GA). However, PSO is faster than GA because there are no operators such as crossover and mutation. The Basic PSO algorithm: Every individual in the swarm can be a solution and every individual is represented by the dimension vector [9,10]. 𝑥𝑖 = 𝑥𝑖1, 𝑥𝑖2, 𝑥𝑖3, … . , 𝑥𝑖𝐷 ∈ 𝑆 (6) The speed of each individual in the herd is randomly generated. Each individual has the same speed as in Equation 7. 𝑣𝑖 = 𝑣𝑖1, 𝑣𝑖2, 𝑣𝑖3,… . , 𝑣𝑖𝐷 (7) The best local and global positions are determined. Here, the position of each individual is defined as follows. 𝑝𝑖 = 𝑝𝑖1, 𝑝𝑖2, 𝑝𝑖3, … . , 𝑝𝑖𝐷 ∈ 𝑆 (8) Each individual in the PSO adjusts its position around the individual to Pbest, global and gbest. The speed and position information of the individuals are given in equations 9 and 10. 𝑣𝑖 𝑡+1 = 𝑣𝑖 𝑡 + 𝑐1 𝑟𝑖1 ∗ 𝑝𝑏𝑒𝑠𝑡𝑖 𝑡 − 𝑥𝑖 𝑡 +𝑐2 𝑟𝑖2 ∗ (𝑔𝑏𝑒𝑠𝑡 − 𝑥𝑖 𝑡 ) (9) 𝑥𝑖 (𝑡+1) = 𝑥𝑖 (𝑡) + 𝑣𝑖 (𝑡+1) , 𝑖 = 1, … … , 𝑃 (10)
  • 3. w w w . i j m r e t . o r g I S S N : 2 4 5 6 - 5 6 2 8 Page 8 International Journal of Modern Research in Engineering and Technology (IJMRET) www.ijmret.org Volume 3 Issue 10 ǁ October 2018. Here c1 and c2 are two social and cognitive acceleration parameters. r1 and r2 are random numbers between [0,1]. The general PSO algorithm is as given below. Algorithm 1. Particle Swarm optimization algorithm Set the initial value of P (swarm size) and c1,c2 (acceleration constants) Set t=0 Generate 𝑥𝑖 (𝑡) and 𝑣𝑖 (𝑡) randomly Evaluate the fitness function 𝑓(𝑥𝑖 𝑡 ) Set 𝑔𝑏𝑒𝑠𝑡(𝑡) (where gbest is the best glocal solution) Set 𝑝𝑏𝑒𝑠𝑡𝑖 𝑡 (where pbestis the best local solution) repeat 𝑣𝑖 (𝑡+1) = 𝑣𝑖 (𝑡) + 𝑐1 𝑟𝑖1 ∗ 𝑝𝑏𝑒𝑠𝑡𝑖 𝑡 − 𝑥𝑖 𝑡 +𝑐2 𝑟𝑖2 ∗ (𝑔𝑏𝑒𝑠𝑡 − 𝑥𝑖 𝑡 ) 𝑥𝑖 (𝑡+1) = 𝑥𝑖 (𝑡) + 𝑣𝑖 (𝑡+1) , 𝑖 = 1, … … , 𝑃 Evaluate the fitness function 𝑓(𝑥𝑖 𝑡+1 ) if𝑓(𝑥𝑖 𝑡+1 ) ≤ 𝑓(𝑝𝑏𝑒𝑠𝑡𝑖 𝑡 )then 𝑝𝑏𝑒𝑠𝑡𝑖 𝑡+1 = 𝑥𝑖 𝑡+1 else 𝑝𝑏𝑒𝑠𝑡𝑖 𝑡+1 = 𝑝𝑏𝑒𝑠𝑡𝑖 𝑡 end if if𝑥𝑖 𝑡+1 ≤ 𝑓(𝑔𝑏𝑒𝑠𝑡 𝑡 )then 𝑔𝑏𝑒𝑠𝑡(𝑡+1) = 𝑥𝑖 𝑡+1 else 𝑔𝑏𝑒𝑠𝑡(𝑡+1) = 𝑔𝑏𝑒𝑠𝑡 𝑡 end if t=t+1 until termination criteria are satisfied. Show the best particle IV. DESIGN RESULTS The cosh window function designed with PSO for N = 15 and alphac= 1.73 is given in Figure 1 and the graphical data for graph is given in Table 1. Error variation is given in Figure 2. Figure 1: Amplitude response of cosh window for N=15 and alphac=1.73 Table 1: Obtaıned Results Cosh Window WR S R N=15, alphac=1.73 0.478 11.23 -20.97 Figure 2: Error variation V. CONCLUSION In this study, the cosh window function is designed by using PSO algorithm. The success of the developed method has been made for the cosh window which is preferred in the literature in terms of its properties. The obtained results are shown in graphical form. The results showed that the method used was successful in response to the window amplitude.
  • 4. w w w . i j m r e t . o r g I S S N : 2 4 5 6 - 5 6 2 8 Page 9 International Journal of Modern Research in Engineering and Technology (IJMRET) www.ijmret.org Volume 3 Issue 10 ǁ October 2018. REFERENCES [1] P. Lynch, “The Dolph-Chebyshev window: a simple optimal filter,” Monthly Weather Review, vol. 125, pp. 655–660, 1997. [2] J.F., Kaiser, “Nonrecursive digital filter design using I0-sinh window function”, 1974, in proc. IEEE Int. Symp. Circuits and systems (ISCAS’74). pp. 20-23. [3] T., Saramaki, “A class of window functions with nearly minimum sidelobe energy for designing FIR filters”, 1989, in proc. IEEE Int. Symp. Circuits and systems (ISCAS’89). pp. 359-362. [4] K. Avci, A. Nacaroğlu, “A new window based on exponential function”, IEEE Ph.D. Research in Microelectronics and Electronics (PRIME 2008), June Istanbul, Turkey, pp. 69-72, 2008. [5] K. Avci, A. Nacaroğlu, “Cosh window family and its application to FIR filter design”, International Journal of Electronics and Communications-AEU, vol. 63, pp. 906-917, 2009. [6] S.W.A. Bergen, A. Antoniou, “Generation of Ultraspherical window functions”, 2002, in XI European Signal Processing Conference, Toulouse, France, September, vol. 2, pp. 607-610. [7] S.W.A. Bergen, A. Antoniou, “Design of Ultraspherical Window Functions with Prescribed Spectral Characteristics”, EURASIP Journal on Applied Signal Processing, vol. pp.13 2053-2065, 2004. [8] S.W.A. Bergen, A. Antoniou, “Design of Nonrecursive Digital Filters Using the Ultraspherical Window Function”, EURASIP Journal on Applied Signal Processing, vol. 12, pp. 1910-1922, 2005. [9] M. Y.Ozsaglam, M.Cunkas, “Particle Swarm Optimization Algorithm for Solving Optimızation Problems”, Politelnikdergisi, vol. 11, 2008. [10] R.J. Kuo, Y.S. Han, “A hybrid of genetic algorithm and particle swarm optimization for solving bi-level linear programming problem – A case study on supply chain model”, Applied Mathematical Modelling, vol. 3,5 pp. 3905–3917, 2011. [11] A. Aggarwal, T. K. Rawat, D. K. Upadhyay, “Design of optimal digital FIR filters using evolutionary and swarm optimization techniques”, AEU - International Journal of Electronics and Communications, vol.70, 4, pp. 373-385, 2016. [12] F. Javidrad, M. Nazari, “A new hybrid particle swarm and simulated annealing stochastic optimization method”, Applied Soft Computing, vol. 60, pp. 634-654, 2017. [13] J. Cervantes, F. Garcia-Lamont, L.Rodriguez, A. López, J. R. Castilla, A. Trueba, “PSO-based method for SVM classification on skewed data sets”, Neurocomputing, vol. 228, pp. 187-197, 2017.