0% found this document useful (0 votes)
54 views6 pages

Mathematical Algorithm For Heart Rate Variability Analysis: Aldalb@inbox - LV Buikis@latnet - LV

This document discusses recent advances in heart rate variability (HRV) analysis. It begins by outlining how HRV is easy to register using electrocardiogram equipment and how the HRV curve provides informative insights into autonomic nervous system activity. It then discusses how HRV analysis can be conveniently applied in medicine to evaluate physiological states, predict health risks, and assess stress, anxiety and sleep disorders. The document also summarizes mathematical methods for HRV measurement, including time domain and frequency domain analyses, and how HRV biofeedback training can help reduce stress and promote health.

Uploaded by

Refat Nafiu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views6 pages

Mathematical Algorithm For Heart Rate Variability Analysis: Aldalb@inbox - LV Buikis@latnet - LV

This document discusses recent advances in heart rate variability (HRV) analysis. It begins by outlining how HRV is easy to register using electrocardiogram equipment and how the HRV curve provides informative insights into autonomic nervous system activity. It then discusses how HRV analysis can be conveniently applied in medicine to evaluate physiological states, predict health risks, and assess stress, anxiety and sleep disorders. The document also summarizes mathematical methods for HRV measurement, including time domain and frequency domain analyses, and how HRV biofeedback training can help reduce stress and promote health.

Uploaded by

Refat Nafiu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Recent Advances in Applied & Biomedical Informatics and Computational Engineering in Systems Applications

Mathematical Algorithm for Heart Rate Variability


Analysis
ALBERTS ALDERSONS, ANDRIS BUIKIS
University of Latvia
Raina bulv. 29, Riga, LV1459
LATVIA
[email protected], [email protected], http://www. lza.lv/scientists/buikis.htm

Abstract: - Paper is destined for use in medicine, psychology and psychophysiology, in man’s self-
development training, breathing technique’s training, in the field of stress resistance, health promotion,
strengthening of the capacity for work; and it relates to the apparatus and methods for detection of the heart
rate variability and it’s use in providing biofeedback during training sessions of organism’s vegetative balance
and coherence.

Key-Words: Heart, Heart rate variability, Biofeedback, Method for detection, Self-development
training, Stress resistance, Coherence.

1 Introduction 2.1. HRV is very easy to register


Heart Rate Variability (HRV) has occupied Any technique, that allows you to record an
considerable and leading state as a non–invasive electrocardiogram (ECG), is valid. As recording
method for investigation of the activity levels equipment the conditions does not play
and dynamics of interaction of the sympathetic important role (as it is for many other so called
and parasympathetic branches of the Vegetative psycho physiological methods, for example,
Nervous System (VNS). During last two galvanic skin response), the technical details of
decades investigation of the physiological the HRV record is no longer even object for
mechanisms of HRV, development of new serious discussions in the scientific literature.
apparatus and new computer programs for its 2.2. HRV curve is very informative
registration, interpretation and practical When registering a heart beat, we get a simple
utilization are considerably progressed. series of numbers (intervals between every two
consecutive heart beats in milliseconds, in
average 70 numbers during 1 minute, such as,
2 Formulations of Problem and for example, 721, 743, 824, 801, 789, etc.) from
Nowadays Statement which we may derive many different indicators
Contrary to the view that under optimal of the activity of vegetative nervous system,
conditions the heart beats sequence should and, in addition, these numbers are each
remind the metronome, this is definitely not so. characterized by strongly different physiological
Due to influence of Autonomic Nervous or psychological conditions. That is why, due to
System, affecting the sinus node (nervous the wide availability of hardware, we see a rapid
center, located in the heart, which activates each increase of searches of new algorithms,
of the next cardiac cycle starting after a pause), approbation of new mathematical models.
pulse beats followed each other at different time 2.3. HRV application is very convenient and
intervals, and, as a result, the time span between of practical importance
two consecutive heart beats can vary over a We should start with the fact that the HRV was
wide range – from 400 to 1500 msec. Plotting one of the chief methods used for evaluation of
these following time intervals graphically, we physiological state in aerospace medicine and
get a wavy line. It is called the Heart Rate psychology (the period around years 1950-1980,
Variability (HRV) line. It turned out that this mainly in Russia). There are many studies that
curve is very informative. indicate the relationship between emotions and

ISBN: 978-1-61804-028-2 381


Recent Advances in Applied & Biomedical Informatics and Computational Engineering in Systems Applications

