Literature DB >> 33344738

Activities of daily living with motion: A dataset with accelerometer, magnetometer and gyroscope data from mobile devices.

Ivan Miguel Pires1,2,3, Nuno M Garcia1, Eftim Zdravevski4, Petre Lameski4.   

Abstract

The dataset presented in this paper is related to the performance of five Activities of Daily Living (ADL) with motion, such as walking, running, standing, walking upstairs, and walking downstairs. These activities were performed with a mobile device in a waistband, containing the data acquired from accelerometer, magnetometer, and gyroscope sensors. These data include the motion data, which allow the characterization of the different types of movement. The data acquisition was performed in open environments by 25 individuals (15 man, and 10 woman) in the Covilhã, and Fundão municipalities (Portugal). The data related to the different sensors was acquired with a sampling rate of 100 Hz by the accelerometer, 50 Hz by the magnetometer, and 100 Hz by the gyroscope sensors. It includes the captures related to a minimum of 2000 captures for each ADL, which corresponds to 2.8 h (approximately) for each ADL. In total, this dataset includes 13.9 h (approximately) of captures. These data can be reused for the implementation of data processing techniques, and artificial intelligence methods.
© 2020 The Author(s).

Entities:  

Keywords:  Accelerometer; Activities of daily living; Gyroscope; Magnetometer; Mobile devices; Sensors

Year:  2020        PMID: 33344738      PMCID: PMC7735969          DOI: 10.1016/j.dib.2020.106628

Source DB:  PubMed          Journal:  Data Brief        ISSN: 2352-3409


Specifications Table

Value of the Data

This dataset is important for the definition of patterns for the different activities [2], [3], [4], allowing the development of technological methods to support these activities; These data may allow the development of methods that allows to prevent the sedentarism, stimulate the physical activity, and monitor people with special needs, which it is commonly verified in young people [5], [6], [7]. As these data can be corrected anywhere at anytime with a common smartphone, the data is useful for the development of low-cost solutions to support the different activities with its identification and monitoring, allowing to the creation of a personal digital life coach [8], [9], [10], [11]. It allows the reliable monitoring of people with special needs, including elderly people, and people with some healthcare problems with a simple mobile application or other commonly available devices to prevent some warning situations, alerting the responsible people to act in time [12,13]. The use of artificial intelligence help in the support and it needs a large amount of data to implement reliable methods [14], [15], [16]. Different methods may be tested with this labelled dataset to the implementation of intelligent methods with mobile technologies used daily [17], [18], [19], [20].

Data Description

This paper presents a dataset with the data acquired during the performance of five ADL, including walking, running, standing, walking upstairs, and walking downstairs. The data acquisition process was performed with a smartphone named BQ Aquaris 5.7 placed in a waistband. The dataset contains five main folders, i.e., one folder for each ADL, and each folder contains more than 2000 numbered folders with the files related to the data acquired from the sensors embedded in the off-the-shelf mobile device. Thus, three files named as “accelerometer.txt”, “magnetometer.txt”, and “gyroscope.txt” ae available in each subfolder of this dataset. The dataset contains around 10,000 files related to the accelerometer sensor, around 10,000 files related to the magnetometer sensor, and around 10,000 files related to the gyroscope sensor. The data acquired from the different sensors are collected in m/s2. The files related to the accelerometer sensor includes the following columns: First column: Timestamp of each data acquired in milliseconds (ms). Second column: Value of the x-axis of the accelerometer (m/s2). Third column: Value of the y-axis of the accelerometer (m/s2). Fourth column: Value of the z-axis of the accelerometer (m/s2). Next, the files related to the magnetometer sensor includes the following columns: First column: Timestamp of each data acquired (ms). Second column: Value of the x-axis of the magnetometer (m/s2). Third column: Value of the y-axis of the magnetometer (m/s2). Fourth column: Value of the z-axis of the magnetometer (m/s2). Finally, the files related to the gyroscope sensor includes the following columns: First column: Timestamp of each data acquired (ms). Second column: Value of the x-axis of the magnetometer (m/s2); Third column: Value of the y-axis of the magnetometer (m/s2). Fourth column: Value of the z-axis of the magnetometer (m/s2). As example, the charts related to walking downstairs are shown in Figs. 1 to 3. The different movements can be identified as well as the performance of steps during the execution of the activity.
Fig. 1

Example of accelerometer data related to walking downstairs.

Fig. 3

Example of magnetometer data related to walking downstairs.

