Publication Cover
Chronobiology International
The Journal of Biological and Medical Rhythm Research
Volume 37, 2020 - Issue 11
1,086
Views
5
CrossRef citations to date
0
Altmetric
Report

Actigraphy-based parameter tuning process for adaptive notch filter and circadian phase shift estimation

ORCID Icon, ORCID Icon, , &
Pages 1552-1564 | Received 21 Apr 2020, Accepted 30 Jul 2020, Published online: 31 Aug 2020

ABSTRACT

We report herein the application of an adaptive notch filter (ANF) algorithm to minute-by-minute actigraphy data to estimate the continuous circadian phase of eight healthy adults. As the adaptation rates and damping factor of the ANF algorithm have large impacts on the ANF states and circadian phase estimation results, we propose a method for optimizing these parameters. The ANF with optimal parameters is further used to estimate the circadian phase shift from the actigraphy data. Dim light melatonin onset (DLMO), considered the “gold standard” method for identification of circadian phase, was determined by a serial collection of salivary samples analyzed for melatonin per standard protocol simultaneously with the collection of actigraphic data. We demonstrate our ANF algorithm, when applied to the actigraphy data, is able to estimate the circadian phase as determined by the DLMO. These results demonstrate that applying our ANF with a well-defined parameter tuning process to actigraphic data can provide accurate measurements of the circadian phase and its shift without resorting to salivary melatonin collections.

Background

The existence of circadian rhythm is a significant feature of terrestrial species, regulating a wide range of physiological processes in synchrony with the external light-dark cycle. In mammals, the suprachiasmatic nucleus (SCN) of the hypothalamus functions as the master circadian rhythm generator. This area of the brain contains ca. 10,000 neurons that act in concert with each individual cell to generate an approximately 24 h rhythm by way of transcriptional and post-translational feedback loops. The SCN receives external stimuli that, day-by-day, that entrains its collective activity to generate an amazingly precise 24 h rhythm (Swaab et al. Citation1985). A variety of human behaviors and maladies can disrupt the synchrony between the SCN’s output and the external day-night cycle. Intercontinental travel between time-zones (jet lag) and shift work can both act in this way, as can neurodegenerative diseases and some childhood developmental conditions. Total blindness largely prevents the ability of the SCN to synchronize with the day-night environment, since light is the most powerful external stimulus acting to entrain circadian timing. Moreover, disruptions of circadian rhythm have been implicated in the exacerbation of a variety of human disorders: diabetes (both types I and II), gastrointestinal disease (nocturnal gastroesophageal reflux, ulcers, inflammatory bowel disease, irritable bowel disease), several types of cancers (breast, colon), cardiovascular disease, and obesity (Knutsson Citation2003; Smolensky et al. Citation2016). Plasma and saliva melatonin levels are widely used for characterizing the timing of the human circadian rhythm (Lewy et al. Citation1985). The melatonin phase is more preferable for circadian phase estimation than other circadian outputs, because the circadian phase derived from the melatonin rhythm is less variable and more reliable than other circadian outputs and less prone to masking by human behavior (Crowley et al. Citation2016). The dim light melatonin onset (DLMO), the time point when melatonin levels increase above a specified value, is a reliable marker of circadian rhythm timing and widely used in circadian rhythm science (LeBourgeois et al. Citation2013).

A variety of mathematical simulations have been proposed as human circadian rhythm models (Forger et al. Citation1999; Jewett et al. Citation1999; Kronauer et al. Citation1999), and light-based entrainment of the misaligned circadian rhythm has been studied in previous works (Qiao et al. Citation2017; Serkh and Forger Citation2014; Zhang et al. Citation2016). The circadian system is a complex one involving the dynamics of a large number of physiological features. For example, the mammalian circadian model of Forger & Peskin (Forger and Peskin Citation2003) presents a cellular circadian clock simulation that entails 73 biological variables. To simplify the study and analysis of circadian rhythm, models based on the phase dynamics of biological features and cycles have been formulated. In most cases, the circadian phases are defined by isochrons (Winfree Citation2001). The phase dynamics of the core body temperature were proposed and the minimum-time entrainment light strategy was calculated based on this phase model (Forger and Peskin Citation2003). A complex globally coupled circadian oscillator was also formulated with individual phases of numerous related features of the SCN (Lu et al. Citation2016).

Measuring and characterizing circadian phase in any given individual over the 24 h, during other intervals, or at specific times are essential when studying biological rhythms under normal or experimental conditions. Two commonly used methods for circadian phase estimation in previous works are based on the dim light melatonin onset (DLMO) (Burgess and Eastman Citation2005; Lewy and Sack Citation1989; Voultsios et al. Citation1997) and the double-plotted actogram of daily activity (Verwey et al. Citation2013), respectively. Some numerical prediction methods of DLMO timings based on light data and a circadian rhythm model have been proposed and validated with the measured DLMO results from salivary samples (Woelders et al. Citation2017). However, these estimation methods can only estimate timings of circadian phase markers and circadian phase shifts between different time intervals. The instantaneous and continuous estimation of the circadian phase is still challenging. To overcome the drawbacks of these methods and calculate the circadian phase on a minute-by-minute basis, the adaptive notch filter (ANF) algorithm was utilized by Julius et al. (Julius et al. Citation2016) to extract the harmonic components from biological signals and estimate their phase arguments, which are then used to represent circadian phase. As previously discussed by Zhang et al. (Zhang et al. Citation2012), ANF parameters can be tuned to change the convergence and adaptation rates. However, there is still no general parameter tuning method for the ANF algorithm to improve its accuracy in circadian phase estimation.