changed SRV indicators. HRV may be used as a frequency variations in heart rate and thus are
indicator of risk prediction after myocardial highly correlated. Since many of the measures
infarction [3], for assessing of Autonomic correlate closely with others, the following four
dysfunction in patients with fibromyalgia [4], measures are recommended for time
[5], as an Indicator of Mental Workload [6], of domain HRV assessment (1) SDNN (estimate of
state anxiety in healthy individuals [7], as
overall HRV), (2) HRV triangular index
indicator of sleep disorders [8], as indicator of
(estimate of overall HRV), (3) SDANN
validity of different Breathing styles [9], as tool
for analysis of different emotional states [10]. (estimate of long-term components of HRV),
2.4. Mathematical aspects of the SRV and (4) RMSSD (estimate of short-term
methodology and measurement standards. components of HRV).
Time Domain Methods 2.5. Frequency Domain Methods
The variations in heart rate may be evaluated by The analysis of the tachogram has been applied
a number of methods. Perhaps the simplest to since the late 1960s. Power spectral
perform are the time domain measures. In these density (PSD) analysis provides the basic
methods, either the heart rate at any point in information of how power (variance) distributes
time or the intervals between successive normal as a function of frequency. Independent of the
complexes are determined. In a continuous ECG method used, only an estimate of the true PSD
record, each QRS complex is detected, and the of the signal can be obtained by proper
so-called normal-to-normal (NN) intervals (that mathematical algorithms.
Methods for the calculation of PSD may be
is, all intervals between adjacent QRS
generally classified as nonparametric and
complexes resulting from sinus node
parametric. In most instances, both
depolarisations) or the instantaneous heart rate methods provide comparable results. The
is determined. The simplest variable to calculate
advantages of the nonparametric methods are (1)
is the standard deviation of the NN intervals the simplicity of the algorithm used (fast
(SDNN), that is, the square root of Fourier transform [FFT] in most of the cases)
variance. Other commonly used statistical and (2) the high processing speed, while the
variables calculated from segments of the total advantages of parametric methods are (1)
monitoring period include SDANN, the standard smoother spectral components that can be
deviation of the average NN intervals calculated distinguished independent of preselected
over short periods, usually 5 minutes, which is frequency bands, (2) easy post processing of
an estimate of the changes in heart rate due to the spectrum with an automatic calculation of
cycles longer than 5 minutes, and the SDNN low- and high-frequency power components
index, the mean of the 5-minute standard with an easy identification of the
deviations of NN intervals calculated over 24 central frequency of each component, and (3) an
hours, which measures the variability due to accurate estimation of PSD even on a small
cycles shorter than 5 minutes. number of samples on which the signal is
The most commonly used measures derived supposed to maintain stationery. The basic
from interval differences include RMSSD, the disadvantage of parametric methods is the need
square root of the mean squared differences of of verification of the suitability of the chosen
successive NN intervals, NN50, the number of model and of its complexity (that is, the order of
interval differences of successive NN intervals the model).
greater than 50 ms, and pNN50, the proportion
derived by dividing NN50 by the total number 3 Training Method for Promotion of
of NN intervals. All of these measurements of Emotional Stress Reduction,
short-term variation estimate high-

ISBN: 978-1-61804-028-2 382


Recent Advances in Applied & Biomedical Informatics and Computational Engineering in Systems Applications

Psychological Coherence and functional disturbances that can damage the


