Next Article in Journal
The Effect That Auditory Distractions Have on a Visual P300 Speller While Utilizing Low-Cost Off-the-Shelf Equipment
Next Article in Special Issue
Fusion Convolutional Neural Network for Cross-Subject EEG Motor Imagery Classification
Previous Article in Journal
An Efficient Secure Electronic Payment System for E-Commerce
Previous Article in Special Issue
Machine Learning Techniques with ECG and EEG Data: An Exploratory Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Experimental Study for Determining the Parameters Required for Detecting ECG and EEG Related Diseases during the Timed-Up and Go Test

by
Vasco Ponciano
1,2,
Ivan Miguel Pires
3,4,*,
Fernando Reinaldo Ribeiro
1,
María Vanessa Villasana
5,
Maria Canavarro Teixeira
6,7 and
Eftim Zdravevski
8
1
R&D Unit in Digital Services, Applications and Content, Polytechnic Institute of Castelo Branco, 6000-767 Castelo Branco, Portugal
2
Altranportugal, 1990-096 Lisbon, Portugal
3
Instituto de Telecomunicações, Universidade da Beira Interior, 6200-001 Covilhã, Portugal
4
Department of Computer Science, Polytechnic Institute of Viseu, 3504-510 Viseu, Portugal
5
Faculty of Health Sciences, Universidade da Beira Interior, 6200-506 Covilhã, Portugal
6
UTC de Recursos Naturais e Desenvolvimento Sustentável, Polytechnique Institute of Castelo Branco, 6001-909 Castelo Branco, Portugal
7
CERNAS—IPCB Research Centre for Natural Resources, Environment and Society, Polytechnique Institute of Castelo Branco, 6001-909 Castelo Branco, Portugal
8
Faculty of Computer Science and Engineering, University Ss Cyril and Methodius, 1000 Skopje, North Macedonia
*
Author to whom correspondence should be addressed.
Computers 2020, 9(3), 67; https://doi.org/10.3390/computers9030067
Submission received: 13 July 2020 / Revised: 21 August 2020 / Accepted: 26 August 2020 / Published: 27 August 2020
(This article belongs to the Special Issue Machine Learning for EEG Signal Processing)

Abstract

:
The use of smartphones, coupled with different sensors, makes it an attractive solution for measuring different physical and physiological features, allowing for the monitoring of various parameters and even identifying some diseases. The BITalino device allows the use of different sensors, including Electroencephalography (EEG) and Electrocardiography (ECG) sensors, to study different health parameters. With these devices, the acquisition of signals is straightforward, and it is possible to connect them using a Bluetooth connection. With the acquired data, it is possible to measure parameters such as calculating the QRS complex and its variation with ECG data to control the individual’s heartbeat. Similarly, by using the EEG sensor, one could analyze the individual’s brain activity and frequency. The purpose of this paper is to present a method for recognition of the diseases related to ECG and EEG data, with sensors available in off-the-shelf mobile devices and sensors connected to a BITalino device. The data were collected during the elderly’s experiences, performing the Timed-Up and Go test, and the different diseases found in the sample in the study. The data were analyzed, and the following features were extracted from the ECG, including heart rate, linear heart rate variability, the average QRS interval, the average R-R interval, and the average R-S interval, and the EEG, including frequency and variability. Finally, the diseases are correlated with different parameters, proving that there are relations between the individuals and the different health conditions.

1. Introduction

1.1. Background

Currently, the world’s population is increasingly aging, promoting research in several medical areas [1]. Due to the increase in life expectancy, the research studies focused on the elderly population are essential to improve the quality of life of the elderly. There are 157 elderly persons per hundred young people, so we can verify that the number of older adults is around 64% higher than young people [2,3,4,5]. Commonly, older adults have different types of pathologies. The automatic identification of these diseases based on the data acquired during the Timed-Up and Go test may allow different preliminary treatments [5,6,7]. The future generation of older adults will use mobile devices intensively [8,9], allowing the possibility of recognizing different types of diseases with these devices [10,11,12,13,14,15]. The evolution and high proliferation of the technological equipment with varying kinds of sensors allow the growth of the development of novel medical solutions [16], promoting the elderly to independent living with remote medical control [17].
Several sensors are embedded in mobile devices, but other sensors may be used in conjunction with the internal sensors to provide different measurements related to various physical and physiological parameters [18,19]. Regarding the analysis of different variables of the Timed-Up and Go test, the accelerometer and magnetometer sensors embedded on mobile devices may be used in conjunction with external sensors to perform complementary measurements [20,21,22].
Previous works show that the accelerometer and magnetometer sensors may support the analysis of the individuals’ functionality, including the gait [23,24]. However, one of the significant problems in this type of study consists in the synchronization of the acquisition of the different types of data from the sensors embedded on mobile devices, and the other sensors connected by over-the-air connection, including Electrocardiography (ECG) and Electroencephalography sensors (EEG) [25,26,27,28,29]. In addition to this challenge, data processing may include the fusion of the data acquired from different sources.
One of the most common tests for the assessment of the performance of the lower limbs is the Timed-Up and Go test, where the analysis of the data acquired from different sources allows the recognition of several healthcare problems, including balance, mobility, fall risk, Parkinson’s disease, amyotrophic lateral sclerosis, and other orthopedic, cardiovascular and brain pathologies [30,31,32,33,34,35].
The use of ECG and EEG sensors in conjunction with Timed-Up and Go tests allows cardiac problems and other problems associated with the nervous system to be monitored for the first analysis of emergency [25,26,27,28,29]. One of the low-cost solutions that may be used in conjunction with mobile devices is the BITalino device and its sensors [36]. The BITalino device is an example of biomedical equipment that is scalable and versatile, used for the acquisition of different biosignals transmitted by Bluetooth. The ECG sensors detect the duration and variation in size of the ECG waves used for the abnormalities of heart rate. Furthermore, the EEG sensor is used for the capture of the brain activity and it is positioned in a bipolar configuration with two measurement electrodes for the detection of electrical potentials. Combining smartphones with these devices and sensors may allow for the acquisition of cardiac signals, realizing the relationship of these signals with diseases associated with the heart, and the recognition of different healthcare problems.
In this work, we build upon previous studies [37,38] related to the acquisition of data from the accelerometer and magnetometer sensors available on the off-the-shelf mobile devices, pressure sensors available in the back of the chair, and ECG and EEG sensors, for the detection of different types of movement, and cardiac and brain problems. This paper aims to design and develop a method for the acquisition, analysis, and identification of different patterns of diseases with low-cost sensors. To facilitate this, the proposed solution uses embedded smartphone sensors and additional ones connected to a BITalino device [36] to identify patterns in measured ECG and EEG signals during Timed-Up and Go test and find their relation to existing illnesses of patients. We show that such correlation exists and that it can be used to identify emerging medical conditions, so they can be treated from early on.

1.2. Motivation

This research is supported by the ability to accurately identify various parameters during the Timed-Up and Go test [39]. However, the use of mobile devices to help the capture of the various sensors poses several additional restrictions associated with the memory, power processing, among others [40,41]. The data captured during the Timed-Up and Go test are essential for further measurements, where we intend to create a large dataset from different sensors used for additional measures of various diagnostics in medicine.
Different diseases may be recognized by the use of the Timed-Up and Go test [42], allowing healthcare professionals to assess different healthcare conditions of older adults. This implementation may be first aid or preliminary detection of various diseases in an initial state [43]. As it is an easy test, it may be performed with people with neurological disorders [44], allowing the pattern recognition of different diseases. Several parameters may be measured for the detection of cardiac diseases, including the heart rate, linear heart rate variability, the amplitude of complex QRS, and amplitudes of R-R and R-S intervals, for the detection of different diseases.

1.3. Prior Work