In this paper, we propose a parameter tuning process to calculate optimal ANF components. Since repetitive measurements of melatonin (under dim light conditions) are burdensome and expensive, this technique is relegated to the role of identifying the timing of an individual’s circadian rhythm on a particular day. As an alternative means of providing a continuous estimation of circadian timing, we used minute-by-minute actigraphy data as the input of an ANF algorithm. An objective function is defined based on the difference between the ANF outputs and raw data, and the optimal ANF parameters are calculated by minimizing this objective function. The circadian phases and phase shifts between two specified days are further calculated based on the ANF states. As a final step in validating the efficiency and accuracy of actigraphy data processed by ANF, the phase shifts derived thereby are compared to the DLMO results obtained on the same day as the actigraphy data. In this manner, we demonstrate the utility of the ANF algorithm with the proposed parameter tuning process for the estimation of the circadian phase.

Adaptive notch filter and circadian phase estimation

A notch filter (NF) is a band-stop filter with a very narrow stopband. This filter is used to extract the harmonic components with a particular frequency, which is called the notch frequency (Mojiri et al. Citation2007). In most cases, the fundamental frequencies of biological signals do not remain constant and, as a result, the NFs with fixed notch frequencies cannot extract the fundamental harmonic components with time-varying frequencies. A model-free frequency estimation algorithm was formulated by introducing adaptive terms into the NF to tune the notch frequency. This algorithm is commonly called the adaptive notch filter (ANF). The first-order ANF was introduced by Mojiri et al. (Mojiri et al. Citation2007) to extract a sinusoid wave with time-varying frequency from a noise-corrupted signal. This filter was further modified to extract the harmonic components from the noisy signals with non-zero constant biases and higher harmonic terms (Zhang et al. Citation2012, Citation2013). A multi-input ANF algorithm was also developed (Julius et al. Citation2016) to extract the periodic components from multiple signal inputs simultaneously with the same frequency.

In this paper, we use the ANF algorithm to extract the circadian phase from actigraphy data. Assume the actigraphy data y approximately follows the form given as

(1) yt=k=1Kaksinkωt+ϕk+d,(1)

where d is the constant bias of actigraphy. ak and represent the magnitude and phase offset of the kth harmonic component. KN+ is the number of harmonics we want the ANF to track and is denoted as the ANF order. The term ω is the fundamental frequency of the actigraphy and can be time-varying. The modified ANF is expressed as a set of state equations and an adaptive frequency dynamics equation, given respectively by

(2) x˙=AANFωx+BANFωyy˜,(2)
(3) ω˙=γωx1ω2yy˜,(3)

where the state matrices are given as

(4) AANFω=A100A200000000AK000,BANFω=B1B2BKγd,(4)

with submatrices given as

(5) Akω=01kω20,Bkω=0kω2,k1,2,,K.(5)

The ANF states in (2) are x2 K+1, where x2i1 and x2i represent the ANF states used for estimating the ith harmonic term, and x2K+1 is the ANF estimated constant bias. The ANF output is the estimated actigraphy value, which can be expressed by the ANF states as

(6) y˜=x2K+1+i=1K2ξx2iiω.(6)

With the input given in (1), the system has equilibriums at

x2i1=aicosiωtt+ϕi2ξ,x2i=iaiωtsiniωtt+ϕi2ξ,i1,2,,K,
(7) x2K+1=d,ω=ωt.(7)

The convergence and local stability of the ANF at the equilibriums have been proven by Zhang et al. (Zhang et al. Citation2013) by integral manifolds of slow adaptation. The parameters γω and γd in (3) and (4) are the adaptation rates of the frequency and constant bias, ξ in (6) is the damping factor of the ANF. These three parameters are all positive. The estimated circadian phase of the actigraphy input y is the argument of the first harmonic term, represented as

(8) θt=ωt+ϕ1=tan1x2tωtx1t.(8)

The ANF algorithm is generally more robust against white noise than it is against noise in low frequencies (colored noise). This property is due to the fact that white noise equally affects all harmonic components while colored noise affects the relative contribution of the harmonics that in turn affects the phase estimate. The ANF parameters, i.e., γω, γd, and ξ, have great impact on the convergence rate and estimation results of the circadian phase. The value of ξ affects the convergence rate and noise rejection of the ANF states; if ξ is set as a large value, the ANF states become very sensitive to the input signal y and converge rapidly to the solution given in (7). However, a large value of ξ also makes the ANF states susceptible to noise and causes large errors in the estimation results. The parameter γω should be small enough to ensure the dynamics in (3) is a slow adaptation process and guarantee the local stability of the equilibriums. But if γω is too small, the estimated frequency ω in the ANF will remain almost constant and be unable to track the true value of ωt rapidly. The value of γd determines the adaptation rate of the estimated constant bias x2K+1 and its speed to converge to d. Even though some simple parameter tuning procedures have been proposed to achieve trade-off between adaptation rates, noise rejection and stability in ANF (Hsu et al. Citation1999; Zhang et al. Citation2012), there are still no general methods to select the optimal values of all three parameters in the ANF algorithm that contains higher harmonics and constant bias. Some parameter tuning methods need to be proposed to formulate the ANF algorithm and make the ANF estimation results more accurate.

ANF parameter tuning procedure and method

The proposed parameter tuning procedure of the ANF algorithm in this paper is shown in ; raw data are imported into both an ANF block and a fast Fourier transform (FFT) block. The ANF block is initialized with some initial guesses of parameters. The output of the ANF block, i.e., the estimated actigraphy y˜t in (6), is also imported into an FFT block. The frequency components of the ANF output are compared with the frequency components of raw data yf. Given the values of ξ, γω, and γd, the objective function is defined based on y˜f and yf, expressed as

(9) Jξ,γω,γd=Fyf,y˜f;ξ,γω,γd(9)

Figure 1. The block diagram of ANF parameter tuning procedure

Figure 1. The block diagram of ANF parameter tuning procedure

The three ANF parameters ξ,γω,γd are optimized by minimizing the objective function as

