A subscription to JoVE is required to view this content. Sign in or start your free trial.

Method Article

Evaluation of Commercial-Off-The-Shelf Wrist Wearables to Estimate Stress on Students

7.2K views

⸱

DOI:

10.3791/57590

⸱

June 16th, 2018

 ,  ,  , 

In This Article

Summary

A protocol to evaluate solutions based on commercial-off-the-shelf (COTS) wrist wearables to estimate stress in students is proposed. The protocol is carried out in two phases, an initial laboratory-based stress induction test, and a monitoring stage taking place in the classroom while the student is performing academic activities.

Abstract

Wearable commercial-off-the-shelf (COTS) devices have become popular during the last years to monitor sports activities, primarily among young people. These devices include sensors to gather data on physiological signals such as heart rate, skin temperature or galvanic skin response. By applying data analytics techniques to these kinds of signals, it is possible to obtain estimations of higher-level aspects of human behavior. In the literature, there are several works describing the use of physiological data collected using clinical devices to obtain information on sleep patterns or stress. However, it is still an open question whether data captured using COTS wrist wearables is sufficient to characterize the learners' psychological state in educational settings. This paper discusses a protocol to evaluate stress estimation from data obtained using COTS wrist wearables. The protocol is carried out in two phases. The first stage consists of a controlled laboratory experiment, where a mobile app is used to induce different stress levels in a student by means of a relaxing video, a Stroop Color and Word test, a Paced Auditory Serial Addition test, and a hyperventilation test. The second phase is carried out in the classroom, where stress is analyzed while performing several academic activities, namely attending to theoretical lectures, doing exercises and other individual activities, and taking short tests and exams. In both cases, both quantitative data obtained from COTS wrist wearables and qualitative data gathered by means of questionnaires are considered. This protocol involves a simple and consistent method with a stress induction app and questionnaires, requiring a limited participation of support staff.

Introduction

State-of-the-art wearable technologies are widely available, and their application environments are continuously expanding. We can find in the market many different devices, among which COTS wrist wearables1, such as smart watches and smart bands, are popular among athletes as a personal physical fitness monitoring tool2. By applying data analytic techniques, the data obtained using these devices can be processed to provide indicators such as general physical state, sleep quality or recovery factor. The demonstrated applicability in this area raised interest in the academic community about their possible application to other fields, especially in the health domain3,4, although the strict requirements of clinical trials limit their introduction. However, in a less demanding context such as education, we can find in the literature recent investigations involving the use of different types of wearable devices, both related to teaching activities5,6 and to the estimation of certain characteristics of the student such as sleep patterns7, or the analysis of students' engagement in different educational activities8.

In our case, we focus on analyzing COTS wrist wearable devices as means to collect physiological signals that would eventually facilitate stress estimation, which in turn is a key aspect in educational contexts. Stress has a relevant influence in the development of academic activities and overall students' performance. For example, stress levels are directly related to the onset of the burnout syndrome in students9,10,11, and high stress levels are especially relevant during the freshman year, where drop-out rates between 20% and 30%12,13 are common. Detecting and controlling stress indicators could dramatically improve academic performance.

The use of COTS wrist wearable devices is justified because they have sensors that provide information on physiological signals that have been widely used by the scientific community in stress assessment and detection. Some of the signals referred to in the literature used for this purpose include heart rate (HR)14, heart rate varaibility15, skin temperature (ST)16, respiration14, and galvanic skin response (GSR)17. These signals can be collected by COTS wrist wearables. However, they do not offer the same performance as clinical devices. There are differences related to the accuracy of sensors among devices18,19,20,21. Nevertheless, previous works18,19,20,21 have shown that, in a slow movement scenario, COTS wrist wearable sensors have error patterns similar to specialized devices.

The aim of this paper is to introduce a protocol to evaluate different solutions for stress estimation in students using COTS wrist wearables. There are many arrangements that can be proposed to estimate stress levels, involving the use of different wrist wearable devices and data analytics techniques, and more specifically machine learning algorithms. COTS wrist wearables are characterized by their high fragmentation, heterogeneity and interoperability problems22. Three companies have an aggregated market share of almost 50%23, but many other companies account for much smaller individual market shares, with an aggregated share above 50%. On the other hand, in terms of heterogeneity, not all wearables have the same number and type of sensors, with accelerometers and h sensors being the most common, and ST's and GSR's being only present in 5% of the devices studied. As for interoperability, there are different operating systems and data collection approaches that are not compatible with each other. As for the machine learning techniques that can be applied to estimate stress from the data collected by means of a wrist device, there are many options available24, including decision trees, neural networks, nearest neighbor approaches, Naïve Bayes classifiers, etc. To sum up, there is a great variety of solutions that may be developed for stress estimation, so it is instrumental to design an evaluation protocol to facilitate the comparison among different tentative options to eventually select the most suitable in a given context.

