You are on page 1of 6

2018 International Conference on Computing, Mathematics and Engineering Technologies – iCoMET 2018

Analysis of Signal Noise Reduction by Using Filters


Hina Magsi Ali Hassan Sodhro
Department Of Electrical Engineering Department Of Electrical Engineering
Sukkur Institute of Business Administration, University Sukkur Institute of Business Administration, University
Sukkur, Pakistan Sukkur, and DISP LAB, University Lumiere Lyon2, Lyon,
hina.mece17@iba-suk.edu.pk France
ali.hassan@iba-suk.edu.pk, alihassan.sodrho@uni-lyon2.fr
Faheem Akhtar Chachar
Department Of Electrical Engineering Saeed A.Khan Abro
Sukkur Institute of Business Administration, University Department of Electrical Engineering
Sukkur, Pakistan Sukkur Institute of Business Administration, University
faheem.akhtar@iba-suk.edu.pk Sukkur, Pakistan
saeed.abro@iba-suk.edu.pk

Abstract: This paper designs and compares three different I. INTRODUCTION


filtering methods to reduce the effects of noise in medical health
applications such as an electrocardiogram (ECG). The low pass
One of the most challenging problems in digital signal
filter excludes the noise at a low-level, moving average filter takes processing is to receive the information signal without any loss.
average values of the signal, and Finite Impulse Response (FIR) It is important to reduce the attenuation produces by random
removes the high frequency components from the ECG and gives noise and improve the performance of the signal. As we know
the low frequency component which is the desired information that digital signal is not natural phenomena, it is generated by
signal. Simulation results reveal that FIR filter performs better by converting the analog signal into a digital signal. The analog
reducing the attenuation in the ECG signal than low pass filter and signal is uniformly sampled at a sampling rate/Nyquist rate
moving average filters and is appropriate for the medical health fs  2  f max , after that sampled signal is quantized and
applications.
encoded to get the final digital signal. When the signal
Keywords: noise, attenuation, sampling, filter, low-pass, moving transmits through the channel, it faces some random
average, FIR. disturbances due to environment or during analog to digital
conversion process which is normally distributed at the time
termed as AWGN (additive white Gaussian noise). This noise
added to the original information signal and produces the errors
in the information. The noise distorts the information signal
and lowers its quality. Hence, the received contains a mixture
of information and news. The main task is to extract the
original information from a signal that is the most difficult. The
statistics of the noise corrupting a signal are unknown in many
situations and changes with time. Moreover, the power of noise
may be greater than the power of the desired signal being
transmitted [8]. In this paper the filters are proposed to reduce
the attenuation level of signal and get the desired signal. The
filter is a device which shapes the signal waveform in a desired
manner. The main purpose of filters in digital signal processing
is to reduce the noise which improves the performance of the
signal and to extract the desired information from the signal.
There are many different types of filters that are used to reduce
the effects of noise. Like a low pass filter which takes the
lower frequencies and rejects the higher frequencies, moving
average filter that takes average values at the time and the FIR
filter which allows low frequency components. These three
types of filters have been proposed to improve the accuracy
and efficiency of the information signal.
The main contribution of this paper is to design the low-
pass, FIR and moving average filters for noise reduction in
ECG signal.

HEC Islamabad and Sukkur IBA, University, Sukkur, Sindh, Pakistan.

978-1-5386-1370-2/18/$31.00 ©2018 IEEE


