MEDICINE is in the first stages of transforming from a

Similar documents
Reconfigurable, Wearable Sensors to Enable Long-Duration Circadian Biomedical Studies

Advanced Sleep Management System

LESSON 4.5 WORKBOOK How do circuits regulate their output?

The Use of Bright Light in the Treatment of Insomnia

Case study: Non-invasive core body temperature measurements during sleep and daily life with greenteg gskin BodyTemp KIT.

Definition 1: A fixed point iteration scheme to approximate the fixed point, p, of a function g, = for all n 1 given a starting approximation, p.

Energy Fitness Tracker. User Manual EFT 1

Index. sleep.theclinics.com. Note: Page numbers of article titles are in boldface type.

Report Reference Guide. THERAPY MANAGEMENT SOFTWARE FOR DIABETES CareLink Report Reference Guide 1

Circadian photoreception in humans: More than meets the eye

Artefact Dialog Core77 Award Entry. March 2014

Make sure you remember the Key Concepts

Project: Feedback Systems for Alternative Treatment of Obstructive Sleep Apnea

Design of the HRV Analysis System Based on AD8232

PEDOMETER DESCRIPTIONS

Copyright 2016 Inteliclinic Inc. All rights reserved. Not to be shared without express written permission. Information for Resellers

Microphone Input LED Display T-shirt

Electromyography II Laboratory (Hand Dynamometer Transducer)

Lighting and Melatonin: How Lighting Impacts Melatonin Suppression and Regulation

Sleep-Wake Cycle I Brain Rhythms. Reading: BCP Chapter 19

Glabella. Continuously Sensing Blood Pressure Behavior using an Unobtrusive Wearable Device. Christian Holz Edward Wang Microsoft Research

Development of an Electronic Glove with Voice Output for Finger Posture Recognition

Development of Ultrasound Based Techniques for Measuring Skeletal Muscle Motion

Bellabeat LEAF Frequently Asked Questions

Electromyogram-Assisted Upper Limb Rehabilitation Device

Intrinsically Safe Ultrasonic Testers: How important are they?

LIGHT Feeling healthy,

Hand of Hope. For hand rehabilitation. Member of Vincent Medical Holdings Limited

1. EXECUTIVE SUMMARY 2. PRODUCT SUMMARY

Continuous Monitoring of Blood Pressure Based on Heart Pulse Analysis

CP116. Mixed-Color LED Lighting with Circadian Benefits

VITAL SIGNS MONITOR. Members Jake Adams David Knoff Maysarah Shahabuddin. Clients Dr. John Enderle Dr. Gielo-Perczak

Taking the Obesity and Diabetes Risk out of Light at Night

Accuracy of Beat-to-Beat Heart Rate Estimation Using the PulseOn Optical Heart Rate Monitor

Sleep. Basic concepts and applications for athletes. Michael A. Grandner PhD MTR

Squid: Exercise Effectiveness and. Muscular Activation Tracking

ONE MONITORING SOLUTION TO MEASURE MORE. Zephyr Performance Systems for academics and researchers

User Guide MotionX-365

Table of Contents. Introduction. 1. Diverse Weighing scale models. 2. What to look for while buying a weighing scale. 3. Digital scale buying tips

Novel single trial movement classification based on temporal dynamics of EEG

AVR Based Gesture Vocalizer Using Speech Synthesizer IC

Circadian Rhythms in Physiology and Behavior. The Persistence of Memory, Salvador Dali, 1931

Thank you very much for agreeing to participate in the Ontario Sleep Health Study

Error Detection based on neural signals

SLEEP IMPROVING WRISTBAND. Item No Owner s Guide

Introduction. What is Shiftwork. Normal Human Rhythm. What are the Health Effects of Shiftwork? Blue Light

z z z What s my story?

A micropower support vector machine based seizure detection architecture for embedded medical devices

Bio-Rhythms. Biorhythms. Presented by: Dr. Magdy Akladios 1. What is a Biorhythm. Biorhythms Theory. SENG/ INDH 5334: Human Factors Engineering

Digital. hearing instruments have burst on the

Statistical Methods for Wearable Technology in CNS Trials

Blood Pressure Laboratory

Sleep Shepherd. BIue. User Manual

>Talko. Have your modular speak out the CV, the LPC, 8 bits, vintage way. Page 1

LifelogExplorer: A Tool for Visual Exploration of Ambulatory Skin Conductance Measurements in Context

WEARABLE TREMOR REDUCTION DEVICE (TRD) FOR HUMAN HANDS AND ARMS

GLOOKO REPORT REFERENCE GUIDE

Thank you very much for agreeing to participate in the Ontario Sleep and Brain Health Study

Monitoring Training Load to Understand Fatigue in Youth Athletes

Vitality Weight Loss Rewards (WLR) Frequently Asked Questions (FAQs)

The effect of light on performance

Your Sweat Will See You Now

Cloud Condensation Nuclei Counter (CCN) Module

BRITE R450. LightTrak Sensor Time/Date. Goal Progress Bar Activity Value Activity Type Notification Alert. Quick Start Guide

GLUCOMETER: High Level Design

Consciousness. Mind-body Problem. Cartesian Substance Dualism 2/2/11. Fundamental issue addressed by psychologists Dualism. Monism

1 Getting Started. Automatically Powering on after Charging

HUMAN FATIGUE RISK SIMULATIONS IN 24/7 OPERATIONS. Rainer Guttkuhn Udo Trutschel Anneke Heitmann Acacia Aguirre Martin Moore-Ede

Introduction and literature review