For the implementation of the protocol, several tools are needed (Figure 1). First, a COTS wrist wearable device is needed to fetch physiological data. This wearable device should have at least HR monitoring capabilities, but additional sensors are desirable (e.g., accelerometer, ST, GSR sensors). Second, a smartphone running the PhysiologicalSignal app is required to collect the data captured by the wearable device. Third, a tablet running the StressTest app is needed to run stress induction exercises (the smartphone could be used instead the tablet for this purpose). Fourth, some questionnaires to collect qualitative data on students' perception on stress. Fifth, a server with a Web service25 to perform data collection and pre-processing, and a Web dashboard to show the evolution of the signals. And finally, a data analytics package26 to process the data collected about students using machine learning techniques.

The evaluation protocol is organized into two phases. The first one, the laboratory phase, is carried out in a comfortable room, where different stress levels (i.e., "relax", "concentrated stress" and "stress") are induced to a target subject (a student) through several common stress-inducing tasks. The second part takes place in the classroom, and it involves monitoring the student during the accomplishment of several academic activities: theoretical explanations, individual activities, short tests, exams, etc. During the implementation of this protocol, the subject's physiological signals are captured by means of a wrist device. Finally, these signals are processed by machine learning algorithms to provide estimations on the level of stress.

During the laboratory phase, the StressTest app is used to induce different stress levels. This app guides the subject to the completion of four different tasks. The first task is to create a baseline for stress analysis. In this task, the student visualizes a 4-minute relaxing video in which different shots of a sunset on a bridge are shown. The second task is an adaptation of the Stroop Color and Word Test27 (SCWT). Every two seconds, the subject must choose the color in which the name of a color is painted (red, green, orange, blue and purple). Several buttons located at the bottom of the screen containing the initial letter of each color are available for the subject to choose the painted color at each time. For example, the button that refers to blue depicts the letter B. In our case, this test is divided into three different levels of difficulty. For the first level (SCWT1), the colored "words of colors" will appear in the same order as the buttons, so color and name match directly. This level is taken as baseline, as it does not involve any difficulty and the subject should only press the buttons properly, always in the same order. For the second level (SCWT2), the colored "words of colors" appear randomly, but the correspondence between name and color is maintained. Every time the subject fails a beep is emitted, and if two errors are made, the correct color score will be reset. For the last, most difficult level (SCWT3), name and color do not match. In this way this level is intended to be more complex and stressful for the subject. The third task consists on the Paced Auditory Serial Addition test (PASAT)28, which measures how the student experiences a concentration test. During this task, a sequence of consecutive numbers is played aloud, and the student must add the last two numbers and write the result in the provided on-screen box before listening to the next number. In this task, if the subject makes a mistake, a disturbing event occurs to generate stress (two numbers sound at the same time or a long period of silence in maintained). In this case, if three errors are committed, the sum account will be reset. The fourth task consists on a hyperventilation activity to induce the same variation in the physiological signals that would provoke a stressful situation17. At the end of each task and level, the subject has to indicate the level of perceived stress, using the application itself, according to a 5-value Likert scale.

During the classroom phase, students carry out their ordinary academic activities together with the rest of their classmates. The protocol focuses on the stress levels that occur during classroom-specific activities. At the end of the lecture, a brief questionnaire (Annex 1) is completed by the student to indicate the perceived level of stress in the several activities according to a 5-value scale.

Access restricted. Please log in or start a trial to view this content.

Protocol

All methods described below have been approved by the regional government of Galicia's committee for research ethics of Pontevedra-Vigo-Ourense (reg. code 2017/336). The protocol was implemented for first year students at the School of Telecommunication Engineering - University of Vigo, both in a comfortable laboratory room and in several lectures and practice sessions of a bachelor's degree course on Computer Architectures.

1. Prepare the Devices

  1. Connect the smartphone and tablet device to a stable internet connection.
  2. Turn on Bluetooth communications in the smartphone.
  3. In the smartphone, search in the corresponding official app store the wrist wearable application. Download and install it.
  4. In the smartphone, search for the PhysiologicalSignals app to capture physiological signals. Download and install it.
    NOTE: Currently, the app is a beta version and access can be provided by request.
  5. In the tablet, search for the StressTest app to be used in the research laboratory experiments. Download and install it.
    NOTE: Currently, the app is a beta version and access can be provided by request.
  6. Turn on the COTS wrist wearable device and place the wearable.
  7. In the smartphone, open the official COTS wrist wearable application.
    NOTE: The app will proceed to synchronize the wearable device with the smartphone. In some devices, an e-mail address is required.
  8. In the smartphone, open the PhysiologicalSignals app.
    1. In case of being notified of a sensor access request, accept it.
    2. Check the device. Wait for the PhysiologicalSignals app to display the word Weared in green.
      NOTE: This indicate that the wearable device has been detected and therefore the transmission of information from the sensors to the smartphone is enabled. If this message does not appear repeat from step 1.6.