Vegetative Balance [11] human body. One of the main creators of this
3.1. Algorithm imbalance is emotional stress. There are many
Investigation is destined for use in medicine, methodologies that apply for funds to reduce
psychology and psychophysiology, in man’s emotional stress, its positive impact on ANS
self-development training, breathing technique’s regulatory function. This technology is designed
training, in the field of stress resistance, health to switch the ANS to specific "resonant" state,
promotion, strengthening of the capacity for characterized by many physiological parameters
work; and it relates to the apparatus and synchronous oscillator, coherent, sine wave-like
methods for detection of the heart rate characteristic, such as heart rate (SD), BP
variability and it’s use in providing biofeedback (blood pressure), respiration rate (ER), and so
during training sessions of organism’s on.
vegetative balance and coherence [11]. Good representing of resonant states is a heart
According to offered method, the evaluation of rate variability (HRV), or respiratory sinus
the hearth rhythm’s variability parameters is arrhythmia where the heart rhythm (HR) osciles
performed during the three time intervals synchronously with the respiratory cycle. Such
between four consecutive heart beats; and, when synchronization automatically regulates many
the arithmetical difference between two other body functions, including certain brain
consecutive intervals has identical sign with the rhythms and metabolic processes. It is also
sign of arithmetical difference between previous known that the HRV is the represent not only of
two consecutive intervals (previous set of his own rhythm, but also of the size of the state
intervals), a positive biofeedback signal (PBFS) of harmony of many other autonomic nervous
is generated, but if the differences are with system reactions, so that could be used as the
different sign, a negative biofeedback signal body's overall coherence and the coincidence
(NBFS) is generated; during time interval, index. Since the aim of the stress-reduction
greater than 20 sec, a “Central Index (CI)” is techniques is to create a resonance between the
calculated, according to formula: oscillating physiological parameters, it is
The sum of all PBFS * 100 / (The sum of all important to be able to assess the dynamics of
PBFS + The sum of all NBFS) (in percents). this resonance significance and stability in
PBFS, NBFS and CI are calculated in direct quantitative values, and generate feedback to
time regime, and are demonstrated on the screen reinforce positive changes.
of mobile training device or personal computer. To make SRV analysis and evaluation of the
They are used for ruling various systems SRA parameters electrocardiographic (ECG),
(physical medicine apparatus, learning systems, signal is commonly used. Interbeat intervals are
different light – sound stimulation devices). derived from the ECG as the intervals between
The invention relates to breathing technique two adjacent R-waves. It is very accurate and
training, stress resistance, health and capacity promising method, although quite inconvenient
building areas, in particular, to apparatus and and relatively expensive. Photopletysmography
methodologies for determining heart rate is used as an alternative method, applying the
variability and its application in biofeedback of small finger position sensor. The sensor emits
various vegetative body's balance and infrared light into the skin. The emitted light in
consistency conditions during training. part, linked by blood flow. Light absorption /
It is well known that the autonomic nervous reflection coefficient is proportional to blood
system (ANS) regulatory mechanisms are flow changes. Pletismogramm signal contains
affecting many organs and systems of human periodic rapid elevations showing vascular
body. The system works as a very complex pulsations. They can be used to determine heart
physiological oscillator unit. One of the main interbeat intervals, characterized by the
functions of ANS is provision of the optimal distances between two pletizmogrammas peaks.
balance between the oscillators. Any protracted In all we know the source of information where
regulatory balance disorder may lead to the feedback is used for the realization of HRV,

ISBN: 978-1-61804-028-2 383


Recent Advances in Applied & Biomedical Informatics and Computational Engineering in Systems Applications

the calculation algorithm is characterized by any 3.2. Practical application of the proposal in
of the similar characteristics - the time interval, detail
necessary for heart rate records to allow quality The first part is exactly the same for all pulse
and standards of appropriate HRV calculations. variability detecting methods. It is as follows.
Classical case, by international agreement, this By means of any standard EKG or pulse beat
amount of time should be 5 minutes long [1]. recording device time intervals between each
After the prototype and analogues, the most successive electrocardiogram QRS complex or
modest calculating the required number of pulse pulse wave must be fixed with an accuracy of at
beats, which can calculate the approximate data least 1 ms. It is generally recognized series of
SRV - 100 pulse beats (1950-up to a 80-year numbers (768, 753, 728, 764, 801, 853, etc.),
Soviet scientific data, which occurred in the which means that, for example, between the first
Soviet cosmonaut psycho physiological and second QRS complex onset elapses 768 ms
monitoring of the condition). Absolutely the or 0.768 seconds; respectively, during 1 minute
smallest number of pulse beats needed to make exist 60/0,768=78,12 heart beats, and that is so
something quite inaccurate, but calculate the called instantaneous heart rate or instantaneous
average heart rate, pulse rate is 10-15 beats, but pulse. The time elapsed between the second and
the average pulse is not the pulse rate the third QRS complex or the second and the
variability. third pulse beat is 79.68, the following
This means that when working on a prototype or instantaneous pulse is 82.43 per minute and so
analogue techniques, on.
a) To collect data before the feedback signal for But the momentary heart cycle length (or
generation must wait at least 1-6 minutes; instantaneous pulse) rates in practice are not
b) Each subsequent result can be obtained again used as pulse feedback indicators. They are very
only after 1-6 minutes; changeable, and physiological benefits lies
c) the work in "moving average" mode is in precisely in its ability to characterize this
better shape, because the waiting for "dead" variability mathematically, i.e., to find an
period is necessary only in the beginning, and algorithm that is the best and more practical to
then we are able to be calculate for each pulse characterize a specific physiological condition
all SRV figures for the previous 1.5-6-minute or situation, and can be used as feedback
period, but the improvement is somewhat indicators. Standard HRV indicators are
apparent (illusory), because in essence we do appropriate for scientific purposes, but are less
not obtain a HRV description of each concrete adequate for practical purpose as biofeedback
short time moment, but we have the result of elements. Our work allowed us to see the
previous period average. possibility to derive a special mathematical
All these methods are satisfactory, if we are algorithm for processing the instantaneous pulse
interested in slow, tens of minutes and hours data with the aim to generate a realistic
changing physiological responses. But usually indication of the vegetative n.s. regulatory
all the physiological and psychological processes, and, thus, create a parameter, which
processes that we want to adjust to the reverse could serve as a convenient indicator used
link are not so long. Even breathing, is used to biofeedback.
improve the pulse variability. Very rarely, Usually offered calculations, used for
including yoga exercises, one respiratory cycle biofeedback signal, need at least 100 -500 test
lasts longer than one minute. So, with the points, located before the instantaneous time
prototype and its analogues, we only very point recorded. For realisation of our algorithm
conditionally can hope that we as a feedback only 2 points before the instantaneous time
signal truly use peculiar HRV indicators. But point recorded are necessary, and, more
any stress during minutes may generate importantly, the conclusions we make with only
enormous changes, and that is why adequate one, the most recent time interval, with his
HRV record figures are essential. relationship to the previous interval, which is
just a report. The result therefore does not

