Professional Documents
Culture Documents
Abstract— Removal of baseline wander is a crucial step in the The operation can be used in data processing to reject
signal conditioning stage of photoplethysmography signals. glitches, align events and to pass step functions as well as
Hence, a method for removing the baseline wander from enhance discontinuities in the data. After this brief overview,
photoplethysmography based on two-stages of median filtering the properties of median filtering will be presented in section
is proposed in this paper. Recordings from Physionet database IV. The methods and experimental results are described in
are used to validate the proposed method. In this paper, the section V. The correlation co-efficient is used to measure the
two-stage moving average filtering is also applied to remove performance of the proposed method.
baseline wander in photoplethysmography signals for
comparison with our novel two-stage median filtering method.
Our experiment results show that the performance of two- II. BACKGROUND
stage median filtering method is more effective in removing
baseline wander from photoplethysmography signals. This In order to develop the necessary sensors to collect
median filtering method effectively improves the cross relevant data for further processing and effective
correlation with minimal distortion of the signal of interest. classification algorithms to accurately separate them into
Although the method is proposed for baseline wander in healthy and unhealthy characteristics in biomedical
photoplethysmography signals, it can be applied to other application of signal processing for assessing cardiovascular
biomedical signals as well. health, we decided to understand anatomy and physiology of
human body and develop a hand-held device to quickly,
Keywords- photoplethysmography; cardiovascular; baseline accurately and non-invasively assess a patient’s risk of
wander. developing cardiovascular disease in the next ten years. The
human body is made up of many component systems which
I. INTRODUCTION
include the nervous system, the cardiovascular system and
Photoplethysmography (PPG) is a non-invasive optical the musculoskeletal system, among others. Biomedical
technique for detecting cardiovascular characteristics from application of signal processing for assessing cardiovascular
the fingertip while the heart is pumping [1]. It uses an health have been applied to investigate a host of biological
infrared light source to illuminate the finger on one side, and and physiological systems that manifest themselves as
a photo detector placed on the other side measures the small signal.
variations in the transmitted or reflected light intensity. The
variations in the photo detector signal are related to changes
in blood volume inside the tissue with heart rate. The plot for III. PPG FEATURES AND PARAMETERS
this variation against time is typically referred to as a The quality of the PPG signal depends on artifacts, the
photoplethysmographic or PPG signal, but are commonly spacing between the pulse waves and the variations in the
contaminated by baseline wander (BW) caused by stroke volume of the heart can be seen as changes in the
respiration at frequencies varying between 0.15 and 0.5 Hz amplitudes of the pulse wave. However, the information has
[2]. The transmittance and reflectance are two basic types of shown to be useful in diagnosis and in gauging the severity
photoplethysmography. The transmittance or reflectance of illness in newborns. Photoplethysmography signals
PPG is applicable to a restricted body part, such as the consist of a large DC component, which is attributed to the
finger or the ear lobe because of the limited penetration total blood volume of the examined tissue, and a pulsatile
depth of the light through organ tissue. Therefore, it is very AC component, which is synchronous to the pumping action
important that the signal is correctly filtered to remove BW of the heart. The two maxima observed in the PPG waveform
but preserve as far as possible important information. The are called systolic and diastolic peaks, and they can provide
median filter is currently enjoying greater theoretical valuable information about the cardiovascular system [3].
attention and practical application. Nonetheless, there are yet The time duration between two consecutive systolic peaks
relatively few papers published on median filter behavior. gives the instantaneous heart rate. The AC component is
Median filters operate by selecting the middle value of an superimposed onto a large DC component. The DC
ascending-ordered sequence of numbers. These numbers are component must be removed to measure the AC waveform
taken from a moving window on the data to be processed. with a high signal–to–noise ratio. Since the useful AC signal
in this sequence disturbs the median selection very little but 500
and mean selections will be the same [5]. For example, the
-500
sequence M (0, 5, 6, 7, 8, 9, 14) = 7.
The median selection is also invariant to scaling. That is, -1000
0 2 4 6 8 10
if all the numbers in the sequence are scaled or Time(sec)
50
have this exponentiation property.
0
-50
-100
-150
1000
M = Median filter
Amplitude(mV)
500
-500
-1000
-1500
0 2 4 6 8 10
Time(sec)
Thus the median filter is nonlinear. If M were instead a (c)
mean filter in the above example, then equation (1) would Figure 2: Signal types (a) PPG original signal (b) Baseline wander signal
hold (with 7 = 7). Another interesting property of the (c) PPG test signal.
262
249
We applied the two-stage median filter (we will refer to performance is measured by root mean square error
this as TSMdF) method to PPG test signal. The TSMdF have (RMSE). The lower RMSE value the better quality of the
variable window sizes for removal of BW in samples with an signal. RMSE can be defined as the square root of the mean
average first stage and second stage of window size set to 0.3 of the square error [9].
and 0.6 respectively. The PPG signal reconstructed after
removing BW is shown in Figure 3(a). As a comparison, a
two-stage moving average filter (TSMaF) is also used to
remove BW in the PPG test signal. Figure 3(b) displays the
result of applying the TSMaF to remove the BW.
1500
PPG signal reconstructed by TSMdF Where yi is the values actually observed, ŷ i is the values
1000 predicted. The RMSE value for PPG signal reconstructed
reach 27.3mV for TSMdF while 41.8mV for TSMaF.
Amplitude(mV)
500
1500
0 PPG original signal
PPG signal reconstructed by TSMdF
-500
1000
-1000
0 2 4 6 8 10
Time(sec)
A m p litu d e (m V )
(a) 500
1500
PPG signal reconstructed by TSMaF
1000
0
Amplitude(mV)
500
0 -500
-500
-1000
-1000
0 2 4 6 8 10 0 2 4 6 8 10
Time(sec)
Time(sec)
(b) Figure 4: The solid red line is the PPG original signal and the dotted line is
Figure 3: Simulation results (a) PPG signal reconstructed by TSMdf (b) the PPG signal reconstructed by the TSMdF method.
PPG signal reconstructed by TSMaF.
500
263
250
XY Scatter Plot for Original vs. TSMdF XY Scatter Plot for Original vs. TSMaF
1500 1500
1000 1000
500 500
TSMaF
TSMdF
0 0
-500 -500
data 1 data 1
linear linear
-1000 -1000
-1000 -500 0 500 1000 1500 -1000 -500 0 500 1000 1500
PPG Original PPG Original
Figure 6: Scatter plot for TSMdF vs. Original PPG, showing a higher Figure 7: Scatter plot for TSMaF vs. Original PPG, showing a lower
correlation than Figure 7. correlation than Figure 6.
264
251