2. The Laboratory Phase

  1. Prepare the laboratory setting. Choose a comfortable and non-disturbing room without distracting noise and with a comfortable temperature (between 22 °C and 26 °C).
  2. Turn on the wrist wearable device, place it around the subject´s non-dominant wrist and place the headphones on the head of the student. Fit the wearable tightly but comfortably around the wrist.
  3. Connect the smartphone and tablet to a stable internet connection and verify that the Bluetooth connection is active.
  4. In the smartphone, launch the PhysiologicalSignals app.
    1. Wait for the app to display the word Weared in green.
    2. Select the Change User option in the left configuration menu and provide the ID of the subject who will complete the tests and click Save.
  5. In a laptop, access the dashboard and enter the test administrator's ID and password.
    NOTE: Currently, for private and security concerns, access to the dashboard is only available under request.
    1. Select the subject ID and the subject's stress tab.
    2. Check the physiological signals evolution and wait for the wearable device to reach thermal stability before starting the experiment.
      NOTE: The thermal stability is identified as a plateau in the graph.
  6. In the tablet, launch the StressTest application.
    1. Explain to the subject the four laboratory tasks. Show some of the screens and actions to perform during each one of the tasks.
      NOTE: This is very important, because the subject should feel stressed or relaxed in accordance to the performed activities, and not fear or concern about what is going to happen.
    2. Tell the student not to rest their arms on the table and to use the hand where the wearable device is placed to perform the activities.
    3. Enter the same user ID as in step 2.4.2 and click the arrow.
  7. Launch the video task and give full control to the student.
    1. Observe that the task is carried out without incident.
    2. When the task is finished, check that the subject provides the perceived stress.
  8. Launch the Stroop Color task (SCWT) consecutively for levels 1, 2 and 3.
    1. For each level, observe that the subtask is carried out without incident.
    2. When each subtask is finished, check that the subject provides the perceived stress.
    3. Only for level 3 and only in case the subject does not solve it after 4 minutes, terminate the task by pressing the arrow located at the top of the screen.
  9. Launch the Paced Auditory Serial Addition test (PASAT).
    1. Observe that the task is carried out without incident.
    2. In case the subject does not solve the PASAT test after 4 minutes, terminate the task by pressing the arrow located at the top of the screen.
    3. When the task is finished, check that the subject provides the perceived stress.
  10. Launch the Hyperventilation test.
    1. Observe the evolution of HR using the dashboard. If physiological signals do not change significantly, ask the subject to increase inspiration and expiration rates gradually.
    2. In case the subject feels dizziness or uncomfortable halt this task. In any case, complete the task after four minutes.
    3. When the task is finished, check that the subject provides the perceived stress.

3. The Classroom Phase

  1. Turn on the wrist wearable device and place the wearable around the subject´s non-dominant wrist. Fit the wearable tightly but comfortably around the wrist.
  2. Connect the smartphone to a stable internet connection and verify the Bluetooth connection is active.
  3. In the smartphone, launch the PhysiologicalSignals app.
    1. Wait for the app to display the word Weared in green.
    2. Select in the configuration menu the Change User option, provide the ID of the subject who will complete the tests and click Save.
  4. In a laptop, access the dashboard and enter the test administrator's ID and password.
    1. Select the subject ID and the subject's stress tab.
    2. Check the evolution of physiological signals.
  5. Take annotations about any relevant event occurring in the classroom in relation to the student-teacher interaction.
    NOTE: Relevant information and basic events will be used to label physiological samples afterwards. Example events are a question from the teacher to the student, or a theoretical explanation is initiated.
  6. At the end of the lecture, ask the subject to complete the questionnaire about their level of stress at specific times during the session, according to a 5-level scale.