ISBN: 978-1-61804-028-2 384


Recent Advances in Applied & Biomedical Informatics and Computational Engineering in Systems Applications

describe the average physiological state of For time period of 20 sec or longer the “Central
several minutes, but about 1 second. Thus, Index (CI)” is calculated as following:
feedback signal can be shown immediately after Central Index (CI) = amount of all PBFS / (all
the fourth heart beat. PBFS and NBFS amount) * 100 (percent)
3.3. Our algorithm is implemented as follows This calculation can be performed in both ways:
The following convention is adopted: immediately after each heart beat, or as a
P(n) = the time moment of the current heart retrospective analysis of a particular situation,
beat (fourth, if the calculations carried out at the particular time interval may be made. Since CI
fourth heart percussion); is always within the range between 0 and 100%,
P(n-1) = (third, if the calculations carried out at and the value estimate is unchangeable, it may
the fourth heart percussion); well be used as comparative indicator and
P(n-2) = (second, if the calculations carried out benchmark for the one and the same person at
at the fourth heart percussion); different life, work and health situations, as well
P(n-3) = (first, if the calculations carried out at as various human condition inter-comparisons.
the fourth heart percussion); CI is very dynamic, if you use it as a moving
T(n) = time interval between P(n) and P(n-1); average, for example, from 20 heart beats, and,
T(n-1) = time interval between P(n-1) and P(n- at the same time, it is also a solid, stable
2); indicator, that can be used to compare averages
T(n-2) = time interval between P(n-2) and P(n- for different people, or one and the same human
3); figures on different days, months or years, if the
Beginning from 4-th pulse beat and forth, each expense of a 5-minute long recorded is
pulse beat is granted with following designation performed in standardized conditions. Many of
(Parameter V(x)=+ or V(x)=–) according to our measurements allow introducing
following algorithm: approximate boundaries of this index - readings
V(n)=”+”, if T(n)>T(n-1); above 50% usually mean good health and high
V(n)=”-”, if T(n)<T(n-1); performance. Specially trained people, who
V(n)=”0”, if T(n)=T(n-1); manage yoga and deep breathing techniques, are
V(n-1)=”+”, if T(n-1) >T(n-2); able to increase this figure, and long to hold 70-
V(n-1)=”-”, if T(n-1)<T(n-2); 90% range. To emotional stress, the figure falls
V(n-1)=”0”, if T(n-1)=T(n-2) below 30%, and in some situations, it is only 3-
On each pulse beat beginning from the fourth 6%.
beat, the following calculations are made:
If V(n)=”+” and V(n-1)=”+” then PBFS 4 Conclusions
(Positive Biofeedback Signal)=PBFS+1 Training technique to reduce the emotional
If V(n)=”-” and V(n-1)=”-” then stress, physiological coherence and autonomic
PBFS=PBFS+1 balance, through a special breathing
If V(n)=”+” and V(n-1)=”-” then NBFS movements, body postures, psychological,
(Negative Biofeedback Signal)=NBFS+1 spiritual and other practices that comply with
If V(n)=”-” and V(n-1)=”+” then heart rate variability feedback control, in which
NBFS=NBFS+1 the parameter estimate can be made and the
If V(n)=”0” and V(n-1)=”+” then feedback signal is generated at each pulse of
NBFS=NBFS+1 percussion, the calculations are made for direct-
If V(n)=”+” and V(n-1)=”0” then time, and are played on portable devices or PC
NBFS=NBFS+1 screen, and the parameters used in various
If V(n)=”0” and V(n-1)=”-” then systems management (physical medicine
NBFS=NBFS+1 equipment, stress management, training and
If V(n)=”-” and V(n-1)=”0” then work on capacity-building, light - sound
NBFS=NBFS+1 stimulation systems) varies with the fact that, in
If V(n)=”0” and V(n-1)=”0” then order to improve the efficiency of the method
NBFS=NBFS+1 1st than 20 seconds over a longer period,