The ECG and EEG signals have been used in the past for the recognition of different diseases. The authors of [45] filtered the acquired ECG data and applied a differential transfer function to the signal. The authors of [45] also squared the ECG signal to obtain information about the waveform and to calculate the heart rate. According to the authors of [45], a heart rate below 60 bpm is related to the presence of a bradycardia disease. A tachycardia is identified with a heart rate higher than 100 bpm. In continuation, the premature ventricular contraction is recognized for an amplitude of the QRS complex higher than 120 ms [45]. Bradycardia and tachycardia diseases are not identified, but the heart rate is not between 60 and 100 bpm, the premature atrial contraction may be recognized [45].
The detection of different diseases, including normal sinus rhythm, premature atrial beat, atrial fibrillation, supraventricular tachyarrhythmia, pre-excitation, premature ventricular contraction, ventricular bulge, ventricular triplet, ventricular tachycardia, idioventricular rhythm, fusion ventricular block beat of the left branch, block beat of the right branch, were recognized with neural networks with features related to the normalization, maximum pooling, flattening, density, among others, related to several sliding windows [46]. The measurement of the P-R interval and the amplitude of QRS were also used for the recognition of cardiovascular death [47].
In [48], the authors recognized primary and secondary pulmonary hypertension with the amplitude of the P wave in the II derivation, the frontal mid axis of the QRS complex, duration of the QRS complex, deviations of the R and S waves in leads I and V6 and the T wave configurations in the precordial leads, where the best correlation was obtained with the value of the frontal mid-axis of the QRS complex.
The authors of [49] developed a method to detect atrial fibrillation based on the absence of P wave, irregular heart rate, and other variables related to the atrial activity. The implementation of the Pan Tompkins algorithm was used to detect arrhythmias with features related to frequency and time domains [50]. The detection of the coronary artery disease was recognized by the amplitude of QRS interval, and depressions S-T and T wave [51].
With the use of neural networks, the authors of [52,53] also detected various cardiac diseases, including left bundle branch block, right bundle branch block, premature ventricular contraction, Wolff–Parkinson–White syndrome, myocardial ischemia, and myocardial injury, with the duration of P, S, T and QRS, P-R and Q-T intervals, P, R and T amplitudes, and S-T segment.
Parkinson’s disease may be detected with different features, including R-R, P-R, QRS, and Q-T intervals, and the heart rate measured and corrected by Q-T interval, analyzing the Spearman correlation coefficient [54]. Based on different features, including heart rate, P, T and QRS intervals, P durations, and P-R, QRS, Q-T and corrected Q-T intervals, ventricular activation time, and frontal plane axis, the authors of [55] recognized left and right ventricular hypertrophies.
Related to the EEG signal, the authors of [56] implemented machine learning methods for the recognition of various diseases, including Alzheimer’s disease, with different statistical, amplitude, and frequency-based features. On the other hand, the authors of [57] implemented machine learning methods with time–domain features. Epilepsy is detected by various studies with machine learning methods, including Support Vector Machine (SVM), adaptive neuro-fuzzy inference system, and linear classifier, based on different features based on wavelet coefficients, including 2nd order cumulants (mean ± standard deviation), asymmetry, kurtosis, spectral, Renvi, Kolmogorov–Sinai, variance, energy, and the maximum and minimum values of the power spectral density [58,59,60,61].
Based on signal strength, window strength, and sample entropy, Alzheimer’s disease is correctly recognized with linear discriminant analysis [62]. Finally, acute ischemic stroke is detected by the densities of the power spectrum acquired by different devices [63]. As presented in Table 1, the diseases recognized by the ECG and EEG sensors are distributed by the number of the studies analyzed.

1.4. Purpose of the Study

The hypothesis of this research is that Android smartphones complemented by affordable external ECG and EEG sensors can provide a reliable method for the identification of different diseases. In particular, the paper aims to identify the different waves from the ECG and EEG sensors, calculate various metrics based on them, and verify that each disease has distinct features that can facilitate its identification.
The presentation of a method for recognizing the diseases related to ECG and EEG data with sensors, available in off-the-shelf mobile devices, and sensors connected to a BITalino device during the performance of the Timed-Up and Go test is the main contribution of this paper. This document presents the measurement of different features to create a reliable dataset for the recognition of the various diseases present in the sample in analysis. Additionally, this paper presents a state-of-the-art review of the methods used in the literature to identify illnesses related to ECG and EEG signals. The use of mobile devices proves its usability in these types of studies.
The data were previously acquired from people aged between 60 and 97 years old with several diseases. Clinicians already identified the disorders of each participant for the success of this study related to automatic identification, including arterial hypertension, depression, cardiac arrhythmia, coronary artery disease, and Parkinson’s disease. These diseases are only recognized with ECG sensors, where the EEG sensor is only used to detect possible abnormalities. The data acquisition was performed by institutionalized people in the Centre region of Portugal, explicitly in the municipalities of Fundão and Covilhã.
The data acquisition was performed during the performance of the Timed-Up and Go test with Android devices. The accelerometer and magnetometer data from the embedded sensors feature on the mobile device, pressure sensor data are placed on the back of the chair, and the EEG and ECG sensors are connected to the individual for the data acquisition. The mobile application simultaneous acquire the data from the different sensors, where, after data acquisition, the various text files were uploaded to the Cloud by using the FireBase service.
Commonly, ECG and EEG data are captured while the subject is stationary. Contrary to that, The Timed-Up and Go test involves movement. Be that as it may, there are approaches such as [63] which show that, even in cases when the subject is moving, recognition of different diseases related to ECG and EEG data [64] is still possible. This would be convenient for the users to perform these measurements while having light movement during other tests. Moreover, there also be some advantages to this approach because it can emphasize some emerging medical conditions that may become more apparent during movement. This subject is related to Internal Medicine, and the recognition of different diseases in an early stage is excellent for the treatment of different diseases [65,66].
After the data acquisition, the ECG and EEG data were processed, and the different features were extracted. The features extracted from the ECG sensors were the heart rate, the linear heart rate variability, the average QRS interval, the average R-R interval, and the average R-S interval. Next, the features extracted from the EEG sensor were frequency and variability.
The different features were correlated with the institutions, and the diseases present in the sample. Initially, the correlation between the values extracted from the sample and the diseases identified by the healthcare professionals was performed, verifying that they are commonly determined by different parameters, except the coronary artery disease and bilateral gonarthrosis. Applying different statistical tests, we also proved different correlations between diseases, and parameters extracted, as presented in Section 4.1.

1.5. Structure of the Study

The remaining sections of this paper are organized as follows: Section 2 presents the methods used for the analysis of the data acquired from ECG and EEG sensors during the performance of the Timed-Up and Go test by older adults. The study design and participants’ description of the Timed-Up and Go test, the data processing and acquisition processing, and the statistical analysis are presented in Section 3. In continuation, Section 4 discusses the main findings and limitations of the study. The comparison with prior work is also shown in Section 4. Finally, the conclusions of this study are presented in Section 5.

2. Methods

2.1. Study Design and Participants

For the acquisition of data related to the Timed-Up and Go test, this study is designed to use one mobile device with accelerometer and magnetometer sensors, and two BITalino devices with pressure, ECG, and EEG sensors. The mobile device is used for data acquisition and to send the collected data to the server. Several environments may be recognized, but our focus is related to healthcare. This study is a trial to check if, during the performance of the test, we can identify different types of diseases.
This study’s target is related to the population with cardiac and brain problems institutionalized in retirement homes and aged between 60 and 90 years. The sample for the analysis was selected in collaboration with the people responsible in the retirement homes. The requirement is related to the possibility of having mobility capabilities to perform the test. The volunteers were informed of all the rules to complete the test and the instrumentation. They signed the ethical agreement to publish the results of the experiments in an anonymous form.
The tests were performed with a XIAOMI MI6 with the Android operating system, but the different environment variables vary between the various institutions, which influences the data acquisition. The different individuals performed the test between October and December 2019 several times. Initially, the test was performed by 40 older adults, however, due to the over-the-air connection constraints, the ECG and EEG signals were only reliable acquired from 14 individuals with mean age 83.1 and a standard deviation of 7.4. The various healthcare diseases were presented in Table 2. The different volunteers have different types of diseases, including multiple sclerosis, diseases related to the heart, such as arrhythmia, or illnesses associated with mental health, such as Parkinson’s disease. Of the participants, 50% had a chair with supports and also 50% of them had good mobile network coverage. Only 14% of the patients were monitored by a physical therapist. The physical condition of 14% was good, 43% were narrow and tight, and 43% had a slope. Thus, the acquired data are heterogeneous. Parkinson’s disease is commonly classified as an illness related to mental health, but the derivations of ECG sensors frequently detect it.
The sample selected has different cardiac and brain problems that result in the creation of a dataset with varying types of data that will be processed, as presented in Section 2.2. The essential diseases analyzed were arterial hypertension, depression, cardiac arrhythmia, coronary artery disease, and Parkinson’s disease. The mobile application acquired the data from different sensors with different delays. The accelerometer and magnetometer sensors receive the data every 1 ms, and the pressure, ECG, and EEG sensors acquire the data every 10 ms. The EEG and ECG values taken into account in this study are related to the alpha channel of the sensor. The electrodes of the EEG sensors were placed in the electrically neutral location (left) and measurement electrodes (right), and another electrode in a region of low muscular activity as reference. The two electrodes of ECG sensor were placed at the wrist of the individual. The ECG and EEG sensors connected to the BITalino device has only one channel for the acquisition of the data [36]. The data acquisition process starts with an acoustic signal, which signals the start of the data acquisition.

2.2. Description of the Timed-Up and Go Test and Data Acquisition and Processing

In 1991, the Timed-Up and Go was created to help the healthcare professionals for the measurement of the risk of falls [60]. The Timed-Up and Go test is composed of various phases: sitting on the chair, lifting from the chair, walking for three meters, reversing the direction of walking, walking another three meters towards the chair, and sitting on the chair.
During the test’s performance, some technical issues influence the acquisition of signals by the BITalino device, such as the failure of the sensors data acquisition, the Bluetooth connection is lost, among others. This makes it more complicated to perform realistic studies on the field with actual patients, therefore the number of valid data points was reduced. The acquisition of different types of data was performed with a mobile device and two BITalino devices. The sensors used for the measurement of the results of the test and other complementary sensors may be used for the analysis of different parameters of healthcare diseases.