Remaining of the paper is organized as follows. Section II, level of window sizes it has a good performance in RGB
presents related work, Section III, discusses the proposed filters images at low noise densities and in high noise densities, but
used in this paper. Section IV proposes experimental results. with higher windows sizes it introduced the blurring effect of
Section V presents the comparison of three filters and paper is the noise.
concluded in section VI.
A group of students from Australia and Bangladesh [8]
presents the performance and analysis the noise reduction
II. LITERATURE REVIEW through an adaptive filter using the NLMS algorithm. The
Many researchers have proposed different algorithms for system of adaptive filter depends on the effects of step size,
noise reduction and extracting original information signal. The number of filter coefficients, number of samples and input
usage of filters has big volume of literature. In this paper, some noise level by considering a speech signal. The parameters
of the work has been presented. individually showed best performance having optimum values.
Kai Siedenburg and Monika Dorfler [1] propose the audio IEEE members Andersen and Marc [7] propose adaptive
denoising by thresholding time-frequency. The general time-frequency analysis scheme using an asymmetric window.
framework of time-frequency soft-thresholding has been This technique is suitable for audio noise reduction in the low
presented to improve denoising quality. It had been also shown delay of 0 to 4ms and less computational complexity. The
that simple, non-iterated operators perform better as compared application is the real time sound devices. The reduction in the
to cutting edge method when evaluating SNR. delay is obtained by applying a FIR filter to the signal as a gain
and computational complexity reduced by using FFT
Pragati Agrawal and Jayendra Singh Verma [3] develop technique.
different types of linear and nonlinear filters for noise reduction
from corrupted images. The purpose of using these filters is to Tahir, Iqbal & Abdul Samee [10] design the removal of
provide better performance and eliminating the impulse noise noise using various filters in MRI (Magnetic Resonance
or Gaussian noise and remove errors from highly corrupted Imaging) brain image. When capturing MRI images, these are
images. Radhika Bhagat and Ramandeep Kaur [2], present the affected by different types of noise. They used different filters
audio filtering using extended high pass filter. There have been and conclude that to improve the performance of MRI image
several techniques of audio filtering like spectral subtraction, depends on the type of the filtering technique which is used.
Dolby noise reduction, use of low-pass and high pass filter, Median filter gives better result in the MRI brain image as
FIR and IIR filtering. The different formulas and difference compared to others.
equations have been designed for efficient implementation of Salih proposed the effects of low pass filter in noise
time varying filter applications. Manjeet Singh and Er. Naresh reduction of audio signal. He taken the sound sample in wave
Kumar Garg [4] design the digital filters for removal of noise format and passed that signal through low pass filter and
signal. The time domain and frequency domain representation analysis the noisy audio signal by taking different frequency
of the signal have been performed using fast Fourier transform and ripple factor [11]. The filter implements difference
technique. The Butterworth filter is used to reduce the noise equations. These equations and their function in terms of low
from signals with different frequency and ripple factor. Er. pass filter are explained. He concludes that low pass filter
Mannu Singla and Mr. Harpal Singh [5] present the noise reduces the noise upto greater extent when it’s implemented.
reduction using Butter worth, Chebyshev and Elliptical Filters.
The noise reduction system is dependent on the application. In Djurovic Presented the removal of salt and pepper noise
some cases, the requirement is to increase the overall speech from digital images. He gives his results for block matching 3D
quality. Adaptive algorithms are designed to analyze the filtering (BM3D) method to the decision based adaptive
waveform of the background no neural noise, then based on the median filter [12]. He further observed that the results are good
specific algorithm generate a signal that will either phase shift and reduced noise level upto 2dB in both grayscale and color
or inverts the polarity of the original signal. images.
Students of Artificial Intelligence Research Unit, faculty of Sonia et al [13] proposed bilateral filter and minimum mean
engineering Malaysia [6] propose and study the methods and square error filter for noise reduction. It includes two main
techniques used for noise reduction in audio applications. The steps one is generation of reference image from noisy image to
best filter is the Butterworth IIR filter that takes less memory extracts the patches and other is to apply bilateral filter to each
and gives a flat magnitude response. The best method applied patches. This has benefit that it do not affects the image
to it is a Hidden Markov Model. For noise filtering, adaptive original appearance. The algorithm has been tested at low,
filter is the best choice and it can be used with different method medium and high noise density to check the performance of
to improve the performance of the audio signals. color images. This paper concludes that bilateral filter is best
for removal of salt and pepper noise from images.
Students of Red Sea University [9] propose the
performance of median filter based on window sizes to remove Priyanka et al proposed the reduction noise in remote
Salt and pepper noise in RGB images. The salt, pepper noise is sensing image by using Kalman filter and recovered the
the type of impulse noise generated when images transmit original image from corrupted image [14]. The Kalman filter is
through the internet or when analog to digital conversion compared with Wiener filter. The remote sensing image faced
occurs. They showed the results which were taken in Gaussian noise, salt and pepper noise. To reduce this noise
MATLAB that when cascading the median filter at the high Kalman filter and wiener filter is used. Kalman filter give
better response and good efficiency in reduction of noise as This signal is sampled at the Nyquist rate which is twice of Original Signal