Example of accelerometer data related to walking downstairs. Example of gyroscope data related to walking downstairs. Example of magnetometer data related to walking downstairs. The analysis of the data corresponds to the fusion of different sensors data in three groups. These are: Accelerometer. Accelerometer, and Magnetometer. Accelerometer, Magnetometer, and Gyroscope. For the different analysis, the Euclidean norm was calculated for each point in the different files. Based on the data acquired from the different ADL, there are two types of features analysed from the data acquired by the different sensors. Thus, the measured features are forked in features related to maximum peaks, and features related to raw data. The features related to maximum peaks are: Average distance between five highest peaks: The maximum peaks were calculated, storing the timestamps of them. Next, the time between the five highest peaks were calculated. Average of maximum peaks: The mean of all maximum peaks was calculated. Standard deviation of maximum peaks: The standard deviation of all maximum peaks was calculated. Variance of maximum peaks: The variance of all maximum peaks was calculated. Median of maximum peaks: The median of all maximum peaks was calculated. Next, the features related to raw data are: Average of raw data: The mean of values of the raw data was calculated. Standard deviation of raw data: The standard deviation of values of the raw data was calculated. Maximum of raw data: The maximum value of the raw data was calculated. Minimum of raw data: The minimum value of the raw data was calculated. Variance of raw data: The variance of values of the raw data was calculated. Median of raw data: The median of values of the raw data was calculated. Table 1 presents the average of the different parameters of all accelerometer samples of the data acquisition related to each ADL.
Table 1

Average of the parameters calculated for each ADL with the accelerometer sensor.

ParametersWalkingRunningStandingWalking UpstairsWalking Downstairs
Average distance between five highest peaks480.05400.56506.97342.0611.83
Average of maximum peaks13.5218.979.7111.212.73
Standard deviation of maximum peaks2.392.690.011.958.50
Variance of maximum peaks6.4110.400.014.3011.35
Median of maximum peaks13.6419.579.7110.989.92
Average of raw data10.3911.209.689.902.41
Standard deviation of raw data2.755.670.021.8117.07
Maximum of raw data17.3521.969.7415.095.22
Minimum of raw data4.211.499.635.806.69
Variance of raw data8.3933.590.003.7410.20
Median of raw data11.6414.989.6910.2211.83
Average of the parameters calculated for each ADL with the accelerometer sensor. Table 2 presents the average of the different parameters calculated after the fusion of the accelerometer and magnetometer samples of the data acquisition related to each ADL.
Table 2

Average of the parameters calculated for each ADL with the accelerometer, and magnetometer sensors.

SensorParametersWalkingRunningStandingWalking UpstairsWalking Downstairs
AccelerometerAverage distance between five highest peaks476.60398.53506.14332.32312.81
Average of maximum peaks13.5118.959.7111.2011.85
Standard deviation of maximum peaks2.402.710.011.962.73
Variance of maximum peaks6.5010.570.014.378.55
Median of maximum peaks13.6219.579.7110.9711.38
Average of raw data2.765.690.021.802.42
Standard deviation of raw data17.5822.429.7415.1517.16
Maximum of raw data10.4011.239.689.929.93
Minimum of raw data4.391.509.636.145.46
Variance of raw data8.4533.850.003.776.77
Median of raw data11.5714.869.6910.2210.19
MagnetometerAverage distance between five highest peaks341.24130.34136.80191.59176.94
Average of maximum peaks43.2140.8042.4441.3442.63
Standard deviation of maximum peaks2.182.710.282.992.90
Variance of maximum peaks12.1114.740.1022.7617.71
Median of maximum peaks43.2840.9142.4641.3142.84
Average of raw data2.192.710.283.022.93
Standard deviation of raw data43.0740.7942.4441.3042.59
Maximum of raw data46.8345.1342.8946.8847.63
Minimum of raw data39.0836.2441.8536.0536.94
Variance of raw data12.0114.740.1023.7318.60
Median of raw data43.1640.8542.4541.2342.76
Average of the parameters calculated for each ADL with the accelerometer, and magnetometer sensors. Table 3 presents the average of the different parameters calculated after the fusion of the accelerometer, magnetometer, and gyroscope samples of the data acquisition related to each ADL.
Table 3

Average of the parameters calculated for each ADL with the accelerometer, magnetometer, and gyroscope sensors.