2.3. Statistical Analysis

After the acquisition of the data from the sensors, available in off-the-shelf mobile devices, and the sensors connected to the BITalino device, the data analysis was performed. The main goal is to analyze the data acquired from the ECG and EEG sensors during the performance of the Timed-Up and Go test for helping in recognition of the diseases associated with these sensors. Firstly, the ECG data were processed for the extraction of heart rate, linear heart rate variability, the average of QRS interval, the average of R-R interval, and the average of R-S interval. Finally, the EEG sensor as processed for the extraction of its frequency and variability.
After measuring the different variables, descriptive statistics, normality tests, and detection of outliers were performed. In addition, a statistical comparison between them was performed, analyzing and comparing the results by the averages of each institution, person, age, and healthcare diseases.

3. Results

3.1. Data Acquisition

The data were acquired by a mobile application installed in an Android device. It was developed with Android Studio. As presented in Figure 1, the mobile application is composed of components for data acquisition, storage, and send it to a FireBase server. The mobile application acquired data from the onboard sensors, i.e., accelerometer and magnetometer, and two BITalino devices connected by Bluetooth. The BITalino devices receive different sensors’ data at a sampling rate of 10 kHz and 16 bits of precision. The data acquired by onboard sensors are collected with a sampling rate of 1 kHz and 16 bits of precision. Firstly, the ECG sensor was attached to the user in three positions with electrodes on the arm. Finally, the EEG sensor was positioned on the head with two electrodes. This position of the sensors was discussed with healthcare professionals related to medicine and physiotherapy subjects.
On the one hand, this mobile application performed a continuous data collection using the built-in magnetometer and accelerometer sensors. The data were collected with a sampling rate of 1 kHz and 16 bits of precision. On the other hand, the mobile application handled the communication technologies required to receive data through Bluetooth from the BITalino device with a pressure sensor. Still, it was also responsible for sending the collected data to the FireBase service for storage.

3.2. Requirements

The requirements for performing the experiments were related to the environment and the individual. The individual must have the mobility to complete the test. For the performance of the Timed-Up and Go test, the material and equipment needed consists of a chair, a tape measure to identify the distance to walk, adhesive tape to mark the end of the three meters, where the individual should reverse the gait, two sports belts, where one is for the mobile device and another one for the BITalino device to measure ECG and EEG data, two BITalino devices and one mobile device. The ECG and EEG sensors consisted of the use of electrodes placed in the individual before the test (i.e., three electrodes for ECG sensor, and two electrodes for EEG sensors).

3.3. Validation

The data acquired from the ECG and EEG sensors allowed us to measure different parameters found in the literature, namely:
  • ECG sensor: Heart Rate; Linear Heart Rate Variability; Average of QRS interval; Average of R-R interval; Average of R-S interval.
  • EEG sensor: Frequency; Variability.
In the subsequent sections, the results of the comparison between age and the different variables measured (Section 3.3.1), finalizing this section with the descriptive statistics of the experiments by diseases (Section 3.3.2).

3.3.1. Results by Age

