Abstract
A new algebraic algorithm based on the concept of the rank of a sequence for the analysis of electrocardiography (ECG) signals is proposed in this paper. The task of the proposed algorithm is to develop strategy for finding the nearest algebraic progression to each segment of time series of the ECG parameters. ECG parameters of different duration were used to investigate the dynamics of different physiological processes in human heart during load. It indicates that proposed algebraic algorithm can be effectively used for the analysis of ECG parameters. Different behavior can be observed in fluctuations of ECG parameters in different fractal levels.
1. Introduction
During the last years studies of the complexity in human body functioning prove to be an important area of research [1]. An integral evaluation model [2] based on the combination of the main functional holistic [3] systems of the human body – skeletal and muscle system (the performing system), cardiovascular system (the supplying system) and central nervous system (the regulatory system) has been developed several decades ago. Thus, all the three systems always react together during the adaptation processes in a human body; the general reaction of the body is always the combination of these systems’ responses. Reactions of the cardiovascular system to a constant load test (or a gradually increasing load test) can reveal the peculiarities of the functioning of all human body [4]. ECG parameters have different duration (larger structures could be associated with longer time scales) and could show the complexity in different fractal levels [5].
A number of techniques have been used for the analysis of ECG complexity: spectral analysis [6], entropy-based algorithms (as for example, approximate entropy [7, 8], sample entropy [9, 10], multiscale entropy [1]), chaos-based algorithms (as for example, Lyapunov exponent [11], permutation entropy [12], Hankel matrix [10]), algorithms for Komologrov estimates (as for example, Lempel-Ziv [13], hidden Markov chains [14]) and other methods. These methods evaluate global features of processes and are not able to detect local features of dynamical processes.
The rank of a sequence has been exploited for the evaluation of the complexity of certain ECG parameters [10]. Also, it has been used to express solutions of nonlinear differential equations in forms comprising ratios of finite sums of standard functions [15-17] and for the identification of the skeleton algebraic progression in time series [18, 19].
The main objective of this paper is to propose an algebraic algorithm based on the concept of the rank of a sequence [20] for the analysis of ECG signals. Our goal is to develop a strategy for finding the nearest algebraic progression to each segment of time series of the ECG parameters. We will suppose that the proposed algebraic algorithm can be effectively used for the analysis of ECG parameters.
The developed algebraic algorithm was applied for the analysis of physiological processes in a bicycle ergometry test. ECG parameters of different durations were used for the investigation of dynamics of different physiological processes in human heart during the load.
2. The concept of the rank of a sequence
Let us consider a sequence: where elements can be real or complex numbers. Then the sequence of Hankel matrixes is read as:
The Hankel transform (the sequence of determinants of Hankel matrixes) reads:
Definition 1. The sequence has a rank ; :
if the sequence of determinants of Hankel matrixes has the following structure:
where and .
Example 1. Let’s say ; . Then, because the sequence of determinants of Hankel matrices reads .
Definition 2. Let . Then the characteristic Hankel determinant for the sequence is defined as [10]:
The expansion of the determinant in Eq. (5) yields an th order algebraic equation for the determination of roots of the characteristic equation:
where because .
We have assumed, that if what is true when . Moreover, ; . Then the following theorem holds.
Theorem 1. Let and the recurrence indexes of roots of the characteristic equation (Eq. (6)) are accordingly; . Then the following equality holds true:
The opposite statement also holds. If Eq. (7) holds true, then:
Rigorous proof of this theorem is given in [10].
Definition 3. A sequence is an algebraic progression if elements of that sequence can be expressed in the form of Eq. (7).
Corollary 1. Eq. (7) can be rewritten in the following form:
where ; and do not depend on .
Corollary 2. In case when all roots of the characteristic equation are different, Eq. (7) obtains a more simple form:
It can be also noted that coefficients (or just ) can be found solving the linear algebraic system of equations ( are determined beforehand):
This linear system of algebraic equations has one and the only one solution [20].
Corollary 3. Let and the first elements of that series are known. Then it is possible to use Eq. (6), Eq. (10) and Eq. (7) to calculate all elements of that sequence.
Corollary 4. Suppose Eq. (3) holds true. It can be stated that accordingly to Eq. (8) the following equality holds true:
where ; ; do not depend on and:
Consequently, the rank of the subsequence with all , is equal to:
Next, the inverse task will be needed. It is important to obtain the algebraic progression of sequence then an algebraic progression (Eq. (11)) and parameters , are determined. Thereby, accordingly to Eq. (12) can be expressed in the form:
where , and
But value of it is the only possible (it is then ) in the algebraic progression of :
where values can be selected minimizing the root mean square error (RMSE):
where which allows to estimate the value of .
It should be noted that coefficients (Eq. (15)) can be found by solving the linear algebraic system of equations.
Corollary 5. It can be admitted that the concept of the rank of the sequence given above can be applied to finite length sequences in practice. If the sequence of length is given so the sequence of Hankel matrices is: . We have to assume that the rank of the sequence is not defined if .
Corollary 6. In application of Theorem 1 it is important to distinguish the:
a) - stationary component;
b) - stimulant component;
c) - inhibitory component;
of time series which consists of the complexity of content of time series:
It must also be stated that roots of the characteristic equation (Eq. (6)) can be placed on the unit circle (Fig. 1).
Fig. 1a) – stationary behavior – on the unit circle |z|= 1; b) – stimulant behavior – outside of the unit circle |z|=1, c) – inhibitory roots are inside the unit circle |z|= 1
a)
b)
c)
Example 1. Let us consider the following sequences:
a) ,
b) ,
c) .
Let us compute the rank and find roots of the characteristic equation (Eq. (6)) of sequence ,. It is clear that because the sequence of determinants of Hankel matrices reads: . Then Hankel algebraic equation (Eq. (6)) is:
Its roots are: , Roots are placed on the unit circle (Fig. 2, (a)).
Analogously, roots can be found from the characteristic equations for other sequences , , .
Note that the given sequence has a stationary component because its roots are located on the unit circle (Fig. 2(a)), the sequence – a stimulant component because its roots are placed outside the unit circle (Fig. 2(b)), and the sequence – an inhibitory component as its roots are placed inside the unit circle (Fig. 2(c)).
Fig. 2The location of the roots of the Hankel algebraic equation for each given sequence a), b) and c)
a)
b)
c)
3. Algebraic method for the analysis of ECG parameter
Let us assume that is the time series of ECG parameters of length consisting of several segments of algebraic progressions (Eq. (7)). We will construct algebraic method for the ECG parameter analysis.
The segmentation algorithm for algebraic progressions is constructed in [9] where numerical sequences (without noise) were segmented into non-overlapping contiguous segments by constructing algebraic progressions of each segment. Unfortunately, time series of ECG parameters usually are noisy and the proposed method can’t be applied directly.
Let a time series of ECG parameters be segmented manually into non-overlapping contiguous segments , where is the start and – the end position of each segment (Fig. 3). Let us construct an algorithm for finding algebraic progression of each segment .
Let us assume that is the rank (then Theorem 1 can be applied), is the start position and – the step of the regular grid in the interval of the subsequence Then we can construct different subsequences ,, , with different combinations of parameters , and can be generated according to equality: , where – is the given last position of subsequence .
It can be noted that correspondingly to Eq. (11) different algebraic progressions of each subsequence can be observed:
Fig. 3The segmentation of an ECG signal into k non-overlapping contiguous segments
Let us construct an algebraic progression Eq. (18) of subsequence . We have assumed that the rank of the algebraic progression is and parameters , are known (the initial step of the regular grid in the interval of each subsequence must be at least ). Then the characteristic Hankel determinant (Eq. (5)) takes the form:
and yields roots . The linear system of equations is constructed using Eq. (8); its solution produces coefficients ; . Finally, the algebraic progression reads:
It can be concluded that according to Eq. (20), Eq. (12) and Eq. (15) algebraic progression of subsequence can be obtained:
We have assumed that Eq. (21) is the closest algebraic progression of segment if the following equality holds true:
where is the minimal value of values; , , – the start and – the end positions of sequence and estimations: , , , where , , – estimations which were used to obtain the minimized algebraic progression , .
After all algebraic progressions of each given ECG fragment are known, depending on the parameter (Fig. 4(a)) where the counts of roots placed outside are calculated, inside and on the unit circle of each segment .
Fig. 4a) The location of roots of the algebraic progression for the segment S1, b) separation of components (roots) of algebraic progression of segment S1 depending on parameter ε= 0.01
a)
b)
Table 1Parameters of algebraic progression of segment S1=S1(1,96)
, ×10-3 | ||
1 | 2.1828 + 3.4626i | 0.0000 + 0.0000i |
2 | 2.1828 – 3.4626i | 0.0000 + 0.0000i |
3 | –0.2770 + 1.5266i | –0.0000 – 0.0000i |
4 | –0.2770 – 1.5266i | –0.0000 + 0.0000i |
5 | –0.8647 + 0.6812i | 0.0000 + 0.0000i |
6 | –0.8647 – 0.6812i | 0.0000 – 0.0000i |
7 | -1.0244 | –0.0000 + 0.0000i |
8 | –0.9154 + 0.3854i | –0.0001 + 0.0000i |
9 | –0.9154 – 0.3854i | –0.0001 – 0.0000i |
10 | –0.5753 + 0.8142i | –0.0008 – 0.0005i |
11 | –0.5753 - 0.8142i | –0.0008 + 0.0005i |
12 | –0.2920 + 0.8805i | –0.0016 – 0.0001i |
13 | –0.2920 – 0.8805i | –0.0016 + 0.0001i |
14 | 0.1204 + 0.9043i | –0.0004 + 0.0005i |
15 | 0.1204 – 0.9043i | –0.0004 – 0.0005i |
16 | 0.6357 + 0.8632i | –0.0001 – 0.0001i |
17 | 0.6357 – 0.8632i | –0.0001 + 0.0001i |
18 | 0.6456 + 0.7069i | –0.0026 + 0.0030i |
19 | 0.6456 – 0.7069i | –0.0026 – 0.0030i |
20 | 0.8012 + 0.3146i | –0.0054 + 0.0079i |
21 | 0.8012 – 0.3146i | –0.0054 – 0.0079i |
22 | 1.0011 | 0.2128 – 0.0000i |
23 | 0.9699 + 0.1497i | 0.0101 + 0.0034i |
24 | 0.9699 – 0.1497i | 0.0101 – 0.0034i |
Example 2. Providing the time series of RR parameter of ECG signal are given and the signal is manually segmented into 11 non-overlapping contiguous segments , (Fig. 3) and all algebraic progression of each segment , are found. Parameters of the algebraic progression of segment are presented in Table 1. Roots are placed on the unit circle (Fig. 4). It was calculated (with ) 5 stationary, 9 stimulant and 10 inhibitory components of the analyzed segment (Fig. 4(b)).
4. Experiment and results
Ten healthy participants (20,1 ± 2,23) volunteered to take part in this study, where a bicycle ergometry test was performed and the ECG was recorded continuously during the whole test of 12 leads synchronously. Only males with experience in sprint (practicing more than 2 years) were chosen, as the cardiovascular systems reactions to physical load differ with gender. This was done in order to obtain relatively homogenous group for getting more comparable data. When arriving at the laboratory, participants were asked to dress in shorts and wear trainers.
Before performing the bicycle ergometry test all the participants were informed verbally and all their questions were answered. All participants underwent the same test protocol which consisted of three main parts – rest, load and recovery. In this study the rest part took 1 minute while a participant was just sitting on the bike without pedaling. After the rest proceeded physical work that included computer-based bicycle ergometry test based on provocative incremental increase of the load. Bicycle ergometry test started with 50 W and in every minute the load was increased by 50 W. The test was continued up to 250 W that made 5 minutes of pedaling at 60 cycles per minute. Although the maximum load hasn’t been reached, the test should have been ended earlier if the distressing cardiovascular symptoms appeared. Finally, the last part of the protocol was recovery that took five minutes. The total time of the protocol lasted eleven minutes (Fig. 5-7). During the bicycle ergometry test electrocardiogram (ECG) was registered. For synchronous recording of 12-lead ECG a computerized ECG analysis system “Kaunas-load” was employed.
During rest, load and recovery were evaluated ECG parameters: RR interval (the interval between two beats of heart), JT interval (interval corresponds to the electric systole of heart and the shortening of JT interval is associated with intensity of metabolic processes in heart), QRS complex (describes inner heart regulation system).
The aim of this experiment was to explore the local changes of different ECG parameters in dynamic.
It is necessary to remind that ECG parameters that are examined reveal different complexity levels, e.g. RR interval helps to characterize the state of organism in regulatory level, JT interval represents the metabolic reactions of the systems and QRS reflect the intrinsic regulatory state of the organ.
The test was performed in eleven minutes where 1 minute represented rest interval, 2-6 the load minutes and 6-11 were the interval of recovery of the test (figure 5-7 x-axes). In every minute of the test the normalized values of those different processes (inhibitory (value -), stationary (value -) and stimulant (value -)) were calculated (y-axes) dividing Hankel algebraic equation roots of each process by the total number of Hankel algebraic equation roots which were placed on the circles. The procedure to find normalized values of inhibitory, stationary and stimulant process was separately performed for RR interval (Fig. 5), JT interval (Fig. 6) and QRS interval (Fig. 7).
From the data it can be seen that at the beginning of the physical load starts the inhibitory process begin to lead and is mostly expressed at the last minute of the load in this case it is an interval from minute 5 to 6, Fig. 5(a), Fig. 6(a) and Fig. 7(a). As expected, the influence of the stimulant process decreases (Fig. 5(c), Fig. 6(c) and Fig. 7(c)) especially in the last minute of the load. This phenomenon can be explained physiologically - working muscles try to satisfy the expanded energetic demand during the physical load while other organs of the human body have to adapt to lowered supply.
Fig. 5a) inhibitory a), b) stationary and c) stimulant processes and their fluctuations in RR interval dynamic during bicycle ergometry test. The test was performed in eleven minutes where 1 minute represented rest interval, 2-6 the load minutes and 6-11 were the interval of recovery of the test (x-axes)
a)
b)
c)
Fig. 6a) inhibitory, b) stationary and c) stimulant processes and their fluctuations in JT interval dynamic during bicycle ergometry test. The test was performed in eleven minutes where 1 minute represented rest interval, 2-6 the load minutes and 6-11 were the interval of recovery of the test (x-axes)
a)
b)
c)
Fig. 7a) inhibitory, b) stationary and c) stimulant processes and their fluctuations in QRS interval dynamic during bicycle ergometry test. The test was performed in eleven minutes where 1 minute represented rest interval, 2-6 the load minutes and 6-11 were the interval of recovery of the test (x-axes)
a)
b)
c)
Another interesting finding related to complexity of ECG intervals RR, JT and QRS is the delay in recovery processes. In the first minute of recovery RR interval shows contrary situation of influencing process – stimulant processes rapidly increase (Fig. 5(c) from 6-th to 7-th minute) while inhibitory process reacts (Fig. 5(a) from 6-th to 7-th minute) to opposite direction. For JT and QRS intervals it is clear expressed delay of stimulant processes in recovery interval (Fig. 6(c), Fig. 7(c) 7-th to 8-th minute). It can illustrate that recovery processes are not synchronous in different human body systems.
Stationary processes (Fig. 5(b), Fig. 6(b), Fig. 7(b)) vary insignificantly during the load and the first four minutes of recovery. It suddenly goes up and reaches its highest value at the last minute of recovery becoming the predominant process influencing the RR, JT and QRS intervals dynamic. This fact may confirm that the recovery processes are over.
5. Conclusions
In analysis of medical or biological investigations it is important to separate data sequences into intervals where similar physiological situations could be observed. In living human body changes of physiological conditions could be very quick and application of statistical technologies or Fourier transform analysis is not always possible. Proposed algebraic analysis could be a technology which can help in analysis of short intervals of data which allows revealing of intervals with stable or unstable physiological features.
In this paper we proposed an algebraic algorithm based on the identification of algebraic progression of sequence of each segment of ECG data.
The human organism could be comprehensible as a complex system that reacts to physical load. The proposed analysis of reactions to physical load could single out different behavior in fluctuations of ECG parameters in different fractal levels.
In case muscles start to monopolize the organism functions, especially during the maximum loads, the suppressive processes became dominant. Increase in stationary processes could reveal the end of recovery processes after the load.
The practical experience has shown that the proposed algebraic algorithm can be effectively used for the analysis of ECG parameters although ECG signals are contaminated with noise.
References
-
Costa M., Cygankiewicz I., Zareba W., De Luna A. B., Goldberger A. L., Lobodzinski S. Multiscale complexity analysis of heart rate dynamics in heart failure: preliminary findings from the music study. Computers in Cardiology, 2006, p. 101-103.
-
Vainoras A. Investigation of the Heart Repolarization Process during Rest and Bicycle Ergometry (100 – Lead and Standard 12 – Lead ECG Data). Synopsis of a D. Sc. Habil. Thesis, 1996, Kaunas, (in Lithuanian).
-
Vesalius A. The Fabric of the Human Body, 1543.
-
Vainoras A. Functional model of human organism reaction to load evaluation of sportsmen training effect. Edu. Phys. Training Sport, Vol. 3, Issue 44, 2002, p. 88-93.
-
Venskaitytė E. The Changes of Concatenations of Parameters of Cardiovascular System during Analysis of Sportsmen Functional State. Ph. D. Thesis, Kaunas: LSU, 2011, (in Lithuanian).
-
Yeragani V., Appaya S., Seema K., Kumar R., Tancer M. QRS amplitude of ECG in normal humans: effects of orthostatic challenge on linear and nonlinear measures of beat-to-beat variability. Cardiovascular Engineering: An International Journal. Springer, Vol. 5, No. 3, 2005, p. 135-140.
-
Pincus M. S. Approximate entropy as a measure of system complexity. Proc. Natl. Acad. Sci. USA, Vol. 88, 1991, p. 2297-2301.
-
Pincus M. S. Assessing serial irregularity and its implication for health. Annals of the New York Academy of Sciences, Vol. 954, No. 1, 2006, p. 245-267.
-
Richman J. S., Moorman J. R. Physiological time series analysis using approximate entropy and sample entropy. Am. J. Physiol. Heart. Circ., Vol. 278, No. 6, 2000, p. 2039-2043.
-
Šliupaitė A., Navickas Z., Vainoras A. Evaluation of complexity of ECG parameters using sample entropy and Hankel matrix. Electronics and Electrical Engineering, Kaunas, Technologija, Vol. 4, Issue 92, 2009, p. 107-110.
-
Ubeyli E. D. Detecting variabilities of ECG signals by Lyapunov exponents. Neural Computing and Applications, Vol. 18, No. 7, 2009, p. 653-662.
-
Daoming Z., Guojun T., Jifei H., Yaofei H. Ventricular arrhythmia nonlinear analysis. Proceedings of the International Conference on Intelligent Pervasive Computing, 2007, p. 57-61.
-
Zhou S., Zhang Z., Gu J. Interpretation of coarse-graining of Lempel-Ziv complexity measure in ECG signal analysis. Conf. Proc. IEEE Eng. Med. Biol. Soc., 2011, p. 2716-2719.
-
Cohen A. Hidden Markov models in biomedical signal processing. Engineering in Medicine and Biology Society, Proceedings of the 20th Annual International Conference of the IEEE, Vol. 3, 1998, p. 1145-1150.
-
Navickas Z., Ragulskis M. How far one can go with the Exp-function method? Applied Mathematics and Computation, Vol. 211, 2009, p. 522-530.
-
Navickas Z., Bikulčienė L., Ragulskis M. Generalization of Exp-function and other standard function methods. Applied Mathematics and Computation, Vol. 216, 2010, p. 2380-2393.
-
Navickas Z., Ragulskis M., Bikulčienė L. Be careful with the Exp-function method – additional remarks. Communications in Nonlinear Science and Numerical Simulations, Vol. 15, 2010, p. 387-3886.
-
Karalienė D., Navickas Z., Vainoras A. Segmentation algorithm for algebraic progressions. Information and Software Technologies: 18th International Conference, ICIST 2012, Communications in Computer and Information Science, New York: Springer, Vol. 319, 2012, p. 149-161.
-
Ragulskis M., Lukoševičiūtė K., Navickas Z., Palivonaitė R. Short-term time series forecasting based on the identification of skeleton algebraic sequences. Neurocomputing, Vol. 64, 2011, p. 1735-1747.
-
Navickas Z., Bikulčienė L. Expressions of solutions of ordinary differential equations by standard functions. Mathematical Modeling and Analysis, Vol. 11, 2006, p. 399-412.