SensorParametersWalkingRunningStandingWalking UpstairsWalking Downstairs
AccelerometerAverage distance between five highest peaks476.60398.53506.14332.20313.67
Average of maximum peaks13.5118.959.7111.2011.86
Standard deviation of maximum peaks2.402.710.011.962.73
Variance of maximum peaks6.5010.570.014.378.55
Median of maximum peaks13.6219.579.7110.9711.39
Average of raw data2.765.690.021.802.42
Standard deviation of raw data17.5822.429.7415.1517.15
Maximum of raw data10.4011.239.689.929.94
Minimum of raw data4.391.509.636.145.46
Variance of raw data8.4533.850.003.776.77
Median of raw data11.5714.869.6910.2210.20
MagnetometerAverage distance between five highest peaks341.24130.34136.80191.63177.26
Average of maximum peaks43.2140.8042.4441.3442.62
Standard deviation of maximum peaks2.182.710.282.992.90
Variance of maximum peaks12.1114.740.1022.7717.70
Median of maximum peaks43.2840.9142.4641.3142.83
Average of raw data2.192.710.283.022.93
Standard deviation of raw data43.0740.7942.4441.3042.58
Maximum of raw data46.8345.1342.8946.8847.62
Minimum of raw data39.0836.2441.8536.0536.93
Variance of raw data12.0114.740.1023.7418.60
Median of raw data43.1640.8542.4541.2442.75
GyroscopeAverage distance between five highest peaks539.48442.54468.05320.02351.75
Average of maximum peaks3.834.000.031.721.61
Standard deviation of maximum peaks1.970.760.021.051.08
Variance of maximum peaks9.360.760.002.803.11
Median of maximum peaks3.594.140.021.571.40
Average of raw data1.781.150.011.471.43
Standard deviation of raw data2.362.360.021.411.18
Maximum of raw data9.085.820.1016.3215.36
Minimum of raw data0.140.270.010.170.12
Variance of raw data6.601.460.013.713.88
Median of raw data2.583.080.021.311.11
Average of the parameters calculated for each ADL with the accelerometer, magnetometer, and gyroscope sensors.

Experimental Design, Materials and Methods

The smartphone acquired samples with 5 seconds of data collected from the different sensors, i.e., accelerometer, magnetometer, and gyroscope. The data were collected with a smartphone in a smartphone in a waistband horizontally positioned. The instrumentation of the different individuals is simple to increase the acceptance of the presented methodology of data acquisition, and further mobile applications developed.

Participants

A total of 25 individuals with different types of diseases aged between 16 and 60 years old were selected for participation in the data acquisition. Regarding the lifestyles of the different participants, 10 individuals are mainly active, and the others 15 individuals are mainly sedentary. The data acquisition was performed in different environments, such as hall, street, and other places. Age = 33.5200 ± 13.5250 years old

Procedure

The different sensors data were recorded during the voluntary performance of the different ADL with the smartphone placed on a waistband. Initially, the individuals were instrumented as presented in Fig. 4. Then, the individual start the execution of the different ADL.
Fig. 4

Instrumentation of the different individuals.

Instrumentation of the different individuals. The main idea is the easy instrumentation for the collection of data elated to the different activities, such as walking, walking upstairs, walking downstairs, running, and standing. The rules for the instrumentation and data acquisition are easy to understand. These are: Instrument the individual with a waistband. Put the smartphone in a waistband in the horizontal orientation. Open the mobile application to acquire the different sensors’ data. Press the button to start the data acquisition. The individual starts the performance of the activity. The data acquisition starts after 10 s. The data acquisition has a duration of 5 s. The data acquisition stops for 5 min. The flow returns to the point 7, and it repeats continuously.

Ethics Statement

The participants signed an ethical agreement to allow us to share the results of the tests in an anonymous form. The agreement also provided the participants’ informed consent considering the risks and the objective of the study. Ethics Committee from Universidade da Beira Interior approved the study with the number CE-UBI-Pj-2020-035.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships which have, or could be perceived to have, influenced the work reported in this article.
SubjectElectrical and Electronic Engineering Biomedical Engineering Health
Specific subject areaActivities of Daily Living Sensors Mobile Devices
Type of dataTable
How data were acquiredThe data from accelerometer, magnetometer, and gyroscope sensors were acquired with a mobile application installed in a BQ Aquaris 5.7 smartphone [1], which it has a Quad Core CPU and 16 GB of internal memory. The smartphone was placed in a waistband during the performance of the different activities. During the data collection, the user performs only the daily activities of interest, so no there is no data collection during other activities. Therefore, the acquired data is reliable and without such noise (e.g., no data collection during driving in vehicles, sleeping, etc.).
Data formatRaw text files
Parameters for data collectionThe selected individuals placed the smartphone in a waistband. Also, they previously selected, in the mobile application, the activity that they will perform for the labelling of the dataset. The different actions in the mobile application were previously explained to the intervenient before the start of the data acquisition.
Description of data collectionAfter the selection of the activity that the user will perform, he/she put the smartphone in a waistband. During the data collection, the three sensors (i.e., accelerometer, magnetometer, and gyroscope sensors) collected the data at the same time, and the mobile application store it in text files for further analysis. The accelerometer, magnetometer, and gyroscope sensors are tri-axial sensors with the variables X, Y, and Z. The accelerometer has the model LIS3DHTR with a range between 0 and 32 m/s2, a resolution of 0.004, and a power of 0.13 mA. Next, the magnetometer or Magnetic Field sensor has a model of AKM8963C with a range between 0 and 600 m/s2, a resolution of 0.002, and a power of 0.25 mA. Finally, the gyroscope sensor was corrected by Google Inc, and it has a range between 0 and 34.91 m/s2, a resolution of 0.011, and a power of 6.48 mA.
Data source locationPrimary data sources: City/Town/Region: Covilhã Country: Portugal Latitude and longitude (and GPS coordinates, if possible) for collected samples/data: 40° 16’ 50.037’’ N 7° 30’ 15.555’’ W City/Town/Region: Fundão Country: Portugal Latitude and longitude (and GPS coordinates, if possible) for collected samples/data: 40° 7’ 30.129’’ N 7° 30’ 39.966’’ W
Data accessibilityRepository name: Raw dataset with accelerometer, gyroscope and magnetometer data for activities with motion Data identification number: 10.17632/xknhpz5t96.2 Direct URL to data: http://dx.doi.org/10.17632/xknhpz5t96.2
Related research articleI.M. Pires, N.M. Garcia, N. Pombo, F. Flórez-Revuelta, S. Spinsante, M.C. Teixeira, Identification of Activities of Daily Living through Data Fusion on Motion and Magnetic Sensors embedded on Mobile Devices, Pervasive and Mobile Computing, Elsevier, 47, pp. 78-93 https://doi.org/10.1016/j.pmcj.2018.05.005 I.M. Pires, G. Marques, N.M. Garcia, F. Flórez-Revuelta, M.C. Teixeira, E. Zdravevski, S. Spinsante, M. Coimbra, Pattern Recognition Techniques for the Identification of Activities of Daily Living Using a Mobile Device Accelerometer, Electronics 2020, 9, 509 https://doi.org/10.3390/electronics9030509
  8 in total