The average age of this group of individuals is 83 years old, varying between a minimum of 71 and a maximum of 97 years of age. The standard deviation is approximately 7 years old, and the respective coefficient of variation (CVs) is 9%, so we can consider the average as a good central indicator of the sample. Thus, in order to study the parameters analyzed by age, we started by organizing individuals into two groups separated by the average sample value, namely individuals aged 83 years or less and individuals aged over 83 years. The age frequency distribution can be seen in Table 3 as ≤83 years old and >83 years old.
For the analysis of the signification differences between the averages of age groups, the Student t-test was used to compare the average values. The assumptions of normality were validated, and the equality of variances was tested using the Levene F-test, and it was concluded that the variances between the two age groups for all parameters under analysis are equal (Pr (F > F-test) = p-value > 0.05) (Table 4).
Initially, we processed the ECG and EEG sensor data to identify the different variables. In Table 3, we can also observe the results of the Student’s t-test, through the respective limited probability associated with the test statistic (p-value) and the mean values for the different age ranges for the heart rate, linear heart rate variability, the average of QRS interval, the average of R-R interval, and the average of R-S interval variables obtained with the ECG sensor, and the frequency, and variability obtained with the EEG sensor, of the 11 individuals separated by age. Following the results by age, there are no homogeneous groups found in the sample.
Through the results of the t-student test, we can conclude that, statistically, there are no differences between the means of the two age groups for someone of the analyzed parameters ((Pr (|T| > t-test) = p-value > 0.05); that is, age is not discriminating anything within each parameter

3.3.2. Results by Disease

Finally, we processed the ECG and EEG sensor data to identify the different variables. In Table 5, the average values are presented for the heart rate, linear heart rate variability, the average of QRS interval, the average of R-R interval, and the average of R-S interval variables obtained with the ECG sensor, and the frequency, and variability obtained with the EEG sensor of the individuals separated by disease. This analysis was performed with the disorders present in more than one person. Following the results by illness, there are no homogeneous groups found in the sample.

4. Discussion

4.1. Main Findings

During the performance of the Timed-Up and Go test, we used ECG and EEG sensors to acquire the data and correlate the presence of mental and cardiac diseases. The sample of this study includes a diversity of people with different disorders. Thus, the experimental set was composed of sensors available in the off-the-shelf mobile device, i.e., accelerometer and magnetometer, and a pressure, ECG, and EEG sensors connected to a BITalino device. These sensors are practical to use and non-invasive, allowing the acquisition of different types of data. The data were acquired since the individual gets up from the chair and returns to the initial position.
This test was applied to older adults, who anonymously provided their age and information about their diseases for further analysis of the data acquired. The study of the data was performed considering three viewpoints: the viewpoint by age, by the institution, and by diseases related to cardiac and neurological problems. Between the persons analyzed, none of them reported neurological disorders. They reported illnesses that can be detected with ECG and EEG sensors, including arterial hypertension, arrhythmia, heart failure, coronary artery disease, Parkinson’s disease, and others. By the end, the environmental conditions may have also affected the results of the test. The ECG values for the arrhythmia and heart failure are similar, and the values for identifying Parkinson’s disease, and bilateral gonarthrosis are identical.
Therefore, we performed two types of analysis. These are the relation of the data acquired by the different sensors and the diseases reported by the individuals. After that, the statistical correlation between the data obtained and the disorders said.
Starting with the analysis of the data reported by the individuals, and based on the information related to the previous works, arterial hypertension may be identified with the amplitude of QRS interval lower than 700 ms, where most of the analyzed individuals reported this disease, except the persons 4 and 11.
In continuation, the identification of persons with arrhythmia or heart rate failure is identified by the irregularities of the heartbeat. Thus, the linear heart rate variability may be used to recognize these types of diseases, verifying if it is higher than 100%. Most of the persons reported these diseases, such as the persons 2, 6, 7, 8, 10, and 11.
Finally, the identification of Parkinson’s disease and Bilateral gonarthrosis can be performed with the high average of QRS interval and an average R-R interval of more than 2000 ms, allowing the easy recognition of persons 4 and 11. However, person 10 also has bilateral gonarthrosis, but it is not very well recognized because other diseases are present in this person. In this case, the differences in the data related to the Bilateral gonarthrosis and other diseases are minored.
Due to the different conditions of the test’s performance, arterial hypertension is more verified in persons of different ages, except the persons with 76 and 97 years old. Additionally, comparing the different ages, arrhythmia, or heart rate failure is only verified with the increasing, where the persons with age equal to 81, 83, 84, 89, and 97 years old. A pattern of persons with coronary artery disease cannot be identified with the comparison of the different ages. In addition, analyzing the different ages, Parkinson’s disease, and Bilateral gonarthrosis can be verified in persons aged 76 and 97.
Generally, the difference is correctly identified with the various parameters and constraints during the data acquisition. There are no diseases related to the EEG reported by the population, but it is verified that the variability of brain activity increases with age. Additionally, brain activity is lower in people with Parkinson’s disease.
For the diseases and parameters, the two-way analysis of variance test (two-way ANOVA) was performed with the aim of verifying the interaction between the two factors, in order to understand the presence of a disease affected by the values recorded by ECG and EEG sensors.
The model that includes the sources of disease variation and the interaction parameters vs. diseases is highly significant (Pr (F > F test) = 0 for both sources of variation), which means that there is an interaction between both parameters and disease factors.
Through the analysis of the confidence intervals for the mean of interaction between Heart Rate with Diseases, it is possible to conclude that there are no significant differences between the mean values of this interaction (Figure 2).
Through the analysis of the confidence intervals for the mean of interaction between Linear Heart Rate Variability with Diseases, it is possible to conclude that there are no significant differences between the mean values of this interaction (Figure 3).
Through the analysis of the confidence intervals for the mean of interaction between Average of QRS interval with Diseases, it is possible to conclude that there are no significant differences between the average values of this interaction (Figure 4).
Through the analysis of the confidence intervals for the mean of interaction between Average of R-R interval with Diseases, it is possible to conclude that there are significant differences between the average values of this interaction. In fact, the average values recorded in patients with Bilateral gonarthrosis is statistically higher than the values recorded in patients with arterial hypertension, depression, Diabetes mellitus Type II, Osteoarthritis and Osteoporosis (Figure 5). On the other hand, in the case of these last two diseases, the averages of QRS interval values are expected to be statistically equal but lower, followed by depression.
Through the analysis of the confidence intervals for the mean of interaction between Average of R-S interval with Diseases, it is possible to conclude that there are no significant differences between the average values of this interaction (Figure 6). Even so, the average value of this parametron in vertigo syndrome is highlighted. On the other hand, we highlight similar intermediate values for arterial hypertension, cardiac arrhythmia, heart failure, osteoarthritis, osteoporosis and hyperuricemia, as opposed to depression with a lower value.
Through the analysis of the confidence intervals for the mean of interaction between Frequency of EEG with Diseases, it is possible to conclude that there are no significant differences between the average values of this interaction (Figure 7). Even so, the average value of this parametron n in vertigo syndrome disease stands out with higher values, followed by osteoarthritis and osteoporosis. In contrast, cardiac arrhythmia, hyperuricemia, and arterial hypertension.
Through the analysis of the confidence intervals for the mean of interaction between Variability of EEG with Diseases, it is possible to conclude that there are no significant differences between the mean values of this interaction (Figure 8).
In Figure 9, we can verify the estimated marginal averages resulting from the interaction between parameters and diseases. The parameters of heart rate, linear heart rate variability, average of QRS amplitude, and EEG variability are practically constant for the diseases analyzed.
In the case of arterial hypertension, cardiac arrhythmia, Diabetes mellitus Type II, Vertigo Syndrome and Hyperuricemia, the values of Average of R-S interval are higher than the values of Frequency EEG. For depression and Bilateral gonarthrosis, the reverse is true.
We can also verify that when these two parameters are the same, we are in the presence of heart failure, osteoarthritis or osteoporosis.
Following the Average of R-R interval, we observed that a large difference between this parameter and the Average of R-S interval can mean the presence of Bilateral gonarthrosis disease, cardiac arrhythmia or arterial hypertension. Lower differences can mean the presence of osteoporosis, osteoarthritis, depression or hyperuricemia.

4.2. Limitations

In carrying out the experiments, the capture and calculation of the different features posed some challenges. Thus, the elderly had very different health states, which meant that the acquired values showed high heterogeneity. The environment for the performance of the test also varies, causing different variations on the data.
As the acquired data were stored in the FireBase service, which needs an available Internet connection that sometimes is not possible in real-time. Additionally, as we were using the BITalino device to acquire the data from pressure, ECG, and EEG sensors, the use of the over-the-air connection, i.e., Bluetooth, failed sometimes, causing some inconsistencies in the data. If detected, the individuals repeated the experiments to obtain reliable data. Commonly, all participants performed the experiments three consecutive times.
Finally, another limitation present in the different experiments was related to data processing and storage, which may be difficult to perform in real-time on the mobile device. The BITalino device does not include the timestamps, but it includes a control bit every 10 ms, where we consider its capture after the start of the data acquisition. The data acquisition was started with an acoustic signal, where the data started to acquire. The major challenge was related to the synchronization of the data acquisition, which was sometimes not possible.

4.3. Comparison with Prior Work

Based on the studies analyzed in Section 1.3, 24 diseases were recognized in the 17 research studies, but the majority lack the presentation of detailed parameters for the detection. Still, the majority (20 diseases) does not present the details about the recognition, providing only information about the use of artificial intelligence. Between the diseases reported in the literature, Cardiovascular death [47] is detected by the measurement of the P-R interval, and the amplitude of QRS complex. Next, the Primary and secondary pulmonary hypertension [48] is detected with the Frontal mid-axis of the QRS complex. Coronary artery disease [51] is detected by the Amplitude of QRS complex, and depressions of S-T and T-wave. A couple of diseases, i.e., Left and right bundle branch block, premature ventricular contraction, Wolff–Parkinson–White syndrome, myocardial ischemia, and myocardial injury are detected by the authors of [53] with durations of P-wave, S-wave, T-wave, QRS interval, P-R interval, Q-T interval, and S-T segment, and the amplitudes of P-wave, R-wave, and T-wave. Parkinson’s disease and Bilateral gonarthrosis are detected by the authors of [54] with the duration of R-R interval, P-R interval, QRS interval, and Q-T interval. In [55], left and right ventricular hypertrophies are detected with the measurement of heart rate, amplitudes of P-wave, T-wave, and QRS interval, and durations of P-wave, P-R interval, QRS interval, Q-T interval, and corrected Q-T interval. In continuation, Alzheimer’s disease [56,57,62] is commonly detected with statistical, amplitude and frequency-based features, and signal strength, window strength, and sample entropy. Acute ischemic stroke [63] is detected with densities of the power spectrum. Finally, Epilepsy [58,59,60,61] is detected with the 2nd order cumulants (mean ± standard deviation), asymmetry, kurtosis, spectral, Renvi, Kolmogorov–Sinai, variance, energy, and the maximum and minimum values of the power spectral density. Between the four diseases that have details about the recognition, i.e., Bradycardia, Tachycardia, Premature ventricular contraction, and Premature atrial contraction, one of them was available in our dataset as presented in Table 6. We also verified the normal values of the different parameters for further comparison [67,68,69].
However, the diseases highlighted in Table 6 were present in our dataset, which verified different conditions for its recognition.
Considering the values available in Table 6, it is possible to verify the effects of different diseases and the age of people analyzed in the different studies. The values presented by the authors of [45] are correlated between older adults and healthy adults. The values presented by the authors of [49] are not comparable as the authors did not present the values obtained. The authors of [50] also did not present the values of heart rate variability, but a pattern was verified with our study. Comparing the values reported in other studies to the ones reported in our study, it is evident that the durations of R-R and QRS intervals are higher in older adults. This is an interesting observation that could have policy implications. For example, some policies might be enhanced to include additional analysis with ECG and EEG during Timed Up and Go tests to hopefully detect some emerging medical conditions before they become too serious. However, in some cases, our dataset may not be enough for the identification of the right patterns, as verified in the recognition of Coronary artery disease. To do that, more individuals with different disorders are needed. Likewise, if some medical condition is identified with the proposed approach, it should be validated with a more traditional clinical method to avoid false positives.

5. Conclusions

The use of functional tests with systems that allow the acquisition of biological signals presents an optimal combination when we want to conclude investigations of this type, and the main goals of this study were to design and develop a method for the acquisition, analysis, and identification of different patterns of diseases with low-cost sensors.
As it was included in research on the results of the Timed-Up and Go test, it was only possible to collect the ECG and EEG signals from a small number of individuals. In the future, this study should be extended to a larger sample to investigate other dependencies. The reported values are in line with other studies in the literature.
In this sense, the Timed-Up and Go test, with all its phases and aspects, presents itself as a great example because it allows the analysis of data related to movement and therefore applied to physiotherapy. On the other hand, the measurement of physical effort and the measurement of signals related to the cardiac and neurological systems can also be calculated and analyzed.
The ECG and EEG data allow us to know and analyze the functioning of the heart and brain during the effort. The use of statistical methods of analysis based on the variance in each individual, considering their physical state, allows us to know and build a set of relationships and patterns for each of the diseases related to the cardiac and neurological system.
The presented results show that it is possible to find correlations between existing diseases and different features extracted from ECG and EEG signals collected during Timed-Up and Go tests. The applied statistical methods suggest that investigation of this type can be critical in helping doctors and in the first analysis of a patient. It shows patterns in the analyzed diseases, showing that people with the same diseases have very similar values, which is very encouraging considering the aim of the study—to detect emerging medical conditions early on. The main contribution of this paper is that the proposed solution was developed end-to-end and uses affordable sensors and devices, and computational methods that are easily deployed on mobile devices with limited computing power and battery capacity.
In the future, and as the development of this research, it will be important to apply artificial intelligence and machine learning methods to allow the calculation and identification of diseases automatically.

Author Contributions

Conceptualization, methodology, software, validation, formal analysis, investigation, writing—original draft preparation, writing—review, and editing: V.P., I.M.P., F.R.R., M.V.V., M.C.T., and E.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work is funded by FCT/MEC through national funds and co-funded by FEDER-PT2020 partnership agreement under the project UIDB/EEA/50008/2020.

Acknowledgments

This work is funded by FCT/MEC through national funds and when applicable co-funded by FEDER-PT2020 partnership agreement under the project UIDB/EEA/50008/2020. (Este trabalho é financiado pela FCT/MEC através de fundos nacionais e cofinanciado pelo FEDER, no âmbito do Acordo de Parceria PT2020 no âmbito do projeto UIDB/EEA/50008/2020). This article is based upon work from COST Action IC1303-AAPELE—Architectures, Algorithms and Protocols for Enhanced Living Environments and COST Action CA16226–SHELD-ON—Indoor living space improvement: Smart Habitat for the Elderly, supported by COST (European Cooperation in Science and Technology). More information in www.cost.eu.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Pires, I.M.; Andrade, M.; Garcia, N.M.; Crisóstomo, R.; Florez-Revuelta, F. Measurement of heel-rise test results using a mobile device. In Proceedings of the Doctoral Consortium—DCPhyCS, (PhyCS 2015), Angers, France, 11–13 February 2015; pp. 9–18. [Google Scholar]
  2. World Health Organization. Ageing and Health. Available online: https://www.who.int/news-room/fact-sheets/detail/ageing-and-health (accessed on 27 December 2019).
  3. Blackman, S.; Matlo, C.; Bobrovitskiy, C.; Waldoch, A.; Fang, M.L.; Jackson, P.; Mihailidis, A.; Nygård, L.; Astell, A.; Sixsmith, A. Ambient assisted living technologies for aging well: A scoping review. J. Intell. Syst. 2015, 25, 55–69. [Google Scholar] [CrossRef]
  4. Lutz, W.; Sanderson, W.; Scherbov, S. The coming acceleration of global population ageing. Nature 2008, 451, 716–719. [Google Scholar] [CrossRef] [PubMed]
  5. Długosz, Z. Population ageing in Europe. Procedia Soc. Behav. Sci. 2011, 19, 47–55. [Google Scholar] [CrossRef]
  6. Wu, F.; Li, X.; Sangaiah, A.K.; Xu, L.; Kumari, S.; Wu, L.; Shen, J. A lightweight and robust two-factor authentication scheme for personalized healthcare systems using wireless medical sensor networks. Future Gener. Comput. Syst. 2018, 82, 727–737. [Google Scholar] [CrossRef]
  7. Jagadeeswari, V.; Subramaniyaswamy, V.; Logesh, R.; Vijayakumar, V. A study on medical Internet of Things and Big Data in personalized healthcare system. Health Inf. Sci. Syst. 2018, 6, 14. [Google Scholar] [CrossRef]
  8. Piper, A.M.; Garcia, R.C.; Brewer, R.N. Understanding the challenges and opportunities of smart mobile devices among the oldest old. Int. J. Mob. Hum. Comput. Interact. 2016, 8, 83–98. [Google Scholar] [CrossRef] [Green Version]
  9. Kim, S.; Gajos, K.Z.; Muller, M.; Grosz, B.J. Acceptance of mobile technology by older adults: A preliminary study. In Proceedings of the 18th International Conference on Human-Computer Interaction with Mobile Devices and Services, Florence, Italy, 6–9 September 2016; pp. 147–157. [Google Scholar]
  10. Christensen, L.; Vøllestad, N.K.; Veierød, M.B.; Stuge, B.; Cabri, J.; Robinson, H.S. The Timed Up & Go test in pregnant women with pelvic girdle pain compared to asymptomatic pregnant and non-pregnant women. Musculoskelet. Sci. Pract. 2019, 43, 110–116. [Google Scholar]
  11. Åhman, H.B.; Giedraitis, V.; Cedervall, Y.; Lennhed, B.; Berglund, L.; McKee, K.; Kilander, L.; Rosendahl, E.; Ingelsson, M.; Åberg, A.C. Dual-task performance and neurodegeneration: Correlations between timed up-and-go dual-task test outcomes and alzheimer’s disease cerebrospinal fluid biomarkers. JAD 2019, 71, S75–S83. [Google Scholar]
  12. Bustam, I.G.; Suriyaamarit, D.; Boonyong, S. Timed up and go test in typically developing children: Protocol choice influences the outcome. Gait Posture 2019, 73, 258–261. [Google Scholar] [CrossRef]
  13. Langeard, A.; Houdeib, R.; Saillant, K.; Kaushal, N.; Lussier, M.; Bherer, L. Switching ability mediates the age-related difference in timed up and go performance. JAD 2019, 71, S23–S28. [Google Scholar]
  14. Jakobsson, M.; Brisby, H.; Gutke, A.; Lundberg, M.; Smeets, R. One-minute stair climbing, 50-foot walk, and timed up-and-go were responsive measures for patients with chronic low back pain undergoing lumbar fusion surgery. BMC Musculoskelet. Disord. 2019, 20, 137. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Hatch, J.; Veneri, D. The effect of rolling walker use on interpretation of timed up and go test scores: A preliminary study. Int. J. Rehabil. Res. 2020, 43, 95–98. [Google Scholar] [CrossRef] [PubMed]
  16. Marques, G.; Pitarma, R.; Garcia, N.M.; Pombo, N. Internet of things architectures, technologies, applications, challenges, and future directions for enhanced living environments and healthcare systems: A review. Electronics 2019, 8, 1081. [Google Scholar] [CrossRef] [Green Version]
  17. Marques, G. Ambient assisted living and internet of things. In Harnessing the Internet of Everything (IoE) for Accelerated Innovation Opportunities; Cardoso, P.J.S., Monteiro, J., Semião, J., Rodrigues, J.M.F., Eds.; IGI Global: Hershey, PA, USA, 2019; pp. 100–115. ISBN 9781522573326. [Google Scholar]
  18. Majumder, S.; Deen, M.J. Smartphone sensors for health monitoring and diagnosis. Sensors 2019, 19, 2164. [Google Scholar] [CrossRef] [Green Version]
  19. Pires, I.M.; Teixeira, M.C.; Pombo, N.; Garcia, N.M.; Flórez-Revuelta, F.; Spinsante, S.; Goleva, R.; Zdravevski, E. Android library for recognition of activities of daily living: Implementation considerations, challenges, and solutions. Open Bioinform. J. 2018, 11, 61–88. [Google Scholar] [CrossRef] [Green Version]
  20. Kakria, P.; Tripathi, N.K.; Kitipawang, P. A real-time health monitoring system for remote cardiac patients using smartphone and wearable sensors. Int. J. Telemed. Appl. 2015, 2015, 1–11. [Google Scholar] [CrossRef] [Green Version]
  21. Higgins, J.P. Smartphone applications for patients’ health and fitness. Am. J. Med. 2016, 129, 11–19. [Google Scholar] [CrossRef] [Green Version]
  22. Ben-Zeev, D.; Scherer, E.A.; Wang, R.; Xie, H.; Campbell, A.T. Next-generation psychiatric assessment: Using smartphone sensors to monitor behavior and mental health. Psychiatr. Rehabil. J. 2015, 38, 218–226. [Google Scholar] [CrossRef] [Green Version]
  23. Gautschi, O.P.; Stienen, M.N.; Corniola, M.V.; Joswig, H.; Schaller, K.; Hildebrandt, G.; Smoll, N.R. Assessment of the minimum clinically important difference in the timed up and go test after surgery for lumbar degenerative disc disease. Neurosurgery 2017, 80, 380–385. [Google Scholar] [CrossRef] [Green Version]
  24. Whitney, J.C.; Lord, S.R.; Close, J.C.T. Streamlining assessment and intervention in a falls clinic using the timed up and go test and physiological profile assessments. Age Ageing 2005, 34, 567–571. [Google Scholar] [CrossRef] [Green Version]
  25. Haghi, M.; Thurow, K.; Stoll, R. Wearable devices in medical internet of things: Scientific research and commercially available devices. Healthc. Inform. Res. 2017, 23, 4. [Google Scholar] [CrossRef] [PubMed]
  26. Andrews, R.G. Mobile Sensor Data Measurements and Analysis for Fall Detection in Elderly Health Care. Available online: https://pdfs.semanticscholar.org/0c71/1db20d7a1449a4dda7e0f4a27b10d8fe9801.pdf (accessed on 20 June 2020).
  27. Guo, J.; Zhou, X.; Sun, Y.; Ping, G.; Zhao, G.; Li, Z. Smartphone-based patients’ activity recognition by using a self-learning scheme for medical monitoring. J. Med. Syst. 2016, 40, 140. [Google Scholar] [CrossRef]
  28. Dziak, D.; Jachimczyk, B.; Kulesza, W. IoT-based information system for healthcare application: Design methodology approach. Appl. Sci. 2017, 7, 596. [Google Scholar] [CrossRef]
  29. Mellone, S.; Tacconi, C.; Schwickert, L.; Klenk, J.; Becker, C.; Chiari, L. Smartphone-based solutions for fall detection and prevention: The FARSEEING approach. Z. Gerontol. Geriatr. 2012, 45, 722–727. [Google Scholar] [CrossRef] [PubMed]
  30. Herman, T.; Giladi, N.; Hausdorff, J.M. Properties of the ‘timed up and go’ test: More than meets the eye. Gerontology 2011, 57, 203–210. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  31. Kotagal, V.; Albin, R.L.; Muller, M.L.T.M.; Koeppe, R.A.; Studenski, S.; Frey, K.A.; Bohnen, N.I. Advanced age, cardiovascular risk burden, and timed up and go test performance in parkinson disease. J. Gerontol. Ser. A Biol. Sci. Med. Sci. 2014, 69, 1569–1575. [Google Scholar] [CrossRef] [Green Version]
  32. Montes, J.; Cheng, B.; Diamond, B.; Doorish, C.; Mitsumoto, H.; Gordon, P.H. The timed up and go test: Predicting falls in ALS. Amyotroph. Lateral Scler. 2007, 8, 292–295. [Google Scholar] [CrossRef]
  33. Joshua, A.M.; Karnad, S.D.; Nayak, A.; Suresh, B.V.; Mithra, P.; Unnikrishnan, B. Effect of foot placements during sit to stand transition on timed up and go test in stroke subjects: A cross sectional study. NRE 2017, 40, 355–362. [Google Scholar] [CrossRef]
  34. Givens, D.L.; Eskildsen, S.; Taylor, K.E.; Faldowski, R.A.; Del Gaizo, D.J. Timed up and go test is predictive of patient-reported outcomes measurement information System physical function in patients awaiting total knee arthroplasty. Arthroplast. Today 2018, 4, 505–509. [Google Scholar] [CrossRef] [Green Version]
  35. Son, K.Y.; Shin, D.W.; Lee, J.E.; Kim, S.H.; Yun, J.M.; Cho, B. Association of timed up and go test outcomes with future incidence of cardiovascular disease and mortality in adults aged 66 years: Korean national representative longitudinal study over 5.7 years. BMC Geriatr. 2020, 20, 111. [Google Scholar] [CrossRef] [Green Version]
  36. Batista, D.; Silva, H.; Fred, A. Experimental characterization and analysis of the BITalino platforms against a reference device. In Proceedings of the 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), JeJu, Korea, 11–15 July 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 2418–2421. [Google Scholar]
  37. Ponciano, V.; Pires, I.M.; Ribeiro, F.R.; Garcia, N.M.; Pombo, N.; Spinsante, S.; Crisóstomo, R. Smartphone-based automatic measurement of the results of the timed-up and go test. In Proceedings of the 5th EAI International Conference on Smart Objects and Technologies for Social Good, Valencia, Spain, 25–27 September 2019; pp. 239–242. [Google Scholar]
  38. Ponciano, V.; Pires, I.M.; Ribeiro, F.R.; Garcia, N.M.; Pombo, N. Non-invasive measurement of results of timed-up and go test: Preliminary results. In Proceedings of the Ageing Congress 2019, Coimbra, Portugal, 25–28 May 2019. [Google Scholar]
  39. Williams, B.; Allen, B.; True, H.; Fell, N.; Levine, D.; Sartipi, M. A real-time, mobile timed up and go system. In Proceedings of the 2015 IEEE 12th International Conference on Wearable and Implantable Body Sensor Networks (BSN), Cambridge, MA, USA, 9–12 June 2015; pp. 1–6. [Google Scholar]
  40. Pires, I.M.; Garcia, N.M.; Pombo, N.; Flórez-Revuelta, F. Limitations of the use of mobile devices and smart environments for the monitoring of ageing people. In Proceedings of the 4th International Conference on Information and Communication Technologies for Ageing Well and e-Health, Funchal, Madeira, Portugal, 22–23 March 2018; pp. 269–275. [Google Scholar]
  41. Pires, I.; Felizardo, V.; Pombo, N.; Garcia, N.M. Limitations of energy expenditure calculation based on a mobile phone accelerometer. In Proceedings of the 2017 International Conference on High Performance Computing & Simulation (HPCS), Genoa, Italy, 17–21 July 2017; pp. 124–127. [Google Scholar]
  42. McGough, E.L.; Kelly, V.E.; Logsdon, R.G.; McCurry, S.M.; Cochrane, B.B.; Engel, J.M.; Teri, L. Associations between physical performance and executive function in older adults with mild cognitive impairment: Gait speed and the timed “up & go” test. Phys. Ther. 2011, 91, 1198–1207. [Google Scholar] [PubMed]
  43. Kwan, M.M.-S.; Lin, S.-I.; Chen, C.-H.; Close, J.C.T.; Lord, S.R. Sensorimotor function, balance abilities and pain influence Timed Up and Go performance in older community-living people. Aging Clin. Exp. Res. 2011, 23, 196–201. [Google Scholar] [CrossRef] [PubMed]
  44. Hui, E.; Chui, B.T.; Woo, J. Effects of dance on physical and psychological well-being in older persons. Arch. Gerontol. Geriatr. 2009, 49, e45–e50. [Google Scholar] [CrossRef] [PubMed]
  45. Patel, A.M.; Gakare, P.K.; Cheeran, A.N. Real time ECG feature extraction and arrhythmia detection on a mobile platform. Int. J. Comput. Appl. 2012, 44, 40–45. [Google Scholar]
  46. Yıldırım, Ö.; Pławiak, P.; Tan, R.S.; Acharya, U.R. Arrhythmia detection using deep convolutional neural network with long duration ECG signals. Comput. Biol. Med. 2018, 102, 411–420. [Google Scholar] [CrossRef]
  47. Deo, R.; Shou, H.; Soliman, E.Z.; Yang, W.; Arkin, J.M.; Zhang, X.; Townsend, R.R.; Go, A.S.; Shlipak, M.G.; Feldman, H.I. Electrocardiographic measures and prediction of cardiovascular and noncardiovascular death in CKD. J. Am. Soc. Nephrol. 2016, 27, 559–569. [Google Scholar] [CrossRef] [Green Version]
  48. Ahearn, G.S.; Tapson, V.F.; Rebeiz, A.; Greenfield, J.C. Electrocardiography to define clinical status in primary pulmonary hypertension and pulmonary arterial hypertension secondary to collagen vascular disease. Chest 2002, 122, 524–527. [Google Scholar] [CrossRef]
  49. Couceiro, R.; Carvalho, P.; Henriques, J.; Antunes, M.; Harris, M.; Habetha, J. Detection of atrial fibrillation using model-based ECG analysis. In Proceedings of the 2008 19th International Conference on Pattern Recognition, Tampa, FL, USA, 8–11 December 2008. [Google Scholar]
  50. Subramanian, B. ECG signal classification and parameter estimation using multiwavelet transform. Biomed. Res. 2017, 28, 3187–3193. [Google Scholar]
  51. Rassi, A.N.; Aljaroudi, W.; Naderi, S.; Alraies, M.C.; Menon, V.; Rodriguez, L.; Grimm, R.; Griffin, B.; Jaber, W.A. Exercise stress echocardiography in patients with aortic stenosis: Impact of baseline diastolic dysfunction and functional capacity on mortality and aortic valve replacement. Cardiovasc. Diagn. 2013, 3, 205–215. [Google Scholar]
  52. Ponciano, V.; Pires, I.M.; Ribeiro, F.R.; Villasana, M.V.; Garcia, N.M.; Leithardt, V. Detection of diseases based on Electrocardiography and Electroencephalography signals embedded in different devices: An exploratory study. BJD 2020, 6, 27212–27231. [Google Scholar] [CrossRef]
  53. Gautam, M.K.; Giri, V.K. A neural network approach and wavelet analysis for ECG classification. In Proceedings of the 2016 IEEE International Conference on Engineering and Technology (ICETECH), Coimbatore, India, 17–18 March 2016; pp. 1136–1141. [Google Scholar]
  54. Mochizuki, H.; Ishii, N.; Shiomi, K.; Nakazato, M. Clinical features and electrocardiogram parameters in Parkinson’s disease. Neurol. Int. 2017, 9, 82–83. [Google Scholar] [CrossRef] [Green Version]
  55. Saxena, S.C.; Kumar, V.; Hamde, S.T. Feature extraction from ECG signals using wavelet transforms for disease diagnostics. Int. J. Syst. Sci. 2002, 33, 1073–1085. [Google Scholar] [CrossRef]
  56. Lehmann, C.; Koenig, T.; Jelic, V.; Prichep, L.; John, R.E.; Wahlund, L.O.; Dodge, Y.; Dierks, T. Application and comparison of classification algorithms for recognition of Alzheimer’s disease in electrical brain activity (EEG). J. Neurosci. Methods 2007, 161, 342–350. [Google Scholar] [CrossRef] [PubMed]
  57. Kalaivani, M.; Kalaivani, V.; Devi, V.A. Analysis of EEG signal for the detection of brain abnormalities. Int. J. Comput. Appl. 2014, 1, 1–6. [Google Scholar]
  58. Acharya, U.R.; Sree, S.V.; Suri, J.S. Automatic detection of epileptic eeg signals using higher order cumulant features. Int. J. Neural Syst. 2011, 21, 403–414. [Google Scholar] [CrossRef] [PubMed]
  59. Khan, Y.U. Automatic detection of seizure ONSET in pediatric EEG. Int. J. Embed. Syst. Appl. 2012, 2, 81–89. [Google Scholar] [CrossRef]
  60. Kannathal, N.; Choo, M.L.; Acharya, U.R.; Sadasivan, P.K. Entropies for detection of epilepsy in EEG. Comput. Methods Programs Biomed. 2005, 80, 187–194. [Google Scholar] [CrossRef] [PubMed]
  61. Shantha, S.K.R.; Prabin, J.J. Seizure detection in EEG using time frequency analysis and SVM. In Proceedings of the 2011 International Conference on Emerging Trends in Electrical and Computer Technology, ICETECT 2011, Nagercoil, India, 23–24 March 2011; pp. 626–630. [Google Scholar]
  62. Woon, W.L.; Cichocki, A.; Vialatte, F.; Musha, T. Techniques for early detection of Alzheimer’s disease using spontaneous EEG recordings. Physiol. Meas. 2007, 28, 335–347. [Google Scholar] [CrossRef]
  63. Wijaya, S.K.; Badri, C.; Misbach, J.; Soemardi, T.P.; Sutanno, V. Electroencephalography (EEG) for detecting acute ischemic stroke. In Proceedings of the 2015 4th International Conference on Instrumentation, Communications, Information Technology and Biomedical Engineering, Bandung, Indonesia, 2–3 November 2015; pp. 36–41. [Google Scholar]
  64. Tejeda, R.G.; Falcón, M.C. Optimization of algorithms for real-time ECG beats classification. In World Congress on Medical Physics and Biomedical Engineering 2018; Lhotska, L., Sukupova, L., Lacković, I., Ibbott, G.S., Eds.; Springer: Singapore, 2019; Volume 68/2, pp. 335–338. ISBN 9789811090370. [Google Scholar]
  65. Herold, G. HEROLD’s Internal Medicine, 2nd ed.; Lulu.com: Morrisville, NC, USA; ISBN 9781291727340.
  66. Hui, D. Approach to Internal Medicine: A Resource Book for Clinical Practice; Springer Science & Business Media: Berlin, Germany, 2011; ISBN 9781441965059. [Google Scholar]
  67. Ayoka, A.; Ogunlade, O.; Akintomide, A.; Akomolafe, R. Normal limits of electrocardiogram and cut-off values for left ventricular hypertrophy in young adult nigerians. Niger. J. Physiol. Sci. 2014, 29, 63–66. [Google Scholar]
  68. Normal Electrocardiography (ECG) Intervals: Normal Electrocardiography Intervals. Available online: https://emedicine.medscape.com/article/2172196-overview (accessed on 10 August 2020).
  69. Rautaharju, P.M.; Surawicz, B.; Gettes, L.S. AHA/ACCF/HRS recommendations for the standardization and interpretation of the electrocardiogram: Part IV: The ST segment, T and U waves, and the QT interval: A scientific statement from the american heart association electrocardiography and arrhythmias committee, council on clinical cardiology; the american college of cardiology foundation; and the heart rhythm society: Endorsed by the international society for computerized electrocardiology. Circulation 2009, 119, e241–e250. [Google Scholar]