compared to Wiener filter. maximum frequency (fs=2xfmax=20z). Then the signal is


1 Filtered Signal
120
0.9

Biswas et al designed the technique to improve the 0.8 100

efficiency of Kawahara filter to reduce the noise. The Gabor 0.7


80
0.6
Kuwahara filter has been proposed which decreases the noise

Amplitude (V)
0.5
without harming the edges of information. This filter is

Amplitude(V)
60
cosine signal
1
0.4

integrated with Gabor transformation [15]. This model gives 0.5

0.3 40

Amplitude(m)
0

the better results without losing information at edges and gives -0.5
0.2
20
best quality of images by reducing noise level.
-1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0.1 Time(sec)
Sampling
1

0.5 0 0
0 500 1000 1500 2000 2500 3000 3500 4000 0 500 1000 1500 2000 2500 3000 3500 4000

Amplitude(m)
0 Time (s) Time (s)

III. PROPOSED FILTERS FOR NOISE REDUCTION IN ECG -0.5

-1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

SIGNAL 1
Time(sec)
Quantized signal

Many researchers have worked and proposed different


0.5

Amplitude(m)
0

Fig. Encoding with noise and Filtered Signal


exact

types of filters for noise reduction in the ECG signal. The -0.5

-1
0 20 40 60 80 100
quantized
error

120

results have been taken in MATLAB. As we know that 1


Time(sec)
encoding

information signal is the analog signal continuous in time. To 0.8

0.6

Amplitude(m)
minimize the signal loss the uniform sampling must be taken.
0.4

0.2

We must make sure that quantization error will be minimal.


0
0 500 1000 1500 2000 2500 3000 3500 4000 4500
Time(sec)

This digital signal is now sent through the channel. When the
signal received at the receiver it contains some portion of
AWGN (additive white noise Gaussian noise) which is
combined with the original signal. To extract the original
information from this signal is difficult. The paper proposed Fig. 2 Original Signal with noise
the three different types of filters, i.e. Low pass filter, moving
average filter and FIR filter which reduce the noise from the
signal and original information can be extracted. The low pass quantized at 3 bits and 120 samples. The green points in the
filter is simple and easy to implement. The second filter used is graph of quantization show the quantization error. Finally, the
the moving average filter which is also the simplest and easiest cosine signal is encoded. The conversion is analyzed without
digital filter. The third filter used is the FIR (finite Impulse considering any type of noise. A noiseless channel is assumed,
Response) filter which removes higher frequency components which means the ideal condition is followed while converting
from the signal and gives the output as the low frequency an analog signal to digital one.
components which is the required original signal. A. SIGNAL WITH NOISE
As in practical condition the channel faces the noise
IV. SIMULATION RESULTS (random signal). Now, the noisy channel has been taken by
The Fig: 1 represent the analog to digital conversion. The producing AWGN (Additive White Gaussian Noise). The
information signal is taken at a frequency of 10Hz. graph shows the original signal and noise signal. As in the
graph it can be observed that how noise signal disturbs the
original analog signal. When the signal is sampled at the
Nyquist rate. The samples produce at the signal plus noise
which gives inaccurate sampling. After quantization, the levels
of quantization interrupt by the noise and the quantization error
increases. The encoded signal is also disturbing due to the
noise. The task is to minimize this noise to recover the original
information.

