SLEEP QUALITY INDICATORS
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims the benefit of U.S. Provisional Patent Application 60/590,375, filed July 21, 2004. It is a continuation-in-part of U.S. Patent Application 10/678,773, filed October 3, 2003 (published as US 2004/0230105 Al), and is also related to co-pending U.S.
Patent Application 10/677,176, filed October 2, 2003 (published as US 2004/0073098 Al).
The disclosures of all these related applications are incorporated herein by reference.
FIELD OF THE INVENTION
The present invention relates generally to physiological monitoring and diagnosis, and specifically to sleep recording and analysis.
BACKGROUND OF THE INVENTION
Human sleep is generally described as a succession of five recurring stages (plus waking, which is sometimes classified as a sixth stage). Sleep stages are typically monitored using a polysomnograph to collect physiological signals from the sleeping subject, including brain waves (EEG), eye movements (EOG), muscle activity (EMG), heartbeat (ECG), blood oxygen levels (SpO2) and respiration. The commonly-recognized stages include:
• Stage 1 sleep, or drowsiness. The eyes are closed during Stage 1 sleep, but if aroused from it, a person may feel as if he or she has not slept.
• Stage 2 is a period of light sleep, during which the body prepares to enter deep sleep. • Stages 3 and 4 are deep sleep stages, with Stage 4 being more intense than Stage 3.
• Stage 5, REM (rapid eye movement) sleep, is distinguishable from non-REM (NREM) sleep by changes in physiological states, including its characteristic rapid eye movements.
Polysomnograms show brain wave patterns in REM to be similar to Stage 1 sleep. In normal sleep, heart rate and respiration speed up and become erratic, while the muscles may twitch. Intense dreaming occurs during REM sleep, but paralysis occurs simultaneously in the major voluntary muscle groups.
Although sleep staging is most often performed by a human operator, who reads and scores the polysomnogram, there are also methods known in the art for computerized sleep staging. Penzel et al review such methods in "Computer Based Sleep Recording and Analysis," Sleep Medicine Reviews 4:2 (2000), pages 131-148, which is incorporated herein by reference.
SUMMARY OF THE INVENTION
Although sleep staging is widely accepted as the standard method for diagnosis and classification of sleep disorders, this method provides only coarse resolution and fails to exploit the wealth of information in the polysomnogram signals. The inventors have found many cases in which traditional sleep stage analysis fails to uncover underlying sleep pathologies. In response to the shortcomings of conventional methods, the inventors have developed a family of sleep quality indicators, which assist the diagnostician in recognizing sleep-related disorders.
In some embodiments of the present invention, a sleep analysis system acquires physiological signals, such as EEG signals, during sleep, and adaptively segments the signals to identify quasi-stationary segments. The system automatically analyzes each segment to determine the relative energy in each of a number of frequency bands, and thus assigns the segments to different frequency states. Typically, the states are defined for each patient by fuzzy clustering of features extracted from each segments; and each segment is assigned a degree of membership with respect to each of the states. Based on the fuzzy clustering and membership levels, the system determines and displays sleep quality indicators relating to the distribution of the segments among the clusters.
In some embodiments, the system displays the results of the analysis so that changes in the distribution of states over time, in the course of a period of sleep, can be readily visualized by a caregiver, such as a medical sleep specialist. Additionally or alternatively, the system may display characteristic patterns of transition between different states.
Further additionally or alternatively, the system may calculate the fundamental frequency of each segment, typically expressed as the moment of the EEG power spectrum.
The fundamental frequency is then displayed so as to enable the caregiver to visualize changes in the trend and standard deviation of the fundamental frequency, which are indicative of continuous changes in the patient's sleep quality.
Although the embodiments described herein relate mainly to analysis and visualization of EEG signals, the principles of the present invention may similarly be applied to polysomnogram signals of other types, such as respiration and ECG signals. There is therefore provided, in accordance with an embodiment of the present invention, a method for diagnosis, including: acquiring a physiological signal from a patient during a period of sleep;
segmenting the signal to define a time sequence of quasi-stationary segments, each of the segments having a respective frequency spectrum; computing respective levels of membership of the segments in a plurality of frequency states responsively to the respective frequency spectrum; and displaying a plot indicative of the levels of membership of the segments in the sequence over time.
In disclosed embodiments, computing the respective levels includes applying fuzzy clustering to the segments so as to define the states.
In one embodiment, displaying the plot includes displaying a density plot, in which the levels of membership are represented by color variations. In another embodiment, displaying the plot includes displaying an accumulation plot, showing cumulative levels of membership of the segments in the plurality of frequency states over the sequence. In yet another embodiment, displaying the plot includes displaying an accumulation plot showing cumulative durations of the segments in each of the plurality of frequency states. Typically, the method includes determining and comparing respective accumulation rates of the cumulative durations in at least two of the frequency states.
In some embodiments, displaying the plot includes assigning each of at least some of the segments to one of a waking state and a sleep state responsively to the frequency spectrum, and displaying an accumulation plot showing a cumulative assignment of the segments to the waking and sleep states over time.
There is also provided, in accordance with an embodiment of the present invention, a method for diagnosis, including: acquiring a physiological signal from a patient during a period of sleep; segmenting the signal to define a time sequence of quasi-stationary segments, each of the segments having a respective frequency spectrum; computing a fundamental frequency of each segment in the time sequence responsively to a moment of the respective frequency spectrum of the segment; and displaying a plot showing the fundamental frequency of the segments in the sequence over time. Displaying the plot may include showing at least one of a trend and a variance of the fundamental frequency.
There is additionally provided, in accordance with an embodiment of the present invention, a method for diagnosis, including: acquiring a physiological signal from a patient during a period of sleep; segmenting the signal to define a time sequence of quasi-stationary segments, each of the segments having a respective frequency spectrum; computing respective levels of membership of the segments in a plurality of frequency states responsively to the respective frequency spectrum; based on the respective levels of membership, determining a sleep quality indicator responsively to a statistical characteristic of the segments; and displaying the sleep quality indicator.
In disclosed embodiments, the statistical characteristic includes at least one of: a cumulative duration of the segments associated with each of the frequency clusters; a relative duration of the segments associated with each of the frequency clusters; a mean duration of the segments associated with each of the frequency clusters; a variance of a duration of the segments associated with each of the frequency clusters; a total number of the segments associated with each of the frequency clusters; and a relative duration of the segments associated with each of the frequency clusters.
In some embodiments, the method includes assigning the segments to predefined sleep stages responsively to the frequency spectrum, and determining the sleep quality indicator includes computing the statistical characteristic with respect to each of the sleep stages.
In one embodiment, displaying the sleep quality indicator includes displaying a plot indicative of the levels of membership of the segments in the sequence over time. In another embodiment, displaying the sleep quality indicator includes displaying a plot showing a fundamental frequency of the segments in the sequence over time. In yet another embodiment, computing the respective levels of membership includes assigning the segments in the time sequence to respective frequency states, and determining the sleep quality indicator includes computing probabilities of transition among the frequency states.
In some embodiments, the physiological signal includes an electroencephalogram (EEG) signal. Optionally, the method includes identifying transient phenomena in the EEG signal, and computing an index quantifying a frequency of occurrence of the transient phenomena. The transient phenomena may include one or more of K-complexes and spindles.
Additionally or alternatively, the physiological signal may include a respiration signal. hi one embodiment, the method includes identifying respiratory events occurring during the period of sleep, and computing statistical characteristics of the respiratory events. Typically, computing the statistical characteristics includes computing and displaying a respiratory event histogram.
In another embodiment, the method includes measuring a heart rate of the patient, and computing the statistical characteristics includes computing a relative heart rate index indicative of changes in the heart rate associated with the respiratory events.
In yet another embodiment, computing the statistical characteristics includes assigning respective confidence levels to the respiratory events, and displaying the confidence levels as a function of respiration state.
There is further provided, in accordance with an embodiment of the present invention, a method for diagnosis, including: acquiring a physiological signal from a patient during a period of sleep; segmenting the signal to define a time sequence of quasi-stationary segments, each of the segments having a respective frequency spectrum; computing respective levels of membership of the segments in a plurality of frequency states responsively to the respective frequency spectrum; responsively to the respective levels of membership, assigning each of at least some of the segments to one of a waking state and a sleep state responsively to the frequency spectrum; and displaying an accumulation plot showing a cumulative assignment of the segments to the waking and sleep states over time.
The method may include determining and comparing respective accumulation rates of the waking and sleep states.
There is moreover provided, in accordance with an embodiment of the present invention, diagnostic apparatus, including a sensor, which is adapted to acquire a physiological signal from a patient during a period of sleep, and a diagnostic processor, which is adapted to carry out the functions described above. In some embodiments, the sensor includes at least one electrode, and the physiological signal includes an electroencephalogram (EEG) signal. Additionally or alternatively, the sensor may include a respiration sensor and/or a heart rate sensor.
There is furthermore provided, in accordance with an embodiment of the present invention, a computer software product, including a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to carry out the functions described above. The present invention will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:
BRIEF DESCRIPTION OF THE DRAWINGS
Fig. 1 is a schematic, pictorial illustration of a system for polysomnography, in accordance with an embodiment of the present invention; Fig. 2 is a flow chart that schematically illustrates a method for determining sleep quality parameters, in accordance with an embodiment of the present invention;
Fig. 3 is a three-dimensional plot showing clusters of EEG frequency states, in accordance with an embodiment of the present invention;
Fig. 4A is a hypnogram, showing classification of sleep stages of a patient over time, in accordance with an embodiment of the present invention;
Fig. 4B is a density plot showing a distribution of frequency cluster membership of successive segments of an EEG signal as a function of time for the patient of Fig. 4A, in accordance with an embodiment of the present invention;
Fig. 5 A is a hypnogram, showing classification of sleep stages of another patient over time, in accordance with an embodiment of the present invention;
Fig. 5B is a density plot showing a distribution of frequency cluster membership of successive segments of an EEG signal as a function of time for the patient of Fig. 5A, in accordance with an embodiment of the present invention;
Figs. 6A and 6B are plots showing variations in the fundamental frequency of EEG signals over time, in accordance with an embodiment of the present invention;
Fig. 7 is a frequency state accumulation plot, showing cumulative frequency state durations of successive segments of an EEG signal over time, in accordance with an embodiment of the present invention;
Fig. 8 is a sleep/wake state accumulation plot, showing cumulative durations of sleep and wake states of a patient over time, in accordance with an embodiment of the present invention; and
Fig. 9 is a transition matrix showing probabilities of transitions among frequency states in successive segments of an EEG signal, in accordance with an embodiment of the present invention.
DETAILED DESCRIPTION OF EMBODIMENTS Fig. 1 is a schematic, pictorial illustration of a system 20 for sleep monitoring and diagnosis, in accordance with an embodiment of the present invention. In this embodiment, system 20 is used to monitor a patient 22 in a home or hospital ward environment, although the principles of the present invention may similarly be applied in dedicated sleep laboratories. System 20 receives and analyzes physiological signals generated by the patient's body, including an EEG signal measured by scalp electrodes 23, an ECG signal measured by skin electrodes 24, and a respiration signal measured by a respiration sensor 26. (As shown in the figure, respiration sensor 26 makes electrical measurements of thoracic and abdominal movement. Additionally or alternatively, air flow measurement may be used for respiration sensing.) Alternatively, only a subset of the above electrodes and sensors may be used, and/or other sensors may be added, such as an EMG or SpO2 sensor, as are known in the art.
The signals from electrodes 23, 24 and sensor 26 are collected, amplified and digitized by a console 28. Console 28 may process and analyze the signals locally, using the methods described hereinbelow. Alternatively or additionally, console 28 may be coupled to communicate over a network 30, such as a telephone network or the Internet, with a diagnostic processor 32. This configuration permits sleep studies to be performed simultaneously in multiple different locations. Processor 32 typically comprises a general-purpose computer with suitable software for carrying out the functions described herein. This software may be downloaded to processor 32 in electronic form, or it may alternatively be provided on tangible media, such as optical, magnetic or non- volatile electronic memory. Processor 32 analyzes the signals conveyed by console 28 in order to identify sleep states of patient 22 and to extract sleep quality indicators. The results of the analysis are presented to an operator 34, such as a physician, on an output device 36, such as a display or printer.
Fig. 2 is a flow chart that schematically illustrates a method for determining sleep quality parameters, in accordance with an embodiment of the present invention. The method and examples of sleep quality indicators given below relate mainly to processing of EEG signals. The principles of this method and the types of indicators derived therefrom, however, may similarly be applied to other sorts of signals, such as respiration and ECG signals.
Processor 32 acquires an EEG signal from patient 22, at a signal acquisition step 40. Typically, for sleep studies, the signal is acquired over the course of at least several hours. The processor then adaptively segments the signal into quasi-stationary segments, at a segmentation step 42. Adaptive segmentation is described at length in the above-mentioned U.S. patent applications. Briefly, processor 32 advances a sliding window, of variable size, through the EEG signal and evaluates statistical features of the signal within the window. The statistical features typically include aspects of the frequency spectrum of each segment, which are determined by methods of spectral analysis known in the art. The processor optimizes the window boundaries so as to envelope a segment that is statistically stationary to within a predefined bound. In consequence, the EEG signal is divided into a time sequence of quasi- stationary segments of varying length, separated by shorter transient periods. This sort of adaptive segmentation is advantageous in that the segments that are chosen represent actual physiological states of the patient, as opposed to the arbitrary 30-second epochs that are used in conventional sleep scoring. EEG signals normally comprise five major types of waves: (1) δ -wave (1.0-3.5 Hz),
(2) 3 -wave (4.0-7.0 Hz), (3) α-wave (7.5-12 Hz), (4) σ -wave (12-15 Hz); and (5) β -wave (15-35 Hz). Each quasi-stationary segment typically comprises one dominant wave and possibly other frequency components superimposed on the dominant wave. The frequency composition of the different types of segments determined at step 42 typically varies from patient to patient. Therefore, in order to classify the segments for each individual patient, processor 32 applies a fuzzy clustering algorithm to divide the segments into clusters, at a clustering step 44. Each cluster has a characteristic distribution of features, such as frequency components and overall segment energy. Methods of fuzzy clustering are likewise described in the above-mentioned patent applications. Fig. 3 is a three-dimensional plot showing clustering of EEG frequency states, in accordance with an embodiment of the present invention. In this figure, the dots represent individual segments of an EEG signal, plotted on three axes corresponding to the following segment features: 1) Relative energy in the delta frequency band; 2) Relative energy in the alpha, sigma and beta frequency bands; and 3) Total segment energy, normalized to a scale of 0-100. Details of the features and clustering scheme are presented below in Appendix A. The inventors have found that this set of features provides useful differentiation between sleep
states, but other sets of features, in two, three, or more dimensions may similarly be used for clustering purposes.
In the representation of Fig. 3, four clusters of segments can be identified: a high- frequency (HF) cluster 60, a low-energy mixed-frequency cluster 62 (MFl), a high-energy mixed frequency cluster 64 (MF2), and a low-frequency cluster 66 (LF). These clusters have been found to correlate respectively with deep sleep (stages 3 and 4), moderate sleep (stage 2), light sleep (stage 1/REM), and wakefulness. Alternatively, other clustering models may be used, particularly in conjunction with other feature axes. In any case, the bounds of each cluster are determined adaptively for each patient at step 44. Returning now to Fig. 2, for each of the segments found at step 42, processor 32 computes membership levels with respect to each of the frequency states, at a membership computation step 46. In other words, rather than just assigning each segment to a respective cluster, the processor determines the similarity of each segment to each of the clusters found at step 44. The membership level of a given segment n having a feature vector Xn may be computed relative to the center vectors μ^ of the different clusters. The membership level
wjc (x) of the segment in the k cluster is then calculated as follows:
∑ D(xn,μk) A=I
wherein K is the number of clusters and D is a scalar function of distance between Xn and μ# .
For example, D can be an Euclidian distance, given by Z)(xn,μ^) = (xn -μ^) (xn -μ&) > wherein H denotes the conjugate transpose operator. Alternatively, other methods known in the art may be used for computing cluster membership. The membership levels may be advantageously displayed as a function of time, as illustrated below in Fig. 4B. The membership values determined at step 46 may be used by processor 32 in automatically assigning each 30-sec epoch during the monitoring period to one of the accepted sleep stages, at a sleep staging step 48. For example, the following scheme may be used,
combining the states of the segments in the EEG signal with additional information from EMG and EOG signals:
1) Stage wake - Epochs more than 50% of whose duration are occupied by high-frequency EEG and/or body movements and/or eye blinks are classified as stage wake. Epochs that are not classified as stage wake are classified as sleep.
2) Sleep stages 2-4 - Epochs classified as sleep, in which:
• Predominant high-energy mixed-frequency activity is present, or • 1% of the epoch duration is occupied by K-complex activity (low-frequency transients), or
• More than 15% of the epoch duration is occupied by low-frequency activity.
a) Sleep stage 2 - Epochs classified at step (2) as stages 2-4, less than 15% of whose duration is occupied by low-frequency activity.
b) Stage 3 - Epochs classified as stages 2-4, 15-45% of whose duration is occupied by low-frequency activity.
c) Stage 4 - Epochs classified as stages 2-4, more than 45% of whose duration is occupied by low-frequency activity.
3) Sleep stage 1+REM - Epochs classified as sleep, which have predominant low-energy mixed-frequency activity.
a) REM - Epochs classified as sleep stage 1+REM in which rapid eye movements or low-energy EMG is detected.
b) Sleep stage 1 - Epochs classified as sleep stage 1+REM and not classified as stage REM, or epochs classified as sleep and not classified as any other sleep stage.
Alternatively or additionally, sleep stages may be determined using cardiovascular, respiratory or other physiological indicators. For example, a method for sleep staging based on cardio-respiratory signals is described in U.S. Patent Application 10/995,817, filed November 22, 2004, whose disclosure is incorporated herein by reference. In addition to or instead of standard sleep staging at step 48, processor 32 typically computes sleep quality indicators, at a sleep quality assessment step 50. For example, for each of clusters 60, 62, 64 and 66 (referred to respectively as HF, MFl, MF2 and LF states), the processor may compute the following sleep quality parameters:
• Total (cumulative) duration (sec) of segments belonging to the state. • Relative total duration (%) of segments belonging to the state, compared to the total time monitored.
• Mean duration (sec) of segments belonging to the state.
• Standard deviation (variance) of duration of segments belonging to the state.
• Total number of segments belonging to the state. • Relative total number (%) of segments belonging to the state compared to the total number of segments.
The sleep quality parameters may be computed over all the quasi-stationary segments identified at step 42, or alternatively over a selected sequence of the segments.
Furthermore, processor 32 may combine the segmentation data with the sleep staging performed at step 48 in order to compute the above parameters separately for each identified sleep stage or group of sleep stages. For example, the relative duration of the HF state in REM may be calculated as follows:
Duration of HF in REM , .. x 100
Total REM duration
As another example, the relative number of HF segments in REM may be calculated as follows:
Number of HF segments in REM
" X l UU
Total number of segments in REM
References is now made to Figs. 4A and 4B, which show processed results of EEG measurements made in system 20, in accordance with an embodiment of the present invention. Fig. 4A is a hypnogram, showing sleep stages of the patient over time, as derived from the polysomnogram signals at step 48. Fig. 4B is a density plot showing the distribution of membership of the sequence of EEG segments in each of the four states defined above (HF, MFl, MF2 and LF).
The term "density plot" is used herein to denote a plot in which the color at a given point is indicative of the relative value of a parameter referred to the Cartesian coordinates of the point. In other words, as can be seen in Fig. 4B, for each point in time along the horizontal axis (corresponding to the segment of the EEG signal occurring at that time), four density values are arrayed vertically, corresponding to the degree of membership of the segment in each of clusters HF, MFl, MF2 and LF, which are arrayed along the vertical axis. A density scale 70 at the bottom of the figure shows the correspondence between colors and normalized membership values. ("Color" in this context includes shades of gray.) Although the display shown in Fig. 4B uses gray-scale density values, different colors may equivalently be used to represent the membership values. Thus, the degree of membership at each point in the plot may be equivalently represented by a scale of varying hue, intensity or saturation, or a combination of these factors. All such alternative types of density plots are considered to be within the scope of the present invention. It can be seen in Fig. 4B that the density plot correlates with the sleep stages shown in
Fig. 4A, but contains much richer information about the EEG activity occurring at many points during the sleep period. The inventors have found that the information contained in the density plot (which is lost in the discrete hypnogram) permits the caregiver to recognize abnormal sleep patterns that would otherwise go unnoticed. For example, in one clinical study, the inventors identified a group of patients whose hypnograms appeared to be normal, but who showed relatively high levels of HF membership during sleep. This result is indicative of sleep fragmentation, i.e., poor sleep quality in this group.
Figs. 5A and 5B, respectively, show a hypnogram and a density plot for another patient, who was known to suffer from a sleep disorder. During the monitoring period, a sleeping drug was administered to the patient, in an attempt to induce deep sleep. In the hypnogram, it appears that drug was ineffective, since the patient's sleep stage never drops
below stage 2. In the density plot in Fig. 5B, however, a period of low-frequency activity at around 1 AM demonstrates the short-term efficacy of the drug.
Fig. 6A is a plot showing variations in the fundamental frequency of an EEG signal over time, in accordance with an embodiment of the present invention. This plot was derived from the EEG signal of the patient whose hypnogram and density plot are shown in Figs. 4A and 4B. The fundamental frequency is determined for each segment by taking the moment of the frequency spectrum of the segment, as shown in Appendix A. The solid line in the figure shows the fundamental frequency value, while the dotted marks above the solid line show the variance. A line at 4 Hz shows the approximate boundary between deep sleep and other sleep stages.
As in the case of the density plot shown above, the fundamental frequency correlates well with the hypnogram sleep stages, but provides richer information that is lost in the discrete hypnogram. This information may be further brought out, for example, by displaying a trend line and a range of standard deviation of the fundamental frequency over time (omitted from Fig. 6 A for the sake of simplicity). It will be observed in Fig. 6 A, for instance, that at some points changes in frequency are precipitous, while other changes are more gradual. These variations in slope, which are lost for the most part in the hypnogram, can be useful in assessment of clinical factors such as drug effects. The fundamental frequency plot also permits the caregiver to observe local variability, even when the frequency trend (and hence the sleep stage) is flat. In this regard, note the difference between the smooth fundamental frequency plot in the neighborhood of 1 AM and the highly- variable plot at around 2 AM.
Like other sleep quality indicators, the fundamental frequency may be correlated with the patient's sleep stages. For example, processor 32 may calculate the average fundamental frequency, and possibly the variance of the fundamental frequency, over each of the sleep stages identified at step 48.
Fig. 6B is a plot of fundamental frequency taken from the EEG signal of the patient whose hypnogram and density plot are shown in Figs. 5A and 5B. For patients with sleep disorders, the fundamental frequency drops below the 4 Hz threshold only occasionally, if at all. In the case shown in Fig. 6B, the effect of sleeping drug administration can be seen in the period of deep sleep at about 1 AM following administration of the drug, despite the negative hypnogram findings. The precipitous frequency drop at 1 AM is followed by shallower, more
gradual drops thereafter, reflecting the cyclical interaction of the drug with the sleep states of the brain.
Fig. 7 is a frequency state accumulation plot, showing cumulative duration of successive segments of an EEG signal over time, in accordance with an embodiment of the present invention. Curves 80, 82, 84 and 86 respectively show the cumulative durations of HF, MF2, MFl and LF sleep states, as a fraction of the total sleep period. The accumulation function Ac(t,s) for state s at time t is given by:
wherein D denotes the duration in seconds, and T is the total duration of all EEG segments. In other words, for each successive segment, the duration of the segment is added to the cumulative duration of the state to which the segment belongs, while the cumulative durations of the other states remains unchanged. Alternatively or additionally, cumulative membership values may be computed and displayed by integrating the above-mentioned membership function wi? over successive segments. Parameters that can be extracted in this manner include:
1. Total membership index up to segment N:
1 N Ir T(k) = ± ∑ v£ ; k = l,...,K n=\
2. Cumulative membership index of segment N:
The accumulation rate of each frequency state can be modeled by fitting an exponential function g(t) = 1 - €~^ to the accumulation function, using least squares fitting, for example. The estimated accumulation rate μ for each curve is shown in the figure.
Changing trends in the state accumulation plot are indicative of changes and/or fragmentation of sleep states. For example, a knee 88 in HF curve 80 marks the point of transition from wakeful to sleeping states (occurring in this case about one hour after the beginning of the trial). The accumulation rate of HF states is markedly lower following the wake/sleep transition in normal patients, as can be seen in Fig. 7. By contrast, patients who suffer from sleep disorders exhibit higher values of HF accumulation during periods of sleep. The inventors have also observed that in some patients whose hypnograms appear to be normal, fragmented sleep can still be detected on the basis of an elevated HF accumulation rate. Fig. 8 is a sleep/wake accumulation plot, showing cumulative durations of sleep and wake states of a patient over time, in accordance with an embodiment of the present invention. In this plot, curves 90 and 92 show the fractional durations of wake and sleep states, respectively. For this purpose, each EEG segment may be classified as sleep- or wake-related, according to the following criteria: • Wake-related - HF and noisy EEG segments.
• Sleep related - MF 1 , MF2 and LF segments.
This plot provides information similar to the frequency state accumulation plot of Fig. 7, but in a more condensed form. Accumulation rates of the sleep and wake states are computed in a manner similar to that described above. Changing trends in the sleep/wake accumulation plot may indicate changes and/or fragmentation of sleep.
Fig. 9 is a transition matrix showing probabilities of transitions among frequency states in successive segments of an EEG signal, in accordance with an embodiment of the present invention. Such a matrix can be calculated over the entire recording time for a given patient or for certain portions of the recording, for example, during a selected sleep stage. To calculate the transition values, processor 32 counts changes or persistence of the sleep state from second to second, hi other words, if the duration of an HF segment is 10 sec, followed by transition to MFl, the processor will count ten transitions from the HF state to itself and then one HF:MF1 transition. (As a result, it can be seen that the values on the diagonal of the transition matrix are much larger than the off-diagonal values.) The transition probability P(iJ) from state i to state/ is then calculated as follows:
N
P(U) = ι;,J
∑tf/w
J
wherein Nj j is the number of transitions from state i to state/.
The transition matrix shows a pattern of frequency state dynamics during sleep, which can be used as a measure of sleep quality. For example, the inventors found that in a group of patients suffering from fragmented sleep (who nonetheless presented apparently normal hypnograms), the transition probability from state MF2 to LF state was substantially lower than in normal patients. This result reflects a deficiency in low-frequency (LF) activity that characterizes fragmented sleep. Various other sleep quality indicators may be derived from the EEG signal and calculated over the entire sleep period or for selected sleep stages. For example, the sleep quality indicators may relate to transient phenomena in the EEG, such as K-complexes and/or spindles. A K-complex index, which quantifies the frequency of K-complex episodes during sleep, may be calculated as follows:
Number of K-complexes in stage s Total duration of stage s
A spindle index, quantifying the frequency of EEG spindles during sleep, may be calculated in like fashion. (K-complexes and spindles are well-known phenomena in EEG. Techniques for automatic identification and monitoring of these phenomena are described in the above- mentioned related patent applications.)
Although the embodiments described above relate mainly to analysis of EEG signals, the principles of these embodiments may similarly be applied to other physiological indicators. For example, a snoring index (based on identification of snoring episodes by audio analysis) may be used to indicate the number or duration of snores during one or more sleep stages.
As another example, a transition matrix of the type shown in Fig. 9 may be computed for other indicators, such as pathological respiration states. The above-mentioned related applications describe methods for automatic classification of respiration states based on respiration measurements during sleep. According to one scheme, these pathological
respiration states include central breathing, obstructive breathing, mixed breathing, hypopnea and RERA (respiratory effort related arousal). A suitable transition matrix may be constructed to show transition patterns between the respiration states.
Furthermore, processor 32 may generate respiratory event histograms to describe the distribution of the duration of respiratory events during different sleep stages. (Methods for identifying respiratory events are likewise described in the above-mentioned related applications.) Additionally or alternatively, respiratory event histograms may be presented as a function of body position, time of night, or pressure titration levels of a respiratory assist device. The processor may also assign a confidence level to each suspected respiratory event (for example, from 0 for non-events to 1 for events that are certain), and the confidence levels may be displayed as a function of respiration state in a density plot similar to that shown in Fig. 4B.
Respiratory events are typically accompanied by a drop in heart rate (bradycardia), followed by heart rate elevation (tachycardia). Processor 32 may calculate sleep quality indicators based on these phenomena. For example, a relative heart rate index RHR, indicating the change (drop and/or elevation) of the heart rate associated with respiratory events, may be calculated as follows:
Mi - ^-∞' -lOO, BHR
Here HR(t) is the HR in the time interval of interest, and BHR is the baseline heart rate.
It will be appreciated that the embodiments described above are cited by way of example, and that the present invention is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present invention includes both combinations and subcombinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art.
APPENDIX A: CALCULATION OF FEATURES AND CLASSIFICATION OF
FREQUENCY GROUPS 1. Definition of features
• f\ = δ : Relative energy in delta frequency band (0.5-4 Hz).
• fl ~ θ '■ Relative energy in theta band (4-7 Hz).
• f2 = a + σ + β : Relative energy in alpha (7-12 Hz), sigma (12-15 Hz) and beta
(15-30 Hz) bands.
• fy = Ff : Fundamental frequency.
• fs — P2P '• Pea^ t0 Pea^ amplitude.
• fβ = Var : Normalized variance (energy) normalized to a scale of 0-100.
Example: calculation of relative energy in a given band.
If Sxx(f) denotes the estimated power spectrum of an EEG segment, then
/2
f
\ E]
j{f\,f2) = — 100 is the relative energy in the frequency band that is bounded by
J Sxx(D
-OO frequencies β. and /2.
Example: calculation of normalized variance of relative energy.
Let V(xj
ζ ) denote the energy variance of the samples within the
EEG segment
(denoted x&). The normalized variance is then V(xj
r ) 0O
3 wherein K is the
k=l total number of segments.
Example: calculation of fundamental frequency.
The fundamental frequency of an EEG segment is the moment of the frequency spectrum, calculated as follows: oo
—oo
2. Initial Classification using fuzzy clustering
The EEG segments are classified into the following classes in the feature space defined by f± , f2 and f$ :
• Cl - high frequency. • C2 - mixed frequency.
• C3 — Low frequency.
The segments may be classified according to the criterion: C(xn) = argmax I wn , wherein xn k \ ' is the feature vector of segment n, and Wn is the membership level of the segment in cluster k. Li this case k = 1,2,3 .
3. Unification: C2 <- C2 U C3
4. Partitioning of C^ by fundamental frequency:
• U,n > 5 Hz e C2 • /45n ≤ 5 Hz e C3
(Here fy n is the fundamental frequency of segment n.)
5. Partitioning of C3 using fuzzy clustering in the feature space defined by /4 and
/5 - Features corresponding to the maximal centroid of /5 are returned to C2 in two
subclasses. Feature vectors classified in the subclass characterized by minimal /5 value of the
centroid are returned to C2.
6. Definition of validation rules
. Rλ = a + σ + β > ^
1 θ + δ
_ a + σ + β
• Rj = C- > 0.7
7. Implementation of rules
1. Vx^ e C3 iϊ~Rχn xn ≡ C2 2. Vx^ e C\ if~R\ n xn e C2
3. Vx^ if R2tn X^ e C1
8. Partitioning of C2 using hierarchical fuzzy clustering in the feature space defined by fβ into C2 and C4. Hierarchical fuzzy clustering partitions the feature space in a recursive manner. Each level of recursion generates a new hierarchy level, in which a portion of the feature space attributed to one selected cluster is subdivided into M groups. In the present case, at each hierarchy level, the cluster with minimal centroid value is partitioned into two new clusters until the diversity level between clusters at the same hierarchy level drops below a predetermined threshold. The diversity level D is given by:
_ maximal centroid value minimal centroid value
In one embodiment, the threshold on D is 2, i.e., when D < 2 the recursion stops.
The feature vectors attributed to the cluster with minimal centroid value are assigned to C4, while the rest of the feature vectors are assigned to C2. C4 corresponds to MFl, while
C2 corresponds to MF2.