Comparative Performance Study of Finite Impulse Response Bandpass Filters Designed Using Hamming and Kaiser Windows

Abstract

In the field of digital communications, a filter is a device that selectively attenuates any unwanted component of a received signal and essentially changes the signal waveform in the desired manner. In this paper, we study a finite impulse response (FIR) bandpass filter using Hamming and Kaiser window methods and compare them for further analysis using Matlab software. The parameters used for the design of this filter are sampling frequency, cutoff frequency and filter order. This study shows good conformity of these two methods at the passband level and a slight difference at the lower and upper attenuation band level.

Share and Cite:

Tsahat, C. , Moukengue, C. , Mafouna, K. and Ngoulou, A. (2025) Comparative Performance Study of Finite Impulse Response Bandpass Filters Designed Using Hamming and Kaiser Windows. Open Journal of Applied Sciences, 15, 3352-3362. doi: 10.4236/ojapps.2025.1510216.

1. Introduction

Digital filtering is much more widely used in digital signal processing. Digital filters are used in several fields such as seismic signal processing systems, biomedical systems, audio and video processing systems, and communication systems [Adel Jalal] [1]. Depending on the type of impulse response, digital filters can be divided into two categories: finite impulse response (FIR) filters and infinite impulse response (IIR) filters [2]. In recent years, several studies have been carried out with the aim of reducing lower lobe levels and several windowing methods have been developed to design digital filters.

In 2013, Tahseen Flaih et al. [2] designed a multiple accumulation (MAC) FIR digital filter from a MATLAB program. These results with Xilinx MAC filter show a significant reduction in the multiplication process, hence low power consumption. In 2015, Mohsin Iqbal et al. [3] analyzed the filtering effect of different digital filters using the designed FIR digital filters to process the input signal.

In 2018, Adel Jalal Yousif et al. [1] designed a digital finite impulse response (FIR) filter involving multiparameter optimization. These simulation results show that the proposed WIPSO algorithm is better than GA and PSO in terms of magnitude response accuracy and convergence speed for the design of a 24th-order high-pass FIR filter.

In [4], FIR filters are used for ECG signal processing, dealing with the de-noising of the signal itself. This leads to an increase in the signal-to-noise ratio (SNR) and decrease in the bit error rate (BER). The use of FIRs in the field of hearing aid design turns out to be a fairly recent topic. In ref. [5], the authors propose a system of selective noise suppression in hearing aids, in order to improve the sound that is within the range of audible frequencies for the patient in question.

Regarding radar tracking systems, FIR filters [6] are used for moving target segmentation (based on target velocity).

In 2020, Ibrahim Abdulhadi Sulaiman [7] designed and studied a low-pass filter using Rectangular, Bartlett, Hamming, Hanning, Tukey, and Kaiser Window algorithms and compared them with each other for further analysis with matlab software.

In 2023 R. Avanzato et al. [8], proposed a new window-based approach for the design of FIR filters, the proposed method provides a very good solution for the control of critical frequencies.

The design of digital filters with good frequency performance (steep slope, effective attenuation, etc.) and efficient implementation is a classic but still current problem, particularly in signal processing, telecommunications and embedded systems.

In order to explore methods for expanding the bandwidth of a filter, we have made a comparative study of finite impulse response bandpass filters using the hamming and kaiser methods with the help of Matlab software.

2. Theoretical Study

The synthesis of RIF filters amounts to calculating its coefficients (the coefficients of H(z)), there are two main methods of synthesis of RIF filters the time windowing method and the sampling method [9].

2.1. Design Methods of FIR Filter

There are several methods of FIR filter, for example: window function design method, optimization design method, frequency sampling design method. Window function design technique is one of the main FIR filter design methods, because of its simple operation and easy physical meaning, window function method has become a method for widely use in engineering practice.

There are six kinds of basic window function; they are Rectangular window, Triangular window, Han window, Hamming window, Blackman window and Kaiser Window.

The basic idea of all window function design method is to select the filter on the basis of suitable and ideal frequency characteristics, and then its impulse response was truncated to obtain a FIR filter of linear-phase and cause and effect. Therefore the focus of this method is to select an appropriate window function and a suitable ideal filter [10] [11].

Suppose the ideal response of desired filter is

h d ( e jω )= n= h d ( n ) e jnω

The design of FIR filter lies in finding a transfer function as shown in Figure 1.

Figure 1. Direct structure of FIR filter [10] [11].

H( e jω )= n=0 N1 h d ( n ) e jnω (1)

To approximate H ad ( e jω ) , suppose