Figure 1. Mobile application.
Figure 1. Mobile application.
Computers 09 00067 g001
Figure 2. The 95% confidence interval for mean of interaction between Heart Rate with Diseases.
Figure 2. The 95% confidence interval for mean of interaction between Heart Rate with Diseases.
Computers 09 00067 g002
Figure 3. The 95% confidence interval for mean of interaction between Linear Heart Rate Variability with Diseases.
Figure 3. The 95% confidence interval for mean of interaction between Linear Heart Rate Variability with Diseases.
Computers 09 00067 g003
Figure 4. The 95% confidence interval for mean of interaction between Average of QRS interval with Diseases.
Figure 4. The 95% confidence interval for mean of interaction between Average of QRS interval with Diseases.
Computers 09 00067 g004
Figure 5. The 95% confidence interval for mean of interaction between Average of R-R interval with Diseases.
Figure 5. The 95% confidence interval for mean of interaction between Average of R-R interval with Diseases.
Computers 09 00067 g005
Figure 6. The 95% confidence interval for mean of interaction between Average of R-S interval with Diseases.
Figure 6. The 95% confidence interval for mean of interaction between Average of R-S interval with Diseases.
Computers 09 00067 g006
Figure 7. The 95% confidence interval for mean of interaction between Frequency of EEG with Diseases.
Figure 7. The 95% confidence interval for mean of interaction between Frequency of EEG with Diseases.
Computers 09 00067 g007
Figure 8. The 95% confidence interval for mean of interaction between Variability of EEG with Diseases.
Figure 8. The 95% confidence interval for mean of interaction between Variability of EEG with Diseases.
Computers 09 00067 g008
Figure 9. Marginal estimated means of the interaction between diseases and parameters.
Figure 9. Marginal estimated means of the interaction between diseases and parameters.
Computers 09 00067 g009
Table 1. Studies vs. Diseases.
Table 1. Studies vs. Diseases.
DiseasesStudiesNumber of Studies
ECG
Arrhythmia (i.e., atrial fibrillation, supraventricular tachyarrhythmia, pre-excitation, ventricular tachycardia, idioventricular rhythm, left and right branch block, and Wolff–Parkinson–White syndrome)[46,49,50,53]4
Premature ventricular contraction[45,46,53]3
Primary and secondary pulmonary hypertension; coronary artery disease; myocardial ischemia; myocardial injury; Parkinson’s disease; left and right ventricular hypertrophies[48,51,53,54,55]1
EEG
Epilepsy[58,59,60,61]4
Alzheimer’s disease[56,62]2
Brain abnormalities; acute ischemic stroke.[63]1
Table 2. Description of the population of the study and test conditions.
Table 2. Description of the population of the study and test conditions.
Person IDDiseasesAge (Years Old)Test Conditions
Chair with SupportsGood Mobile Network CoveragePhysical ConditionsMonitored by Physical Therapist
1Arterial hypertension; Arthrosis85NoYesGoodYes
2Arterial hypertension; Cardiac arrhythmia; Arteriosclerotic coronary disease; Heart failure84YesNoGoodYes
3Right leg amputation; Umbilical hernia; Arterial hypertension88YesNoWith SlopeNo
4Prostate Cancer; Parkinson’s disease; Post-traumatic stress76YesNoWith SlopeNo
5Arterial hypertension; Diabetes mellitus Type II86YesNoWith SlopeNo
6Heart failure; Diabetes mellitus Type II; Arterial hypertension; Depression; Sequelae of surgery to brain injury83YesNoWith SlopeNo
7Heart failure; Diabetes mellitus Type II; Vertigo syndrome; Chronic headaches; Osteoarthritis; Prosthesis in the right humeral; Osteoporosis; Arterial hypertension81YesNoWith SlopeNo
8Osteoarthritis; Depression; Heart failure; Arterial hypertension; Osteoporosis89YesNoWith SlopeNo
9Dementia of vascular etiology; Prostate Cancer; Arterial hypertension; Vertigo syndromeN/DNoYesNarrow and tightNo
10Diabetes mellitus Type II; Arterial hypertension; Heart failure; Hyperuricemia; Depression; Bilateral gonarthrosisN/DNoYesNarrow and tightNo
11Heart failure; Chronic obstructive pulmonary disease; Bilateral gonarthrosis97NoYesNarrow and tightNo
12Diabetes mellitus Type II; Arterial hypertension71NoYesNarrow and tightNo
13Arterial hypertension74NoYesNarrow and tightNo
14Arterial hypertension; Pulmonary fibrosis; Hyperuricemia; Anemia; Chronic kidney disease; Cardiac arrhythmia; Acute myocardial infarction; HypocoagulatedN/DNoYesNarrow and tightNo
N/D: The values were not reported.
Table 3. Frequencies of the different ages.
Table 3. Frequencies of the different ages.
Class of AgeFrequencyPercent (%)Valid Percent (%)
Valid[71; 83]535.745.5
(83; 97]642.954.5
Total1178.6100.0
missingN/D321.4
Total14100.0
Table 4. Average values of the Electroencephalography (EEG) and Electrocardiography (ECG) sensors by age for the 14 studied participants.
Table 4. Average values of the Electroencephalography (EEG) and Electrocardiography (ECG) sensors by age for the 14 studied participants.
ParametersNClass Age
(Years Old)
Mean ± Standard DeviationStandard Error of MeanMinimumMaximump-Value
F-TestStudent t-Test
Heart Rate5[71; 83]90.8 ± 5.62.586990.2950.332
6(83; 97]95.5 ± 8.83.684107
Linear Heart Rate Variability (%)5[71; 83]108.2 ± 163.8731200.6980.898
6(83; 97]104.5 ± 19.54.558121
Average of QRS interval (ms)5[71; 83]654.8 ± 55.513.15787630.3470.633
6(83; 97]646.6 ± 40.39.3599714
Average of R-R interval (ms)5[71; 83]1365.3 ± 371.387.5101820130.7290.895
6(83; 97]1543.9 ± 390.989.78992169
Average of R-S interval (ms)5[71; 83]464.6 ± 181.942.92796830.6690.189
6(83; 97]233.8 ± 139.932.116396
Frequency of EEG5[71; 83]290.5 ± 132.831.31114340.2370.916
6(83; 97]243.6 ± 58.913.5151313
Variability of EEG (%)5[71; 83]88.9 ± 15.83.7641090.2390.480
6(83; 97]103.6 ± 27.86.431122
Table 5. Descriptive statistics of the ECG and EEG sensors by disease for the 14 studied participants.
Table 5. Descriptive statistics of the ECG and EEG sensors by disease for the 14 studied participants.
ParameterDiseaseNMean ± Standard DeviationStandard Error of Mean95% Confidence Interval for MeanMinimumMaximum
Lower BoundUpper Bound
Heart RateArterial hypertension1293.5 ± 7.22.189.098.184107
Cardiac arrhythmia286.5 ± 0.70.580.292.98687
Heart failure690.7 ± 6.02.584.497.08497
Diabetes mellitus Type II593.2 ± 5.72.686.1100.386100
Depression389.0 ± 7.04.071.6106.48497
Vertigo syndrome294.0 ± 0.00.094.094.09494
Osteoarthritis289.0 ± 7.15.025.5152.58494
Osteoporosis289.0 ± 7.15.025.5152.58494
Hyperuricemia292.0 ± 7.15.028.5155.58797
Bilateral gonarthrosis297.0 ± 0.00.097.097.09797
Chronic obstructive pulmonary disease192.0 ± 7.15.028.5155.58797
Linear Heart Rate Variability (%)Arterial hypertension1298.4 ± 20.96.085.1111.758.00122.00
Cardiac arrhythmia2100.0 ± 22.616.0−103.3303.384.00116.00
Heart failure6117.4 ± 4.41.8112.7122.1110.00122.00
Diabetes mellitus Type II5104.0 ± 21.89.777.0131.073.00122.00
Depression3119.4± 3.42.0111.0127.8115.60122.00
Vertigo syndrome2103.7 ± 23.116.4−104.1311.487.30120.00
Osteoarthritis2120.4 ± 0.50.4115.9124.8120.00120.70
Osteoporosis2120.4 ± 0.50.4115.9124.8120.00120.70
Hyperuricemia2103.0 ± 26.919.0−138.4344.484.00122.00
Bilateral gonarthrosis2116.0 ± 8.56.039.8192.2110.00122.00
Chronic obstructive pulmonary disease197.0 ± 18.413.0−68.2262.284.00110.00
Average of QRS interval (ms)Arterial hypertension12634.2 ± 33.09.5613.2655.1579.6686.1
Cardiac arrhythmia2644.1 ± 42.430.0262.91025.3614.1674.1
Heart failure6647.4 ± 39.616.2605.9688.9614.1713.5
Diabetes mellitus Type II5637.0 ± 29.313.1600.6673.4617.3686.1
Depression3645.9 ± 27.816.0577.0714.9620.0675.2
Vertigo syndrome2637.7 ± 26.518.7400.1875.3619.0656.4
Osteoarthritis2647.1 ± 39.728.1290.11004.1619.0675.2
Osteoporosis2647.1 ± 39.728.1290.11004.1619.0675.2
Hyperuricemia2647.1 ± 38.327.1303.4990.8620.0674.1
Bilateral gonarthrosis2666.8 ± 66.146.872.71260.8620.0713.5
Chronic obstructive pulmonary disease1693.8 ± 27.919.7443.5944.1674.1713.5
Average of R-R interval (ms)Arterial hypertension121419.1 ± 285.182.31238.01600.28991725
Cardiac arrhythmia21507.0± 203.7144.0−322.73336.713631651
Heart failure61433.8 ± 415.2169.5998.11869.610182169
Diabetes mellitus Type II51385.2 ± 282.5126.31034.51735.910181678
Depression31255.0 ± 52.730.41124.11386.011981302
Vertigo syndrome21371.5 ± 499.9353.5−3120.15863.110181725
Osteoarthritis21108.0 ± 127.390.0−35.62251.610181198
Osteoporosis21108.0 ± 127.390.0−35.62251.610181198
Hyperuricemia21314.0 ± 69.349.0691.41936.612651363
Bilateral gonarthrosis21717.0 ± 639.2452.0−4026.27460.212652169
Chronic obstructive pulmonary disease11766.0 ± 569.9403.0−3354.66886.613632169
Average of R-S interval (ms)Arterial hypertension12336.1 ± 147.342.5242.5429.615.77683.00
Cardiac arrhythmia2336.0 ± 21.215.0145.4526.6321.00351.00
Heart failure6314.3 ± 214.787.689.0539.615.77683.00
Diabetes mellitus Type II5405.4 ± 160.371.7206.4604.4277.00683.00
Depression3208.9 ± 169.798.0−212.6630.515.77334.00
Vertigo syndrome2515.5 ± 236.9167.5−1612.82643.8348.00683.00
Osteoarthritis2349.4 ± 471.8333.6−3889.64588.415.77683.00
Osteoporosis2349.4 ± 471.8333.6−3889.64588.415.77683.00
Hyperuricemia2314.0 ± 52.337.0−156.1784.1277.00351.00
Bilateral gonarthrosis2266.0 ± 15.611.0126.2405.8255.00277.00
Chronic obstructive pulmonary disease1303.0 ± 67.948.0−306.9912.9255.00351.00
Frequency of EEGArterial hypertension12249.7 ± 88.925.7193.2306.1111434
Cardiac arrhythmia2225.5 ± 24.717.53.1447.9208243
Heart failure6301.5 ± 67.527.6230.7372.3243434
Diabetes mellitus Type II5283.8 ± 115.551.6140.4427.2111434
Depression3277.7 ± 6.03.5262.7292.6272284
Vertigo syndrome2381.0 ± 75.053.0−292.41054.4328434
Osteoarthritis2353.0 ± 114.681.0−676.21382.2272434
Osteoporosis2353.0 ± 114.681.0−676.21382.2272434
Hyperuricemia2246.0 ± 53.738.0−236.8728.8208284
Bilateral gonarthrosis2291.5 ± 10.67.5196.2386.8284299
Chronic obstructive pulmonary disease1253.5 ± 64.445.5−324.6831.6208299
Variability of EEG (%)Arterial hypertension1290.7 ± 25.67.474.4107.031.00122.00
Cardiac arrhythmia293.5 ± 23.316.5−116.2303.277.00110.00
Heart failure6108.8 ± 10.84.497.5120.289.00122.00
Diabetes mellitus Type II596.0 ± 13.386.079.4112.685.00112.00
Depression3114.3 ± 6.83.997.4131.2109.00122.00
Vertigo syndrome284.0 ± 7.15.020.5147.579.0089.00
Osteoarthritis2105.5 ± 23.316.5−104.2315.289.00122.00
Osteoporosis2105.5 ± 23.316.5−104.2315.289.00122.00
Hyperuricemia294.5 ± 24.7517.5−127.9316.977.00112.00
Bilateral gonarthrosis2111.5 ± 0.70.5105.2117.9111.00112.00
Chronic obstructive pulmonary disease194.0 ± 24.017.0−122.0310.077.00111.00
Table 6. Values of the different features measured by different studies.
Table 6. Values of the different features measured by different studies.
StudyDiseasesParametersValues in the LiteratureAverage Values Obtained in our StudyNormal Values in Healthy Adults
[45]BradycardiaHeart rate<60 bpmN/A>60 bpm
<92 bpm
[45]TachycardiaHeart rate>100 bpmN/A>60 bpm
<92 bpm
[45]Premature ventricular contractionDuration of QRS interval>120msN/A>75.5 ms
<108.0 ms
[45]Premature atrial contractionHeart rate>60 bpm
<100 bpm
N/A>60 bpm
<92 bpm
[49]Atrial fibrillationDuration of P-waveN/DN/A>80 ms
<120 ms
Heart rateIrregularN/A>60 bpm
<92 bpm
[50]ArrhythmiaHeart rate variabilityN/D>100%N/A
-Heart rate failureHeart rate variabilityN/A>100%N/A
-Arterial hypertensionDuration of QRS intervalN/A<700 ms>75.5 ms
<108.0 ms
[54]Parkinson’s disease; Bilateral GonarthrosisDuration of R-R intervalN/A>2000 ms>600 ms
<1200 ms
Duration of QRS intervalN/A>700 ms>75.5 ms
<108.0 ms
N/A: Not Available. N/D: Not Defined.

Share and Cite

MDPI and ACS Style

Ponciano, V.; Pires, I.M.; Ribeiro, F.R.; Villasana, M.V.; Canavarro Teixeira, M.; Zdravevski, E. Experimental Study for Determining the Parameters Required for Detecting ECG and EEG Related Diseases during the Timed-Up and Go Test. Computers 2020, 9, 67. https://doi.org/10.3390/computers9030067

AMA Style

Ponciano V, Pires IM, Ribeiro FR, Villasana MV, Canavarro Teixeira M, Zdravevski E. Experimental Study for Determining the Parameters Required for Detecting ECG and EEG Related Diseases during the Timed-Up and Go Test. Computers. 2020; 9(3):67. https://doi.org/10.3390/computers9030067

Chicago/Turabian Style

Ponciano, Vasco, Ivan Miguel Pires, Fernando Reinaldo Ribeiro, María Vanessa Villasana, Maria Canavarro Teixeira, and Eftim Zdravevski. 2020. "Experimental Study for Determining the Parameters Required for Detecting ECG and EEG Related Diseases during the Timed-Up and Go Test" Computers 9, no. 3: 67. https://doi.org/10.3390/computers9030067

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop