ISSN: 0970-938X (Print) | 0976-1683 (Electronic)

Biomedical Research

An International Journal of Medical Sciences

Research Article - Biomedical Research (2017) Advances in Health Science and Biotechnology Application

Mariners' physical activity classification at sea using a wrist-worn wearable sensor

Ik-Hyun Youn1, Jong-Hoon Youn1, Jung-Min Lee2 and Teukseob Song3*

1College of Information Science and Technology, University of Nebraska at Omaha, NE, USA

2School of Health, Physical Education and Recreation, University of Nebraska at Omaha, NE, USA

3Division of Convergence Computer and Media, Mokwon University, Daejeon, Korea

*Corresponding Author:
Teukseob Song
Division of Convergence Computer and Media
Mokwon University, Korea

Accepted date: September 22, 2017

Visit for more related articles at Biomedical Research

Abstract

A long-term sea voyage imposes a special living environment on mariners that directly influences their physical health. To our best knowledge, there have been few research efforts that evaluate mariners' physical health during sea life. This study aims to develop wearable-based mariner physical activity classification models. Twenty-eight participants (n=7 females, n=21 males, mean age=21.4, and mean BMI=22.9) wore a single accelerometer on their dominant hand. The wrist acceleration data were collected and analyzed to extract wrist motion features compared to the criterion measures (i.e., direct observation) including four major physical activity types in a maritime setting. Three machine learning algorithms were applied to develop an accurate classification model. The results of the criterion-based classification show that more than 95% of mariners’ daily physical activities were accurately classified. Based on the experimental results, we conclude that the wrist motion features efficiently differentiate major physical activity patterns in a maritime environment. The proposed physical activity classification models can be used as an objective measurement of mariners’ physical activity levels during their long voyage.

Keywords

Mariner’s physical activity, Wrist acceleration, Machine learning, Physical activity classification model

Introduction

Mariners in merchant marine vessels frequently engage in their duty for several months. Mariners work and live in unstable and limited accommodation areas during their entire voyage at sea [1,2]. A long voyage in an unstable living environment directly influences the physical health of mariners [3,4]. According to previous works [5,6], dynamic ship motions impose less physical activity levels on crew members. Therefore, objective measurements of the physical activity patterns of mariners are crucial for the assessment of physical health in the maritime population under unstable and constrained living conditions.

Recently, accelerometer-based physical activity assessments have been widely adapted to measure daily physical activities [7]. A wearable sensor-based approach for daily activity classification is a viable alternative for seafarers due to their distinctive living conditions. A reliable assessment is required to continuously monitor mariners’ physical activity in a ship’s isolated living environment due to the higher rates of medical problems of mariners compared to age-matched peer groups [8]. To improve wear-time compliance for an extended period including sleeping, placing an accelerometer on the wrist has become a trend in modern physical activity monitoring research [7,9,10]. Since the wrist motion is much more complex than the trunk movement, extracting appropriate wrist motion parameters from the collected wrist acceleration data is challenging but critical in developing an accurate physical activity classifier. Existing studies have extracted and used various wrist movement features (i.e., wrist movement and orientation features) to estimate aspects of physical activity from a wrist accelerometer measurement [11-16]. However, little information is available on classifying physical activity under unstable living conditions.

Therefore, the purpose of this study is to develop accurate wearable sensor-based physical activity classification models under unstable living conditions using wrist motion features. The proposed approach determines wrist movement characteristics using the roll and pitch angles of the wrist and the magnitude of the wrist movement. The extracted characteristics are then applied to predict the current wrist pose and motion features. In this study, a simple decision tree model for visual interpretation and two sophisticated models to improve classification outcomes were developed. The following sections explain the details of data processing and analysis in the proposed classification models.

Methodology

Data collection

A wrist-oriented sensor was chosen instead of an upper trunk attachment option because we hypothesized that the wrist motion might overwhelm a ship’s motion at sea [12]. Any students who were older than 19 years of age were eligible to participate in this study, and participants who were able to perform activities of daily living without limitations were included in the study. Twenty-eight subjects (n=28) participated in the study. The participants were cadets on the training ship of Mokpo National Maritime University in Korea. The characteristics of participants are shown in Table 1.

Characteristics Mean (SD)
N 28
Female/male 7/21
Age (y) 21.4 (1.1)
BMI (kg/m2) 22.9 (2.3)
Height (cm) 173.4 (6.5)
Weight (kg) 69.3 (10.8)

Table 1. Participant characteristics.

A single Shimmer3 [14] was attached to the dominant wrist with an elastic band. The sampling frequency of the wearable sensor was set at 100 Hz. Before initiating the experiment, the principal investigator explained selected activities in the study. During the experiment, the trained observer instructed each participant to perform the following activities and directly observed what the participant was doing without video recording. All subjects conducted structured activities including lying, sedentary activities, walking, and running. Based on the protocol used in the experiment, a minimum of 30 min was required to conduct all selected structured activities. Table 2 presents the selected structured activities in this study.

Activity Type Duration (min) Description
Lying 8 4 lying poses on back, stomach, and both sides
Break 2 Standing still with comfortable arm positions
Sedentary 5 Sitting on a chair with natural arm movements
Break 2 Standing still with comfortable arm positions
Walking 5 Walking at comfortable speed on the ship’s main deck
Break 2 Standing still with comfortable arm positions
Running 5 Running at comfortable speed on the ship’s main deck
Break 1 Standing still with comfortable arm positions
Total Duration 30 Excluding breaks

Table 2. Activities undertaken in the experiment.

Feature extraction

We assume that there are distinctive wrist movements related to certain physical activities. The wrist orientation and wrist motion are estimated using the 3-dimensional acceleration data collected from a single wrist-worn accelerometer. We first extract distinctive features of wrist poses and motions from target daily activities and then apply machine learning algorithms to infer current activities of the subject based on the collected distinctive features. The roll and pitch angles of the sensor and the vector magnitude of the sensor acceleration are computed to assess the current wrist pose and motion. The wrist pose is defined by the Euler angles of the wrist rotation on the horizontal plane [13]. The three-axis acceleration data from the sensor consist of three different types of acceleration: linear acceleration, rotational acceleration, and gravity. The three-axis acceleration of the wrist motion is written as follows:

image

where ax, ay, and az are sensor outputs that represent X-, Y-, and Z-axis acceleration, respectively; u̇, v̇, and represent linear acceleration; v, w, and u represent linear velocities; p, q, and r represent angular velocities; g is the gravity; and ϕ and θ represent the two Euler angles, roll and pitch, respectively [13].

We apply an approximation algorithm to obtain the roll and pitch angles when the absolute value of Vector Magnitude (VM) is between 0.8 and 1 g. If not, the acceleration samples are ignored.

Equations 1 and 2 show how to estimate the roll and pitch angles from the X- and Z-axis acceleration. The pitch angle is obtained using Equation 2.

image

where ax is the X-axis acceleration and g is gravity.

Then, the roll angle is calculated using the following equation:

image

where ay is the Y-axis acceleration and g is gravity.

The standard deviation of VM is also used to determine the wrist motion. VM is commonly utilized in previous studies to explain wrist motions [7,9,11]. VM statistics are intended to describe how dynamically the wrist changes its pose during physical activity. Since we assume that typical wrist pose and motion might be related to a certain physical activity, we attempt to describe distinctive wrist movement patterns of four major physical activity of mariners by using the three wrist movement features. Therefore, during physical activity, static wrist poses are identified by roll and pitch angles, and dynamic wrist motions are detected by the standard deviation of VM. Wrist movement features were computed by using custom software developed in the MATLAB 9.0 (Mathworks, Natick, MA) environment.

Physical activity classification models

A simple decision tree model is selected for the visual interpretation of the model. Then, sophisticated algorithms based on the K-Nearest Neighbors algorithm (KNN) and Support vector machine algorithm (SVM) are implemented to maximize the classification accuracy for fundamental physical activities including lying, sedentary activities, walking, and running. We first introduce three simple decision tree classification models with two of three features to visually evaluate the efficacy of the wrist motion features. As shown in Figure 1, different physical activities are associated with different wrist motion features. For example, running and walking activities form two dense clusters along the vector magnitude axis. The clusters represent how wrist pitch angles are nearly parallel to the horizontal position; roll angles are closer to vertical and to the horizontal plane, whereas lying and sedentary activities show a wide range of wrist roll and pitch angles. From observation, we might expect that walking and running activities can be discriminated from static activities (i.e., lying and sedentary) by using the VM. However, classification of two static activities might require more complex boundaries since some parts of each activity are overlapped with others.

biomedres-Roll-pitch

Figure 1: Roll, pitch, and VM statistics for four physical activities.

Results

Three wrist movement features (i.e., pitch angle, roll angle, and standard deviation of the vector magnitude) are depicted in Figure 1 for four daily activities. Along the vector magnitude axis in Figure 1, two active activities (i.e., running and walking) are clearly separated from static activities. However, the boundary between sedentary behavior and lying down is not clearly distinguished.