B. LOW PASS FILTER 2


cosine signal with noise

original signal
1 noise signal

1) REMOVE NOISE FROM ENCODING


Amplitude(m)

-1

-2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time(sec)
sampling with noise
2
original signal
1 noisy signal
sampling signal
Amplitude(m)

-1

-2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time(sec)
Quantized signal with noise
1

0.5
Amplitude(m)

-0.5 quantized
error
-1
0 20 40 60 80 100 120
Time(sec)
Encodng with noise
1

0.8

0.6
Amplitude(m)

0.4

0.2

0
0 500 1000 1500 2000 2500 3000 3500 4000 4500
Time(sec)

Fig. 1 Block diagram of Digital Signal

Fig. 3 Signal with noise


To reduce the noise from encoding. The digital signal When the digital signal passes through the moving average
passes through a low pass filter. A low-pass filter is a filter filter the noise of the signal reduced up to 95%. The filtered
that passes signals with a frequency lower than a certain cutoff signal looks like the digital signal.
frequency and attenuates signals with frequencies higher than 2) REMOVE NOISE FROM QUANTIZATION
the cutoff frequency. By using the low pass filter, it reduces In quantization, the quantization error is minimized
the noise from the signal. and noise signal also decreases. The filtered signal gives
2) REMOVE NOISE FROM QUANTIZATION the approximately original analog signal. The information Original Signal

The noise from quantization is reduced when the signal can be extracted from this signal. 0.8
1
quantized signal
error
0.8
filtered signal

passes through a low pass filter. This filter reduces the


0.6
0.6
0.4
0.4

quantization error in the noisy quantized signal. The original 0.2


0.2

Am plitude (V)
Amplitude (V)
0

information is recovered with minimum noise.


Original Signal Filtered Signal 0
1.5 0.07
-0.2
-0.2
0.06
1 -0.4 -0.4
0.05
-0.6 -0.6
0.5 0.04
-0.8 -0.8
A m plitude (V )

Amplitude (V)

0.03
-1 -1
0 0 20 40 60 80 100 120 0 20 40 60 80 100 120
0.02 Time (s) Time (s)

-0.5 0.01

0
-1
-0.01 Fig. 11 Quantized Signal with noise and Filtered Signal
-1.5
0 0.1 0.2 0.3 0.4 0.5
Time (s)
0.6 0.7 0.8 0.9 1
-0.02
0 5 10
Time (s)
15 20 25 Fig. Quantized Signal with noise and Filtered Signal

Fig. Quantized Signal with noise and Filtered Signal


3) REMOVE NOISE FROM SAMPLING
3) REMOVE NOISE FROM SAMPLING
When the distorted sampling signal passes through the
The noise is added to the analog signal and the signal is
moving average filter it reduces its noise, but still there are
distorted signal. By taking the samples of this signal it gives
some components of noise in the original signal and we can’t
samples of the signal and the addition of noise. When we want Original Signal
filtered signal

extract the original information.


0.1
1.5

to recover the original signal, it gives information plus noise 1


0.08

0.06

so this signal is passed through a low pass filter which 0.5


0.04

0.02

Amplitude (V)
minimizes its noise so that the original information can be
Amplitude (V)

0 0
Original Signal

extracted.
1 Filtered Signal -0.02
1.5
quantized signal
0.8 -0.5
error -0.04

0.6 1 -0.06
-1
0.4 -0.08
0.5
0.2 -0.1
Amplitude (V)

-1.5
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 5 10 15 20 25
Amplitude (V)

Time (s) Time (s)


0
0

-0.2

-0.4 -0.5

-0.6

Fig. Sampling with noise and Filtered Signal