(10) ξ,γω,γd=argminξ,γω,γdJξ,γω,γd(10)

The ANF block with the optimal parameters ξ,γω,γd is further used in the circadian phase estimation of the actigraphy data.

As addressed above, the convergence, noise rejection, and stability of the ANF need to be ensured by appropriate adaptation rates and damping factor. The frequency components of the ANF outputs around the constant bias, fundamental frequency, and higher harmonics should be equal or close to those of the raw data while the other frequency components are regarded as noise and should be filtered out by the ANF. To achieve this goal, we defined the objective function in the ANF parameter tuning procedure in the following form:

(11) Fyf,y˜f;ξ,γω,γd=Jharmoyf,y˜f+Jnoiseyf,y˜f(11)

where Jharmo represents the energy difference around the constant bias, the fundamental and harmonic frequencies between the raw data and ANF outputs. The term Jnoise represents the energy of the noise in the ANF outputs. This part is introduced in the objective function to minimize the impacts of the noise in the raw data on the circadian phase estimations. Herein, Jharmo and Jnoise are represented explicitly in the following forms:

(12) Jharmoyf,y˜f=0δfyfy˜f2df+n=1Knfδfnf+δfyfy˜f2df,(12)
(13) Jnoiseyf,y˜f=n=0K1nf+δf(n+1)fδfy˜2fdf+Kf+δf+y˜2fdf(13)

where f represents the average fundamental frequency, which is valued at 1/24 (hour−1) as the activity rhythm assessed by actigraphy approximately exhibits a period of 24 h. The term δf is the bandwidth of the frequency components around the constant bias and harmonic terms that we want the ANF states to capture. Note that there is no criterion to decide how many frequency components to enter into the ANF states. For the purpose of this paper, we assume that the frequency of the actigraphy is approximately equal to the frequency of the core body temperature. The value of δf can be decided based on the phase response curve (PRC) in the JFK model (Julius et al. Citation2019). By checking the raw data measured in the experiment specified in the following section, we find that the light intensity recorded simultaneously with actigraphy is usually ≤1000 lux. All experimental subjects were healthy young adults and followed their daily schedule without large variation in their circadian rhythm during the experiment. The impacts of climate and weather were also excluded in the experimental protocol. Therefore, we assume the circadian phase shift of all of the experimental subjects was induced by light. Based on the phase dynamics of Julius et al. (Julius et al. Citation2019), when the light intensity is ≤1000 lux, the frequency of the circadian phase in core body temperature is valued at f[0.0309,0.0506] (hour−1), as shown in , which is regarded as the effective frequency components we want ANF to retain. Then we set the bandwidth as = 0.0108 to guarantee that [fδf,f+δf] in Jharmo covers all effective frequency variations, especially those induced by light.

Figure 2. Frequency of phase dynamics of the core body temperature with the light input Imax=1000 lux based on the JFK model in Julius et al. (Julius et al. Citation2019)

Figure 2. Frequency of phase dynamics of the core body temperature with the light input Imax=1000 lux based on the JFK model in Julius et al. (Julius et al. Citation2019)

The objective function given in (11) implies involvement of multi-dimensional nonlinear optimization. The FFT block and ANF state equations make analytically solving the gradient of the objective function to the ANF parameters impractical. To solve this optimization problem, we use a zero-order (gradient-free) optimization method. Reviews in Zakharova and Minashina (Zakharova and Minashina Citation2015) introduce some widely used zero-order methods to solve the multidimensional optimization problem, including coordinate descent, simplex search, and Hooke-Jeeves ones. However, these methods only enable us to approach the locally optimal solutions from initial guesses. Evolution strategies (ES) algorithm is a population-based, gradient-free, globally optimization method (Beyer and Schwefel Citation2002), which is developed based on the competition among biological social systems and contains several operators used in the evolutionary algorithm (Trelea Citation2003), e.g., selection, crossover, mutation, and replacement operators. In this paper, we use the Evolutionary Strategy (ES) algorithm (Ruffio et al. Citation2011) to optimize the ANF parameters in the parameter tuning process.

Experiment and numerical implementation

Eight healthy young adult subjects, labeled A3–A10, complied with the experimental protocol, completed the study, and had evaluable data. Three were male and five were female, with ages ranging from 18 to 34 y (mean ± standard deviation: 25.8 ± 6.6 y). This investigation adhered to the Declaration of Helsinki of the World Medical Association and followed the journal’s research guidelines (Portaluppi et al. Citation2008). It was approved by the University of New Mexico Institutional Review Board and was monitored by the University of New Mexico Health Sciences Center Human Research Protections Office. All subjects provided informed consent. All five female subjects were pre-menopausal, but no effort was made to determine their menstrual phase during the course of the study, since this has been shown not to affect the circadian acrophase nor period of individuals when ambient light, eating schedules, and activity are not controlled (as was the case in this protocol) (Coyne et al. Citation2000; Ito et al. Citation1995; Kivelä et al. Citation1988). Finding of the Morningness-Eveningness Questionnaire (Horne and Ostberg Citation1976) were as follows: Subjects A3, A4 – intermediate chronotype; Subjects A6, A8 – moderate morning chronotype; Subjects A7, A9 – moderate evening chronotype; Subjects A5, A10 – definite evening chronotype. Although data collection spanned a period of 8 months, the short duration of the protocol shown in for each subject ensured that climate and weather did not play a role, especially since all subjects resided in Albuquerque, New Mexico, known for the stability of its weather (300+ days of sunlight per year). Subjects were asked to wear a GT3X+ Monitor (Actigraph, Pensacola, FL) on the wrist of the non-dominant arm to collect actigraphy continuously at 1 min intervals for 2 weeks. Light intensity was also measured simultaneously by actigraph. Determination of the DLMO took place on the 7th and 14th days of actigraphy monitoring. Saliva samples (~1 mL) were collected at 30 min intervals in dim light (<50 lux) in standard fashion. Approximately 12 to 14 samples were collected per subject, beginning 5 h before the usual (average) bedtime on work or school days (computed from a sleep diary previously completed by the subject) and ending 30 min after the usual (average) bedtime. Samples were collected with SalivaBio Oral Swabs (Salimetrics®, State College, PA) while the subjects lay in a supine position in bed, in dim light (<10 lux, 1800 K). Food and water were consumed only after saliva collection to reduce contamination or dilution of the sample. Participants were instructed to place the swab in their mouth and accumulate saliva for 2 min. After collection, samples were stored at −20 Celsius. For analysis, samples were thawed and centrifuged for 10 min at 2500 rpm, the swabs were removed from the casing, and the supernatant retained. A sensitive direct radioimmunoassay (RIA) using reagents from Buhlmann Laboratories AG (Allschwil, Switzerland) was performed in duplicate on each sample. The assay performance characteristics have been reported by Buhlmann Laboratories AG as follows: Intra-assay Precision (Within-Run): 2.6–20.1%; Inter-assay Precision (Run-to-Run): 6.6–16.7%; Detection Limit: limit of blank (LoB), 0.2 pg/ml; limit of quantitation (LoQ): 0.9 pg/ml (using an intra-assay coefficient of variation (CV) of less than 10%); Dilution Linearity/Parallelism: 93.1%; Spiking Recovery: 106%.

