Professional Documents
Culture Documents
My Research Work Sparse Chael - Part - 4
My Research Work Sparse Chael - Part - 4
N1 Considering, as an example, a record of N ¼ 720 samples acquired at
Wbase ¼ wð2; 0Þ; wð2; 2Þ; wð2; 4Þ; . . . ; w 2; 2 ; wð4; 0Þ;
2 a sampling frequency of 360 Samples/s, USR ¼ 4 and p% ¼ 60,
N1 according to (13), the number of operations for each record is
wð4; 4Þ; wð4; 8Þ; . . . ; w 4; 4 ; . . . ; wðN; 0Þ ð8Þ slightly less than 60000, corresponding to about 30000 operations
4
per second. Such computational load can be easily sustained by a
where wða; bÞ is a N-size vector that describes the Mexican hat 32–bit microcontroller, based on the ARM Cortex M4F core, which
wavelet function, defined according to the following expression: provides at least 1.27 DMIPS (Dhrystone Millions of Instructions
" 2 # Per Second)/MHz and a clock frequency greater than 50 MHz.
2 nb 1 nb 2
wða; bÞ ¼ pffiffiffiffiffiffi 1 e2ð a Þ ð9Þ At the receiving side, the ECG signal waveform needs to be
3a p 1=4 a reconstructed. At this stage, the computational complexity
depends on the chosen reconstruction algorithm. BP has generally
with n ¼ ½0; . . . ; N 1T ; a the scaling factor, a ¼ 2m ; m 2 f1; . . . ;
blog2 ðN Þcg, and b the delay factor, which depends on a, i.e. a complexity O N 3 . OMP has instead a much lower computational
b 2 0; a; 2a; . . . ; a N1
a
. Finally, in order to allow the reconstruc- load. In its implementation based on the matrix inversion lemma,
tion of the observed ECG signal in presence of a low–frequency the number of operations is [24]:
baseline wander, the vector u ¼ ½1=N; . . . ; 1=N T is added as last Nops ¼ OððN þ M ÞSÞ; ð14Þ
column of the matrix W that is finally expressed as:
where, S is the number of iterations of the OMP algorithm which is
W ¼ ½Wbase ; u: ð10Þ in any case lower than N.
Since in the proposed CS method, the sensing matrix is adapted In this Section, the performance of the method presented in Sec-
to the signal, it is necessary to provide, for the reconstruction pur- tion 3 is analyzed through several tests implemented in MATLAB.
pose, a coded version of the vector p together with the compressed For testing purposes, the ECG signals from the PhysioNet MIT-
samples, whenever the sensing matrix is updated. By assuming BIH Arrhythmia Database (available online [25]) have been consid-
that each sample is provided with a resolution of b bits, the result- ered. The MIT BIH database was chosen among the Internet–avail-
ing compression ratio is slightly lower than the undersampling able ones as it is the most widely used in the scientific literature.
ratio: Therefore, the results obtained on the ECG signals of this database
B0 bNNf USR can be easily compared among several research papers. This data-
CR ¼ ¼ ¼ ; ð11Þ base contains 48 half-hour excerpts of two-channel ambulatory
Bc bMN f þ Np N 1 þ USR Np
N f ECG recordings, obtained from 47 subjects studied by the BIH
where B0 and Bc are the data rates before and after the compression, Arrhythmia Laboratory. The recordings were acquired at a
respectively, N f is the number of frames and N p is the number of 360 Hz sampling frequency per channel with 11-bit resolution over
frames where the matrix is updated. a 10 mV range. The signals were segmented in N ¼ 720–size
frames, while M depends on the adopted USR value. Before being
3.4. Computational complexity processed by the proposed CS method, in each frame the first three
harmonics of the power-line signal, at f60; 120; 180g Hz, respec-
The proposed CS method presents a very low computational tively have been removed in the frequency domain [26].
complexity for the acquisition node. For each acquired frame, the Preliminary assessment phases were conducted on the method
following operations are needed: with the following aims: (i) to evaluate the method with different
reconstruction algorithms, (ii) to tune the amplitude percentile
Nlog2 N for the evaluation of the percentile xth , considering that used in the method to build the p vector, (iii) to verify the influence
a merge sorting algorithm is used; of the e threshold, which controls the update of the sensing matrix.
one subtraction and two comparisons to check for a significant In the above mentioned phases, two data-sets of ten ECG signals
change in the xth ; from [25] have been used:
if it is needed to update the U matrix, N further comparisons are S1 ¼ f100; 106; 107; 115; 117; 118; 119; 221; 223; 228g ð15Þ
needed to build the p vector;
N 1 1 additions, where N 1 is the number of ones in the p vec- S2 ¼ f101; 109; 122; 124; 200; 202; 205; 217; 219; 234g ð16Þ
tor, for each compressed sample are needed to evaluate the
compressed frame. The first data-set contains the following main beat labels: atrial pre-
mature beats, premature ventricular contractions, paced beats, iso-
The actual value of N1 varies in each frame. However, its mean value lated QRS-like artifacts, and right bundle branch block beats. In the
depends on the considered percentile for the evaluation of the second data-set, the main beat labels are: left bundle branch block
threshold xth . Indicating with p% the value of the percentile: beats, aberrated atrial premature beats, non-conducted P-waves,
and nodal (junctional) premature beats. For each ECG signal, the
p%
EfN1 g ¼ N P fxðnÞ > xth g ¼ N 1 ; ð12Þ Percentage of Root-mean-squared Difference (PRD) has been
100
evaluated as figure of merit [14,27–29]. The PRD is computed as
where Efg represents the expectation operator, and P fg is the follows:
probability of finding xðnÞ samples higher than xth . Therefore, for ^ k2
kx x
each frame, the following mean number of operations is needed PRD ¼ 100%; ð17Þ
kxk2
in the worst case when the U matrix is updated:
where x and x ^ are the original and the reconstructed signal, respec-
E Nops ¼ Nlog2 N þ N þ 3 þ M ðEfN1 g 1Þ ¼
tively. Then, two evaluation phases have been carried out. In the
p% former, the method is characterized on the above mentioned signal
¼N M 1 þ log2 N þ 1 M þ 3: ð13Þ
100 data–sets and compared with the method proposed in [18] (DBBD