Medical Electronics Dr. Neil Townsend Michaelmas Term 2001 ( The story so far

Predicting About-to-Eat Moments for Just-in-Time Eating Intervention

Ava Fertility Tracker User Manual Version 5.0. Not for contraceptive use.

Visualizing Temporal Patterns by Clustering Patients

Predicting Sleeping Behaviors in Long-Term Studies with Wrist-Worn Sensor Data

How to install the Wahoo RPM Cadence on your bike: How to install the Wahoo RPM Cadence using the Shoe Clip Mount:

Circadian rhythm and Sleep. Radwan Banimustafa MD

Pipeline Technology Conference 2007

Measurement of Soft Tissue Deformation to Improve the Accuracy of a Body-Mounted Motion Sensor

Protecting Workers with Smart E-Vests

Assessment of Reliability of Hamilton-Tompkins Algorithm to ECG Parameter Detection

People with type 1 diabetes and Do It Yourself (DIY) technology solutions ABOUT THIS POSITION STATEMENT

Where experience connects with innovation

Artificial organisms that sleep

Nonvisual effects of light. Prof. Grega Bizjak, PhD Laboratory of Lighting and Photometry Faculty of Electrical Engineering University of Ljubljana

Feasibility Evaluation of a Novel Ultrasonic Method for Prosthetic Control ECE-492/3 Senior Design Project Fall 2011

Brain Training and Self-Quantification

Food Intake Regulation & the Clock. Mary ET Boyle, Ph. D. Department of Cognitive Science UCSD

THIM User Manual 1.0 GETTING STARTED 3 WHAT YOU LL FIND IN THE BOX 3

EBCC Data Analysis Tool (EBCC DAT) Introduction

Light treatment for sleep disorders: consensus report. IV. Sleep phase and duration disturbances.

Smart NDT Tools: A New Generation of NDT Devices

EBS IT Meeting September 2016

Research on Digital Testing System of Evaluating Characteristics for Ultrasonic Transducer

Circadian Phase Entrainment via Nonlinear Model Predictive Control

Ava Fertility Tracker User Manual Version 4.0. Not for contraceptive use.

Design of Low-Power CMOS Cell Structures Using Subthreshold Conduction Region

Piecewise smooth maps for the circadian modulation of sleep-wake dynamics

SUPPLEMENTARY INFORMATION

Angular Measurements with BIOPAC Goniometers & Torsiometers

IEEE SIGNAL PROCESSING LETTERS, VOL. 13, NO. 3, MARCH A Self-Structured Adaptive Decision Feedback Equalizer

Transcription:

220 IEEE TRANSACTIONS ON AFFECTIVE COMPUTING, VOL. 7, NO. 3, JULY-SEPTEMBER 2016 A Wearable Sensor System with Circadian Rhythm Stability Estimation for Prototyping Biomedical Studies Benjamin L. Smarr, David C. Burnett, Student Member, IEEE, Sahar M. Mesri, Student Member, IEEE, Kristofer S.J. Pister, Member, IEEE, and Lance J. Kriegsfeld Abstract Despite recent growth in the field of wearable devices, persistent collection of data with clear biomedical relevance remains elusive. The majority of products focus on short-term personal fitness metrics instead of long-term biomedical monitoring. The ideal wearable platform for researchers would include flexibility to test different biometric sensors. We present an open-source, modifiable, and user-reconfigurable wearable sensor system capable of enabling biomedical investigations not feasible with currently-available devices. Our armband device has been configured to measure skin temperature, light, and activity across days to detect internal circadian rhythms. Instability of circadian rhythms is linked to risk of many diseases, including mental illness such as depression, and has predictive power for personal affective state, yet its clinical use is slow in adoption in part because of the difficulty in acquiring relevant data. We provide evidence that such measurements are attainable at high resolution, low cost, and with minimal subject burden. Our device was tested with a variety of other sensors, and results indicate that daily circadian stability and hourly ultradian rhythms in core body temperature and hormone concentrations can be predicted from armband data. Future devices will be self-powered and perform automatic data collection to improve data continuity. Index Terms Biomedical transducers, wearable sensors, body sensor networks Ç 1 INTRODUCTION MEDICINE is in the first stages of transforming from a reactive, intervention-heavy model to a future of preventive medicine based on predictive algorithms running on large volumes of individuals data. The wearable device market is blooming rapidly, with ever-increasing diversity of smart devices incorporating a variety of personal and environmental sensors such as heart rate, GPS position, or steps taken. So far however, most of this market is dedicated to personal fitness. For personal data gathered from wearable devices to be of direct clinical use, two criteria must be met. First, the data must capture variables of known medical value, and second, the algorithms parsing these data must be informed by biomedical theory. Failure of the first results in engineers misdirecting time designing components that clinicians and researchers cannot or will not use, and failure of the second results in inefficient use of the data, as random or brute-force pattern detection blindly strives to generate predictive value where solid biological theory could instead light a path. B.L. Smarr is with the Department of Psychology, University of California, Berkeley, Berkeley, CA 94720-1650. E-mail: smarr@berkeley.edu. D.C. Burnett, S.M. Mesri, and K.S.J. Pister are with the Berkeley Sensor and Actuator Center, Department of Electrical Engineering and Computer Sciences, University of California, Berkeley, Berkeley, CA 94720-1770. E-mail: {db, pister}@eecs.berkeley.edu, smesri@berkeley.edu. L.J. Kriegsfeld is with the Department of Psychology and The Helen Wills Neuroscience Institute, University of California, Berkeley, Berkeley, CA 94720-1650. E-mail: kriegsfeld@berkeley.edu. Manuscript received 1 Mar. 2015; revised 22 Oct. 2015; accepted 15 Dec. 2015. Date of publication 22 Dec. 2015; date of current version 12 Sept. 2016. Recommended for acceptance by G. Fortino and G.Z. Yang. For information on obtaining reprints of this article, please send e-mail to: reprints@ieee.org, and reference the Digital Object Identifier below. Digital Object Identifier no. 10.1109/TAFFC.2015.2511762 Biological rhythms on the scale of a day (circadian), hours (ultradian), a year (circannual), or a menstrual cycle guide more than half of human gene expression [1], [2], manifest in every organ system [3] and, due to their cyclic nature, reduce the variance of a state variable (e.g., core body temperature or CBT) by placing it in a known temporal context (e.g., high CBT at noon is healthy, but the same CBT at midnight will cause sleep disturbance). A great deal of research has made clear that people with less day-today stability in their circadian biology are at higher risk for a host of diseases, including cancer, heart disease, obesity, addiction, cognitive impairment, and depression [4], [5], [6], [7], [8], [9]. Though the impact of such circadian instability is clear epidemiologically, studies are usually limited to large, invasive equipment or stays in lab or hospital settings. In both cases research focuses on large-scale effects, such as rotating night work shifts, and so any predictive value from more subtle, persistent life-style choices are missed. The cost and effort necessary for these studies limit the populations that can be examined, and their inconvenience upsets the results. Although this is sometimes addressed by journaling, errors in subjective recall may still add sufficient noise to drown out subtle effects. Biomedically-inspired instrumentation drives the design of all clinical tools and the benefits of reconfigurable engineering systems are well-documented [10], but few published works have combined the two fields to offer the flexibility necessary to support early hypothesis testing when a dedicated device is nonexistant. For some work, reconfigurability comes in the form of taking advantage of modern rapid-prototyping tools to iterate design ideas [11]. Closer to our goal, the pulse oximeter in [12] offers a 1949-3045 ß 2015 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

SMARR ET AL.: A WEARABLE SENSOR SYSTEM WITH CIRCADIAN RHYTHM STABILITY ESTIMATION FOR PROTOTYPING BIOMEDICAL... 221 high degree of reconfigurability and its form factor enables it to be used for a variety of biomedical studies. Finally, the commercial product SHIMMER [13] offers a wide variety of wearable sensing options but its price point and lack of complete open-source documentation are boundaries for researchers who wish to conduct large-scale studies with new and different sensors. We present an open-source, modifiable, and userreconfigurable wearable sensor system capable of enabling biomedical investigations that are impossible with currently-available devices. Realized as an armband, the device has been used to test hypotheses in the field of circadian biology research with significant results, including circadian and ultradian patterns currently unreported in the literature. The outline of this paper is as follows: in Section 2 we detail why the human circadian rhythm is worthy of study for its predictive value in affect and disease states thereof, the current state-of-the-art in studying it in humans, and the direction human study should take to enable personal, predictive value for clinicians. The device we have created to enable biomedical researchers to non-invasively study freeliving individuals is described in Section 3. This device was used in a biomedical experiment, described in Section 4; the circadian rhythm data it produced along with ground-truth measurements to validate those data are presented in Section 5. Discussion of these results is given in Section 6. In Section 7 we outline our plans for a more advanced device to enable collection of massive volumes of better-quality biomedical data, eventually creating a personalized medicine feedback system to optimize individual health. We summarize and conclude with Section 8. 2 BIOMEDICAL MOTIVATION Because the sun has effectively arced through the sky at the same pace for all of evolution, single cells evolved circadian time-keeping mechanisms that persist in our cells today [3], [14], [15], [16]. Thus humans are complex symphonies of rhythmic cells, which, when playing in time, allow efficient coordination of function across organ systems. Due to the historic stability of the light:dark cycle, mammalian brains use light to daily realign internal oscillators [17], [18] and as a cue for time of year (summer may or may not be hot but, except for right on the equator, the duration of daylight always increases as summer approaches) [19], [20]. The invention of artificial lights have thus introduced cues to which humans are not well adapted. Light at night or sudden changes in the light:dark cycle (as in jet lag or shift work) will cause internal desynchronization [21], [22], [23], [24], [25], [26], as some oscillating tissues adjust more quickly to the change than others. Acute desynchronization impairs learning and memory, sleep quality, and emotional well-being, whereas repeated or persistent internal desynchronization increases the risk for disease across tissues including cognitive disruption and mental disease [8], [24], [25], [27]. Therefore, interpreting biomedical data within the framework of biological rhythms not only allows more precise detection of a given measure s deviance from expected values, but also allows interpretation in the context of internal synchrony, the maintenance of which will help with disease prevention. As a specific example, depressive illnesses (e.g., major, bipolar, seasonal affective, etc.) feature circadian comorbidities [28], [29], [30], [31], [32], [33]; though the direction of causality is only sometimes from disruption to disease state, the detection of the disruption could provide an early alert for onset of a depressive or manic episode. The role of chronic internal desynchrony in the etiology of disease is well documented, but the adoption of circadian maintenance by the medical community has not been rapid, in part because of the difficulty in acquiring high temporalresolution samples with clear biomedical relevance. For example, the hormone cortisol is a central component of the body s arousal and stress response, and disruptions to cortisol impact affective state directly [31], [34], [35], [36], [37], [38], [39]. Cortisol normally follows a circadian rhythm, with a wake-promoting peak in the early morning, followed by diminishing ultradian pulses through the day, then an evening, sleep-promoting trough [31]. Cortisol regulation is disrupted by circadian instability [40], [41], likely playing a role in the etiology of mental illness that also increases with circadian disruption. If clinicians have insight into one s cortisol rhythm, the detection of disruptions before they result in clinical affective disturbance could be permitted. Although, cortisol can be measured in blood, saliva, or feces, few if any patients will suffer to have samples collected frequently throughout the day, or as part of an ongoing medical maintenance process. On top of the very real increased inconvenience and risk such repeated samples would impose on the patient, the clinician would also have to process the samples for analysis, making such an arrangement financially unfeasible as well. We see a solution to this problem with the incorporation of wearable devices designed to persistently and noninvasively capture data at high temporal resolution, in variables proven to allow inference of circadian state and internal, circadian-modulated systems. To this end, we recently demonstrated the design and implementation of a reconfigurable, wearable device capable of measuring skin temperature, light exposure, and locomotor activity continuously across several days on a free-living individual, with only 1 min of user time required per day to swap batteries [42]. These variables have been shown to allow prediction of internal circadian state [43], [44], but had not previously been shown to do so from a single, non-invasive device. Here we show an improved version of the device, capable of higher temporal resolution and increased precision without cost to battery life. In addition, we show one week s continuous data collection, with important detectable differences between one subject with an early circadian phase, showing signs of stable circadian entrainment (alignment to and prediction of the environment s light: dark cycle), and another with a later phase, showing signs of minor but persistent circadian disruption. Finally, we collected salivary samples and CBT measures across two days of constant routine from the first subject. These measures allowed comparison of CBT (a standard measure of circadian rhythmicity) and salivary cortisol to the output of our wearable device. These comparisons enabled the generation of an algorithm to predict CBT and cortisol rhythms in a free-living individual instrumented only with our wearable device.

222 IEEE TRANSACTIONS ON AFFECTIVE COMPUTING, VOL. 7, NO. 3, JULY-SEPTEMBER 2016 Fig. 1. Photos of current device showing light port (a), skin temperature plate (b), and device in use (c). 3 DEVICE DESCRIPTION Our wearable device is realized in an armband form factor and designed to be reconfigurable; at the start of the project, there were several possible approaches to collecting relevant circadian biology data and the device needed to be easily modified to test each one. While circadian biology was the intended application, the device s open-source nature now allows it to be easily modified for other biomedical or ecological investigations requiring persistent, non-invasive on-body sensing. Interested investigators can find complete designs of the device at http://www.eecs.berkeley.edu/ db/taffc2016. 3.1 Hardware The core of the device is an NXP LPC2148 ARM7-based PCB (Logomatic V2, SparkFun, Niwot, CO, USA). Starting with an off-the-shelf board kept initial costs and build time low and allowed quick replacement when damaged during testing. The board was enhanced to include sensors to measure the three aforementioned analytes relevant to detecting circadian state: distal body temperature (DBT), activity, and light exposure. To support I2C communication with the activity sensor, the STAT1 LED current-limiting resistor, R5, was desoldered to free up that pin for use with I2C SCL signals. I2C SDA signals were available via pin breakout labeled BSL. Sensors and their interface circuits were chosen to be as simple as possible to maximize the potential for low-cost, large-population monitoring with similar devices. Sensors were verified to function as expected before experimental data collection. The PCB and sensors were combined with a 3D-printed enclosure, fastening strap, 2 GB SD card, and rechargable 3.3 V 1,000 mah lithium-ion battery to form the complete device capable of logging several months of data (Fig. 1) and requiring battery changes between 1 and many days, depending on logging frequency settings. Its dimensions are approximately 7 4 2 cm and it weighs 52 g with battery (31 g without), making it appropriate for comfortable wrist wear (Fig. 1c). Since [42], an elastic fastening strap has made long-duration wear more comfortable, and the 3Dprinted enclosure has been improved to add resilience against day-to-day activities. 3.2 Operation Users set sampling frequency, duration of sampling window, and length of low-power sleep mode before beginning another sample window with a config file on the SD card. Fig. 2. Data collection timing diagram. Each pulse represents all three sensors sampled and logged. Time A is the time between the start of each sampling window. Time B is the duration of each sampling window. Time C is the time spent outside of a sampling window, when the device is in sleep mode to conserve power. Time D is the time between samples. Times A, B, and D are user-defined via an interactive Python script, and Time C results from the combination of A, B, and D. These settings, illustrated in Fig. 2, are contained in a binary configuration file generated by answering questions posed by a custom Python script. For each sample, ADC values for temperature and light are taken and the current accelerometer reading is requested over the I2C bus. While the device is in sleep mode, temperature and light are ignored but any activity that generates an acceleration greater than 0.1 g- force sends an interrupt to the microcontroller to increment a counter. Comma-separated sensor values with appropriate headers are written to an ASCII text file on the SD card, with a new log file created each time the device is powered on. The log files are parsed with a second custom Python script, which are readable by a Matlab script to convert reported digital values into real-world data. Conversion is performed as per sensor datasheets and analog-to-digital converter interface circuit scaling factors, after which the data is available for analysis. 3.3 Firmware Rudimentary open-source firmware was provided with the off-the-shelf board which further shortened engineering time, though this work represents a significantly more advanced use requiring extensive firmware modifications. The firmware included with the ARM7 board was augmented to include I2C communication, sleep mode, interrupts, custom data logging formats, and adjustable sampling periods, as well as disabling extraneous features like LEDs to conserve power. Digitally-controlled power gating of sensors was written into the firmware, but using it proved unnecessary to meet the 24 h battery life target. These features were deemed necessary for wearable sensor sampling, and future biomedical studies in fields besides circadian biology may also benefit from their inclusion. 3.4 Sensors 3.4.1 Temperature A negative temperature coefficient thermistor (NTCG163JF- 103F, TDK Corporation of America, Lincolnshire, IL, USA), was attached to a thin 1:5 1:5 cm aluminum plate with non-conductive thermal epoxy (Arctic Silver Thermal Adhesive, Arctic Silver, Visalia, CA, USA) and affixed with foam tape to the inside of the band such that the aluminum plate would make skin contact when worn (Fig. 1b). This

SMARR ET AL.: A WEARABLE SENSOR SYSTEM WITH CIRCADIAN RHYTHM STABILITY ESTIMATION FOR PROTOTYPING BIOMEDICAL... 223 configuration maximized thermal conductance between the thermistor and the wearer s skin while minimizing thermal loss to the rest of the device and ambient environment. The temperature sensor was initially designed to provide accuracy greater than clinical thermometers in use today [45], but our initial model suffered from an offset (more offset at the start of a window, exponentially approaching no offset after about 15 minutes of 10 Hz sampling, then resetting to the initial offset value after the microcontroller entered and exited low-power sleep mode) that caused smearing of temperature readings within a given sampling window [42]. According to [46], assuming a size 0603 thermistor affixed to metal in contact with a thermal reservoir such as a human arm is analogous to a a thermistor mounted to a PCB, and knowing the thermistor nominally dissipates 0.5 mw of power, we can expect about 0:032 C of temperature increase due to self-heating. The thermistor dissipates a fixed amount of power for at a given temperature, so we also expect this offset to be constant after powerup. However, we observed the time-dependent offset in each window even after hours of device use. Later testing showed that the time-dependent offset s size was ameliorated by reducing the ADC sampling rate from 10 to 1 Hz. The interface circuit was also improved with 3 gain plus voltage offset to focus on a specific temperature range, 21 C to 51 C, with a resolution of about 0:03 C resolution when connected to a 10-bit ADC. This well-surpasses the thermistor s own claimed accuracy of 0:1 C, which further improved measurements compared to [42]. These enhancements have made the temperature sensing of the device sensitive enough not only for detection of daily circadian rhythms, but also hourly ultradian rhythms as described in Section 5. 3.4.2 Activity Activity was recorded by a triaxial digital accelerometer (MMA8452, Freescale Semiconductor, Tempe, Arizona). It was determined that any one of the three axes were sufficient to infer activity level; the axis horizontally perpendicular to the arm was chosen for analysis and acceleration along other axes was ignored. Communication to the microcontroller took place over I2C when awake to measure instantaneous acceleration, or via interrupt signal during low-power sleep mode to count all instances the device experienced acceleration beyond 0.1 g-force. The accelerometer installed in this device is capable of capturing both greater temporal resolution and greater dimension depth than was deemed necessary for the application of the device to discerning circadian phase. Circadian studies traditionally rely on gross measures of locomotor activity, such as 10 min bins of acceleration counts across the day. Initially the device revealed foot steps and hand motions, but this extraneous information was eliminated when accelerometer s output was pared down to mere 1-dimensional counts. This generated savings of storage space and power while not impacting the biological application. This choice is an example of the kinds of optimization possible when device development is coupled to a specific biological framework. 3.4.3 Light Exposure A photoconductor (CL9P5L, Clairex Technologies, Plano, Texas) was used to determine light exposure. It was attached to the surface of the device on the hypothesis that visible light reaching the wrist is a good approximation of the blue light entering the wearer s eye and stimulating the melanopsin ganglion cells that contribute to circadian rhythm maintenance [18]. The data from this sensor needed only be qualitative to be useful, so the logarithmic response of the photoconductor didn t need to be linearized. A resistive divider was built to roughly divide the range of the ADC into five brightness regions, which can be subjectively described as dark, dim, indoor night (artificial light only), indoor day (artificial light augmented by diffuse sunlight, and direct sun light. Early tests with the light sensor confirmed our ability to see consistent logarithmic changes in resistance with light intensity as expected. Repeated measures outside under noon-time sun, inside under fluorescent laboratory lighting with and without daylight nearby, inside under low light, and concealed in a dark box allowed for the designation of consistent resistance ranges to different common lighting conditions. Although quality (e.g., wavelength decomposition) of light is not a feature of this device, the greater intensity of daylight than office lighting, and regressions against known sunrise-sunset times allow confident disambiguation of most light sources (i.e., the light intensity at all but sunrise and sunset may be enough to infer the source of light as artificial or natural in most circumstances; the presence of smooth transition curves under natural light at sunrise and sunset further help differentiate the source of light at those times, when intensity alone is insufficient see [42]). 4 EXPERIMENTAL METHODS The armband device described in the previous section was designed generally to enable new biomedical studies through simple, reconfigurable, cost-effective wearable instrumentation. It was also designed to be specifically configured with sensors to study human circadian rhythms using a single, non-invasive wearable device. In this section, we describe the experimental methods used to determine the effectiveness of this non-invasive armband-based approach to measuring human circadian stability. 4.1 Constant Routine To unmask underlying circadian rhythms without disruption from exogenous factors, Subject A spent 2 consecutive days in a lab room under the following controls: Subject A had ibutton thermal loggers (Thermochron ibutton, Embedded Data Systems, Lawrenceburg, Kentucky) taped to left and right armpits, wrists, ankles, and inner thighs. These were set to collect data at 1 min intervals continuously from 05:30 on the first day. The subject also began their sevenday collection with our armband device, which was set to collect data from each sensor once per s for 10 min every 30 min as illustrated in Fig. 2. Every 30 min from 05:30 to 22:30, timed to just before the armband recording window onset, a saliva sample was collected from the subject, after which the subject then ate a snack (50-100 calories) and drank 100 ml of water. Subject A had 400 lux light exposure (overhead office lights) from 05:30 until 17:30; for collection and feeding after lights-out at 17:30 dim (5 lux) light was provided. Subject A stayed in a comfortable sitting or reclining

224 IEEE TRANSACTIONS ON AFFECTIVE COMPUTING, VOL. 7, NO. 3, JULY-SEPTEMBER 2016 position from 05:30 to 22:30, after which the subject lay flat for 7 h of sleep in total darkness. The subject was allowed to use the restroom only during the light phase each day, and only immediately after the armband collection window had closed, so as to provide maximum time for physical recovery from any deviations movement might have caused to the subject, thus minimizing artifacts in the collection either before or after restroom use. The subject opted to do this twice each day. The subject was allowed to bring materials to help pass the time, but nothing that, in their judgment, would be too stimulating, so as to avoid causing a cortisol reaction. No such deviations appear in the data. Subject B was unable to submit to constant routine observation, and so this subject s CBT were taken at home. IButtons were taped into both armpits, and the subject was advised to stay seated or reclining, to eat small, light meals, and to avoid anything too stimulating, although saliva was not collected. Light was not controlled, but this is unlikely to impact the CBT recorded, as light exposure adjusts future predicted daily phase, meaning the rhythm of the following day could be affected, but not the rhythm being currently recorded. The subject indicated compliance with these conditions. The purpose of this experiment was only to demonstrate the investigative possibilities using a device with sensor capabilities as described in section 3. As only one subject was run in each constant routine, all findings are tentative until larger sample populations can be investigated. 4.2 Salivary Cortisol Assay The concentration of cortisol was determined by ELISA (salivary cortisol ELISA kit, Rocky Mountain Diagnostics, Inc., Colorado Springs, Colorado). All samples from both days were run in the same assay, with a control curve of known cortisol concentrations run at the beginning and end of the assay to account for any drift in results caused by the time taken to pipette all samples at all steps. Standard curves were sensitive from 0.001 to 30 ng/ml, and the intra-assay variability across the two control curves was 9 percent, with the second curve consistently higher than the first. Sample concentrations were therefore back-calculated by comparison to a best-fit curve of the mean of the control curves. No samples were outside of the sensitive range of the assay, and so no corrections or omissions occurred. 4.3 Armband Recordings and Analysis Subjects were advised to wear the armband at all times except when showering. Batteries were swapped after the end of a recording window, and recording was restarted on the new battery exactly 30 min after the previous recording window s onset time. Subjects successfully executed this and no loss of data is apparent across seven days for Subject A and five days for Subject B. At the end of the recording sessions, the armband data were collected, concatenated, and processed in Python and Matlab to generate a single activity, temperature, and light log for each subject. To generate predictions of daily CBT and cort from daily DBT, the median DBT was generated. This curve had the median subtracted, and was then fit by the sum of sines function in Matlab. This same fitting process was applied to constant routine CBT and cort, as well as for each daily DBT. The coefficient ratios from constant routine to median DBT were then applied to the coefficients of the daily DBT to generate coefficients for that days CBT and cort fit functions. The median value was then added back in to generate the final prediction for each day. These sum-of-sines fits also allowed comparison across the different sampling frequencies used for each measure in constant routine (e.g., 1 per 30 min for cortisol, 10 min per 30 min with the armband, 1 per min with ibuttons), as shown in Figs. 3 and 4. Correlations were run using the Curve Fitting Matlab 2015 app, and predictive algorithm generation was done in Matlab 2015. Plots were made in Matlab 2015 and arranged in Adobe Photoshop. 5 BIOMEDICAL RESULTS The high temporal resolution of the sampling allowed for clear detection of days in all variables (Fig. 3a). The days in constant routine resulted in stable daily waveforms of DBT and CBT (Fig. 3b), as well as typical salivary cortisol curves (Fig. 3c). The subsequent five-day recording also revealed ultradian patterns in distal body temperature (Fig. 3d) which did not correlate with peaks in locomotor activity (R 2 <0.05), as would be expected if these transient peaks resulted from heat generated by muscle use. The existence of human ultradian DBT rhythms has received passing mention in the literature [47], but the data presented here appear to be one of the most complete descriptions of a single subject s free-living rhythms yet published. This finding turns out to be critical to the generation of predictive models, as alignment of ultradian peaks across days more accurately reveals the similarity of an individual s internal state than does locomotor activity or time of light exposure, both of which are more easily masked by artificial (exogenous) schedule constraints. In Subject A, the alignment of these daily ultradian DBT waves was strikingly high, as revealed both by the closeness of fit of the median daily DBT to the median of the daily DBT fits (Fig. 3e) and by the phasealignment of the daily DBT fits to the same clock time (Fig. 3f). These stable daily DBT fits reveal a clear phase relationship from this free-living rhythm to the CBT and cortisol rhythms taken under constant routine (Fig. 3f). Although an investigator could apparently infer cortisol or CBT phase by eye in Subject A, a more algorithmic approach is needed for the predictive inference to scale across days and subjects. The ratio of the coefficients of two sum-of-sines fits can be used to algebraically transform one fit into the other, described in detail in the methods. Briefly, to automate the prediction process of daily CBT and cortisol concentration from daily DBT measures, the ratio of coefficients of the median daily DBT fit and the median CBT or cortisol fit were applied to each daily DBT rhythm along with a linear corrective factor. This generated CBT and cortisol curves for each free-living day based on that day s DBT data, but influenced by the subject s CBT and cortisol rhythms uncovered during constant routine measurement (e.g., Fig. 4a). The output of the predictions falls into the expected range and circadian and ultradian wave form of CBT and cortisol, but shows daily variance. Subject B showed signs of persistent circadian disruption in light and activity records, allowing a comparison of the clean waveforms found with Subject A to see if

SMARR ET AL.: A WEARABLE SENSOR SYSTEM WITH CIRCADIAN RHYTHM STABILITY ESTIMATION FOR PROTOTYPING BIOMEDICAL... 225 Fig. 3. High temporal resolution recording of Subject A across seven days allows comparison of constant routine to free-living measures of circadian and ultradian rhythms. (a) Unfiltered, continuous recording by our armband across two days of constant routine and five subsequent days of freeliving (temperature in green, acceleration in red, photoconductance in blue; overlay below to show relative temporal alignment). (b) Raw recordings (thin lines) and fit curves (sum of sines - thick lines) from one day of constant routine (core body temperature in red, distal body temperature or DBT in blue, cortisol in green). (c) Average fit lines from constant routine (CBT in red, cort in green) compared to armband temperature fit lines of all five free-living days, revealing phase-alignment of ultradian DBT rhythms as measured from our armband to ultradian rhythms of CBT and cort rhythms uncovered in constant routine. perturbations would arise in Subject B. Though both an N of 1, we find these comparisons valuable as a first validation of expectations and of the data being produced by our device. These comparisons are also important as hypothesis generators for identifying differences to validate in larger sample groups in the future using future generations of circadian logging tools. As expected, though a circadian pattern emerges in the daily DBT rhythms of Subject B, the alignment of ultradian peaks is far less precise (Fig. 4c), suggesting a lack of internal circadian synchrony. Subject B s CBT also shows a 24 h oscillation, but has more high-frequency variance than Subject A (Fig. 4c). Using the same predictive approach as with Subject A, Subject B s daily CBT was predicted and shows a clear circadian pattern

226 IEEE TRANSACTIONS ON AFFECTIVE COMPUTING, VOL. 7, NO. 3, JULY-SEPTEMBER 2016 Fig. 5. Armband measures of activity and light exposure show less stable ultradian structure than temperature measures, but reveal probable sleep windows, individual manifestation of chronotype, and could indicate severity of circadian disruption. Both subjects light (blue) and activity (orange) records over four free-living days are given. Both records begin at midnight and end at midnight 96 h later. Note the persistent lag of light and activity offset of Subject B relative to Subject A, likely identifying both subjects as different chronotypes. Fig. 4. Algorithmic predictions of core body temperature from distal body temperature and salivary cortisol fall within expected range. Top: Median CBT (red) and cort (green) sum-of-sines fits from two days of isolated, constant routine shown with median of five days of normal, free-living DBT from armband for Subject A (A). Medians from (A) shown as dotted lines at (B) for comparison to predicted values for one specific day of free-living, based on transformations of that day s DBT recording. Note the close fit. Bottom: Median CBT (red) and DBT (blue) for Subject B (Subject B did not record cort) (C). Light blue lines are each of five freeliving days DBTs recorded by the armband; dark blue line is the mean those five days. Note the lack of ultradian rhythm alignment as compared to Subject A in Fig. 3c. Predicted CBT of one specific day of free-living calculated from that day s DBT (D). Dotted blue line is the mean line from (C). Note that while the range and circadian rhythm are appropriate, a high-frequency component arises as an indication of the lack of daily DBT alignment. with temperature estimates in the expected range and phase, but with a high-frequency component that is not likely to reflect the true biological state (Fig. 4d). Thus, although circadian phase and amplitude appear to be extracted from DBT, artifacts appear to arise from the higher variance of daily DBTs, making the prediction less precise moment-to-moment. Obviously a smoothing algorithm could be run to eliminate such high-frequency features, but we share them here because such artifacts might arise systematically as heuristics of internal instability. The validation of features that identify individuals at risk for internal circadian desynchrony is a tantalizing possibility. Although DBT waves proved adequate for predictions of CBT and cortisol, light and activity records also provide insight of value to description and prediction of adverse affective events. Fig. 5 shows four days of free-living record for Subject A (top) and Subject B (bottom). Both show clear daily rhythms, but personal phase differences are captured. First, it should be clear from these data that measures such as steps per day given by commercial pedometers do not capture the structure or variance of each subject s routine. Second, both subjects show tight coupling of lights-off and lights-on with the onset and offset of the consolidated bout of daily activity. This allows for the identification of probable sleep windows, (PSWs) defined as times during which activity and light are both at trough values. These PSWs provide a simple measure of sleep duration, sleep duration variance, and daily activity-phase stability. For instance, Subject A appears to sleep for 7 h 25 min per night, +/ 34 min, while Subject B sleeps for 6 h 12 min per night +/ 15 min. Subject A is also defined as an early chronotype, or lark, because Subject A leaves PSW around 05:15 each morning, and enters the PSW at 21:37 on average each night. By contrast, Subject B is identifiable as a late chronotype, or owl, because the PSW begins at 23:39 and though it ends at 05:54 (Fig. 5), the subject reports that this is from an alarm. The comparison of light and activity records also corroborate the temperature finding that Subject A has less internal desynchrony than Subject B. Subject A s activity onset consistently precedes light onset, by an average of 26 min each day, whereas Subject B s activity onset is the same as light onset to within 1 min each day, again, due to the use of an alarm. This suggests that Subject A has stable circadian

SMARR ET AL.: A WEARABLE SENSOR SYSTEM WITH CIRCADIAN RHYTHM STABILITY ESTIMATION FOR PROTOTYPING BIOMEDICAL... 227 entrainment to the environment, and is woken by an internal clock (the subject reports not using an alarm clock, which further substantiates this observation). This is in contrast to Subject B s activity and light onset, which are constrained by work obligations, so that sleep duration is shortened and the subject s internal clocks are daily having to adjust to light input before that input is expected (before the subject s natural circadian wake time). 6 DISCUSSION Our imputation of reasonable CBT and cortisol rhythms, and our demonstration of the ability to infer chronotype, PSWs, and daily stability across individuals open many potential avenues of exploration with specific regard to affect. For instance, manic depression carries a comorbidity of circadian and sleep disruptions, with manias typically characterized by increased activity and lack of sleep, and depressions characterized by decreased activity and either a lack of sleep or an overabundance of sleep [28], [48]. Why sleep manifests differently in some depressive episodes is not clear, and while some bipolar patients show a rhythm in their affective states, many do not. Once broadly validated, a device like the one we present could be used to explore the possibility that individuals with different manifestations (rhythmic or not, high or low amplitude episodes, etc.) might be identifiable and separable by qualities of their daily rhythms, with implications for targeting medications or treatments. In addition, descriptions of circadian and sleep disruptions could be traced across episodes to explore the relationship of causal and resultant disruptions, enabling a more clear understanding of the relationship between circadian stability and affective well-being. For example, here we found evidence that Subject A had a more stable entrainment of the circadian system, and so woke in anticipation of the start of the day (activity onset preceded light onset), whereas we found a lack of light-anticipatory activity in Subject B, suggesting this subject s internal clocks were in a more reactionary state upon wake. While chronic circadian insult is often framed in terms of large-scale daily changes, (e.g., rotating night shifts, transatlantic jet lag, etc.), there is no reason to think that small but persistent circadian shifts, as Subject B appears to be experiencing daily, do not also become risk factors for mental illness or loss of subjective well-being. Similarly, sleep and circadian rhythms tend to lose coherence with advanced aging. Given the impact circadian disruption has on healthy individuals, it is not surprising that geriatric populations are more at risk of emotional and cognitive damage as their internal timing systems degenerate [49], [50], [51]. A device such as ours could be used in the short run to identify individuals with less stability, and try to identify environmental factors such as light at night, inactivity, or insufficient day light exposure that might contribute to a downward spiral of circadian stability. In the long run, working with aging populations may help develop predictors of the onset of biorhythmic decline, or even help to identify at-risk populations before decline manifests; the device could then aid in studying the effects of efforts to exogenously bolster an individual s circadian stability, for instance by enabling precise measures of compliance with light:dark schedules or timed activity regimens to reinforce internal clock coherence through regular external feedback. As previously noted, experiments capturing small circadian shifts over long periods are impossible with traditional methods. By using a device designed with circadian biology and minimal-invasiveness in mind, these questions become straightforward analyses once deeper validation and a user base exists, and provide hope for more subtle, more predictive patterns being discovered to aid long-term stability of affective health. 7 FUTURE DIRECTIONS For broader use (years of recording across a wide population and/or accessibility to young children or the technically disinclined) cost and user burden still need to be reduced to near zero. Therefore the device presented here is also the starting point for future generations of devices able to gather circadian data over long periods without user input, maintenance, power and data management, or obstruction of the user s day-to-day life. In the short term future, we plan to use a moderately smaller and more capable second-generation device to validate networking capability, user compliance and ease-of-use (for instance, how tightly the device must be worn to gain consistent and usable temperature readings), and accuracy of predictive algorithms across more subjects, covering different demographics, such as age, sex, body-mass index, etc. A later-generation version of the wearable presented here is being concurrently developed as a fully-integrated wireless sensor system in the spirit of the Smart Dust mote concept [52]. Such a device is intended to be small enough to be worn unobtrusively, use thermal gradient, kinetic, and/or solar scavengers to obtain power, and sense data relevant to circadian biology as described in this work. It may also sense other health-relevant biomedical and environmental analytes benefiting from reliable, periodic sensing such as pulse oximetry and air pollutants. It is also intended to utilize existing work in wireless body-area networks [53], [54], and lowpower mesh networks [55] to minimize power budget by communicating only with nearby network nodes. In the long term, we hope to contribute to systems in which user data would be aggregated and analyzed by a doctor-in-the-loop feedback system to provide patient advice based on individual and aggregate data, and allowing the device s sampling rate, etc. to be tuned to maximize health feedback benefits for the individual. A conceptual network layout is given in Fig. 6. These features would allow continuous monitoring without depending on the user for maintenance, and the fully-integrated form factor may reduce the likelihood of the user removing the device and breaking continuity of data. Enabling continuous data gathering from each user will maximize the potential to identify patterns that can be used to optimize long term health and affective well-being across a lifetime of exposure to the modern, disrupted circadian environment. 8 CONCLUSION For the entire history of life, availability of sunlight has shaped the evolution of behavioral temporal niches

228 IEEE TRANSACTIONS ON AFFECTIVE COMPUTING, VOL. 7, NO. 3, JULY-SEPTEMBER 2016 successive experiments. As the result of several trials, the armband we present here exhibits a useful configuration for those interested in studying circadian disruptions in people living freely in their environments. Our device is capable of measuring distal body temperature, light exposure, and activity, and we present evidence that it can be used to track users sleep and predict the circadian phase of a user s core body temperature and cortisol rhythms, as well as estimate their internal circadian synchrony relative to others. Normally such measures would require frequent, invasive measurements and/or considerable subject burden, whereas our device requires only 1 min per day to change the battery and upload data. More validations are clearly needed to assess accuracy of this specific device across users, changes by demographic, compliance issues, and so forth. Nevertheless, our findings are positive indicators that such a device leads to more precise and higher resolution measurements at less expense and with minimal disturbance of the subject. Though these findings cover just two individuals one early lark chronotype and one late owl chronotype they also provide support for the hypothesis that our device can recognize individual daily rhythms, and that statistical analysis of these rhythms can be used to monitor a patient s circadian stability, with application for predicting short-term onset likelihood and longterm future risk management of mental health episodes or mental degeneration. Fig. 6. Conceptualized ambient network to collect and process wearable health monitor data, including unattended collection and aggregation of data through nodal networks, and cloud processing of data to minimize user and clinician/researcher burden. The network also includes a doctor-in-the-loop capability to enable medical professionals to advise patients based on patterns found in individual and aggregate data, and tune device configuration as application areas or patient needs change. (e.g., diurnality in humans) and been the most reliable marker of seasonal change. Therefore, biological visual systems evolved to enable both image formation (i.e., seeing) and correctly timed daily and seasonal biological changes (e.g., sleep timing and increasing fat mass in shortening days, respectively). The integration of electric lights into modern life therefore disrupt biological timekeeping mechanisms. For this reason, the current urban environment presents a number of challenges to human health, such as shift work or light exposure at night, discussed in the introduction. Over a lifetime, such disruptions increase the likelihood of disease in every organ system, from cancer to arthritis to depression. However, the manifestation of circadian rhythms and the impact of artificial circadian disruptions are different in different people. Though the reality of negative health impacts from circadian disruption is now clear, studies in modern populations to identify best practices for different demographics (or individuals) are blocked by a lack of available data. Wearables provide a non-invasive mechanism of gathering such data, but are most useful only if researchers can iteratively experiment with the kinds of data acquired: starting from their knowledge of biological systems and developing with ACKNOWLEDGMENTS The authors would like to thank Prof. X. Vilajosana and F. Chraim for their embedded systems programming advice, J. Greenspun for his assistance with field testing, and A. Zhou for her assistance with the thermistor interface circuit. This work was supported by the Department of Defense (DoD) through the National Defense Science and Engineering Graduate Fellowship (NDSEG) Program, and through the Berkeley Sensor and Actuator Center (BSAC). B. L. Smarr and D. C. Burnett contributed equally to this work. REFERENCES [1] A. Loboda, W. K. Kraft, B. Fine, J. Joseph, M. Nebozhyn, C. Zhang, Y. He, X. Yang, C. Wright, M. Morris, I. Chalikonda, M. Ferguson, V. Emilsson, A. Leonardson, J. Lamb, H. Dai, E. Schadt, H. E. Greenberg, and P. Y. Lum, Diurnal variation of the human adipose transcriptome and the link to metabolic disease, BMC Med. Genomics, vol. 2, no. 1, p. 7, Feb. 2009. [2] A. A. Ptitsyn, S. Zvonic, and J. M. Gimble, Digital signal processing reveals circadian baseline oscillation in majority of mammalian genes, PLoS Comput. Biol., vol. 3, no. 6, p. e120, Jun. 2007. [3] J. A. Mohawk, C. B. Green, and J. S. Takahashi, Central and peripheral circadian clocks in mammals, Annu. Rev. Neurosci., vol. 35, no. 1, pp. 445 462, 2012 [4] F. C. Baker and H. S. Driver, Circadian rhythms, sleep, and the menstrual cycle, Sleep Med., vol. 8, no. 6, pp. 613 622, Sep. 2007. [5] D. A. Bechtold, J. E. Gibbs, and A. S. I. Loudon, Circadian dysfunction in disease, Trends Pharmacol. Sci., vol. 31, no. 5, pp. 191 198, May 2010. [6] H. O. de la Iglesia and W. J. Schwartz, Minireview: Timely ovulation: Circadian regulation of the female hypothalamo-pituitarygonadal axis, Endocrinology, vol. 147, no. 3, pp. 1148 1153, Mar. 2006. [7] T. Roenneberg, K. V. Allebrandt, M. Merrow, and C. Vetter, Social jetlag and obesity, Current Biol., vol. 22, no. 10, pp. 939 943, May 2012.

SMARR ET AL.: A WEARABLE SENSOR SYSTEM WITH CIRCADIAN RHYTHM STABILITY ESTIMATION FOR PROTOTYPING BIOMEDICAL... 229 [8] B. L. Smarr, K. J. Jennings, J. R. Driscoll, and L. J. Kriegsfeld, A time to remember: The role of circadian clocks in learning and memory, Behavioral Neurosci., vol. 128, no. 3, pp. 283 303, Jun. 2014. [9] W. P. Williams and L. J. Kriegsfeld, Circadian control of neuroendocrine circuits regulating female reproductive function, Frontiers Endocrinol., vol. 3, p. 60, May 2012, doi: 10.3389/fendo.2012.00060 [10] K. Compton and S. Hauck, Reconfigurable computing: A survey of systems and software, ACM Comput. Surv., vol. 34, no. 2, pp. 171 210, Jun. 2002 [11] M. Etemadi, P. Chung, J. Heller, J. Liu, R. Grossman-Kahn, L. Rand, and S. Roy, Novel device to trend impedance and fluorescence of the cervix for preterm birth detection, in Proc. 35th Annu. Int. Conf. IEEE Eng. Med. Biol. Soc., Jul. 2013, pp. 176 179. [12] A. Milenkovic, C. Otto, and E. Jovanov, Wireless sensor networks for personal health monitoring: Issues and an implementation, Comput. Commun., vol. 29, nos. 13/14, pp. 2521 2533, 2006. [13] A. Burns, B. Greene, M. McGrath, T. O Shea, B. Kuris, S. Ayer, F. Stroiescu, and V. Cionca, Shimmer a wireless sensor platform for noninvasive biomedical research, IEEE Sens. J., vol. 10, no. 9, pp. 1527 1534, Sep. 2010. [14] D. K. Welsh, D. E. Logothetis, M. Meister, and S. M. Reppert, Individual neurons dissociated from rat suprachiasmatic nucleus express independently phased circadian firing rhythms, Neuron, vol. 14, no. 4, pp. 697 706, Apr. 1995. [15] D. K. Welsh, S.-H. Yoo, A. C. Liu, J. S. Takahashi, and S. A. Kay, Bioluminescence imaging of individual fibroblasts reveals persistent, independently phased circadian rhythms of clock gene expression, Current Biol., vol. 14, no. 24, pp. 2289 2295, Dec. 2004. [16] S.-H. Yoo, S. Yamazaki, P. L. Lowrey, K. Shimomura, C. H. Ko, E. D. Buhr, S. M. Siepka, H.-K. Hong, W. J. Oh, O. J. Yoo, M. Menaker, and J. S. Takahashi, PERIOD2::LUCIFERASE realtime reporting of circadian dynamics reveals persistent circadian oscillations in mouse peripheral tissues, Proc. Nat. Acad. Sci. United States of America, vol. 101, no. 15, pp. 5339 5346, Apr. 2004. [17] D. A. Golombek and R. E. Rosenstein, Physiology of circadian entrainment, Physiol. Rev., vol. 90, no. 3, pp. 1063 1102, Jul. 2010. [18] L. P. Morin and C. N. Allen, The circadian visual system, 2005, Brain Res. Rev., vol. 51, no. 1, pp. 1 60, Jun. 2006. [19] G. A. Lincoln, I. J. Clarke, R. A. Hut, and D. G. Hazlerigg, Characterizing a mammalian circannual pacemaker, Science, vol. 314, no. 5807, pp. 1941 1944, Dec. 2006. [20] R. J. Reiter, The melatonin rhythm: Both a clock and a calendar, Experientia, vol. 49, no. 8, pp. 654 664, Aug. 1993. [21] T. A. Bedrosian, L. K. Fonken, J. C. Walton, A. Haim, and R. J. Nelson, Dim light at night provokes depression-like behaviors and reduces CA1 dendritic spine density in female hamsters, Psychoneuroendocrinology, vol. 36, no. 7, pp. 1062 1069, Aug. 2011. [22] J. C. Borniger, S. K. Maurya, M. Periasamy, and R. J. Nelson, Acute dim light at night increases body mass, alters metabolism, and shifts core body temperature circadian rhythms, Chronobiol. Int., vol. 31, pp. 917 925, Oct. 2014. [23] K. P. Wright, Jr, J. T. Hull, and C. A. Czeisler, Relationship between alertness, performance, and body temperature in humans, Amer. J. Physiol. Regulatory, Integrative Comparative Physiol., vol. 283, no. 6, pp. R1370 1377, Dec. 2002. [24] I. N. Karatsoreos, Effects of circadian disruption on mental and physical health, Current Neurol. Neurosci. Rep., vol. 12, no. 2, pp. 218 225, Apr. 2012. [25] M. Vogel, T. Braungardt, W. Meyer, and W. Schneider, The effects of shift work on physical and mental health, J. Neural Transmiss., vol. 119, no. 10, pp. 1121 1132, Oct. 2012. [26] R. E. Kronauer, C. A. Czeisler, S. F. Pilato, M. C. Moore-Ede, and E. D. Weitzman, Mathematical model of the human circadian system with two interacting oscillators, Amer. J. Physiol., vol. 242, no. 1, pp. R3 17, Jan. 1982. [27] B. L. Smarr, Digital sleep logs reveal potential impacts of modern temporal structure on class performance in different chronotypes, J. Biol. Rhythms, vol. 30, no. 1, pp. 61 67, Feb. 2015. [28] D. B. Boivin, Influence of Sleep-wake and circadian rhythm disturbances in psychiatric disorders, J. Psychiatry Neurosci., vol. 25, no. 5, pp. 446 458, Nov. 2000. [29] A. Wirz-Justice, Biological rhythm disturbances in mood disorders, Int. Clin. Psychopharmacol., vol. 21 Suppl 1, pp. S11 S15, Feb. 2006. [30] M. J. McCarthy and D. K. Welsh, Cellular circadian clocks in mood disorders, J. Biol. Rhythms, vol. 27, no. 5, pp. 339 352, Oct. 2012. [31] D. H. Avery, K. Dahl, M. V. Savage, G. L. Brengelmann, L. H. Larsen, M. A. Kenny, D. N. Eder, M. V. Vitiello, and P. N. Prinz, Circadian temperature and cortisol rhythms during a constant routine are phase-delayed in hypersomnic winter depression, Biol. Psychiatry, vol. 41, no. 11, pp. 1109 1123, Jun. 1997. [32] H. W. Koenigsberg, M. H. Teicher, V. Mitropoulou, C. Navalta, A. S. New, R. Trestman, and L. J. Siever, 24-h monitoring of plasma norepinephrine, MHPG, cortisol, growth hormone and prolactin in depression, J. Psychiatric Res., vol. 38, no. 5, pp. 503 511, Oct. 2004. [33] P. Monteleone and M. Maj, The circadian basis of mood disorders: Recent developments and treatment implications, Eur. Neuropsychopharmacol.: J. Eur. College Neuropsychopharmacol., vol. 18, no. 10, pp. 701 711, Oct. 2008. [34] S. W. Cain, I. Karatsoreos, N. Gautam, Y. Konar, D. Funk, R. J. McDonald, and M. R. Ralph, Blunted cortisol rhythm is associated with learning impairment in aged hamsters, Physiol. Behavior, vol. 82, nos. 2/3, pp. 339 344, Sep. 2004. [35] A. R. E. Zandstra, J. Ormel, E. Nederhof, P. J. Hoekstra, and C. A. Hartman, The role of basal cortisol in predicting change in mental health problems across the transition to middle school, J. Adolescent Health, vol. 56, pp. 489 495, May 2015. [36] D. Zahn, F. Petrak, L. Franke, A.-K. H agele, G. Juckel, F. Lederbogen, H. Neubauer, C. Norra, I. Uhl, and S. Herpertz, Cortisol, platelet serotonin content, and platelet activity in patients with major depression and type 2 diabetes: An exploratory investigation, Psychosomatic Med., vol. 77, no. 2, pp. 145 155, Mar. 2015. [37] A. R. E. Zandstra, C. A. Hartman, E. Nederhof, E. R. van den Heuvel, A. Dietrich, P. J. Hoekstra, and J. Ormel, Chronic stress and adolescents mental health: Modifying effects of basal cortisol and parental psychiatric history. The TRAILS Study, J. Abnormal Child Psychol., vol. 43, pp. 1119 1130, Aug.. 2015. [38] D. R. Rubinow, M. C. Hoban, G. N. Grover, D. S. Galloway, P. Roy-Byrne, R. Andersen, and G. R. Merriam, Changes in plasma hormones across the menstrual cycle in patients with menstrually related mood disorder and in control subjects, Amer. J. Obstetrics Gynecol., vol. 158, no. 1, pp. 5 11, Jan. 1988. [39] J. L. Shah and A. K. Malla, Much ado about much: Stress, dynamic biomarkers and HPA axis dysregulation along the trajectory to psychosis, Schizophrenia Res., vol. 162, nos. 1 3, pp. 253 260, Mar. 2015. [40] C. Wotus, T. R. Lilley, A. S. Neal, N. L. Suleiman, S. C. Schmuck, B. L. Smarr, B. J. Fischer, and H. O. de la Iglesia, Forced desynchrony reveals independent contributions of suprachiasmatic oscillators to the daily plasma corticosterone rhythm in male rats, PloS One, vol. 8, no. 7, p. e68793, 2013. [41] T. R. Lilley, C. Wotus, D. Taylor, J. M. Lee, and H. O. de la Iglesia, Circadian regulation of cortisol release in behaviorally split golden hamsters, Endocrinology, vol. 153, no. 2, pp. 732 738, Feb. 2012. [42] D. C. Burnett, B. L. Smarr, S. M. Mesri, L. J. Kriegsfeld, and K. S. J. Pister, Reconfigurable, wearable sensors to enable long-duration circadian biomedical studies, in Proc. 9th Int.. Body Area Netw., 2014, pp. 142 146. [43] V. Kolodyazhniy, J. Sp ati, S. Frey, T. G otz, A. Wirz-Justice, K. Kr auchi, C. Cajochen, and F. H. Wilhelm, Estimation of human circadian phase via a multi-channel ambulatory monitoring system and a multiple regression model, J. Biol. Rhythms, vol. 26, no. 1, pp. 55 67, 2011. [44] V. Kolodyazhniy, J. Sp ati, S. Frey, T. G otz, A. Wirz-Justice, K. Kr auchi, C. Cajochen, and F. H. Wilhelm, An improved method for estimating human circadian phase derived from multichannel ambulatory monitoring and artificial neural networks, Chronobiol. Int., vol. 29, no. 8, pp. 1078 1097, 2012, [45] Standard Specification for Electronic Thermometer for Intermittent Determination of Patient Temperature, ASTM Int., West Conshohocken, PA, USA, [46] V. Beyschlag. (2011, Feb.). Thermal Management in Surface-Mounted Resistor Applications, Document Number: 28844. [Online]. Available: http://www.vishay.com/docs/28844/tmismra.pdf [47] M. Huang, T. Tamura, W. Chen, K.-I. Kitamura, T. Nemoto, and S. Kanaya, Characterization of ultradian and circadian rhythms of core body temperature based on wavelet analysis, in Proc. 36th Annu. Int. Conf. IEEE Eng. Medicine. Biol. Soc., Aug. 2014, pp. 4220 4223.

230 IEEE TRANSACTIONS ON AFFECTIVE COMPUTING, VOL. 7, NO. 3, JULY-SEPTEMBER 2016 [48] F. K. Goodwin and K. R. Jamison, Manic-Depressive Illness: Bipolar Disorders and Recurrent Depression. Oxford, U.K.: Oxford Univ. Press, Mar. 2007. [49] K. G. Singletary and N. Naidoo, Disease and degeneration of aging neural systems that integrate sleep drive and circadian oscillations, Frontiers Neurol., vol. 2, p. 66, Oct. 2011. [50] D. Lupi, M. Semo, and R. G. Foster, Impact of age and retinal degeneration on the light input to circadian brain structures, Neurobiol. Aging, vol. 33, no. 2, pp. 383 392, Feb. 2012. [51] E. P. Sloan, A. J. Flint, L. Reinish, and C. M. Shapiro, Circadian rhythms and psychiatric disorders in the elderly, J. Geriatric Psychiatry Neurol., vol. 9, no. 4, pp. 164 170, Oct. 1996. [52] B. Warneke, M. Scott, B. Leibowitz, L. Zhou, C. Bellew, J. Chediak, J. Kahn, B. Boser, and K. Pister, An autonomous 16 mm 3 solarpowered node for distributed wireless sensor networks, in Proc. IEEE Sensors, 2002, vol. 2, pp. 1510 1515. [53] B. Latre, B. Braem, I. Moerman, C. Blondia, and P. Demeester, A survey on wireless body area networks, Wireless Netw., vol. 17, no. 1, pp. 1 18, Jan. 2011. [54] K. S. Kwak, S. Ullah, and N. Ullah, An overview of IEEE 802.15.6 standard, ArXiv e-prints, Feb. 2011. [55] T. Watteyne, X. Vilajosana, B. Kerkez, F. Chraim, K. Weekly, Q. Wang, S. Glaser, and K. Pister, OpenWSN: A standards-based low-power wireless development environment, Trans. Emerging Telecommun. Technol., vol. 23, no. 5, pp. 480 493, 2012. Benjamin L. Smarr received the BS degree in biological sciences from the University of California, Santa Cruz, in 2004, trained in microscopy and neurohistology for two years at the National Center for Microscopy Imaging Research, University of California, San Diego, and received the PhD degree in neurobiology and behavior from the University of Washington, Seattle. He is currently a postdoctoral fellow of the National Institutes of Health working with Prof. Kriegsfeld in the Psychology Department at the University of California, Berkeley. His work focuses on circadian rhythms as regulators of health and development in animal models and in humans. David C. Burnett received the BS and MS degrees in electrical engineering from the University of Washington, focusing on circuits and embedded systems. He is currently working toward the PhD degree in electrical engineering and computer sciences at the University of California, Berkeley, with Prof. K.S.J. Pister. Prior to his PhD, he was a member of Technical Staff at Sandia National Laboratories, Livermore, visiting lecturer at the Da Nang University of Technology, Vietnam, and a robotics engineer at McMurdo Station, Antarctica. He also served on ACM SIGGRAPH conference committees, serving as submissions juror and responsible for special technical projects and data networks. He is currently focused on wireless embedded systems, sensors, MEMS, and integrated circuits. He is a student member of the IEEE. Sahar M. Mesri received the BS degree in electrical engineering and computer sciences from the University of California, Berkeley, where she is currently working toward the MS degree, with a focus on digital integrated circuit design. Her current research interests include energy-efficient digital systems for integrated wireless sensor solutions. She is a student member of the IEEE. Kristofer S.J. Pister received the BA degree in applied physics from the University of California, San Diego, in 1986, and the MS and PhD degrees in electrical engineering from UC Berkeley in 1989 and 1992, respectively. From 1992 to 1997, he was an assistant professor of electrical engineering at University of California, Los Angeles, where he developed the graduate MEMS curriculum, and coined the phrase Smart Dust. Since 1996, he has been a professor of electrical engineering and computer sciences at UC Berkeley. In 2003 and 2004, he was on leave from UC Berkeley as CEO and then CTO of Dust Networks, a company he founded to commercialize wireless sensor networks. He participated in the creation of several wireless sensor networking standards, including Wireless HART (IEC62591), IEEE 802.15.4e, ISA100.11A, and IETF RPL. He has participated in many government science and technology programs, including DARPA ISAT and the Defense Science Study Group. He is currently a member of the Jasons. His research interests include MEMS, microrobotics, and low power circuits. He is a member of the IEEE. Lance J. Kriegsfeld received the BS degree from Syracuse University in 1992, the MS degree from Villanova University in 1995, and the PhD degree from The Johns Hopkins University in 1999. His graduate work explored the neuroendocrine mechanisms responsible for seasonal changes in reproductive functioning. After graduating from Johns Hopkins, he pursued his postdoctoral work in circadian biology at Columbia University. He joined the Department of Psychology and The Helen Wills Neuroscience Institute at UC Berkeley as an assistant professor in 2005. He was awarded a tenured associate professorship in 2010. His research interests include the neural circuits and neurochemical systems underlying interactions between the circadian and neuroendocrine systems and the consequences of these interactions for physical and mental health. " For more information on this or any other computing topic, please visit our Digital Library at www.computer.org/publications/dlib.