Figure 3. The measurements and experimental procedure

Figure 3. The measurements and experimental procedure

Circadian phase estimation from the melatonin data

We used the DLMO-based assessment of circadian phase shifts between day 7 and day 14 as the baselines for comparison. The timings of the DLMO on day 7 and day 14 are presented as TDLMO,7 and, respectively. The reference circadian phase shift between these 2 days is given as

(14) ΔDLMO=TDLMO,14TDLMO,7(14)

where ΔDLMO>0 means the circadian rhythm in day 14 is delayed compared with that on day 7. Three methods for determining the DLMO are discussed, as demonstrated in : (1) Lewy method: measurement of the DLMO by choosing a fixed threshold for every subject and finding the time point once melatonin levels exceed it (Lewy and Sack Citation1989); (2) Burgess-Eastman method: determining the DLMO by setting the subject’s threshold twice as much as the mean value of his first three low daytime values and finding the time point once melatonin levels exceed it (Burgess and Eastman Citation2005); and (3) Voultsios method: taking the mean of the subject’s first three low melatonin values plus 2 standard deviations as the threshold (Voultsios et al. Citation1997). These three methods have been compared (Voultsios et al. Citation1997), and find in most cases that the Burgess-Eastman and Voultsios methods are more accurate than the Lewy method, since they compensate for individual differences in DLMO thresholds. It is recommended that the fixed threshold of the Lewy method be selected based on the melatonin data of the individual subject; thus, the DLMO thresholds were set as 10 pg/ml, 15 pg/ml, and 40 pg/ml in Lewy & Sack (Lewy and Sack Citation1989), Lewy et al. (Lewy et al. Citation1985), and Voultsios et al. (Voultsios et al. Citation1997), respectively. By checking the melatonin data of the eight subjects, we find that when the fixed threshold is set as 10 pg/ml or 15 pg/ml, we can find the DLMO values (for both day 7 and day 14) of only two subjects and the melatonin levels of almost all subjects remain under 40 pg/ml during the measurement time. However, if we choose 20 pg/ml as the DLMO threshold, the DLMO of four subjects can be found. Hereafter, we set the fixed threshold in Lewy method as 20 pg/ml.

Figure 4. Demonstration of the DLMO measurement methods, where the red horizontal lines show the thresholds to decide the DLMO; the vertical dashed lines mark timings of the DLMO

Figure 4. Demonstration of the DLMO measurement methods, where the red horizontal lines show the thresholds to decide the DLMO; the vertical dashed lines mark timings of the DLMO

To distinguish the results of different methods, the DLMO timings on day 7 and day 14 from the three methods specified above are represented as TLewy,7, TLewy,14, TEastman,7, TEastman,14, TVoultsios,7, TVoultsios,14, respectively. The corresponding circadian phase shifts are represented as ΔLewy, ΔEastman and ΔVoultsios, which are listed in . The notation ‘NaN’ represents the cases when the DLMO measurement method does not work on the melatonin data because the melatonin level remains below the threshold or decreases gradually during the measurement time. We have melatonin data of two-day duration per subject, and thus we have 16 cases to determine the DLMO timing. The Lewy method finds the DLMO timings of eight cases and the circadian phase shift of four subjects (A6 – 8 and A10) while the Burgess-Eastman and Voultsios methods both work for 12 cases and 4 subjects (A3 – 4, A8, A10). The Lewy method uses a fixed threshold for each subject, while the melatonin level for every subject on different days could be different (Voultsios et al. Citation1997), making this method less feasible to utilize compared with the other two methods. The salivary melatonin profiles of the four subjects for whom both the Burgess-Eastman and Voultsios methods can be utilized to calculate the circadian phase shift are plotted in ; the individual graphs show melatonin level starts from low levels and increases gradually to reach the DLMO threshold in the following hours. The melatonin profiles of the other four subjects are displayed in . It shows three low daytime melatonin values could not be determined in these cases and, as a result, the DLMO thresholds from both Burgess-Eastman and Voultsios methods are ill-defined or too large. However, the DLMO timings of subject A6 and A7 based on the Lewy method can be obtained, since salivary melatonin from these two subjects reaches the 20 pg/ml threshold. The DLMO timings of subject A5 and A7 cannot be determined by all three methods because their melatonin profiles remain at very low levels without a continuous upward trend. The average absolute differences in the circadian phase shifts between these three methods are given in , where the results from the Lewy method and the Voultsios method agree closely, while the average values of ΔLewyΔEastman and ΔEastmanΔVoultsios are both more than 50 min.