-1
-0.8

-1 -1.5
0 20 40 60 80 100 120 0 20 40 60 80 100 120
Time (s) Time (s)
D. FIR FILTER
The FIR low pass filter removes high frequency signal
Fig. Sampling with noise and Filtered Signal components (noise) from the input signal and its output gives
the low frequency components (original data).
C. MOVING AVERAGE FILTER
1) REMOVE NOISE FROM ENCODING
The moving average filter takes M samples of input at a time When noisy encoded signal passes through the FIR filter,
and takes the average of those M-samples and produces a then noise will be filtered-out from the encoded signal the
single output point. It is a very simple LPF (Low Pass Filter) original information signal can be achieved in its accurate Original Signal

structure to filter unwanted noisy component from the original form.


1
A m p litu d e (V )

data.
0.5
1) REMOVE NOISE FROM ENCODING Original Signal
1
filtered signal
1

0.9
0.9 0
0 500 1000 1500 2000 2500 3000 3500 4000
0.8
0.8 Time (s)
0.7 Lowpass Filtered Signal
0.7
1.5
0.6 0.6
Amplitude (V)

1
0.5 0.5
y

0.4 0.4 0.5

0.3 0.3 0
0.2 0.2
-0.5
0.1 0.1 0 500 1000 1500 2000 2500 3000 3500 4000 4500
Time (s)
0 0
0 500 1000 1500 2000 2500 3000 3500 4000 0 500 1000 1500 2000 2500 3000 3500 4000
Time (s) x

Fig. Encoding with noise and Filtered Signal


Fig. Encoding with noise and Filtered Signal
Original Signal
1
2) REMOVE NOISE FROM QUANTIZATION
quantized signal Besides, these filters are stable with finite input and output.
A mplitude (V )
0.5 error
Due to this reason, FIR filters outperform the low pass and
0
moving filters. Whereas, the low pass and moving average
-0.5
filter remove the small amount of noise components of the
-1
0 50 100 150
Time (s)
200 250 300 350 signal. Moreover, FIR filter is the digitizing and reduce the
1
Lowpass Filtered Signal noise up to a large extent from the signal.
0.5

0
VI. CONCLUSION & FUTURE WORK
-0.5 This paper presents filter design and noise reduction
-1
0 50 100 150 200 250 300 350
comparison in medical health application such as, ECG. As
Time (s) filters are the type of device which removes the noise from the
signal and gives the original information as the output. It is
observed that FIR digital filter outperforms the low pass and
moving average filters. Besides, FIR filter gives the linear
phase response (i.e., distortion free), while low pass and
The quantization error is minimized when the distorted
moving average filters are simple and easy to implement but
quantized signal passed through the FIR low pass filter. The
they remove the high frequency components up to small
original data can be extracted from the filtered signal.
amount. The FIR filters give the information about constants
3) REMOVE NOISE FROM SAMPLING
delays, pass band and stop band ripples, so can be considered
The FIR low pass filter removes the noise components
as a potential candidate for ECG. In the near future other
from the distorted sampling signal. It removes the high
filters such as Kalman and adaptive filters will be developed
frequency components from the signal and passes low
Original Signal for noise reduction in medical applications.
frequency2 components which are our original analog signal.
A m plitude (V )

The information
1 can be extracted from this filtered signal. ACKNOWLEDGMENT
0

-1
This work is funded by HEC Pakistan under the START-
UP RESEARCH GRANT PROGRAM (SRGP) #21-
-2
0 0.1 0.2 0.3 0.4 0.5
Time (s)
0.6 0.7 0.8 0.9 1 1465/SRGP/R&D/HEC/2016, and Sukkur IBA University,
Lowpass Filtered Signal Sukkur, Sindh, Pakistan.
1

0.5

