MATEC Web of Conferences 132, 05017 (2017) DOI: 10.1051/matecconf/201713205017
DTS-2017
5
Fig. 5. The main complex of ECG.
On the sixth step the obtained frequency coefficients
are compared with a mathematical model of each of the
pathologies and the excess of a threshold value is
detected. The calculation of the established threshold is
also made by analyzing the divergence of the central
moments and correlation coefficients. Pathology is
considered detected if more than two indicators coincide
and in case of repeated confirmation notification
decision is made. In the case of coincidence of all
criteria for ECG analysis and their coincidence with the
investigated pathology, the patient is notified [5].
3
The implementation of the pathology
search methods for the analysis of
electrocardiograms
The first step is a searching for intersection of the fixed
points of the cardiogram report with a baseline in that
zones, which are limited by confidence intervals. We'll
use a value of two quantization levels as confidence limit
[6]. The device uses 10 bits analog-to-digital convertor
or ADC and the range of standard QRS complex
amplitudes for different areas of data sources should not
exceed 22 mm and 25 mm for adults. This limit specifies
the monitoring interval, which is limited in the range of
5mV. It means that the device indicates the intersection
of the baseline when fixed values exceed the confidence
intervals which are limited by two quantization levels
and it's equal to ±0,02 mV. We will impose restrictions
in the form of derivative of the change in direction for
the obtained values. It will be used the criterion of
exceeding the measurement sequence over the baseline
for more than 3 reports as a simple pike detector. The
restrictions on the excess of three reports are empirical,
they are based on the minimum possible duration of
restriction of the QRS complex. As a rule, this QRS
complex lasts 0,08 seconds. For children under the age
of 5 it lasts 0,09, and for children over 10 years – 0,10.
When the QRS complex lasts more than 0,11 for adults,
it is said of pathology and suggests ventricular
hypertrophy or ventricular blockade. We get the
minimum duration of QRS complex, which doesn’t
exceed 500 reports at a sampling frequency of the device
limited to 5 kHz. This article introduced a restriction of
the range of fixed changes, which is equal to 100 reports.
It will be made a decision about the intersection of the
baseline during these reports.
We will search for intervals of consecution of the
pikes R-R according to the following procedure: we will
use the complex approach in which the maximum value
will be determined as the main condition for detecting
the R wave, as secondary and confirming conditions we
will also use the relative time and sequence of
intersection intervals of the baselines corresponding to P
and Q and the following ST pikes, as well as their
relative intervals of consecution. We can see the ECG
duration model at the pic.6. Along with the R-R pikes, it
is also possible to detect the remaining pikes and their
ranges according to the data, which was obtained in the
previous stages.
Fig. 6. The duration model ECG within normal limits.
The input values are normalized in the range of P-P
intervals in the next step. The normalization process
consists of fixing the maximum values at a given interval
and dividing all values by a given value. Normalization
of the values allows not to consider the scaling factor for
the subsequent analysis and detection of pathologies. At
the third stage, we produce the allocation of pike and
segment intervals. We produce normalization of the
values in the area of each obtained intervals. We define
the group of central moments, such as mathematical
expectation:
k
Y
YMv
k
kk
)(
dispersion
2
)()(
kkk
YMYMYD
skewness ratio
3
3
)(
)(
)(
k
kk
ka
YD
YMYM
Y
index of kurtosis
3
)(
)(
)(
4
4
k
kk
ka
YD
YMYM
Y
The calculation is made for each segment defined at
this stage and the pathology specified in the
mathematical model. After that, a comparison is made
for a match in the parameters in the range defined by the
rule
3
. This calculation helps to define solution of the
first criterion of the function.
We should set a research window
d
kn
1
for
realization of the second criterion of the function. The
search for correlation coefficients and their comparison
is performed in a sliding window in the range of the
interval P-P.
22
n
Y
Y
n
g
g
n
Y
Y
n
g
g
cor
n
k
n
k
n
k
n
k
pat
when k - elements of observations in the range of the
processing window,
pat
cor
- correlation coefficient for
each pathology.
When the threshold value is exceeded, a decision is
made to detect the pathology, if it is confirmed for more
than 30% of the searches in the processing window.
We’ll make the transition to the frequency area using
discrete Fourier transform for realization of the third
criterion of the function.
1
0
*_
2
_
n
i
ikfft
n
j
ikfft
eYX
Comparison in the frequency area will be made
according to the shape of the envelope of the frequency
coefficients and the central moments calculated for them.
The envelope will be constructed using the method of
least squares, taking into account the criterion
min)(
2
xfY
n
. The function
is polynomial
with the size of a polynomial not exceeding the 4th
degree. The degree of the polynomial is bounded by the
fourth order because of the computational complexity of
the calculations of these indicators. In the case of
coincidence of polynomial functions, or their
discrepancy with an inaccuracy that does not exceed the
threshold value, it is decided to confirm the diagnosis.
Confirmation of the diagnosis in the frequency area is
made in case of coincidence of the group of central
moments with the central moments of the mathematical
model of the supposed pathologies.
The diagnosis is made after the analysis of the results
of each the components of the objective function.
4 Conclusion
As a result of the conducted researches the approach to
the analysis of electrocardiograms is received. The
proposed approach makes it possible to eliminate the
noise component while retaining the signal pikes.
According to the analysis of the received data, an
algorithm for finding the diagnosis is proposed.
References
1. Chung, S. H., and R. A. Kennedy, Journal of
neuroscience methods, 71-86 (1991)
2. Veeneman, D., and S. BeMent, IEEE transactions on
acoustics, speech, and signal processing, no.2, 369-
377 (1985)
3. Semenishchev, Evgeny, et al. In Proc. EWDTS, 444-
449 (2016)
4. Stadler, Robert, et al. Patent No. 6115628 A, United
States, A61B5/0452
5. Sameni, Reza, et al. Computers in Cardiology (2005)
6. Vorobyov, Sergiy, and Andrzej Cichocki, Biological
Cybernetics. No. 4, 293-303 (2002)