ISBN: 978-1-61804-028-2 385


Recent Advances in Applied & Biomedical Informatics and Computational Engineering in Systems Applications

calculate the "Central Index (CI)," according to individuals". International Journal of


the formula: amount of all PASS / (all PASS Psychophysiology 63: 48–54.
and NASS amount) * 100 (percent); [8] Brosschot, J.F.; E. Van Dijk, J.F. Thayer (2007).
2nd CI is calculated as a single value for a "Daily worry is related to low heart rate variability
selected period of time, both as a "rolling during waking and the subsequent nocturnal sleep
period". International Journal of Psychophysiology
average" of at least 5 previous pulse intervals 63: 39–47.
between adjacent pulse beats; [9] Perakakis P., Taylor M., Martinez-Nieto E.,
3rd PASS, NASS and CI will be calculated Revithi I., and Vila J. (2009). "Breathing frequency
direct-time, and are played on portable devices bias in fractal analysis of heart rate variability". Biol.
or a PC screen; Psych. 82: 82–88.
4th PASS, NASS and CI using different [10] Rollin McCraty, et al., "The Effects of
management systems (physical medicine Emotions on Short-Term Power Spectrum Analysis
equipment, training systems, different light - of Heart Rate Variability," The American Journal of
sound stimulation systems) Cardiology, Vo. 76, No. 14, Nov. 15, 1995, pp.
1089-1093.
Acknowledgements: Research was supported by [11] Buikis A., Aldersons A. Training Method for
Council of Sciences of Latvia (Project 09.1572). Promotion of Emotional Stress Reduction,
Psychological Coherence and Vegetative Balance –
References: man te nav precīza datuma, Nr. To pielikšu Rīgā.
[1] Heart Rate Variability. Standards of
Measurement, Physiological Interpretation, and
Clinical Use. Task Force of the European Society of
Cardiology the North American Society of Pacing
Electrophysiology. Circulation. 1996; 93:1043-
1065.
[2] Short-term cardiovascular oscillations in man:
measuring and modelling the physiologies. Michael
A. Cohen and J. Andrew Taylor Department of
Cognitive and Neural Systems, Boston University
and * Laboratories for Cardiovascular Research,
HRCA Research and Training Institute, Harvard
Medical School Division on Aging, Boston, MA,
USA Journal of Physiology (2002), 542.3, pp. 669–
683, 2002. 017483.
[3] Abildstrom SZ, Jensen BT, Agner E et al.
(2003). "Heart rate versus heart rate variability in
risk prediction after myocardial infarction". Journal
of Cardiovascular Electrophysiology 14 (2): 168–73.
PMID 12693499.
[4] Cohen, H; et al. (2000). "Autonomic dysfunction
in patients with fibromyalgia: Application of power
spectral analysis of heart-rate variability". Seminars
in Arthritis and Rheumatism 29: 217–227.
[5] Friederich, H.C.; et al. (2004). "Stress und
autonome Dysregulation bei Patienten mit einem
Fibromyalgiesyndrom". Der Schmerz 19 (3): 1432–
2129.
[6] Nickel, P.; F. Nachreiner (2003). "Sensitivity and
Diagnosticity of the 0.1-Hz Component of Heart
Rate Variability as an Indicator of Mental
Workload". Human Factors 45 (4): 575–590.
[7] Jönsson, P. (2007). "Respiratory sinus
arrhythmia as a function of state anxiety in healthy

ISBN: 978-1-61804-028-2 386

You might also like