4. Data Analysis

  1. In a laptop, access the dashboard and enter the test administrator's ID and password.
    1. Select the subject ID and the subject's stress tab.
    2. Select the day of a classroom experiment.
  2. Label the samples of the subject by identifying activities and perceived stress levels.
    1. Identify lecture-room activities and their duration according to the starting and finishing times and their types.
    2. For each activity, select a perceived stress level.
  3. For each subject and each session, download the file with the tagged samples.
    NOTE: A comma-separated-values (CSV) file is created for each student, each row reflecting the values of the physiological signals with their standard deviation, slope and diff, the activity type, the activity-based stress (i.e., the stress associated by default to the activity) and the subject perceived stress.
  4. Launch the data analytics package.
    1. Choose a set of classifiers (e.g., SVM, C4.5, k-NN, Random Forest, Naïve Bayes and Zero R) and import the CSV file for all students for each session.
    2. Train and evaluate classifiers using the 10-fold cross-validation technique.
      NOTE: Depending on the analyses, activity type, activity-based stress or stress perceived, shall be selected as dependent variable for the analysis.
    3. Finally, check the results for accuracy and error rates.

Access restricted. Please log in or start a trial to view this content.

Results

The protocol discussed was put into practice in a Computer Architectures course in the first year of the Telecommunication Engineering degree at the University of Vigo. This course has more than 200 students enrolled who are organized into 10 working groups. To carry out this experiment, students from four of the groups were invited to enroll at the beginning of the academic year. The project attracted considerable interest among the students, and around 30 students volunteered to partici...

Access restricted. Please log in or start a trial to view this content.

Discussion

COTS wearable devices are among the most popular consumer electronics products available today. These devices are typically used to monitor physical activities, but their capabilities and performance could be of great interest in other areas. In this paper, a protocol to evaluate the use of COTS wearable devices for estimating stress in learning environments is discussed. The definition of such a protocol is especially relevant in order to analyze different solutions involving wearables and machine learning algorithms. T...

Access restricted. Please log in or start a trial to view this content.

Disclosures

The authors have nothing to disclose.

Acknowledgements

This work is supported by the Spanish State Research Agency and the European Regional Development Fund (ERDF) under the PALLAS (TIN2016-80515-R AEI/EFRD, EU) project.

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Microsoft Band 2MicrosoftWearable
Nexus 5LG/GoogleSmartphone
PhysiologicalSignalsDeveloped by the paper authorsApp to collect data from wearables
StressTestDeveloped by the paper authorsApp to develop laboraty experiment: Video visualization, Stroop color and word test, paced auditory serial addition test (PASAT) , hyperventilation activity 
QuizsDeveloped by the paper authorsQuestionnaires to collect qualitative data on students’ perception on stress
ServerDeveloped by the paper authorsServer to store, analyze and display data
Weka applicationUniversity of WaikatoApplication to process the data using machine learning techniques