Table 1. DLMO timings and circadian phase shifts estimated by three different methods

Table 2. Mean absolute difference of the DLMO results from three different methods, where ΔLewyΔEastman and ΔLewyΔVoultsios are the average values of two subjects (A8 and A10), while ΔEastmanΔVoultsios is the average difference of four subjects (A3, A4, A8, A10)

Figure 5. Salivary melatonin profiles of four subjects (A3−4, A8, A10)

Figure 5. Salivary melatonin profiles of four subjects (A3−4, A8, A10)

Figure 6. Salivary melatonin profiles of four subjects (A5−7, A9)

Figure 6. Salivary melatonin profiles of four subjects (A5−7, A9)

Circadian phase estimation from the actigraphy data by ANF

The actigraphy data of every subject collected during the 2 weeks are imported into the parameter tuning process in , and the globally optimal ANF parameters for each subject are calculated by the ES algorithm. Note that the ANF orders and the initial values of ANF states and frequency in (2) and (3) all affect the ANF parameters and estimation results. Firstly, we use the ANF with only the first harmonic term, i.e., we set K=1 in (4), and define the initial values of the ANF states and frequency as

x0=0,0,0T,ω0=2π24,

which implies that the initial harmonic terms and constant bias in the ANF states are all 0, and the initial frequency corresponds to a 24 h period. The optimal ANF parameters of the eight subjects are listed in . The optimal damping factors ξ of the eight subjects are valued between 0.0743 and 0.1914. Compared with the optimal adaptation rates of the constant bias γd, the optimal adaptation rates of fundamental frequency γω are much smaller. That is because the initial constant biases in the ANF are 0 while the mean actigraphy values of all subjects are about 1000, suggesting that larger adaptation should be added into the constant bias in the ANF states. However, the initial frequency in the ANF (2π/24) is close to the fundamental frequency of the human activity rhythm determined by actigraphy. The term Jnoise in the objective function also prevents large variations in the estimated fundamental frequency. Therefore, the optimal adaptation rates in the fundamental frequency cannot be too large. compares the ANF outputs with the optimal parameters to the raw data in frequency and time domains, the gray-shaded regions showing the frequency components considered in Jharmo. We observe the ANF with optimal parameters makes y˜f close to in the gray regions and, at the same time, decreases the amplitude of y˜f outside them. The lower subfigure also demonstrates that y˜taccurately follows the constant bias and first harmonics of yt and has filtered out the noise in other frequencies.

Table 3. Optimal ANF parameters from the ES algorithm

Figure 7. Comparison of the raw data (blue) and ANF results (red) with optimal ANF parameters of subject A3 in the frequency domain (upper subfigure) and time domain (lower subfigure)

Figure 7. Comparison of the raw data (blue) and ANF results (red) with optimal ANF parameters of subject A3 in the frequency domain (upper subfigure) and time domain (lower subfigure)

We apply the ANF with optimal parameters in on the actigraphy data of the corresponding subject and generate the values of the circadian phase as θt from the ANF states by (8). The circadian phase shift between day 7 and day 14 is calculated from by

(15) ΔANF=12π024θt+6×24θt+13×24dt(15)

where t=6×24 (hours) and t=13×24 (hours) represent the beginning of day 7 and day 14. The circadian phase shift estimation results from the ANF, and their comparison with the DLMO results are listed in . Compared with the DLMO methods, the ANF can estimate the circadian phase shifts from the actigraphy data of all eight cases. However, the circadian phase shifts estimated from the first-order ANF (ΔANF) are still far away from the DLMO results in several cases, e.g., the difference in ΔANF and ΔLewy is even more than 1.5 h in the case of subject A10.

Table 4. Circadian phase shift estimation results (hours) from the DLMO method and first-order ANF with optimal parameters. Values in parentheses give the deviations of ΔANF from the DLMO results

Impacts of ANF orders on estimation results

The ANF with the first harmonic states captures the frequency components around f and constant bias, as shown in . However, the higher harmonic terms in the raw data may have large amplitudes in many cases, which could affect the circadian phase estimation results. We increase the value of K in (4) to increase the ANF orders and incorporate the higher harmonics into the estimation results. The parameter tuning process is performed on the higher-order ANF and their optimal ANF parameters in subject A3 are listed in , where we can observe that all three optimal parameters decrease gradually with the increasing ANF order.

Table 5. Optimal ANF parameters of subject A3 with various numbers of ANF orders

The results of y˜t from different orders of ANF are plotted in , where y˜t from higher-order ANF captures the higher harmonics and oscillates more frequently. As the ANF order increases, the ANF output y˜t approaches the raw data yt, which demonstrates that the adaptation rates of the fundamental frequency, constant bias, and the damping factor can be set to lower values. The ANF states x1t from different orders of ANF plotted in the middle subfigure in shows that the profile of x1t is very similar to a clear sinusoidal wave when the ANF order is large enough. demonstrates the minute-by-minute estimated phase shift ψt with respect to day 7 of six subjects (A3-4, A6-8, A10) from different orders of ANF and the comparison with DLMO results, where the estimated phase shift is defined as

(16) ψt=t24θt2π6×247×24τ24θτ2πdτ,t6×24,14×24.(16)

Figure 8. Estimated actigraphy values (upper), first ANF states (middle), and circadian phases (lower) from different orders of ANF with optimal parameters

Figure 8. Estimated actigraphy values (upper), first ANF states (middle), and circadian phases (lower) from different orders of ANF with optimal parameters

Figure 9. Estimated phase shift from day 7 to day 14 from first (red), second (green), third (cyan), fourth (yellow), and fifth (black) order ANF, where the minute-by-minute estimated phase shift ψt is defined in (16). The horizontal lines in the last day mark the average phase shift between day 7 and day 14. The blue lines show the phase shift estimated from the DLMO methods (Lewy –, Burgess-Eastman – - -, Voultsios – – –)