Review 1.  Machine Learning and Artificial Intelligence: Definitions, Applications, and Future Directions.

Authors:  J Matthew Helm; Andrew M Swiergosz; Heather S Haeberle; Jaret M Karnuta; Jonathan L Schaffer; Viktor E Krebs; Andrew I Spitzer; Prem N Ramkumar
Journal:  Curr Rev Musculoskelet Med       Date:  2020-02

2.  Validation of an accelerometer for measurement of activity in frail older people.

Authors:  Nethra Ganesh Chigateri; Ngaire Kerse; Laurian Wheeler; Bruce MacDonald; Jochen Klenk
Journal:  Gait Posture       Date:  2018-08-23       Impact factor: 2.840

3.  Diet, physical activity, and sedentary behaviors as risk factors for overweight in adolescence.

Authors:  Kevin Patrick; Gregory J Norman; Karen J Calfas; James F Sallis; Marion F Zabinski; Joan Rupp; John Cella
Journal:  Arch Pediatr Adolesc Med       Date:  2004-04

4.  Gait speed and survival of older surgical patient with cancer: Prediction after machine learning.

Authors:  Keyvan Sasani; Helen N Catanese; Alireza Ghods; Seyed Ali Rokni; Hassan Ghasemzadeh; Robert J Downey; Armin Shahrokni
Journal:  J Geriatr Oncol       Date:  2018-07-13       Impact factor: 3.599

5.  Mobile Computing Technologies for Health and Mobility Assessment: Research Design and Results of the Timed Up and Go Test in Older Adults.

Authors:  Vasco Ponciano; Ivan Miguel Pires; Fernando Reinaldo Ribeiro; María Vanessa Villasana; Rute Crisóstomo; Maria Canavarro Teixeira; Eftim Zdravevski
Journal:  Sensors (Basel)       Date:  2020-06-19       Impact factor: 3.576

6.  Mobile Romberg test assessment (mRomberg).

Authors:  Alejandro Galán-Mercant; Antonio I Cuesta-Vargas
Journal:  BMC Res Notes       Date:  2014-09-12

7.  Mobile Health Apps to Facilitate Self-Care: A Qualitative Study of User Experiences.

Authors:  Kevin Anderson; Oksana Burford; Lynne Emmerton
Journal:  PLoS One       Date:  2016-05-23       Impact factor: 3.240

8.  Automatic machine-learning based identification of jogging periods from accelerometer measurements of adolescents under field conditions.

Authors:  Eftim Zdravevski; Biljana Risteska Stojkoska; Marie Standl; Holger Schulz
Journal:  PLoS One       Date:  2017-09-07       Impact factor: 3.240

  8 in total
  2 in total

1.  Indoor and outdoor environmental data: A dataset with acoustic data acquired by the microphone embedded on mobile devices.

Authors:  Ivan Miguel Pires; Nuno M Garcia; Eftim Zdravevski; Petre Lameski
Journal:  Data Brief       Date:  2021-04-11

2.  Daily motionless activities: A dataset with accelerometer, magnetometer, gyroscope, environment, and GPS data.

Authors:  Ivan Miguel Pires; Nuno M Garcia; Eftim Zdravevski; Petre Lameski
Journal:  Sci Data       Date:  2022-03-25       Impact factor: 6.444

  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.