References

  1. IDC. Forecasts Wearables Shipments to Reach 213.6 Million Units Worldwide in 2020 with Watches and Wristbands Driving Volume While Clothing and Eyewear Gain Traction. , at http://www.idc.com/getdoc.jsp?containerId=prUS41530816 (2016).
  2. Piwek, L., Ellis, D. A., Andrews, S., Joinson, A. The rise of consumer health wearables:promises and barriers. PLoS Medicine. 13 (2), (2016).
  3. Rudner, J., et al. Interrogation of Patient Smartphone Activity Tracker to Assist Arrhythmia Management. Annals of Emergency Medicine. 68 (3), 292-294 (2016).
  4. Gao, Y., Li, H., Luo, Y. An empirical study of wearable technology acceptance in healthcare. Industrial Management & Data Systems. 115 (9), 1704-1723 (2015).
  5. Lukowicz, P., et al. Glass-physics: using google glass to support high school physics experiments. Proceedings of the 2015 ACM International Symposium on Wearable Computers - ISWC '15. , 151-154 (2015).
  6. Sapargaliyev, D. Wearables in Education: Expectations and Disappointments. , 73-78 (2015).
  7. de Arriba Pérez, F., CaeiroRodríguez, M., Santos Gago, J. M. How do you sleep? Using off the shelf wrist wearables to estimate sleep quality, sleepiness level, chronotype and sleep regularity indicators. Journal of Ambient Intelligence and Humanized Computing. , 1-21 (2017).
  8. Espinosa, H. G., Lee, J., Keogh, J., Grigg, J., James, D. A. On the Use of Inertial Sensors in Educational Engagement Activities. Procedia Engineering. 112, 262-266 (2015).
  9. Travers, C. J., Cooper, C. L. El Estrés de los profesores la presión en la actividad docente. , Paidós. at https://dialnet.unirioja.es/servlet/libro?codigo=110437 (1997).
  10. Maslach, C., Jackson, S. E. The measurement of experienced burnout. Journal of occupational Behavior. 2, 99-113 (1981).
  11. Maslach, C., Jackson, S., Leiter, M. Maslach Burnout Inventory. , Palo Alto. (1986).
  12. Kitsantas, A., Winsler, A., Huie, F. Self-Regulation and Ability Predictors of Academic Success During College: A Predictive Validity Study. Journal of Advanced Academics. 20, (2008).
  13. Deberard, C., Scott, M., Glen, I., Spielmans, D. C. Julka Predictors of academic achievement and retention among college freshmen: a longitudinal study. College Student Journal. 381, 66-80 (2004).
  14. Healey, J. A. Wearable and automotive systems for affect recognition from physiology. , (2000).
  15. Vrijkotte, T. G. M., van Doornen, L. J. P., de Geus, E. J. C. Effects of Work Stress on Ambulatory Blood Pressure, Heart Rate, and Heart Rate Variability. Hypertension. 35 (4), (2000).
  16. Karthikeyan, P., Murugappan, M., Yaacob, S. Descriptive Analysis of Skin Temperature Variability of Sympathetic Nervous System Activity in Stress. Journal of Physical Therapy Science. 24 (12), 1341-1344 (2012).
  17. de Santos Sierra, A. Design, implementation and evaluation of an unconstrained and contactless biometric system based on hand geometry and stress detection. , (2012).
  18. Natale, V., Drejak, M., Erbacci, A. Monitoring sleep with a smartphone accelerometer. Sleep and Biological Rhythms. , Available from: http://onlinelibrary.wiley.com/doi/10.1111/j.1479-8425.2012.00575.x/full (2012).
  19. Guo, F., Li, Y., Kankanhalli, M., Brown, M. An evaluation of wearable activity monitoring devices. Proceedings of the 1st ACM international workshop on Personal data meets distributed multimedia. , http://dl.acm.org/citation.cfm?id=2512882 (2013).
  20. Wallen, M. P., et al. Accuracy of Heart Rate Watches: Implications for Weight Management. PLOS ONE. 11 (5), e0154420(2016).
  21. Wang, R., et al. Accuracy of Wrist-Worn Heart Rate Monitors. JAMA Cardiology. 2 (1), 104(2017).
  22. de Arriba Pérez, F., CaeiroRodríguez, M., Santos Gago, J. M. Collection and Processing of Data from Wrist Wearable Devices in Heterogeneous and Multiple-User Scenarios. Sensors. 16 (9), 1538(2016).
  23. IDC. Wearables Aren't Dead, They're Just Shifting Focus as the Market Grows 16.9% in the Fourth Quarter, According to IDC. , at https://www.idc.com/getdoc.jsp?containerId=prUS42342317 (2017).
  24. Mark, H., Ian, W., Eibe, F. Data Mining: Practical Machine Learning Tools and Techniques. , Morgan Kaufmann Publishers. (2011).
  25. de Arriba Pérez, F., Santos Gago, J. M., Caeiro Rodríguez, M. Analytics of biometric data from wearable devices to support teaching and learning activities. Journal of Information Systems Engineering & Management. 1, 41-54 (2016).
  26. Machine Learning Group at the University of Waikato. Weka 3 - Data Mining with Open Source Machine Learning Software in Java. , at https://www.cs.waikato.ac.nz/mL/weka/ (2018).
  27. Zhai, J., Barreto, A. Stress Detection in Computer Users Based on Digital Signal Processing of Noninvasive Physiological Variables. 2006 International Conference of the IEEE Engineering in Medicine and Biology Society. , 1355-1358 (2006).
  28. Tombaugh, T. N. A comprehensive review of the Paced Auditory Serial Addition Test (PASAT). Archives of Clinical Neuropsychology. 21 (1), 53-76 (2006).
  29. Fan, Q., Wang, Y. The real-time realization of filtering of speech with DSP TMS320VC5416 Chip. 2010 International Conference on Educational and Information Technology. , (2010).
  30. González Barajas, J. E., Velandia Cárdenas, C., Nieto Camacho, J. Implementación de filtro digital en tiempo real para detección de la onda R. Revista Tecno Lógicas. 18 (34), 75-86 (2015).
  31. Mesirov, J. P. Computer science. Accessible reproducible research. Science (New York, N.Y.). 327 (5964), 415-416 (2010).
  32. American Journal Experts. How to Write an Easily Reproducible Protocol. , at https://www.aje.com/en/arc/how-to-write-an-easily-reproducible-protocol/ (2018).

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Explore More Articles

Stress EstimationData AnalyticsMachine LearningPhysiological SignalsStroop TestPASAT TestHyperventilation TestClassroom MonitoringQuestionnaire Data