0
REFERENCES
-0.5 [1] Kai Siedenburg & Monika Dorfler,”Audio Denoising by generalized
-1 time-frequency thresholding,” 45th International Conference, Helsinki,
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Finland, 1-4 March 2012.
Time (s)
[2] Radhika Bhagat & Ramandeep Kaur, “Improved Audio Filtering Using
extended High Pass filters,” International Journal of Engineering
Research & Technology(IJERT), Vol.2 No.06, June -2013.
[3] Pragati Agrawal & Jayendra Singh Verma,”A Survey of linear & non-
linear filters for noise reduction,” International Journal of Advanced
Fig. 12 Sampling with noise and Filtered Signal Research in computer science & Management Studies, Vol.1
No.3.August 2013.
V. COMPARSION OF FILTERS [4] Manjeet Singh & Er. Naresh Kumar Garg, ”Audio noise reduction using
TABLE I. COMPARISON BETWEEN LOW PASS FILTER,MOVING AVERAGE Butterworth filter,” International Journal of computer & organization
FILTER & FIR FLTER trends, Vol.6 ,March 2014
Comparison of filters [5] Er. Mannu Singla & Mr. Harpal Singh, “Paper on frequency based audio
Parameters Moving noise reduction using butterworth, Chebyshev & Elliptical filters,”
Low pass filter Average FIR filter International Journal on recent & innovation trends in computing &
filter communication, Vol. 3 No. 10, October 2015.
Non-
Phase response Non-linear Linear [6] R.R.Porle, N. S. Ruslan, N. M. Ghani, N. A. Arif, S. R. Ismail, N.
linear
Parimon, M. Mamat,”A survey of filter design for audio noise reduction,
Noise reduction “Journal of Advanced Review on Scientific Research, Vol.12
Less Medium Large
capablity No.1,Pg:26-44,2015.
Throughput Good Bad Better [7] Kristian Timm Andersen & Marc Moonen,”Adaptive Time-frequency
Quantization analysis for noise reduction in an audio filter bank with low
More More Less delay”,unpublished
error
Sampling [8] Farhana Afroz, Asadul Huq, F. Ahmed and Kumbesan
reconstruction Good Bad Better Sandrasegaran,”Performace analysis adaptive noise cancellor employing
capability NLMS algorithm,” International Journal of Wireless & Mobile
Networks, Vol. 7, April 2015.
In this section we compare the FIR, low-pass and moving [9] Elmustafa S.Ali Ahmed, Rasha E. A.Elatif and Zahra T.Alser,”Median
filter performance based on different window sizes for salt and Copper
average filters. The main advantage of FIR filter is that it noise removal in gray and RGB Images,” Vol. 8 ,2015.
gives a linear phase response to eliminate the phase distortion.
[10] Mohd Tahir, Anas Iqbal, Abdul Samee Khan, ”A review paper of [14] S. Priyanka, Dr.A.S.Naveen Kumar ,” Noise Removal in Remote
various filters for noise removal in MRI brain image,” Vol. 4,No. Sensing Image Using Kalman Filter Algorithm“, International Journal
12,December 2016. of Advanced Research in Computer and Communication Engineering
(IJARCCE),Vol. 5, Issue 3, March 2016 .
[11] Salih, A.O.M, “Audio Noise Reduction Using Low Pass Filters”,
Volume.04, Open Access Library Journal, November 10, 2017. [15] Soumen Biswas, Dibyendu Ghoshal, ”A model of noise reduction using
Gabor Kuwahara filter”, 4th International Conference on Advanced
[12] Djurovic,” BM3D filter in salt-and-pepper noise removal”, EURASIP Computing and Communication Systems (ICACCS), Coimbatore, India,
Journal on Image and Video Processing, March 14th, 2017. 24 August 2017.
[13] Sonia, Sourav Mirdha,”Noise Reduction Technique Using Bilateral
Based Filter“, International Research Journal of Engineering and
Technology (IRJET), Volume: 04, Issue: 06, June 2017.

You might also like