Design of Window Function in LABVIEW Environment
Design of Window Function in LABVIEW Environment
ABSTRACT: Eliminating Gibbs phenomenon, which occurs during design of Finite Impulse Response (FIR)
digital filter and which is undesirable, is very important in order to provide expected performance from digital
filter. Window functions have been developed to eliminate these oscillations and to improve the performance of
the filter in this regard. In this work, an application was developed for designing window function using
LABVIEW which is a graphical programming environment produced by National Instruments. LABVIEW offers
a powerful programming environment away from complexity. In this work, the performances of cosh and
exponential window functions, which are designed by using the possibilities of LABVIEW in programming, are
examined and the situations that will occur under various conditions are compared.
KEYWORDS -LABVIEW, Window Function, Cosh Window Function, Exponential Window Function
oscillations occur. Window functions are used to Ripple ratio should be smaller.
eliminate these oscillations. The mathematical Sidelobe decline rate should be wide [8].
expressions of these oscillations were made by The commonly preferred window functions in
Gibbs in 1899 [2]. On the basis of these findings, the literature can be summarized as follows:
L. Fejer has carried out studies to destroy the
oscillations [3]. Lanczos has improved Fejer's Kaiser Window Function
proposal [4]. Adams has suggested a window
function as a result of his work [5]. The works of
improving the window functions are continued 2𝑛 2
today [6-13]. 𝐼0 𝛼𝑘 1 −
𝑁−1 𝑁−1
𝑤𝑛 = , 𝑛 ≤ (1)
𝐼0 𝛼𝑘 2
There are many uses of window functions 0 , 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
in the literature. Image processing, digital filter
design and digital beamforming are just a few of
them. When window functions are classified 𝛼𝑘 is an adjustable parameter. 𝐼0 is the Bessel
according to their parameters, they consist of two function and its explanation is as follows:
main parts: Fixed Window Functions, Adjustable
Window Functions. Fixed window functions can 1 𝑥 𝑘 2
only adjust the main lobe width of the window 𝐼0 𝑥 = 1 + (2)
𝑘 2
function with the window length parameter (N).
Since the adjustable window functions have two or Exponential Window Function
more parameters, many spectral parameters of the
window function can be set. The spectral 2𝑛 2
representation of the window functions in general 𝑒𝑥𝑝 𝛼𝑒 1 − 𝑁−1 𝑁−1
𝑤𝑛 = , 𝑛 ≤ 3
is shown below: 𝑒𝑥𝑝 𝛼𝑒 2
0 , 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
III. LABVIEW
Figure6:N=51 𝛼𝑒 = 0.2 exponential window spectrum Figure8 : N=21 𝛼𝑒 = 2.2 exponential window spectrum
Table1: Data for cosh and exponential windows for Table2: Data for cosh and exponential windows for
N=51 and α=0.2 N=21 and α=2.2
Windows N α R ωR S Windows N α R ωR S
V. CONCLUSION
This work presents the results of the cosh
and exponential window functions that are
designed in LabVIEW, which are included in the
class of adjustable window functions. Spectrums
belonging to these window functions, which occur
in different window lengths and different α values,
are included in the study. The effects of adjustable
parameters in window functions on the amplitude
spectrum are observed and interpreted. There are
many window design techniques in the literature
[15]. Presented as a new option in the design
Figure7:N=21 𝛼𝑐 = 2.2 cosh window spectrum methods in the literature, LabVIEW has succeeded
in window design. This work can be improved by
exploiting the advantages of LabVIEW in
programming.
REFERENCES
[3] L. Fejer, Sur les fonctions bornees et integrables, [10] K. Avci, A. Nacaroğlu, Modification of Cosh
Comptes Rendus Hebdomadaries, Seances de window family. Proc. of Third International
l'Academie de Sciences, Paris, 131 984-987, 1900. Conference on Information and
CommunicationTechnologies (ICTTA’08),
Damascus, Syria, 291-292 (2008), April.
[4] J C. Lanczos, Applied Analysis. Van Nostrand,
Princeton, NJ. (1956).
[11] A. Kumar, B. Kuldeep, Design of M-channel cosine
modulated filter bank using modified Exponential
[5] J.W. Adams, A new optimal window. IEEE window, Journal of the Franklin Institute, Volume
Transactions on Signal Processing. 39 (8) (1991) 349, Issue 3, Pages 1304-1315, 2012.
1753-1769.
[12] Ramkumar Soni, Alok Jain, Rajiv Saxena, An
[6] K. Avci, A. Nacaroğlu., A new window based on optimized design of nonuniform filter bank using
exponential function, IEEE Ph.D. Research in variable-combinational window function, AEU -
Microelectronics and Electronics (PRIME 2008). International Journal of Electronics and
June. Istanbul, Turkey, 69-72 (2008). Communications, Volume 67, Issue 7, Pages 595-
601, 2013.