Figure 9. Estimated phase shift from day 7 to day 14 from first (red), second (green), third (cyan), fourth (yellow), and fifth (black) order ANF, where the minute-by-minute estimated phase shift ψt is defined in (16). The horizontal lines in the last day mark the average phase shift between day 7 and day 14. The blue lines show the phase shift estimated from the DLMO methods (Lewy –, Burgess-Eastman – - -, Voultsios – – –)

Note that the circadian phase θt used in this function should be unwrapped and

ΔANF=13×2414×24ψτ/24dτ

In subjects A6 and A10, as the ANF order increases, the value of ΔANF moves toward the DLMO results, while in A8, ΔANF moves slightly far from the three DLMO results as the ANF order increases. In other cases, the DLMO results may lie between the values ΔANF from different ANF orders (A3 and A7) or the difference in ΔEastman and ΔVoultsios is too large (A4).

Because of the application herein is related to the circadian rhythm, the fundamental frequency of the ANF is around 1/24 h−1. If we consider the first five harmonics, the bandwidth of the data is 5/24 h−1. Nyquist Sampling Theorem dictates that the theoretical minimum sampling frequency is 10/24 h−1. However, because of the non-ideal filtering, we consider a higher limit of 100/24 h−1 = 4.16 h−1 (Butkov and Teofilo Citation2007). The sampling frequency of the raw actigraphy data is 60 samples/h, which is much higher than the practical sampling limit. We use numerical simulations to illustrate the effect of sampling frequency on the ANF estimation of results. We fix the damping factor and adaptation rates and gradually decrease the sampling rate (downsampling by interpolation) and compare the ANF estimation results of y˜t in time and frequency domains. shows the ANF estimation outputs of y˜t with various sampling rates. For the estimated phase comparison, denote the circadian phase shifts ψt of 60 samples/h, 30 samples/h, 20 samples/h, 10 samples/h, 5 samples/h, 3 samples/h and 1 sample/h by ψ60t, ψ30t, ψ20t, ψ10t, ψ5t,, and ψ1t, respectively. Using ψ60t as the baseline for comparison, lists the root-mean-square error (RMSE) between the estimated circadian phase shifts using the data of the different sampling frequencies. When the sampling frequency is ≥10 samples/h, the difference in the circadian phase shifts is ≤15 min. Therefore, we recommend at least 10 samples/h to ensure the accuracy of the ANF circadian phase shift estimation.

Table 6. Difference between circadian phase shift estimation results of actigraphy data with various sampling frequencies

Figure 10. ANF estimation results in time and frequency domains with different sampling frequencies in actigraphy data of subject A3

Figure 10. ANF estimation results in time and frequency domains with different sampling frequencies in actigraphy data of subject A3

The average absolute difference between the circadian phase shifts derived from actigraphy by ANF and those derived from DLMO are listed in . When the ANF order is ≥3, the average differences in the circadian phase shifts by ANF and those from DLMO in the Lewy, Burgess-Eastman, and Voultsios methods are about 50 min, 34 min, and 65 min, respectively, which implies that the results of ΔANF are more consistent with ΔEastman, especially when the ANF order is high enough. The ANF order for circadian phase estimation is determined based on the trade-off between the algorithm complexity, convergence rate, and accuracy of the circadian phase estimate. and show that the ANF estimate, y˜t, and circadian phase estimate, ψt, have almost converged for K ≥ 3. Higher ANF order increases computational complexity and increases convergence time, as shown in (calculated by the method of Zhang et al. (Zhang et al. Citation2012, Citation2013) with adaptation rates and damping factors in ). We, therefore, choose K = 3 in this paper.

Table 7. Average absolute difference of circadian phase shifts from DLMO and ANF with optimal parameters

Table 8. Convergence rates and convergence time (error decreases to 5% of initial error) of different order ANFs

The circadian phase shift estimation results of the third-order ANF are listed in . Compared with , the value of ΔANF varies most dramatically in subject A3, changing from an advance of 12 min to a delay of 1 h and 25 min, shifting more closely to ΔVoultsios and ΔEastman. In addition, the average values of ΔLewyΔANF, ΔEastmanΔANF and ΔVoultsiosΔANF (32–61 min) are also close to the differences between these three DLMO methods (25–54 min) given in . As discussed by Ancoli-Israel et al. (Ancoli-Israel et al. Citation2003), the phases and period of the actigraphy-based estimated bedtime and wake-up time are highly consistent with those from melatonin secretion. Our results, therefore, demonstrate that minute-by-minute actigraphy can reliably estimate the circadian phase shift, and its estimation results are correlated with those derived from the DLMO.

Table 9. Circadian phase shift estimation results from the DLMO method and third-order ANF with optimal parameters. Values in parentheses give the deviations of ΔANF from the DLMO results

Two methods have been traditionally used for computation of the phase of rhythm based on the actogram method (Refinetti et al. Citation2007). The daily circadian activity onsets are most often used as phase markers to fit the circadian period (Herzog et al. Citation2004). The second method is the gliding cosinor method, which fits a cosine curve to the data by least squares regression (Teicher and Barber Citation1990). We apply the linear regression of the phase markers and gliding cosinor method on the actigraphy data. The estimated circadian phases from ANF, linear regression, and gliding cosinor of subject A3 and A4 are plotted in . Average absolute deviations of estimated circadian phase shifts in all eight subjects of ANF, linear regression, and gliding cosinor from the DLMO results are listed in , where the third-order ANF estimation results are closer to those of the three DLMO methods than the linear regression of activity onsets and gliding cosinor method. The linear regression of phase markers and gliding cosinor method need to use batches of data (of 24 h in duration for our simulation) to fit the circadian period and phase, while the ANF algorithm has the capability to estimate the circadian phase online (simultaneously with the measurement of data). Therefore, the ANF algorithm is more accurate and amenable to online implementation in estimating the circadian phase from actigraphy data than circadian phase markers and gliding cosinor method. Also, the ANF algorithm used in the circadian phase (shift) estimation should be well formulated. The estimation accuracy of the circadian phase (shift) obtained from the actigraphy data by ANF can be improved by the parameter tuning process proposed in this paper.