Simple decision tree model: A simple decision tree scheme is used for the interpretation of the proposed model. The four activity categories are defined by the decision tree algorithm. The decision criteria of the model at each step are shown below.

Step 1: If VM<0.085, then go to Step 2.

Else if VM ≥ 0.085, then go to Step 3.

Step 2: If Pitch<-10.514, then the current state is ‘Sedentary’.

Else if Pitch ≥ -10.515, then go to Step 4.

Step 3: If VM<0.328, then the current state is ‘Walk’.

Else if VM ≥ 0.328, then the current state is ‘Run’.

Step 4: If VM<0.002, then the current state is ‘Lie’.

Else if VM ≥ 0.002, then the current state is ‘Sedentary’.

The accuracy of the simple decision tree model for the four physical activities is 88.7% on average. Although the simple model resulted in confusion between lying down and sedentary behaviors, the model reliably predicted each physical activity by providing interpretable decision boundaries using the three wrist movement features.

Sophisticated KNN and SVM classification models: To improve the accuracy of the simple decision tree-based activity classification, we introduce two fine-tuned models. The prediction accuracies of the KNN model for liying, sedentary, walking, and running activities are 96.3, 94.8, 96.1, and 98.6%, respectively. The SVM model also predicts activities with a similar level of accuracy. KNN and SVM improve the prediction accuracies by adding more classification boundaries for lying down and sedentary activities. Table 3 summarizes the classification performance of the three developed classification models.

Model True Activity Correct Activity Prediction Rate (%)
Lie Sedentary Walk Run
Simple Decision Tree Lie 73.1 26.2 0.7 0
Sedentary 5.4 90.3 4.2 0.1
Walk 0 1.7 93.2 5.1
Run 0 0 1.8 98.2
KNN Lie 96.3 2.7 0.8 0.2
Sedentary 3.2 94.8 1.6 0.4
Walk 0.3 0.9 96.1 2.7
Run 0.1 0.1 1.2 98.6
SVM Lie 95.9 3.9 0.1 0.1
Sedentary 2.6 95.8 1.4 0.2
Walk 0.2 1.1 98.1 0.6
Run 0.2 0.3 0.6 98.9

Table 3. Classification performance by simple decision tree model, KNN model, and SVM model.

Discussions and Conclusion

In the study, we proposed a wearable sensor-based method to classify mariners’ physical activities at sea. The study was conducted on the selected training ship, which has the same physical living conditions of the maritime population. Because there are typically fewer than twenty crews on a single ship, it is difficult to have a statistically substantial number of participants on a single merchant marine vessel. This study selected a training ship at a maritime university since the ship has more than one hundred student trainees aboard. Compared to the standardization procedures for physical activity classification systems [15], the protocol of this study fulfilled the validity requirements by providing participants’ information, measurement specifications, target physical activities, and classification algorithms. The developed classification models in this study were focused on the fundamental activities including lying, sedentary activities, walking, and running. Although the fundamental activities were not detailed enough to explain the more complicated physical activities of the maritime population, by using the proposed physical activity classification models, we expect the proposed system will enhance the quality of life and healthcare of mariners by providing valuable information such as the total sleep duration and sedentary behavior duration during their sea lives.

According to the results of these experiments, the wrist orientation described by roll and pitch angles from the horizontal position was particularly effective in differentiating the four major physical activities, even in relatively unstable atmospheric conditions. The results of the study confirmed that the selected wrist motion features effectively captured the differences in major physical activities of crews aboard. The results reflected the previously published observations that wrist orientations are important variables to determine levels of physical activities and locomotion from stable physical activities [11]. The efficacy of the three extracted wrist movement features was evaluated using the simple decision tree model with decision criteria. Moreover, since the simple decision-based model is straightforward and simple, the model can be easily implemented in any wrist-based wearable device. The KNN and SVM models further improved the accuracy of the simple decision-based physical activity classification model for mariners at sea. Nevertheless, improved classification results are promising to classify physical activity in unstable conditions. The proposed physical activity classification models can be used as an objective measurement of mariners’ physical activity levels during their long voyage. We expect that the proposed method can be expanded to identify distinct types of sedentary behaviors, such as reading and typing while sitting, by estimating the wrist orientation and motion features. The proposed approach is still limited to healthy young mariners on a ship. As a future work, we will expand the proposed method to identify various types of sedentary behaviors, such as reading and typing while sitting, by integrating new wrist orientation and motion features with diverse populations.

Acknowledgement

This research was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2015R1- D1A1A01058786).

References