h d ( n )= 1 2π x x H d ( e jω ) e jω dω (2)

The rectangular frequency characteristics of H d ( e jω ) so h d ( n ) must be an infinite sequence and non-causal. The h( n ) of FIR filter to be designed is inevitable finite; infinite h d ( n ) was approximated by using finite h( n ) .

The most effective way is to cut off h d ( n ) , or h d ( n ) was intercepted by using finite window function sequence w( n ) , i.e.

h( n )= h d ( n )ω( n ) (3)

So the shape and length of Window function sequence were very critical. In the design process, window function w( n ) was selected according to requirements of transition bandwidth and stop-band attenuation of FIR filter [10] [11].

2.2. Synthesis by the Window Method

FIR filter design methods are based on a direct approximation of the desired frequency response of the discrete-time system. For this method, the filter coefficients correspond to the impulse response of the filter to be designed. To be able to process different signals, it is necessary that these signals be finite. However, this is not always the case for all signals. The window method is often used to create these types of finite signal sequences from infinite sequences. This “cutting” of an infinite sequence to create a finite sequence, however, affects the frequency range. Non-ideal effects, which are observed due to the finite number of filter coefficients, can be mitigated by using a weighting window. The principle is that the filter coefficients in the middle are weighted more heavily than the coefficients at the beginning and end. There are several window functions that define the maximum achievable stopband attenuation.

2.2.1. Rectangular Window

The limited knowledge of the signal is equivalent to multiplying it by a time window function called a rectangular window represented by:

w R ( n )={ 1 0nN1 0 elsewhere (4)

The function H R ( Ω ) , is the Fourier transform of the rectangular window and called spectral window.

H R ( Ω )= n=0 N e jΩn (5)

This truncation of infinite signals to obtain signals of finite duration leads to undesirable effects. A truncated signal is therefore the multiplication of a signal of infinite duration by a rectangular window, that is to say [Adel Jalal]:

h N ( n )=h( n ) ω R ( n )={ h( n ) 0nN1 0 Elsewhere (6)

2.2.2. Triangular or Bartlett Window

The Bartlett window provides a maximum attenuation of 25 dB and a transition band of width

Δω= 6.1π N

ω R ( n )={ 2n N1 0n N1 2 2 2n N1 N1 2 nN1 0 Elsewhere (7)

2.2.3. Blackman Window

The Blackman window provides a limiting attenuation of 74 dB and a transition band of width

Δω= 11π N

ω R ( n )={ 0.420.5cos( 2πn N1 )+0.08cos( 4πn N1 ) 0nN1 0 Elsewhere (8)

2.2.4. Hamming Window

The Hamming window provides a maximum attenuation of 53 dB and a transition band of width

Δω= 6.1π N (9)

ω R ( n )={ 0.540.46cos( 2πn N1 ) 0nN1 0 Elsewhere (10)

2.2.5. Hanning Window

The hanning window provides a limiting attenuation of 44 dB and a transition band of width

Δω= 6.2π N (11)

ω R ( n )={ 1 2 [ 1cos( 2πn N1 ) ] 0nN1 0 Elsewhere (12)

2.2.6. Kaiser Window

The width of the main lobe is inversely proportional to the length of the filter. The attenuation in the side lobe is, however, independent of the length and is function of the type of the window. A complete review of many window functions and their properties was presented by Harris [12] [13]. Therefore the length of the filter must be increased considerably to reduce the main lobe width and to achieve the desired transition band. Kaiser has chosen a class of windows having properties closely approximating those of the prolate spheroidal wave functions. This family of windows, known as the Kaiser windows is defined by

w k ( β,n )={ I o { β [ 1 ( 2n N1 ) 2 ] 1 2 } I o ( β ) N1 2 InI N1 2 0 otherwise (13)

where N is window length and I o ( x ) is the modified Bessel function of the first kind of order zero, given by:

I o ( x )= k=0 x [ ( x 2 ) 2 k! ] 2 (14)

The Kaiser window provides the designer considerable flexibility in meeting the filter specifications.

Finding the value of β in the Kaiser window is a tuning process that involves adjustments to achieve the desired characteristics of the window for signal processing applications. This is often done using practical or theoretical methods to select a suitable β value based on the requirements of the task or signal analysis. [14]

β={ 0.1102( A sb 8.7 ) for A s >50 0.5842 ( A sb 21 ) 0.4 +0.07886( A sb 21 ) for21 A s 50 0 for A s <21 (15)

Determining the filter order in the Kaiser window is a crucial step in designing a digital filter or other filters. The calculation of the filter order often involves specifying the frequency response characteristics desired for the filter

N= 2.056 A sb 16.4 2.285( Δω ) (16)

Kaiser Window β = 4.54

The Kaiser window provides a maximum attenuation of 50 dB and a transition band of width

Δω= 5.8π N (17)

ω K ( n )={ I o β N 2 4 ( n N1 2 ) 2 I o ( β ) for0nN1 0 Elsewhere (18)

where I o is the Bessel function modifying the zero order and β the parameter characterizing the energy exchange between the main lobe and the secondary lobes.

I o ( x )=1+ m=1 [ 1 n! ( x 2 ) n ] 2 (19)

3. Results and Discussions

The window method allows the synthesis of finite impulse response filters based on specifications primarily targeting the bandwidth, the attenuation band and the transition band. This implementation always leads to parasitic ripples in the frequency response. Its main advantage is the simplicity of calculating the coefficients.

For this, we will limit our work to the study of the two Hamming and Kaiser windows for the synthesis of low-pass and band-pass filters from the point of view of ripple A a =50dB .

The synthesis approach using the windowing method of RIF filters knowing the specifications follows the following procedure:

  • Choose the ideal filter you want;

  • calculation of characteristic pulsations and frequencies ( Ω c et Fc) located at the center of the transition bands;

  • search for the RI h R ( n ) of the ideal filter; if this is not known, it can be calculated by the Fourier transform;

  • choice of window w( n ) satisfactory from the point of view of attenuation of the stop band;

  • calculation of the order of the filter N knowing the width of the transition band Δω ;

  • Calculation of the filter coefficients by multiplying the RI by the chosen window.

The low-pass and band-pass filters we are going to design meet the following specifications respectively:

  • for the low-pass filter

{ F e =1kHz ω p =0.3π:0dB ω a =0.4π: A a =50dB

With F e is the sampling frequency

ω p est la pulsation passante

ω a is the attenuation pulse

  • For the bandpass filter

{ ω p1 =0.35π; w p2 =0.65π:0dB ω S1 =0.2π; w S2 =0.8π:50dB

With ω p1 is the first passing pulsation

ω p2 is the second passing pulsation

ω s1 is the first attenuation pulsation

ω s2 is the second attenuation pulsation

3.1. Bandpass Filter

  • Calculation of characteristic pulsations and frequencies ( ω c et Fc) located at the center of the transition bands:

ω c i = ( ω p i + ω a i )/2 ω c 1 =0.275π rad/s and ω c 2 =0.725π rad/s

And f c i =   ω c i 2π f c 1 =0.14Hz and f c 2 =0.36Hz

f p i =   ω p i 2π and f a i =   ω a i 2π with

{ f p 1 =0.175Hz f p 2 =0.325Hz and { f a 1 =0.1Hz f a 2 =0.4Hz

  • Calculation of the width of the transition band:

Δ Ω c i =2π Δ F c i F e with Δ F c i =| f a i f p i |

Since we have two different stop bands, the calculations are done with the stop band with the highest attenuation. Similarly, the width of the transition band chosen is the one with the smallest value.

  • Finding the RI h pB ( n ) of the ideal filter:

h pB ( n )= sin( ω c 2 n )sin( ω c 1 n ) πn

So

h pB ( n )= sin( 0.725πn )sin( 0.275πn ) πn

  • Calculation of the filter coefficients h( n ) by multiplying the RI by the chosen window

h( n )= sin( 0.725πn )sin( 0.275πn ) πn w( n )

3.1.1. Hamming Windowing Method

The Hamming window provides a maximum attenuation of 53 dB and a transition band of width

(a)

(b)

Figure 2. Hamming bandpass filter of order N = 45 (a) Frequency response; (b) Impulse response.

ΔΩ= 6.6π N N= 6.6π ΔΩ

Figure 2 shows the evolution of the amplitude and pulsation of the bandpass filter as a function of frequency for N = 45. We see that the level of the side lobes of the filter is around 50 dB. The width of the main lobe is 0.6 Hz.

As shown in Figure 1 we have two pulsations respectively whose attenuation band ω s1 =0.2π et ω s1 =0.8π and the cut-off pulse is ω c =0.5π what shows a perfect agreement between the simulation and the specifications.

3.1.2. Kaiser Windowing Method

The Kaiser window provides a maximum attenuation of -50 dB and a transition band of width

Δω= 5.8π N .

This window is one of the most effective N= 5.8π ΔΩ

Figure 3 shows the evolution of the amplitude and pulsation of the bandpass filter as a function of frequency For N = 42.

(a)

(b)

Figure 3. Kaiser bandpass filter of order N = 42 (a) Frequency response; (b) Impulse response.

Figure 3(a) illustrates the evolution of the amplitude of the N = 42 order bandpass filter as a function of frequency.

As shown in Figure 3(b), we have two pulsations respectively in the attenuation band ω s1 =0.2π et ω s1 =0.8π , ω p1 =0.35π and ω p2 =0.65π in the bandwidth with the cut-off pulse ω c =0.35π .

3.2. Comparative Study of Filters

Figure 4 shows a comparison of the bandpass filter with both Hamming and Kaiser windows.

Figure 4. Bandpass filter by the Hamming and Kaiser windowing method.

The two hamming (blue) and kaiser (red) curves are the same at the passband level and slightly different at the lower and upper attenuation band level.

4. Conclusion

In this article, we are interested in the synthesis of the bandpass filter with the two windows Hamming and Kaiser, then a comparative study was made. This study was made from the Matlab software. First, we studied separately this bandpass filter of Hamming and Kaiser, then we compared the responses of the Hamming and Kaiser filters on the same figure, a good agreement is observed at the level of the bandwidth and a slight difference at the level of the lobes.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Yousif, A.J., Jabbar, G. and Subhi, A. (2018) Design of Linear Phase High Pass FIR Filter Using Weight Improved Particle Swarm Optimization. International Journal of Advanced Computer Science and Applications, 9, 270-275.[CrossRef
[2] Hassan, T.F. and Abidalsatar H.S. (2013) Design and Simulation of Programmable Finite Impulse Response (PFIR) Digital Filter Using MATLAB And MAC Filter. Journal of Engineering and Development, 17, 160-171.
[3] Iqbal, M., Muslim, N., Ahamd, H. and Ullah (2025) Analysis and Design of FIR Filters using Window Fonction in Matlab. International Journal of Computer Engineering and Information Technology, 3, 42-47.
[4] Padmavathy, T.V., Saravanan, S. and Vimalkumar, M.N. (2020) Partial Product Addition in Vedic Design-Ripple Carry Adder Design Fir Filter Architecture for Electro Cardiogram (ECG) Signal De-Noising Application. Microprocessors and Microsystems, 76, Article 103113.[CrossRef
[5] Rammohan, S.R., Jayashri, N., Bivi, M.A., Nayak, C.K. and Niveditha, V.R. (2020) High Performance Hardware Design of Compressor Adder in DA Based FIR Filters for Hearing Aids. International Journal of Speech Technology, 23, 807-814.[CrossRef
[6] Ash, M., Ritchie, M. and Chetty, K. (2018) On the Application of Digital Moving Target Indication Techniques to Short-Range FMCW Radar Data. IEEE Sensors Journal, 18, 4167-4175.[CrossRef
[7] Sulaiman, I.A., Hassan, H.M., Danish, M., Singh, M., Singh, P.K. and Rajoriya, M. (2022) Design, Comparison and Analysis of Low Pass FIR Filter Using Window Techniques Method. Materials Today: Proceedings, 49, 3117-3121.[CrossRef
[8] Avanzato, R., Beritelli, F., Capizzi, G. and Sciuto, G.L. (2023) A New Design Methodology for Window‐Based FIR Filters. Electronics Letters, 59, 1-3.[CrossRef
[9] Gharbi, K. (2013) Design of RII Filters by Reduced Models Based on Orthonormal Bases “Memory “. Ziane Achour-Djelfa University.
[10] Srivastava, S., Mehra, R. (2014) Design and Analysis of Band Pass FIR Filter Using Different Window Techniques. International Journal of Engineering Research & Technology (IJERT), 3, No. 2.
[11] Liu, W. (2008) Design of FIR Digital Filter Based on DSP. Guizhou University.
[12] Harris, F.J. (1978) On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform. Proceedings of the IEEE, 66, 51-83.[CrossRef
[13] Arya, R. and Jaiswal, S. (2015) Design of Low pass FIR Filters using Kaiser Window Function with Variable Parameter Beta (β). International Journal of Multidisciplinary and Current Research, 3, 220-224.
[14] Tangkittipon, P. (2024) Designing a Frequency Filter with Optimal Parameters for the Kaiser Window Using an Evolutionary Heuristic with a Bee Colony Algorithm. Przegląd Elektrotechniczny, 1, 79-84.[CrossRef

Copyright © 2025 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.