This invention relates generally to Transcutaneous Electrical Nerve Stimulation (TENS) devices that deliver electrical currents across the intact skin of a user via electrodes so as to provide symptomatic relief of pain. More specifically, this invention relates to a TENS device worn during sleep, and a method for making novel measurements that broaden and enhance sleep analysis, and includes enhanced transcutaneous electrical nerve stimulation (TENS) using the same.
Chronic pain due to diabetic neuropathy and other causes can interfere with sleep, which carries a host of secondary complications. Transcutaneous electrical nerve stimulation (TENS) devices provide pain relief by stimulating sensory nerves, which leads to an increase in endogenous opioids and down-regulation of pain signal transmission to the brain. A TENS device which could be used during sleep would offer unique opportunities to provide pain relief during bedtime with the goal of improving sleep (see, for example, Barbarisi M, Pace M C, Passavanti M B, et al. Pregabalin and transcutaneous electrical nerve stimulation for postherpetic neuralgia treatment. Clin J Pain. September 2010; 26(7):567-572).
However, most TENS devices are designed to operate exclusively during the day (i.e., wake state) without any nighttime (i.e., sleep state) operation. This limitation is evident in the design of conventional TENS devices, in which the electric current is delivered through wires (called leads) that are connected to electrode pads on the skin. Such a design is not practical or safe for use during sleep because the leads are cumbersome and may get tangled or pulled, and because the electrode pads can potentially peel off the skin (which will terminate TENS therapy) or, perhaps worse, can potentially partially peel off the skin, leading to increased current density and negative consequences for the user (e.g., discomfort or, in extreme cases, burns).
In pending prior U.S. patent application Ser. No. 14/230,648, filed Mar. 31, 2014 by NeuroMetrix, Inc. and Shai Gozani et al. for DETECTING CUTANEOUS ELECTRODE PEELING USING ELECTRODE-SKIN IMPEDANCE (Attorney's Docket No. NEURO-64), published as U.S. Patent Application Publication No. US 2014/0296934 A1 on Oct. 2, 2014, which patent application is hereby incorporated herein by reference, there is disclosed a novel TENS device which allows TENS therapy to be applied during nighttime (i.e., during sleep state) as well as during the day (i.e., wake state). The key design elements that make this novel TENS device suitable for use during sleep are (1) the leads are eliminated because the electrode pads are attached directly to the housing containing the TENS stimulation circuitry, (2) the TENS housing and electrode pads are held reliably and comfortably against the skin by an adjustable strap or band, (3) the TENS device continuously measures skin-electrode contact impedance (and related electrical parameters) so as to detect if the electrode pads peel (completely or partially) off the skin and the TENS device stops delivering current if peeling is detected, (4) therapeutic stimulation may be scheduled in one-hour on-off blocks so as to provide pain relief throughout the night, and (5) the TENS device detects when the user is asleep and reduces the therapeutic stimulation level automatically so as not to disturb sleep.
The novel TENS device disclosed in pending prior U.S. patent application Ser. No. 14/230,648 (and published as U.S. Patent Application Publication No. US 2014/0296934 A1) is designed to be located on the upper calf of the user. This is for three reasons. First, the TENS device needs to stimulate sensory nerve fibers in order to provide widespread pain relief through the systemic effect of an increase in endogenous opioids and down-regulation of pain signal transmission. The upper calf area has a cluster of sensory nerve fibers that can be activated easily with a transcutaneous electrical nerve stimulator because of their proximity to the surface of the skin. Second, some forms of chronic pain (such as that due to diabetic neuropathy) are experienced most acutely in the feet, and in addition to the mechanism of pain suppression through endogenous opioids described above (which is systemic), there is also evidence for additional mechanisms of pain suppression that are more local, thus making it advantageous to place the TENS device on the upper calf of the user. Third, chronic pain can be persistent throughout the day, often worsening at night, and wearing the TENS device on the upper calf makes it discreet and unobtrusive, which encourages more regular use.
As mentioned above, the novel TENS device disclosed in pending prior U.S. patent application Ser. No. 14/230,648 (and published as U.S. Patent Application Publication No. US 2014/0296934 A1), which is designed for use during sleep, detects when the user is asleep and adjusts the therapeutic stimulation level to avoid disturbing sleep. It would be advantageous for a TENS device aimed at improving sleep quality to also quantify sleep quality and sleep disorders, since users will be more likely to use the TENS device if they are aware of, and convinced of, its benefit to their sleep.
The gold standard in determining the sleep-wake state of a subject is polysomnography which comprises at least three distinct types of data, i.e., electroencephalogram (EEG), electrooculography (EOG) and electromyography (EMG). Because of the difficulty in recording and analyzing these types of data, actigraphy has been developed and refined over the last 30 years as a practical alternative to study sleep/awake patterns. Actigraphy is a continuous recording of body movement by means of a body-worn device, typically equipped with accelerometers [Ancoli-Israel S, Cole R, Alessi C, Chambers M, Moorcroft W, Pollak C P. The role of actigraphy in the study of sleep and circadian rhythms. Sleep. May 1 2003; 26(3):342-392].
Wearable electronic devices for health and fitness have become widespread, and most have accelerometers and, from acceleration data, compute various metrics of activity either to track daytime activities or to quantify sleep patterns. Most of these actigraphy-based devices are worn on the wrist however, and in certain ways that limits their ability to detect and quantify sleep.
Significantly, it has now been recognized that the placement of a novel, accelerometer-equipped TENS device on the upper calf, with tight mechanical coupling to the upper calf, may be used to support novel approaches for detecting when the user is asleep, and novel metrics for analyzing the sleep of the user, and novel approaches to quantify body and leg motions associated with poor sleep quality and/or disorders such as restless leg syndrome, and novel approaches for providing enhanced transcutaneous electrical nerve stimulation (TENS) using the same. Among these novel metrics are “leg movements”, “body roll events” associated with rolling over in bed, and “time-on-back” which is relevant to users suffering not only from chronic pain but also from problematic sleep positions which can cause snoring or sleep apnea. In addition to tracking and reporting sleep indicators, real-time feedback to the user based on indicator trends can also help the user to improve sleep quality. An example is to provide an alert (via mechanical or electrical means, for example) to the user when time-on-back duration exceeds a threshold. Another example is to alter TENS stimulation parameters when leg movement patterns associated with discomfort caused by nighttime pain are detected in order to enhance the analgesic effect of TENS therapy.
Thus, the present invention comprises the provision and use of a novel TENS device which comprises a TENS stimulator designed to be placed on the user's upper calf and a pre-configured electrode array designed to provide circumferential stimulation to the upper calf of the user. A three-axis (x, y, z) accelerometer incorporated in the TENS device continuously measures the projection of static gravity onto each axis (i.e., x, y, z), which depends on the device orientation, and time-varying acceleration on each axis due to user motion along that axis.
The placement of the novel TENS device on the upper calf of the user is used to support novel approaches for detecting when the user is asleep, and for quantifying sleep and assessing abnormal body and leg motions, and for providing enhanced TENS therapy using such sleep analysis.
First, the novel TENS device measures leg orientation, which is highly correlated with body orientation and therefore indicative of the user's recumbent state (and thereby the user's sleep-wake state). Specifically, the novel TENS device measures two distinct aspects of leg orientation: leg “elevation” (or the angle of the lower leg relative to the horizontal), and leg “rotation” (or the angle of rotation of the lower leg about its own axis).
Second, the novel TENS device measures leg motion, which is also indicative of the user's sleep-wake state. Specifically, the novel TENS device measures two distinct aspects of leg motion: “net activity” (which is the magnitude of movement-related acceleration averaged within one-minute windows), and “leg movements” (or brief events that are known to occur in sleep but are not evident in net activity). Some leg movements accompanied by a large leg rotation may be further classified as “body roll events” (such as occur when rolling over in bed). Repetitive leg movements may occur in people with chronic pain and other medical conditions, and may degrade the quality of sleep experienced by the person (and his/her sleep partner). Quantification and monitoring of the repetitive leg movements may provide insights to these conditions and trends of these conditions.
Third, the novel TENS device combines these two measures of leg orientation (i.e., leg elevation and leg rotation) and two measures of leg motion (i.e., net activity and leg movements) to improve sleep quantification and to utilize more precise quantification metrics to enhance therapeutic benefits.
The determination of sleep-wake state by the novel TENS device proceeds in several steps. The user is considered to be “in-bed” if the user's leg orientation is determined to be recumbent (i.e., near horizontal) for a selected portion (e.g., a majority) of a selected time period (e.g., a decision window). During the in-bed state, “sleep onset” is defined as the first time that the user's net activity and leg movements fall below set thresholds for a specified period of time (e.g., a decision window). Following sleep onset, the novel TENS device measures net activity and leg movements. During all of the time intervals in which the net activity is below some specified threshold, the user is considered to be “asleep”. During all of the time in which the user is recumbent, the net activity is below some net activity threshold, the number of leg movements is below some leg movement threshold, and the number of body rolls is zero, the user is considered to be “restful”. During all of the time in which the static leg rotational angle falls between two static leg rotational angle thresholds, the user is considered to be sleeping “on-back”. These times, and the ratios of these times, may be used to compute measures of “sleep duration” and “sleep quality”. This sleep analysis may then be reported (e.g., to the user and/or to the care provider of the user) and/or used to provide enhanced TENS therapy to the patient.
In one preferred form of the present invention, there is provided apparatus for providing transcutaneous electrical nerve stimulation (TENS) therapy to a user, said apparatus comprising:
a housing;
an application unit for providing mechanical coupling between said housing and the user's body;
a stimulation unit for electrically stimulating at least one nerve of the user;
a sensing unit for sensing the user's body movement and body orientation; and
a reporting unit for providing the user with feedback based on the user's sensed body movement and body orientation.
In another preferred form of the present invention, there is provided a method for applying transcutaneous electrical nerve stimulation to a user, said method comprising the steps of:
applying a stimulation unit and a sensing unit to the user's body;
using the stimulation unit to deliver electrical stimulation to the user to stimulate one or more nerves;
analyzing electromechanical sensing data from the sensing unit to quantify the user's body orientation and body activity levels; and
modifying the electrical stimulation delivered by the stimulation unit based on the user's body orientation and body activity levels.
In another preferred form of the present invention, there is provided apparatus for monitoring the sleep patterns of a user, said apparatus comprising:
a housing;
an application unit for providing mechanical coupling between said housing and the user's body;
a sensing unit disposed within the housing to sense the user's body movement and body orientation; and
a reporting unit for providing the user with feedback based on the user's sensed body movement and body orientation.
In another preferred form of the present invention, there is provided a method for monitoring the sleep patterns of a user, said method comprising of the steps of:
applying a sensing unit and a feedback unit to the user body;
using the sensing unit to determine the user's body movement and body orientation; and
providing the user with feedback via said feedback unit based on body activity and body orientation.
In another preferred form of the present invention, there is provided apparatus for providing transcutaneous electrical nerve stimulation (TENS) therapy to a user, said apparatus comprising:
a housing;
an application unit for providing mechanical coupling between said housing and the user's leg;
a stimulation unit for electrically stimulating at least one nerve of the user; and
a sensing unit for sensing the user's leg orientation and leg motion, wherein sensing the user's leg orientation comprises determining the user's leg elevation and leg rotation, and further wherein sensing the user's leg motion comprises determining the user's net activity and leg movements; and
a controller for modulating said stimulation unit based on the determinations made by said sensing unit.
These and other objects and features of the present invention will be more fully disclosed or rendered obvious by the following detailed description of the preferred embodiments of the invention, which is to be considered together with the accompanying drawings wherein like numbers refer to like parts, and further wherein:
TENS device 100 is shown in greater detail in
Still looking now at
The preferred embodiment of the present invention is designed to be worn on the upper calf 140 of the user as shown in
Further details regarding the construction and use of the foregoing aspects of TENS device 100 are disclosed in (i) U.S. Pat. No. 8,948,876, issued Feb. 3, 2015 to NeuroMetrix, Inc. and Shai N. Gozani et al. for APPARATUS AND METHOD FOR RELIEVING PAIN USING TRANSCUTANEOUS ELECTRICAL NERVE STIMULATION (Attorney's Docket No. NEURO-5960), which patent is hereby incorporated herein by reference, and (ii) pending prior U.S. patent application Ser. No. 14/230,648, filed Mar. 31, 2014 by Shai N. Gozani et al. for DETECTING CUTANEOUS “ELECTRODE PEELING” USING ELECTRODE-SKIN IMPEDANCE (Attorney's Docket No. NEURO-64), published as U.S. Patent Application Publication No. US 2014/0296934 A1 on Oct. 2, 2014, which patent application is hereby incorporated herein by reference.
In accordance with the present invention, TENS device 100 further comprises (e.g., within compartment 102) user state (i.e., leg orientation and leg motion) detector 500 for (i) determining the sleep-wake state of the user, (ii) analyzing the sleep of the user, and/or (iii) providing enhanced transcutaneous electrical nerve stimulation (TENS) using the same. To this end, and looking now at
When the TENS device is secured in position on the user's upper calf, the position and orientation of accelerometer 152 (
Data from accelerometer 152 are analyzed in real time by processor 515 of user state (i.e., leg orientation and leg motion) detector 500 to determine the orientation and motion of the lower limb (i.e., upper calf 140) of the user. The orientation, motion, and activity level of the lower limb (i.e., upper calf 140) of the user, determined by analyzing the data from accelerometer 152, are used to determine the sleep-wake state and sleep patterns of the user. Based on the sleep-wake state and sleep patterns, TENS device 100 can modify its stimulation pattern (such as the stimulation intensity level and the onset of the stimulation) via controller 520, or provide the user with additional feedback (such as mechanical vibration if the duration of the sleep-on-back state exceeds a threshold).
The leg orientation and leg motion components measured by the user state (i.e., leg orientation and leg motion) detector 500 of the present invention may individually or collectively contribute to the determination of the sleep-wake state of the user. In one preferred form of the invention, processor 515 of TENS device 100 measures the calf orientation of the user, which is highly correlated with the body orientation of the user. More particularly, upright body orientation is generally a reliable indicator that the user is in a wake state, while recumbent orientation suggests a resting state (e.g., such as occurs during sleep). Regular and robust body movement is more likely the result of user activities during the daytime (i.e., during wake state), while quiet or low-level spontaneous movements are more likely during nighttime (i.e., during sleep state). Interactions of body orientation and movement level can also be useful in identifying the sleep-wake state of the user (i.e., thereby enhancing a sleep-wake state classification). Specifically, recumbent body orientation and a low-level of physical activity is generally a good indicator that the user is asleep.
In addition, real-time clock 505 of user state (i.e., leg orientation and leg motion) detector 500 allows assigning a nontrivial a priori probability of the sleep-wake state at any given time of the day in order to further refine the sleep-wake state classification results obtained by the aforementioned analysis of leg orientation and leg motion data (i.e., a user is more likely to be asleep at 3:00 am and less likely to be asleep at 4:00 pm). In a preferred embodiment of the present invention, to reflect that the a priori probability that the sleep state is low at a specific daytime window, the threshold value for classifying user body orientation as recumbent can be made more stringent.
In another embodiment of the present invention, output from ambient light sensor 510 is used to improve sleep-wake classification results. The ambient light sensor 510 can be used to determine if the user is in an environment which has an illuminated or non-illuminated ambience, to reflect the a priori probability that a user is more likely to be sleeping in a dark setting than in a brightly lit setting. Accordingly, the threshold values for classifying user body position and motion level can be adjusted to reflect the a priori probability of sleep.
In one preferred form of the invention, TENS device 100 may comprise an on-skin detector to confirm that TENS device 100 is firmly seated on the skin of the user.
More particularly, the orientation and motion measures from accelerometer 152 in TENS device 100 only become coupled with the orientation and motion of a user when the TENS device is worn by the user. In a preferred embodiment, an on-skin detector 521 is provided to determine whether and when TENS device 100 is securely placed on the user's upper calf. In the preferred embodiment, and looking now at
On-skin detector 521 is preferably employed in two ways.
First, if on-skin detector 521 indicates that electrode array 120 of TENS device 100 has become partially or fully detached from the skin of the user, TENS device 100 can stop applying TENS therapy to the user.
Second, if on-skin detector 521 indicates that electrode array 120 of TENS device 100 has become partially or fully detached from the skin of the user, processor 515 of TENS device 100 will recognize that the data from accelerometer 152 may not reliably reflect user leg orientation and leg motion, and user state (i.e., leg orientation and leg motion) detector 500 can take appropriate action (e.g., alert the user). In this respect it should be appreciated that, when the on-skin detector 521 indicates that TENS device 100 is on the skin of the user, and accelerometer 152 is closely coupled to the lower limb of the user, the data from accelerometer 152 may be representative of user leg orientation and user leg motion. However, when the on-skin detector 521 indicates that TENS device 100 is not on the skin of the user, accelerometer 152 is not closely coupled to the lower limb of the user, and the data from accelerometer 152 will not be representative of user leg orientation and user leg motion.
In one preferred form of the invention, user state (i.e., leg orientation and leg motion) detector 500 comprises a processor 515 for taking the accelerometer data from accelerometer 152 and calculating user activity (e.g., body orientation, body movement and activity levels).
More particularly, in one preferred form of the invention, processor 515 uses the accelerometer data from accelerometer 152 to measure the user's leg orientation, which is highly correlated with body orientation and therefore indicative of the user's recumbent state (and thereby the user's sleep-wake state); and processor 515 uses the accelerometer data from accelerometer 152 to measure the user's leg motion, which is also indicative of the user's sleep-wake state and leg motion activity levels; and processor 515 uses the determinations of user leg orientation and user leg motion to enhance sleep quantification.
More particularly, processor 515 uses the accelerometer data from accelerometer 152 to measure two distinct aspects of the user's leg orientation: leg “elevation” (or the angle of the lower leg relative to the horizontal plane), and leg “rotation” (or the angle of rotation of the lower leg about its own axis).
And processor 515 uses the accelerometer data from accelerometer 152 to measure two distinct aspects of leg motion: “net activity” (which is the magnitude of movement-related acceleration averaged within one-minute windows), and “leg movements” (or brief events that are known to occur in sleep but are not evident in net activity). Some leg movements accompanied by a large leg rotation may be further classified as “body roll events” (such as occur when rolling over in bed).
In a preferred embodiment of the present invention, processor 515 for calculating user activity (e.g., body orientation, body movement and activity levels) is constructed and configured to operate as follows. Raw accelerometer data produced at 400 Hz are decimated to 50 Hz. Following that, the time scale of an “instant” is defined to be equal to 0.1 sec. The 50 Hz data on each axis (x, y, z) are separately averaged over each instant, to provide a low-noise data stream at 10 Hz, denoted by Ax(t), Ay(t), and Az(t).
The accelerometer data Ax(t), Ay(t), and Az(t) are used to form features which are averages of Ax(t), Ay(t), and Az(t) over a longer time window (e.g., a one minute window) to capture the steady-state projection of earth gravity along each axis (x, y, z). These features are used for detecting leg orientation (i.e., leg elevation and leg rotation).
Additionally, the accelerometer data Ay(t), Ay(t), and Az(t) are high-pass filtered to remove the static gravity component in order to isolate acceleration components caused by leg movement. The high-pass filter has −3 dB point at 0.5 Hz. High-pass filtered accelerometer data are denoted as Ãx(t), Ãy(t), and Ãs(t).
In one preferred form of the invention, user state (i.e., leg orientation and leg motion) detector 500 is configured to detect leg elevation.
More particularly, in order to determine the “body orientation state” for the purpose of sleep monitoring, the present invention uses the leg elevation, which is computed by processor 515 of user state (i.e., leg orientation and leg motion) detector 500, based on measurement data from accelerometer 152 when TENS device 100 is placed on the user's upper calf 140 (
A stationary upright user, or one sitting with feet resting on the ground, will have an upright calf elevation. Consequently, the y-axis acceleration of accelerometer 152 will have a value of about −1 g due to Earth gravity 154 (
Looking now at
In general, the acceleration measured along the y-axis will include not only the projection of gravity onto that axis, but also a contribution from motion:
A
y(t)=±sin |θ(t)|+m(t) [in unit of g]
where t is time, and m(t) is the contribution due to leg motion. The specific ±sign depends upon the TENS device placement on upper calf 140 and is fixed for each placement. The motion component m(t) is considered “noise” in the context of determining leg elevation, and will have zero mean over a sufficiently large window.
In a preferred embodiment, a leg elevation algorithm, taking into account user body movement, is implemented by processor 515 of user state (i.e., leg orientation and leg motion) detector 500 in the following manner.
Step 1. Set a target angle threshold θ0 (this is the “Threshold1” shown at step 910 in
Step 2. Define non-overlapping windows of length N, called “epochs”. The time at the end of each epoch is denoted T. In a preferred embodiment, the accelerometer data (in units of g, standard earth gravity) are segmented into epochs, i.e., one-minute windows. With an accelerometer data rate of 10 Hz, the epoch length is N=600. The mean Ay,T and the standard error of the mean SEY,T are calculated based on samples in each epoch.
Step 3. Let θT=sin−1Ay,T. Values of θT≈θ0 can lead to erratic switching of the leg elevation state. In order to reduce this, define a hysteresis band θ0±θH. In the preferred embodiment, the hysteresis parameter θH is set to 2.5°, but other values are possible (but should be small compared to θ0). In the preferred embodiment, rather than computing sin−1 for every epoch, the angular thresholds are instead converted to acceleration units, i.e., by computing two thresholds A±=sin(θ0±θH), against which Ay,T will be compared.
Step 4. The ability of the hysteresis band to prevent erratic switching of the leg elevation state depends upon the amount of noise in the data, characterized by SEY,T, which is the standard error of the mean Ay,T. In order to account for the noise level in the data, processor 515 of user state (i.e., leg orientation and leg motion) detector 500, processor 515 compares the acceleration data Ay,T to the thresholds A±. However, instead of comparing the mean Ay,T per se to the thresholds A±, processor 515 compares the “confidence interval” Ay,T±ηSEY,T to the thresholds A±. More specifically, for each epoch, if the prior elevation state was recumbent, in order to classify the next state as upright, processor 515 of user state (i.e., leg orientation and leg motion) detector 500 requires [|Ay,T|−ηSEY,T]>A±. If the prior elevation state was upright, in order to classify the next state as recumbent, processor 515 of user state (i.e., leg orientation and leg motion) detector 500 requires [|Ay,T|+ηSEY,T]<A−. In a preferred embodiment η=3, but other values are possible.
In one preferred form of the invention, processor 515 of user state (i.e., leg orientation and leg motion) detector 500 may be configured to detect instantaneous activity.
More particularly, when TENS device 100 is worn on the user's upper calf 140, the user's activity will be captured by accelerometer 152 of the TENS device. Each axis (x, y, z) of accelerometer 152 measures the projection of the acceleration vector along that axis. As described above, the measured acceleration includes the static effect of earth gravity, as well as contributions from leg movement. In order to isolate the contributions from leg movement, processor 515 of user state (i.e., leg orientation and leg motion) detector 500 high-pass filters the instant data vector A(t)=[Ax(t),Ay(t),Az(t)] before further processing.
Although the acceleration component for each individual axis of the accelerometer contains unique and useful information for body movement analysis, the vector magnitude of acceleration, called the “instantaneous acceleration”, denoted ÃI(t) and defined in equation below, is commonly used to quantify the overall motion-related activity:
Ã
I(t)√{square root over (ÃX(t)2+ÃY(t)2+ÃZ(t)2)}
In a preferred embodiment of the present invention, processor 515 of user state (i.e., leg orientation and leg motion) detector 500 uses this instantaneous acceleration ÃI(t) for the actigraphy calculations. However, calculations based on other combinations of acceleration axes may also be used. For example, rather than combining all three axes equally as done with ÃI(t) as defined above, only some axes may be used, or certain axes may be contrasted through subtraction.
In one preferred form of the invention, processor 515 of user state (i.e., leg orientation and leg motion) detector 500 may be configured to detect leg movement.
More particularly, the instantaneous acceleration ÃI(t) is a time series comprised of brief events, such as leg movements known to occur during normal and abnormal sleep, and sustained activity, such as occurs during walking, running, or climbing stairs. In a preferred embodiment, leg movements (LM) are computed in a manner that is consistent with the detection of periodic leg movements (PLM) defined in the clinical literature (Bonnet et al, 1993; Zucconi et al, 2006), however, other approaches to detecting brief leg movements are possible and are considered to be within the scope of the present invention.
In the preferred embodiment, a leg movement (LM) detection algorithm is implemented by processor 515 of user state (i.e., leg orientation and leg motion) detector 500 in the following manner.
Step 1. Define two thresholds (these are the “Threshold2” and “Threshold3” shown at steps 914 and 918, respectively, in
Step 2. Define an instantaneous activity state (IAS) and initialize the IAS to False.
Step 3. Compute instantaneous acceleration ÃI(t) for each time instant.
Step 3. Update the IAS for each time instant as follows. If IAS=False and ÃI(t)>0.03 g, then set IAS=True. If IAS=True and ÃI(t)<0.02 g, then set IAS=False. Two thresholds used in this way implement hysteresis in a simple way to prevent rapid switching in the IAS.
Step 4. When IAS becomes True, a leg movement (LM) period begins. When IAS becomes false and remains false for more than 0.5 second, the LM period ends. Thus a contiguous time interval in which IAS=True, and surrounded by intervals in which IAS=False, comprises a leg movement (LM) period. However, if contiguous intervals for which IAS is True are separated by less than 0.5 second, the brief interval for which IAS was False is ignored.
The top panel (810) in
In one preferred form of the invention, processor 515 of user state (i.e., leg orientation and leg motion) detector 500 is configured to function as a body roll detector.
More particularly, when the TENS device 100 (
β=180−α−φ
Because the angle α is fixed, the leg rotation angle β can be derived from the angle φ as measured by the accelerometer 152.
Some brief increases in activity that are classified as leg movement (LM) are associated with large changes in the roll angle φ measured by the TENS device 100. Rolls of sufficient magnitude are unlikely to involve only the leg, but rather are likely to indicate that the entire body is rolling over while in bed, e.g., from the left side to the right side, or from the back to the left side or the right side. Some leg movements (LMs) may therefore be classified as “body roll events”.
In one preferred embodiment, a body roll detection algorithm is implemented by processor 515 in user state (i.e., leg orientation and leg motion) detector 500, using only the angle change Δφ, in the following manner:
Step 1. For each LM period detected, select the raw acceleration vector A(t) in short windows before and after the leg movement. In a present invention, this window is an instant (0.1 seconds).
Step 2. Before and after each LM period, take the instant values of A(t) (not high-pass filtered) on each axis separately so as to obtain Ax(t), Ay(t), and Az(t).
Step 3. Using these values before and after the LM, compute the rotation angle φ(t)=a tan 2{Ax(t), Az(t)}. The inverse tangent function a tan 2 returns an angle in the range−180°<φ(t)≦180°, i.e., a result in all four possible quadrants.
Step 4. Compute the change in rotational angle Δφ=φafter−φbefore. In order to facilitate comparison with a threshold (this is the “Threshold4” shown at step 924 in
Step 5. Compare the absolute value |Δφ| with a threshold value. In the present invention, this threshold value is 50°, but other values may be used. If |Δφ|>50°, then classify the LM event as a “body roll event”.
The middle panel (820) in
The bottom panel (830) of
These body rolls may be reported directly to the user to inform them about their sleep patterns. In addition, because body roll events may be brief, the associated increase in activity may not be evident in the epoch average of activity, and therefore may not cause that epoch to be classified as awake. Although rolling over in bed may not indicate an awake state, it does indicate momentarily restless sleep. This novel approach for detecting body rolls by evaluating changes in roll angles associated with brief leg movement (LM) permits the differentiation of leg movement associated with no body rolls from leg movement associated with body rolls, and thus provides a finer description of sleep patterns that are helpful in clinical diagnosis.
In another preferred embodiment, rather than using single instants of A(t) before and after the LM to compute the angles φ, the mean or median values of A(t) over several instants before and after the LM are used to improve robustness to noise.
In another preferred embodiment, a body roll detection algorithm is implemented by processor 515 of user state (i.e., leg orientation and leg motion) detector 500 using the angle change Δβ in the following manner. Consider a person lying on their back, with the TENS device placed on their right leg. Recalling that, with the TENS device placed on either leg, β=0 when the toes are pointed vertically upward, and β increases with counterclockwise (CCW) rotation, therefore the most likely range of leg rotational positions is −80°≦β≦0°. Any change in angle Δβ that remains within that range may not likely be associated with a body roll. In contrast, a change in angle Δβ from inside that range to outside that range is most likely associated with a body roll. In this way, using the change in angle Δβ, the threshold for detecting a body roll may be adjusted depending upon the leg on which the device is placed. That is to say, in addition to the magnitude of the change Δβ, the value of the leg rotation angle β before and after the leg movement (LM), and the sign of the angle change Δβ across the leg movement (LM), may be used to improve performance of the body roll detector.
In one preferred form of the invention, processor 515 of user state (i.e., leg orientation and leg motion) detector 500 may be configured to function as a static body rotational position detector.
More particularly, users with sleep apnea are recommended not to sleep on their back.
Because of the limited rotational range of motion of the human hip, leg rotational position is highly correlated with body position, e.g., when sleeping on one's back, the toes of either foot are pointed upward above the horizontal plane to varying degrees, not likely exactly on the horizontal plane, and never below the horizontal plane. This observation, together with the placement of the novel TENS device on the upper calf of the user, allows an innovative addition to sleep analysis.
The time scale of an “epoch” equal to one minute, and the epoch-averaged non-high-pass filtered acceleration values ĀX,T(t), ĀY,T(t), and ĀZ,T(t) were introduced above in the section entitled “Leg Elevation Detection”. Because it is sufficient to report the time spent sleeping on the back at the resolution of one minute, these epoch-averaged acceleration values may be advantageously used in the following manner to detect static body rotational position.
Consistent with the roll detector definition of the rotational position angle φ, let φT=a tan 2{ĀX,T(t), ĀZ,T(t)} as before, where ĀX,T(t) and ĀZ,T(t) are raw (i.e., not high-pass filtered) accelerations averaged over an epoch T. Let βT=the angle of the toes relative to the vertical. The relation between φT and βT depends upon the rotational placement of the TENS device on the upper calf of the user, denoted α. Because the electrode gel 444 is sticky and the strap 110 is supportive, the TENS device does not move on the user's leg once it is placed onto the upper calf 140, therefore the angle α is constant as long as the TENS device is on the leg of the user.
Looking now at
In a preferred embodiment, the following simple procedure is used by processor 515 of user state (i.e., leg orientation and leg motion) detector 500 to determine whether the user is on-back through an estimation of the angle β.
Step 1. The user places the TENS device on the lower leg of the user and fastens the strap 110 snugly around their upper calf 140, lies recumbent with the leg nearly horizontal, points their toes vertically upward, and remains still.
Step 2. The user indicates to the TENS device that the aforementioned conditions have been met. This indication may take the form of a series of button presses (e.g., with button 106), a series of taps on compartment 102 detected by the accelerometer 152, or an indication on a smartphone 860 in communication with the TENS device 100.
Step 3: With the toes pointed upright, β≈0, therefore it is trivial to estimate {circumflex over (α)}=180−{circumflex over (φ)} where {circumflex over (φ)} is estimated from accelerometer data acquired during the toe-up period. In order to facilitate calculations, put this difference in the range −180°<{circumflex over (α)}≦180°, i.e., if {circumflex over (α)}>180° then subtract 360°, but if {circumflex over (α)}≦−180° then add 360°.
Step 4: In every epoch ending at time T, use this value of {circumflex over (α)} to compute βT=180−{circumflex over (α)}−φT. In order to facilitate comparisons with a threshold, put this difference in the range −180°<βT≦180°, i.e., if βT>180° then subtract 360°, but if βT≦−180° then add 360°.
Step 5: Define a range of values for βT that correspond to the user lying or sleeping on their back. In a preferred embodiment, classify every epoch for which −80°<βT<80° as “on-back”. This range is symmetrical so the algorithm works for placement on either leg. Avoiding ±90° by 10° excludes the values likely to be encountered when a user lies or sleeps on their side. In another preferred embodiment, the thresholds (which would reside at step 930 in
Step 6: If the user with sleep apnea selects this option for TENS device 100, then when the user is determined to be asleep, i.e., recumbent with low activity, the TENS device notifies the user if they are on their back for more than some set amount of time, e.g., a few minutes. This indication can be in the form of a vibration of the TENS device itself, or an alarm on their smartphone 860, for example.
Step 7: After determining the span(s) of minutes in which the user was likely to be asleep, i.e., recumbent with low activity, determine the fraction of minutes in which the user was determined to be on their back. Report this percentage to this user, e.g., with smartphone 860.
In one preferred form of the invention, TENS device 100, including its user state (i.e., leg orientation and leg motion) detector 500, its processor 515 and its controller 520, are programmed to operate in the manner shown in the flowchart of
More particularly, when TENS device 100 is secured to the upper calf 140 of the user and turned on, user state (i.e., leg orientation and leg motion) detector 500 collects data from accelerometer 152, real-time clock 505 and ambient light detector 510, as shown at step 902. In addition, on-skin detector 521 confirms that electrode array 120 of TENS device 100 is in contact with the user's skin, as shown at step 904 (and hence confirms that TENS device 100 is secured to the upper calf 140 of the user).
Processor 515 analyzes data from accelerometer 152, real-time clock 505 and ambient light detector 510, as shown at step 906.
Processor 515 determines the user's leg elevation orientation, as shown at step 908, and determines if the user is in bed by comparing elevation angle with a threshold (i.e., “Threshold4”), as shown at step 910.
If processor 515 determines that the user is in bed, processor 515 determines the user's leg activity, as shown at step 912.
The user's leg activity is compared against a threshold (i.e., “Threshold1”), as shown at step 914, and, if the user's leg activity is below that threshold, processor 515 determines that the user is in a restful sleep, as shown at step 916.
Processor 515 also compares the user's leg activity (determined at step 912) against another threshold (i.e., “Threshold2”), as shown at step 918, and, if the user's leg activity is above that threshold, processor 515 determines that the user has excessive leg movement, as shown at step 920.
In addition to the foregoing, processor 515 also determines the user's leg rotation orientation, as shown at step 922, and compares the change in the angle of the user's leg rotation against another threshold (i.e., “Threshold3”), as shown at step 924, and, if the change in the angle of the user's leg rotation is above that threshold, and if the user's leg movement exceeds a threshold (i.e., “Threshold2”) as shown at step 918, processor 515 determines that a body roll event has occurred, as shown at step 926.
Also, processor 515 looks at the user's leg rotation orientation, as determined at step 922, the accelerometer data analysis, as determined at step 906 and the user's user limb and toe-up indication, as determined at step 928, and determines the user's body position classification, as shown at step 930. Processor 515 then characterizes the user's position as “on back”, “on side (left/right)” or “on stomach”, as shown at step 932.
The information derived at steps 916, 920, 926 and 932 is then utilized by processor 515 to analyze the user's sleep session, as shown at step 934. The results of this sleep analysis (as determined at step 934) may then be displayed (as shown at step 936), used to provide feedback to the user or the user's caregiver (as shown at step 938) and/or used to direct controller 520 (as shown at step 940) to modulate the stimulation current provided by TENS device 100.
It will be appreciated that the present invention provides a transcutaneous electrical nerve stimulator with automatic monitoring of leg activities and leg orientations. Leg orientations include leg elevation and leg rotation state, and changes in leg elevation and leg rotation states. The TENS stimulator may be pre-programmed to modify its operations in response to the detected user leg activities and leg positions during bed time. In addition, leg orientation and leg activities are used to assess sleep quality and sleep position, all are important aspects to improve sleep and health. Leg activity patterns can also be used to diagnose sleep disorders such as periodic leg movement and the TENS stimulator can be used to alleviate excessive leg movement activities that are disruptive to sleep.
The present invention can also be realized without the nerve stimulation functionality. Body movement and position can be monitored and quantified using the present invention without the need of nerve stimulation. The monitoring apparatus (device) can also be placed in other body positions like upper arm of either limb.
Furthermore, it should be understood that many additional changes in the details, materials, steps and arrangements of parts, which have been herein described and illustrated in order to explain the nature of the present invention, may be made by those skilled in the art while still remaining within the principles and scopes of the invention.
This patent application: (1) is a continuation-in-part of pending prior U.S. patent application Ser. No. 14/794,588, filed Jul. 8, 2015 by NeuroMetrix, Inc. and Xuan Kong et al. for MEASURING THE “ON-SKIN” TIME OF A TRANSCUTANEOUS ELECTRICAL NERVE STIMULATOR (TENS) DEVICE IN ORDER TO MINIMIZE SKIN IRRITATION DUE TO EXCESSIVE UNINTERRUPTED WEARING OF THE SAME (Attorney's Docket No. NEURO-73), which patent application: (A) is a continuation-in-part of pending prior U.S. patent application Ser. No. 14/610,757, filed Jan. 30, 2015 by NeuroMetrix, Inc. and Shai N. Gozani et al. for APPARATUS AND METHOD FOR RELIEVING PAIN USING TRANSCUTANEOUS ELECTRICAL NERVE STIMULATION (Attorney's Docket No. NEURO-5960 CON), which patent application: (i) is a continuation of prior U.S. patent application Ser. No. 13/678,221, filed Nov. 15, 2012 by NeuroMetrix, Inc. and Shai N. Gozani et al. for APPARATUS AND METHOD FOR RELIEVING PAIN USING TRANSCUTANEOUS ELECTRICAL NERVE STIMULATION (Attorney's Docket No. NEURO-5960), which patent application claims benefit of: (a) prior U.S. Provisional Patent Application Ser. No. 61/560,029, filed Nov. 15, 2011 by Shai N. Gozani for SENSUS OPERATING MODEL (Attorney's Docket No. NEURO-59 PROV); and(b) prior U.S. Provisional Patent Application Ser. No. 61/657,382, filed Jun. 8, 2012 by Shai N. Gozani et al. for APPARATUS AND METHOD FOR RELIEVING PAIN USING TRANSCUTANEOUS ELECTRICAL NERVE STIMULATION (Attorney's Docket No. NEURO-60 PROV);(B) is a continuation-in-part of pending prior U.S. patent application Ser. No. 14/269,887, filed May 5, 2014 by NeuroMetrix, Inc. and Thomas Ferree et al. for TRANSCUTANEOUS ELECTRICAL NERVE STIMULATOR WITH USER GESTURE DETECTOR AND ELECTRODE-SKIN CONTACT DETECTOR, WITH TRANSIENT MOTION DETECTOR FOR INCREASING THE ACCURACY OF THE SAME (Attorney's Docket No. NEURO-6667), which patent application: (i) is a continuation-in-part of pending prior U.S. patent application Ser. No. 14/230,648, filed Mar. 31, 2014 by Neurometrix, Inc. and Shai Gozani et al. for DETECTING CUTANEOUS ELECTRODE PEELING USING ELECTRODE-SKIN IMPEDANCE (Attorney's Docket No. NEURO-64), which claims benefit of: (a) prior U.S. Provisional Patent Application Ser. No. 61/806,481, filed Mar. 29, 2013 by Shai Gozani for DETECTING ELECTRODE PEELING BY RELATIVE CHANGES IN SKIN-ELECTRODE IMPEDANCE (Attorney's Docket No. NEURO-64 PROV);(ii) is a continuation-in-part of pending prior U.S. patent application Ser. No. 14/253,628, filed Apr. 15, 2014 by Neurometrix, Inc. and Shai Gozani et al. for TRANSCUTANEOUS ELECTRICAL NERVE STIMULATOR WITH AUTOMATIC DETECTION OF USER SLEEP-WAKE STATE (Attorney's Docket No. NEURO-65), which claims benefit of: (a) prior U.S. Provisional Patent Application Ser. No. 61/811,864, filed Apr. 15, 2013 by Shai Gozani for TRANSCUTANEOUS ELECTRICAL NERVE STIMULATOR WITH AUTOMATIC DETECTION OF PATIENT SLEEP-WAKE STATE (Attorney's Docket No. NEURO-65 PROV);(iii) claims benefit of prior U.S. Provisional Patent Application Ser. No. 61/819,159, filed May 3, 2013 by Neurometrix, Inc. and Thomas Ferree et al. for TAP DETECTOR WITH HIGH SENSITIVITY AND SPECIFICITY FOR A WEARABLE TRANSCUTANEOUS ELECTRICAL NERVE STIMULATOR (Attorney's Docket No. NEURO-66 PROV); and(iv) claims benefit of prior U.S. Provisional Patent Application Ser. No. 61/858,150, filed Jul. 25, 2013 by Neurometrix, Inc. and Andres Aguirre et al. for MOVEMENT REGULATED TRIP CONDITIONS IN A WEARABLE TRANSCUTANEOUS ELECTRICAL NERVE STIMULATOR (Attorney's Docket No. NEURO-67 PROV);(C) claims benefit of prior U.S. Provisional Patent Application Ser. No. 62/021,807, filed Jul. 8, 2014 by Neurometrix, Inc. and Xuan Kong et al. for MEASURING TENS DEVICE ON-SKIN TIME TO PREVENT AND MINIMIZE SKIN IRRITATION (Attorney's Docket No. NEURO-73 PROV); (2) claims benefit of pending prior U.S. Provisional Patent Application Ser. No. 62/213,978, filed Sep. 3, 2015 by Neurometrix, Inc. and Thomas Ferree et al. for TRANSCUTANEOUS ELECTRICAL NERVE STIMULATOR WITH AUTOMATIC DETECTION OF LEG ORIENTATION AND ROTATION FOR ENHANCED SLEEP ANALYSIS (Attorney's Docket No. NEURO-77 PROV); and (3) claims benefit of pending prior U.S. Provisional Patent Application Ser. No. 62/101,029, filed Jan. 8, 2015 by Neurometrix, Inc. and Shai Gozani et al. for METHOD AND APPARATUS FOR USING TRANSCUTANEOUS ELECTRICAL NERVE STIMULATION TO AID SLEEP (Attorney's Docket No. NEURO-69A PROV). The fifteen (15) above-identified patent applications are hereby incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61560029 | Nov 2011 | US | |
61657382 | Jun 2012 | US | |
61806481 | Mar 2013 | US | |
61811864 | Apr 2013 | US | |
61819159 | May 2013 | US | |
61858150 | Jul 2013 | US | |
62021807 | Jul 2014 | US | |
62213978 | Sep 2015 | US | |
62101029 | Jan 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13678221 | Nov 2012 | US |
Child | 14610757 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14794588 | Jul 2015 | US |
Child | 14980041 | US | |
Parent | 14610757 | Jan 2015 | US |
Child | 14794588 | US | |
Parent | 14269887 | May 2014 | US |
Child | 14794588 | US | |
Parent | 14230648 | Mar 2014 | US |
Child | 14269887 | US | |
Parent | 14253628 | Apr 2014 | US |
Child | 14269887 | US |