Table 10. Average absolute difference of circadian phase shifts of all eight subjects from ANF, linear regression of phase maker, gliding cosinor, and DLMO methods

Figure 11. Comparison of circadian phase estimation results from ANF, linear regression of phase markers, and gliding cosinor of subject A3 (left) and A4 (right)

Figure 11. Comparison of circadian phase estimation results from ANF, linear regression of phase markers, and gliding cosinor of subject A3 (left) and A4 (right)

Conclusion

This paper proposes a parameter tuning process for the ANF algorithm for use to determine circadian phase shift estimation from minute-by-minute actigraphy data. The objective function is defined based on the frequency distribution of the raw data and ANF output. The optimal ANF parameters, including both adaptation rates and damping factor, are solved by minimizing the proposed objective function. The simulation results on the experimental data show that the circadian phase shifts obtained from actigraphy by ANF are very consistent with the results obtained from the DLMO method of Burgess-Eastman, especially when the ANF contains high harmonic terms. These results imply that the ANF algorithm, with appropriate parameters, can function well to estimate circadian phase shift, and actigraphy data, the measurement of which is more convenient than DLMO, can be of utility for circadian phase shift estimation.

Acknowledgements

This work was supported by the National Science Foundation (NSF) through the Smart Lighting Engineering Research Center (EEC-0812056) and in part by the Army Research Office through Grant number W911NF-17-1-0562 and by New York State under NYSTAR contract C130145. The authors would like to thank Dr. Jiaxiang Zhang for his contribution to the initial portion of this research as part of his doctoral research and to the staff of the University of New Mexico Hospital Sleep Disorders Center who carried out the DLMO procedures: Steven Lopez, Alex Valdez, Cielo Ortiz, and Ryan Valdez.

Additional information

Funding

This work was supported by the Army Research Office [W911NF-17-1-0562]; National Science Foundation [EEC-0812056]; New York State Foundation for Science, Technology and Innovation [C130145].

References

  • Ancoli-Israel S, Cole R, Alessi C, Chambers M, Moorcoroft W, Pollak CP. 2003. The role of actigraphy in the study of sleep and circadian rhythms. Sleep. 26:342–392. doi:10.1093/sleep/26.3.342
  • Beyer HG, Schwefel HP. 2002. Evolution strategies − a comprehensive introduction. Nat Comput. 1:3–52. doi:10.1023/A:1015059928466
  • Burgess HJ, Eastman CI. 2005. The dim light melatonin onset following fixed and free sleep schedules. J Sleep Res. 14:229–237. doi:10.1111/j.1365-2869.2005.00470.x
  • Butkov N, Teofilo L. 2007. Fundamentals of sleep technology. Philadelphia, PA: Lippincott Williams & Wilkins.
  • Coyne MD, Kesick CM, Doherty TJ, Kolka MA, Stephenson LA. 2000. Circadian rhythm changes in core temperature over the menstrual cycle: method for noninvasive monitoring. Am J Physiol Regul Integr Comp Physiol. 279:R1316–1320. doi:10.1152/ajpregu.2000.279.4.R1316
  • Crowley SJ, Suh C, Molina TA, Fogg LF, Sharkey KM, Carskadon MA. 2016. Estimating the dim light melatonin onset of adolescents within a 6-h sampling window: the impact of sampling rate and threshold method. Sleep Med. 20:59–66. doi:10.1016/j.sleep.2015.11.019
  • Forger DB, Jewett ME, Kronauer RE. 1999. A simpler model of the human circadian pacemaker. J Biol Rhythms. 14:532–537. doi:10.1177/074873099129000867
  • Forger DB, Peskin CS. 2003. A detailed predictive model of the mammalian circadian clock. Proc Natl Acad Sci USA. 100:14806–14811. doi:10.1073/pnas.2036281100
  • Herzog ED, Aton SJ, Numano R, Sakaki Y, Tei H. 2004. Temporal precision in the mammalian circadian system: a reliable clock from less reliable neurons. J Biol Rhythms. 19(1):35–46. doi:10.1177/0748730403260776
  • Horne JA, Ostberg O. 1976. A self-assessment questionnaire to determine morningness-eveningness in human circadian rhythms. Int J Chronobiol. 4:97–110. PMID: 1027738
  • Hsu L, Ortega R, Damm G. 1999. A globally convergent frequency estimator. IEEE Trans Autom Control. 44:698–713. doi:10.1109/9.754808
  • Ito M, Kohsaka M, Honma K, Fukuda N, Honma S, Katsuno Y, Kawai I, Honma H, Morita N, Miyamoto T. 1995. Changes in biological rhythm and sleep structure during the menstrual cycle in healthy women. Seishin Shinkeigaku Zasshi. 97:155–164. PMID: 7777641
  • Jewett ME, Forger DB, Kronauer RE. 1999. Revised limit cycle oscillator model of human circadian pacemaker. J Biol Rhythms. 14:493–499. doi:10.1177/074873049901400608
  • Julius A, Zhang J, Qiao W, Wen JT. 2016. Multi-input adaptive notch filter and observer for circadian phase estimation. Int J Adapt Control. 30:1375–1388. doi:10.1002/acs.2659
  • Julius A, Zhang J, Wen JT. 2019. Time optimal entrainment control for circadian rhythm. PLoS ONE. 14(12):e0225988. doi:10.1371/journal.pone.0225988
  • Kivelä A, Kauppila A, Ylöstalo P, Vakkuri O, Leppäluoto J. 1988. Seasonal, menstrual and circadian secretions of melatonin, gonadotropins and prolactin in women. Acta Physiol Scand. 132:321–327. doi:10.1111/j.1748-1716.1988.tb08335.x
  • Knutsson A. 2003. Health disorders of shift workers. Occup Med (Lond). 53:103–108. doi:10.1093/occmed/kqg048
  • Kronauer RE, Forger DB, Jewett ME. 1999. Quantifying human circadian pacemaker response to brief, extended, and repeated light stimuli over the phototopic range. J Biol Rhythms. 14:501–516. doi:10.1177/074873049901400609
  • LeBourgeois MK, Carskadon MA, Akacem LD, Simpkin CT, Wright KP, Achermann P, Jenni OG. 2013. Circadian phase and its relationship to nighttime sleep in toddlers. J Biol Rhythms. 28:322–331. doi:10.1177/0748730413506543
  • Lewy AJ, Sack RL. 1989. The dim light melatonin onset as a marker for circadian phase position. Chronobiol Int. 6:93–102. doi:10.3109/07420528909059144
  • Lewy AJ, Sack RL, Singer CM. 1985. Immediate and delayed effects of bright light on human melatonin production: shifting “dawn” and “dusk” shifts the dim light melatonin onset (dlmo). Ann NY Acad Sci. 453:253–259. doi:10.1111/j.1749-6632.1985.tb11815.x
  • Lu Z, Klein-Cardena K, Lee S, Autonsen TM, Girvan M, Ott E. 2016. Resynchronization of circadian oscillators and the east-west asymmetry of jetlag. Chaos. 26:094811. doi:10.1063/1.4954275
  • Mojiri M, Karimi-Ghartemani M, Bakhshai A. 2007. Time-domain signal analysis using adaptive notch filter. IEEE Trans Signal Process. 55:85–93. doi:10.1109/TSP.2006.885686
  • Portaluppi F, Touitou Y, Smolensky MH. 2008. Ethical and methodological standards for laboratory and medical biological rhythm research. Chronobiol Int. 25:999–1016. doi:10.1080/07420520802544530
  • Qiao W, Wen JT, Julius A. 2017. Entrainment control of phase dynamics. IEEE Trans Autom Control. 63:445–450. doi:10.1109/TAC.2016.2555885
  • Refinetti R, Lissen GC, Halberg F. 2007. Procedures for numerical analysis of circadian rhythms. Biol Rhythm Res. 38(4):275–325. doi:10.1080/09291010600903692
  • Ruffio E, Saury D, Petit D, Girault M. 2011. Tutorial 2: zero-order optimization algorithms. Semantic Scholar. https://www.semanticscholar.org/paper/Tutorial-2-%3A-Zero-Order-optimization-algorithms-Ruffio-Saury/f3b4e17cdc5724a6064d6126e2dbfe86bf7ef742
  • Serkh K, Forger DB. 2014. Optimal schedules of light exposure for rapidly correcting circadian misalignment. PLoS Comput Biol. 10:e1003523. doi:10.1371/journal.pcbi.1003523
  • Smolensky MH, Hermida RC, Reinberg A, Sackett-Lundeen L, Portaluppi F. 2016. Circadian disruption: new clinical perspective of disease pathology and basis for chronotherapeutic intervention. Chronobiol Int. 33(8):1101–1119. doi:10.1080/07420528.2016.1184678
  • Swaab DF, Filers E, Partiman TS. 1985. The suprachiasmatic nucleus of the human brain in relation to sex, age and senile dementia. Brain Res. 342:37–44. doi:10.1016/0006-8993(85)91350-2
  • Teicher MH, Barber NI. 1990. Cosifit: an interactive program for simultaneous multioscillator cosinor analysis of time-series data. Comput Biomed Res. 23(3):283–295. doi:10.1016/0010-4809(90)90022-5
  • Trelea IC. 2003. The particle swarm optimization algorithm: convergence analysis and parameter selection. Inf Process Lett. 85:317–325. doi:10.1016/S0020-0190(02)00447-7
  • Verwey M, Robinson B, Amir S. 2013. Recording and analysis of circadian rhythms in running-wheel activity in rodents. J Vis Exp. 71:50186. doi:10.3791/50186
  • Voultsios A, Kennawlay DJ, Dawson D. 1997. Salivary melatonin as a circadian phase marker: validation and comparison to plasma melatonin. J Biol Rhythms. 12:457–466. doi:10.1177/074873049701200507
  • Winfree AT. 2001. The geometry of biological time. Berlin, Germany: Springer.
  • Woelders T, Beersma DG, Gordijn MC, Hut RA, Wams EJ. 2017. Daily light exposure patterns reveal phase and period of the human circadian clock. J Biol Rhythm. 32(3):274–286. doi:10.1177/0748730417696787
  • Zakharova EM, Minashina IK. 2015. Review of multidimensional optimization. J Commun Technol El. 60:625–636. doi:10.1134/S1064226915060194
  • Zhang J, Wen JT, Julius A. 2012. Adaptive circadian rhythm estimator and its application to locomotor activity. The conference paper in 2012 IEEE Signal Process Med Biol Symp, pp. 1–6, NY, USA. doi:10.1109/SPMB.2012.6469471
  • Zhang J, Wen JT, Julius A. 2013. Adaptive circadian argument estimator and its application to circadian argument control. The conference paper in 2013 Proc Am Control Conf, pp. 2295–2300, Washington DC. doi:10.1109/ACC.2013.6580176
  • Zhang J, Qiao W, Wen JT, Julius A. 2016. Light-based circadian rhythm control: entrainment and optimization. Automatica. 68:44–55. doi:10.1016/j.automatica.2016.01.052