NON-CONTACT DIAGNOSIS AND MONITORING OF SLEEP DISORDERS

20180353138 ยท 2018-12-13

Assignee

Inventors

Cpc classification

International classification

Abstract

A sensor may be configured to detect periodic limb movement in a sleeping person. The sensor may be a non-contact sensor, such as a radar motion sensor. The sensor may include a radio frequency transmitter for emitting radio frequency signals toward the person. The sensor may include a receiver for receiving reflected ones of the emitted radio frequency signals and processing the reflected ones of the emitted radio frequency signals to produce motion signal(s). A processor, such as one integrated with or coupled to the sensor, may evaluate the motion signals, such as in-phase and quadrature motion signals, and generate an indicator to identify occurrence of periodic limb movement in the motion signals based on the evaluation of the motion signals.

Claims

1. A radio frequency motion sensing apparatus for detection of periodic limb movement in a sleeping person, the apparatus comprising: a radio frequency transmitter configured to emit radio frequency signals; a receiver configured to: receive reflected ones of the emitted radio frequency signals, and process the received reflected ones of the emitted radio frequency signals to produce motion signals; and a processor configured to: evaluate the motion signals; and generate an indicator to identify occurrence of periodic limb movement in the motion signals based on the evaluation of the motion signals.

2. The apparatus of claim 1 wherein the receiver is configured to mix the received radio frequency signals with the emitted signals to produce the motion signals.

3. The apparatus of any one of claims 1 to 2 wherein the processor is configured to measure a phase difference between the received radio frequency signals and the emitted signals.

4. The apparatus of any one of claims 1 to 3 wherein the motion signals comprise in-phase and quadrature motion signals.

5. The apparatus of any one of claims 1 to 4 wherein the emitted radio frequency signals comprise pulsed radio frequency oscillating signals.

6. The apparatus of any one of claims 1 to 5 wherein the evaluation comprises comparing the motion signals to a noise threshold.

7. The apparatus of claim 4 wherein portions of the in-phase and quadrature motion signals are compared to a noise threshold.

8. The apparatus of any one of claims 6 to 7 further comprising updating an action counter based on the comparing.

9. The apparatus of claim 8 further comprising increasing the action counter when a portion of the motion signal is greater than the noise threshold.

10. The apparatus of any one of claims 8 to 9 further comprising decreasing the action counter when a portion of the motion signal is less than the noise threshold.

11. The apparatus of any one of claims 6 to 10 wherein the noise threshold is defined as a frequency range in-band power of noise of the motion signal.

12. The apparatus of claim 11 wherein the frequency range comprises a range of four Hertz to eight Hertz.

13. The apparatus of any one of claims 6 to 12 further comprising updating the noise threshold based on determined average noise of the motion signals.

14. The apparatus of any one of claims 1 to 13 wherein the processor is configured to detect a movement incident based on a comparison of a determined action count and a count threshold.

15. The apparatus of claim 14 wherein the processor is configured to determine a velocity of the movement incident.

16. The apparatus of claim 15 wherein the processor determines the velocity based on a difference between the phase of the motion signals at adjacent samples.

17. The apparatus of claim 16 wherein the processor determines displacement based on the determined velocity.

18. The apparatus of claim 17 wherein the processor determines mean displacement from absolute values of determined velocities.

19. The apparatus of any one of claims 14 to 18 wherein the processor characterizes the movement incident based on a determined mean displacement of the movement incident.

20. The apparatus of claim 19 wherein the processor generates a mapped activity value from the mean displacement.

21. The apparatus of any one of claims 1 to 20 wherein the evaluation comprises calculating and assessing a plurality of features derived from the motion signals.

22. The apparatus of claim 21 wherein the plurality of features comprises at least one of the following: a duration of a movement incident; a total activity of a detected movement incident; a mapped total activity of a detected movement incident; a cross-correlation of in-phase and quadrature motion signals of the motion signals during a detected movement incident; and a mean of a four quadrant inverse tangent function of real parts of in-phase and quadrature motion signals of the motion signals during a detected movement incident.

23. The apparatus of any one of claims 21 to 22 wherein the assessing comprises logistic regression and the indicator comprises a probability value representing a likelihood of periodic limb movement during sleep.

24. The apparatus of any one of claims 1 to 23, wherein to evaluate the motion signals, the processor is configured to: partition the motion signals into breath sections; classify each breath section of the motion signals as containing a limb movement or not containing a limb movement; and generate the indicator based on the classified breath sections.

25. The apparatus of claim 24, wherein the processor is further configured to pre-process the motion signals before the partitioning to de-trend and smooth the motion signals.

26. The apparatus of any of claims 24 to 25, wherein the processor is further configured to combine the motion signals to form a combined signal.

27. The apparatus of claim 26, wherein the processor is configured to perform principal component analysis to combine the motion signals.

28. The apparatus of any of claims 26 to 27, wherein the processor is further configured to discard periods of absence from the combined signal before the partitioning.

29. The apparatus of any one of claims 26 to 28, wherein the processor is configured to detect zero-crossings of the combined signal to perform the partitioning.

30. The apparatus of any one of claims 24 to 29, wherein the processor is configured to extract a waveform length feature from each breath section to perform the classifying.

31. The apparatus of any one of claims 24 to 30, wherein to generate the indicator, the processor is configured to score the breath sections containing limb movements as part of a periodic limb movement (PLM) series according to scoring criteria.

32. The apparatus of claim 31, wherein to generate the indicator, the processor is configured to count limb movements forming part of a PLM series from a night's sleep session.

33. A method for detecting periodic limb movement by a sleeping person comprising: emitting, by a radio frequency transmitter, radio frequency signals toward the person; receiving, by a receiver, reflected ones of the emitted radio frequency signals, processing, by the receiver, the reflected ones of the emitted radio frequency signals to produce motion signals; and evaluating, by a processor, the motion signals and generating an indicator to identify occurrence of periodic limb movement present in the motion signals based on the evaluation of the motion signals.

34. The method of claim 33 wherein the received radio frequency signals are mixed with emitted signals to produce the motion signals.

35. The method of any one of claims 33 to 34 wherein the processor measures a phase difference between the received radio frequency signals and the emitted signals.

36. The method of any one of claims 33 to 35 wherein the motion signals comprise in-phase and quadrature motion signals.

37. The method of any one of claims 33 to 36 wherein the emitted radio frequency signals comprise pulsed radio frequency oscillating signals.

38. The method of any one of claims 33 to 37 wherein the evaluating comprises comparing the motion signals to a noise threshold.

39. The method of claim 36 wherein portions of the in-phase and quadrature motion signals are compared to a noise threshold.

40. The method of any one of claims 38 to 39 further comprising updating an action counter based on the comparing.

41. The method of claim 40 further comprising increasing the action counter when a portion of the motion signal is greater than the noise threshold.

42. The method of any one of claims 40 to 41 further comprising decreasing the action counter when a portion of the motion signal is less than the noise threshold.

43. The method of any one of claims 38 to 42 wherein the noise threshold is defined as a frequency range in-band power of noise of the motion signal.

44. The method of claim 43 wherein the frequency range comprises a range of four Hertz to eight Hertz.

45. The method of any one of claims 38 to 44 further comprising adjusting the noise threshold based on determined average noise of the motion signals.

46. The method of any one of claims 33 to 45 wherein the processor is configured to detect a movement incident based on a comparison of a determined action count and a count threshold.

47. The method of claim 46 wherein the processor is configured to determine a velocity of the movement incident.

48. The method of claim 47 wherein the processor determines the velocity with a difference between the phase of the motion signals at adjacent samples.

49. The method of claim 48 wherein the processor determines displacement based on the determined velocity.

50. The method of claim 49 wherein the processor determines mean displacement with absolute values of determined velocities.

51. The method of any one of claims 46 to 50 wherein the processor characterizes the movement incident based on a determined mean displacement.

52. The method of claim 51 wherein the processor compares the determined mean displacement to a threshold and generates a mapped activity value with the mean displacement.

53. The method of any one of claims 33 to 52 wherein the evaluation comprises calculating and assessing a plurality of features derived from the motion signals.

54. The method of claim 53 wherein the plurality of features comprises at least one of the following: a duration of a movement incident; a total activity count of a detected movement incident; a mapped total activity of a detected movement incident; a cross-correlation of in-phase and quadrature motion signals of the motion signals during a detected movement incident; and a mean of a four quadrant inverse tangent function of real parts of in-phase and quadrature motion signals of the motion signals during a detected movement incident.

55. The method of any one of claims 53 to 54 wherein the assessing comprises logistic regression and the indicator comprises a probability value representing a likelihood of periodic limb movement during sleep.

56. The method of any one of claims 33 to 37, wherein the evaluating comprises: partitioning the motion signals into breath sections; classifying each breath section of the motion signals as containing a limb movement or not containing a limb movement; and generating the indicator based on the classified breath sections.

57. The method of claim 56, further comprising pre-processing the motion signals before the partitioning to de-trend and smooth the motion signals.

58. The method of any of claims 56 to 57, further comprising combining the motion signals to form a combined signal.

59. The method of claim 58, wherein the combining the motion signals comprises principal component analysis.

60. The method of any of claims 58 to 59, further comprising discarding periods of absence from the combined signal before the partitioning.

61. The method of any one of claims 58 to 60, wherein the partitioning comprises detecting zero-crossings of the combined signal.

62. The method of any one of claims 56 to 61, wherein the classifying comprises extracting a waveform length feature from each breath section.

63. The method of any one of claims 56 to 62, wherein generating the indicator comprises scoring the breath sections containing limb movements as part of a periodic limb movement (PLM) series according to scoring criteria.

64. The method of claim 63, wherein generating the indicator comprises counting limb movements forming part of a PLM series from a night's sleep session.

65. A periodic limb movement detection system comprising: means for emitting radio frequency signals; means for receiving reflected ones of the emitted radio frequency signals; means for processing the received radio frequency signals to produce motion signals; means for evaluating the motion signals; and means for generating an indicator to identify occurrence of periodic limb movement in the motion signals based on the evaluation of the motion signals.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Further example embodiments of the technology will now be described with reference to the accompanying drawings, in which:

[0041] FIG. 1 is an illustration of an example PLM detection apparatus suitable for implementation with a radio frequency physiology sensor according to the present technology;

[0042] FIG. 2 is a diagram illustrating a conceptual structure and process flow for evaluation of sensor signals suitable for some embodiments of the present technology;

[0043] FIG. 3 is a block diagram of example processing for a sensor apparatus in some versions of the present technology;

[0044] FIG. 4 is an example of an overall process flow for evaluation and processing of motion signals suitable for some embodiments of the present technology;

[0045] FIG. 5 is an example process flow for evaluation and processing of motion signals to determine movement suitable for some embodiments of the present technology;

[0046] FIG. 6 is an example process flow for evaluation and updating of a noise floor suitable for the process flow of FIG. 5;

[0047] FIG. 7 is an example process flow for evaluation of motion signals to determine activity and mapped activity suitable for the process flow of FIG. 5;

[0048] FIG. 8 is an example process flow diagram illustrating a training process for movement classification in accordance with versions of the present technology;

[0049] FIG. 9 is a flow chart illustrating a method that may be used to detect PLMs according to an alternative form of the present technology;

[0050] FIG. 10 is a flow chart illustrating a method that may be used to implement the pre-processing step of the method of FIG. 9;

[0051] FIG. 11A illustrates the magnitude frequency response of a filter that may be applied at the filtering step of the method of FIG. 10;

[0052] FIG. 11B shows the result of filtering example I and Q motion signals with the filter of FIG. 11A;

[0053] FIG. 12 is a flow chart illustrating a method that may be used to implement the presence/absence detection step of the method of FIG. 9;

[0054] FIG. 13 is a graph illustrating the result of the method of FIG. 12 applied to an example combined signal;

[0055] FIG. 14 is a graph illustrating the result of applying a classifier to the waveform length feature extracted from a combined signal obtained from example I and Q motion signals.

DETAILED DESCRIPTION

[0056] Monitoring of movement during sleep is of interest for many reasons from clinical monitoring of obstructive sleep apnea (OSA) to screening for periodic limb movement (PLM). In this regard, common sleep disorders in adults include Periodic Limb Movement (PLM) and Restless Legs Syndrome (RLS). In PLM, a subject may make characteristic repetitive limb movements (usually of the leg) every 30-40 seconds, leading to sleep disruption due to frequent awakenings. In RLS, the subject has an overwhelming desire to move or flex their legs as they fall asleep, again leading to disrupted sleep patterns. Spouses may complain that their partners kick their legs during sleep. Patient may report sleep onset problems or frequent arousals because of these movements. In contrast, those who are unaware of these movements may simply complain of un-refreshing sleep, or leg tiredness on awakening in the morning.

[0057] Detection of these unusual body movements is important to confirming the diagnosis of these conditions and initiating treatment. In addition, significant changes in an indicator of the severity of PLM may act as a predictor of exacerbations in CHF patients.

[0058] Furthermore, detecting PLMs can enhance the accuracy of OSA monitoring by discarding PLMs which might otherwise corrupt the scoring of obstructive events.

[0059] Example scoring criteria for detection of PLM series may be as follows: [0060] Leg movements in a PLM series should last more than 0.5 seconds and less than 5 seconds. [0061] There should be at least four leg movements in a PLM series. [0062] The time between leg movements in a PLM series should be between 5 and 90 seconds. [0063] When leg movements are recorded from both left and right tibialis anterior muscles, they should be separated by an interval of at least 5 seconds for them to be counted as two separate movements. [0064] Leg movements can either be associated with EEG arousals or in severe cases even overt arousals.

[0065] The diagnosis of PLM can be made when patients present with insomnia, tiredness and daytime sleepiness in the presence of a high PLM Index (PLMI). A PLMI may be calculated by counting the number of PLMs during a night's sleep and dividing that number by sleep time in hours. The resulting PLMI may then be used to determine a diagnosis and severity of a patient's PLM. For example, a PLMI reading of more than 5 and less than 25 may be considered mild; a PLMI reading of more than 25 and less than 50 may be considered moderate, and a PLMI reading of more than 50 may be severe.

[0066] As illustrated in FIG. 1, some embodiments of the present technology may implement a sensing or detection apparatus 100, such as a non-contact sensor. Such a sensor may be implemented or configured with particular processing methodologies, useful for detecting particular motions of a user or a patient (the patient may be identical or a different person from the user of the apparatus 100) in the vicinity of the apparatus. The sensor may be a standalone sensor or may be coupled with other apparatus, such as a portable electronic device with processing and/or display functions, a respiratory treatment apparatus or sleep assessment apparatus. For example, a respiratory treatment apparatus may optionally provide an automated treatment response based on an analysis of the motion detected by the sensor of the apparatus. There is a potential association between PLM and sleep disordered breathing (SDB), which is often treated with continuous positive airway pressure (CPAP). For example, a respiratory treatment apparatus with a controller and a flow generator may be configured with the above-described sensor and may be configured to adjust a pressure treatment generated at a patient interface (e.g., mask) in response to particular motions detected by the sensor or avoid adjusting a pressure treatment in response to particular motions detected by the sensor. The respiratory treatment apparatus may be for example, a respiratory therapy or PAP apparatus, such as one described in International Patent Application Publication No. WO 2013/152403, the entire disclosure of which is incorporated herein by reference.

[0067] In general, detectable motions may be understood to be any that are intentionally or subconsciously made by a person rather than those physiological characteristics that are involuntarily periodic in nature and necessary for survival, (i.e., chest movement due to respiration or cardiac activity.) In this regard, motion signals sensed by a sensor that are generated by particular human motions may be processed to identify or characterize the particular movements. For example, a PLM may be detected through processing of the motion signals from a sensor. Particularized detection of such movements may then permit them to be counted, such as for generation of a PLMI.

[0068] A typical sensor, such as a radar sensor, of such an apparatus may employ a transmitter to emit radio frequency waves, such as radio frequency pulses for range gated sensing. A receiver, which may optionally be included in a combined device with the transmitter, may be configured to receive and process reflected versions of the waves. Signal processing may be employed, such as with a processor of the apparatus that activates the sensor, for PLM detection based on the received reflected signals.

[0069] For example, as illustrated in FIG. 2, the transmitter transmits a radio-frequency signal towards a subject or patient, e.g., a human. Generally, the source of the RF signal is a local oscillator (LO). The reflected signal is then received, amplified and mixed with a portion of the original signal, and the output of this mixer may then be filtered. In some cases, the received/reflected signal may be demodulated by the transmitted signal, or the phase or time difference between them may be determined, for example, as described in US Patent Application Publication no. 2014-0163343A1, the entire disclosure of which is incorporated herein by reference.

[0070] Such a filtered demodulation signal may contain information about the movement (e.g., PLM), respiration and cardiac activity of the person, and may be referred to as a raw motion signal. In some cases, the raw motion signal may be processed to exclude involuntary periodic activity (e.g., respiration and/or cardiac activity) so that movement information in the signal may be classified for its particular movement type. In some cases, the sensor may be any of the sensors described in U.S. Patent Application Publication No. 2014/0024917, U.S. Patent Application Publication No. 2015/0216424 and U.S. Provisional Patent Application No. 62/205,129, the entire disclosures of which are incorporated herein by reference. Such sensors may be implemented by way of a set of processing steps that can be referred to as a movement processor. The movement processor provides an output signal, such as for detection of limb movement or PLM.

[0071] For example, as shown in FIG. 3, sensor 301 can generate signals with different characteristics (e.g., different bandwidths, different sampling rates, etc.) for different evaluations. For example, the sensor 301 may generate, with a movement processor, a signal focused on targeted movements of a limb or leg 303. Thus, the sensor may implement analog and/or digital circuit components, for signal processing of the received sensor signal. This may optionally be implemented, at least in part, in one or more digital signal processors or other application specific integrated chips. In this regard, the sensor may be configured to generate oscillation signals with an RF Oscillator, for emitting radio frequency pulses (Pulse) for range gated sensing. The sensor may include a radio frequency transmitter (Tx) configured to emit the pulses and a receiver (Rx) configured to receive reflected ones of the emitted radio frequency pulses. The received pulses may be processed to determine an intermediate frequency (IF). The IF may then be used to determine a particular transfer function (Hm), which may be considered a movement processor or channel circuit for producing motion signals.

[0072] In one embodiment the sensor system may generate two analogue voltage signals (or their digital equivalent) which represent received in-phase (I) and quadrature (Q) channels of the sensor. For example, the sensor may operate by transmitting two short pulses of radio frequency energy at 10.5 GHz. The first pulse acts as the main transmit pulse, and the second pulse is the mixer pulse. The first pulse reflects off nearby objects to create an echo pulse that is received back in the sensor. By multiplying (mixing) the echo pulse with the mixer pulse inside the receiver, a signal proportional to any phase shift of the echo pulse is generated. Moving objects (such as a leg or arm muscle tensing) may generate a variable phase shift that can be detected by the processing of the received signals such as in the circuits of the sensor or one or more integrated or coupled processors.

[0073] In some cases, the motion signals sensed by a sensor that are generated by a particular human movement may be processed to identify or characterize the particular movement. For example, movement within the motion signals may be detected by analysing the motion signals with a movement detection algorithm. Upon the detection of movement, the motion signals may be analysed to determine displacement and activity within the motion signals that are associated with the movement. Such activity and displacement measurements may form part of, or be a basis for, extracted features that may be indicative of PLM. Such features may include, for example, the duration of movements in the motion signals, activity during a movement, activity during a movement mapped to a pre-defined range of values, cross-correlation between phases of the motion signals during a movement, and mean of the four quadrant inverse tangent function of the real parts of the I and Q signals during each movement. These features are discussed in more detail herein. In some versions, the analysis of the motion signals, such as with a noise threshold, may involve automatic gain control to improve the accuracy of the movement detection.

[0074] These extracted features may then be analysed, such as by evaluation with one or more thresholds to detect incidents of PLM. For example, based on the determined features, the processor may assess whether the PLMs occurred during sleep or while awake. In this regard, the calculated feature values may be evaluated, such as by logistic regression techniques, to provide a probability that the determined PLMs occurred during wake or sleep. Depending on the number of movements which are found to have occurred during sleep, a PLM diagnosis may be generated, such as by counting the number such sleep PLMs and comparing the number of sleep PLMs per hour of sleep to a threshold that may correspond to a PLMI indicative of PLM.

[0075] In FIG. 4, an overview processing flow diagram of a movement detector 401, automatic gain control 403, and displacement and activity analysis 405 is presented. The algorithms may be performed by an independent processor or by multiple modules and/or processors. As described in more detail below, samples of the signals of the sensors representing the I and Q channels from the sensor are initially processed through a movement detection algorithm of the movement detector 401. The samples of the I and Q signals may be captured at 16 Hz. An updated noise floor may be generated based on the noise of the signal when no movement is detected for a pre-set time period with the automatic gain control 403. Further, phase demodulation techniques may be used to map the non-contact sensor signal (16 Hz) to activity at 1 Hz, in a causal manner. Additional analysis may be carried out in epochs (e.g., a plurality of 30 second epochs) to provide an epoch-based total activity.

[0076] The movement detection algorithm of the movement detector 401, as shown in processing diagram of FIG. 5, detects movement from the motion signals generated by the receiver of the sensor. The movement detection algorithm may be configured to run on a movement detection module. Initially, for each sample captured at time i of the I and Q motion signals (the samples), the movement detection algorithm may be performed, as shown in block 501. Time i may be pre-set to start at 1, for example. As shown in block 503, each sample of the motion signals may be compared to a noise threshold, represented by noise threshold(i) at block 505. In some embodiments the noise threshold 505 may be initially defined as the 4 Hz-8 Hz in-band power of the sensor noise signal. In some embodiments the noise threshold may be updated as more samples are processed, such as with an automatic gain control as further discussed below.

[0077] An action counter, as represented by ActCount(i), in FIG. 5, may track the number of samples at, above, or below the noise threshold. For example, when both the I and Q samples are greater than or equal to the noise threshold 505, the action counter may be incremented by a constant value k 511, as shown in block 507. When both of the samples are below the noise threshold 505, the action counter may be decremented by another constant j 515, as shown in block 509. The action counter may be subject to an upper limit m 513, and a lower limit. In some embodiments the lower limit may be zero.

[0078] The action count may then be compared to a count threshold to detect a movement incident as shown at block 517. For example, when the action count at time i is greater than or equal to a count threshold 519, and the action count at time i1 is below the count threshold 519, a movement incident determination may be made, as shown in block 523. Upon determining a movement incident has started, the samples may be passed to or processed by the displacement and activity analysis algorithm, described below in relation to FIG. 7. Otherwise, a movement incident determination may not be made and i may be updated to i+1, as shown at block 521. The algorithm may then restart, and process the samples captured at updated time i. These iterations may occur until all samples, or a portion of samples have been processed.

[0079] In some versions, a determination may be made whether to send or process the samples for an automated gain control (AGC). In this regard for each sample beyond first y seconds of recording with no movement detected, an analysis may be carried out on the noise. For example, the time the samples were captured, (i.e., i) may be compared to a predetermined number 527 y as shown in block 525. Predetermined y may represent a time period before the AGC begins to process samples. For samples that occur after the time period y, the samples may pass to or be processed by the AGC as further described below in relation to FIG. 6 below. Otherwise, the samples may not be so passed to or processed by the AGC, and i may be updated to i+1, as shown at block 521 (i.e., processing may iterate to the next sample(s)).

[0080] As shown in FIG. 6, the AGC module may update the noise threshold value used at block 503. In this regard, the AGC enables the movement detection module to adjust to a given recording's noise floor and allow for improved consistency across sensors and setup. For example, turning to block 601 the AGC may determine the average noise recorded in the samples 617 for the most recent x seconds, where x 603 is a time period where no movement has been detected. A determination may also be made whether the noise threshold has been updated previously, as shown in block 605.

[0081] In the event the threshold has been previously updated, the AGC may determine whether there have been movements in the last z seconds, where z 609 is a predetermined time period, as shown in block 611. In some embodiments z may be tenths of a second, seconds, minutes, hours, etc. As shown in block 613, when there have been movements in the last z seconds, the noise threshold may be updated to the average noise, as described in relation to block 601. Otherwise, when there have been no movements, the noise threshold may not be updated and i may be updated to i+1, as shown at block 615. The process may then proceed back to block 501 of FIG. 5.

[0082] In the event the threshold has not been previously updated (e.g., the first update of the noise threshold) i may be compared to z as shown in block 607. When i is greater than z the noise threshold may be updated as shown in block 614 to the average noise, as described in relation to block 601. Otherwise, when i is less than or equal to z, the noise threshold may not be updated, and i may be updated to i+1, as shown at block 615. The process may then proceed back to block 501 of FIG. 5.

[0083] Turning now to FIG. 7, a displacement and activity analysis algorithm is shown. The displacement portion of the algorithm may be implemented to determine the amount of activity of a detected movement incident of the motion signals such as phase, velocity, and displacement within the motion signals. For example, as shown in block 701 of FIG. 7, the phase of the I & Q channel samples at time i may be found (e.g., from a ratio of the in-phase and quadrature signals). In some cases, the phase may be a mapped phase by mapping a ratio of the I and Q samples (e.g., SampleQ(i)/SampleI(i)) to the closest value in a pre-defined matrix of arc-tangent values. The pre-defined matrix of arc-tangent values may be stored within a memory accessible to a processor of the sensor. The pre-defined matrix of arc-tangent values may be used to reduce the amount of processing. An example pre-defined matrix of arc-tangent values is shown in Table 1, below.

TABLE-US-00001 TABLE 1 Arc-tangent matrix Ratio of the Map to this Motion Signals Value 1*10{circumflex over ()}10 4/8* 2.4142 3/8* 1 2/8* 0.4142 1/8* 0 0 0.4142 1/8* 1 2/8* 2.4142 3/8* 1*10{circumflex over ()}10 4/8*

[0084] Upon detection of a movement incident (e.g., movement detector 401), as described in relation to block 523 in FIG. 5, velocity and displacement of the samples may be determined from the phase difference between the samples. For example, as shown in block 703, velocity may be calculated as the change in phase between consecutive samples (e.g., an instantaneous phase delta). For example, velocity at time i may be calculated by subtracting the phase of the samples captured at time i1 from the phase of the samples captured at time i. As shown in 705, displacement at time i may be found by taking the absolute value of the velocity value at time i. In this regard, displacement may be an intermediate variable calculated as per block 705, which may have a sampling rate of 16 Hz. Displacement may be calculated from velocity, which may be calculated from the raw motion signal, each being a variable with a sampling rate of 16 Hz.

[0085] Based on the phase, velocity, and displacement of the motion signal, activity analysis may be performed. Activity analysis may be implemented for creation of classification features that can be representative of the movement incident type. Initially, as shown in block 707, the activity portion of the algorithm may determine whether one second's worth of samples has been processed by the displacement algorithm, as shown in block 707. In the event one second of activity has been processed, the mean displacement of the samples within the one second window may be determined. For example, the mean displacement for each one second window may be determined by averaging the displacement values of each sample which occurred during one second window, as shown in block 709. In the event a second of activity has not been processed, the sample may be incremented by 1, as shown in block 721. In some embodiments the mean displacement for each one second window may be referred to as activity.

[0086] The length of time over which a movement incident occurs may be determined from the calculated activity (i.e., the mean displacement for each one second window). In this regard, as shown in block 711, the activity may be compared to a movement threshold 713. When the activity is greater than the movement threshold, a binary movement vector may be updated to indicate movement. For example, a binary movement vector may be updated to 1 (true) when movement is detected and 0 (false) if no movement is detected, as shown in block 715 and 723, respectively.

[0087] The movement threshold may be fixed, at least initially, or it may be determined by the AGC. For example, the variance of noise may be estimated based on the estimated variance from the previous sample and how much the current noise value differs from the previous average noise. The movement threshold may then be calculated once z seconds have been recorded. The movement threshold may be obtained by taking the current average noise level (a) and adding three times the estimated variance of the noise level (b) and multiplying the result by a safety margin coefficient (a constant, e.g. 1.5). Once the movement threshold has been updated the AGC analysis may be reset and the movement threshold will not be updated until z seconds with no movement having taken place. In some embodiments, the movement threshold may be programmed so that spurious, low level movements which may satisfy the initial movement determination fail to satisfy the movement threshold.

[0088] The total activity may be determined in epochs. For example, each epoch may be a number of seconds, such as thirty seconds. As shown in block 717 the activity portion of the algorithm may determine whether an epoch has occurred (e.g., thirty seconds of samples have been processed). At the end of each such epoch, the total activity may be determined by summing the activity (e.g., mean displacements) for each second within the epoch as shown in block 719. To assist in computational efficiency, total activity may optionally be mapped to the closest value on a pre-defined matrix, such as the example matrix in Table 2, below.

TABLE-US-00002 TABLE 2 Activity Mapping Matrix Compare total activity for epoch with 22 10.sup.4 55 10.sup.4 11 10.sup.3 55 10.sup.3 Map to this value 0 1 2 2.5

[0089] Upon performing the activity analysis i may be updated to i+1, as shown at block 721. The process may then proceed back to block 501 of FIG. 5 to process the next sample (e.g., the process iterates to the next sample).

[0090] For each movement incident (e.g., movement=1), features may then be determined based on the displacement and activity analysis. While any suitable set of features derived from non-contact sensor data may be calculated, sequential forward feature selection may be used, such as with ten-fold cross-validation to select a suitable subset of features that would combine using logistic regression to best identify whether a desired movement (e.g., a PLM) has occurred while the subject was asleep or awake. Such an example process is illustrated in FIG. 8.

[0091] In some versions, a set of one, more or all of the features that may be calculated to characterize the detected movement incident are shown in Table 3.

TABLE-US-00003 TABLE 3 Example features Feature Description Coefficient Movement Duration of movement 0.0399331771284082 duration incident in seconds. (sec) Activity Total activity during 0.0567345792614327 (Speed of a movement incident Change) with a value in the range 0-30. Mapped Total activity during 0.130345006625921 activity a movement incident mapped to a pre-defined range of values between 0 and 2.5. crosscorrMove- Cross-correlation of 0.513047516838771 ment the I and Q signals during a movement incident. This provides a measure of the similarity the I and Q signals during the movement incident. meanAtanMove- The mean of the four 0.0816012254889409 ment quadrant inverse tangent function of the real parts of the I and Q signals during a movement incident. The inverse tangent function acts on the I and Q signals element-wise to return AtanMovement, which is the same size as the sections of I and Q signals examined. The mean of AtanMovement is taken for each movement incident. Constant Constant coefficient required 1.58093976269811 by logistic regression.

[0092] Turning to the first feature, movement duration, a binary movement vector is generated for each second during a movement incident by the aforementioned process and set to true (1) each second the activity is greater than the movement threshold. This vector may be analysed to determine the duration of the movement incident. In this regard, upon the movement vector switching to true (1), which indicates the start of the movement incident, the time period until the binary movement vector switches back to false (0) may be calculated. The total duration is the period from when movement is indicated until movement is not indicated. In some versions, such a duration may be measured in seconds.

[0093] The second feature may be activity, which was determined during the activity analysis, described in detail above. For example, each mapped activity value for an epoch of a movement incident may be summed, and the activity feature here may be the resulting value of the summation. In some versions, the activity feature may be capped at a value, such as thirty.

[0094] The third feature is mapped activity. As previously described, at the end of each thirty second epoch, the total activity may be determined by summing the activity values (mean displacement values) for each second within the epoch as shown in block 719, of FIG. 7. The total activity values may then mapped to the closest value on a pre-defined matrix as defined in Table 2. In some embodiments the total activity value may be capped at a value, such as thirty.

[0095] The fourth feature is cross-correlation of the I and Q signal samples during a detected movement incident. Such a measure provides the similarity between the I and Q signals during such an incident. Such cross-correlation of the I and Q samples during a movement incident may be determined using known cross-correlation calculations.

[0096] A fifth feature may be the MeanAtanMovement. The MeanAtanMovement may be the mean of the four quadrant inverse tangent function of the real parts of the I and Q signals during each movement incident. The inverse tangent function acts on the I and Q signals element-wise to return AtanMovement, which is the same size as the sections of I and Q examined. The mean of AtanMovement is taken for each movement incident.

[0097] The features may be combined in an evaluation employing logistic regression to provide a probability that each movement incident occurred during wake or sleep. Optionally, for each feature during a movement incident, the features may be multiplied by a coefficient such as the example values shown in Table 3. Additionally, a constant coefficient may also be used in the logistic regression. An example constant coefficient value is also shown in Table 3. If the output of the logistic regression classifier is less than some probability threshold, for example 35%, the movement incident may be considered to have occurred during sleep. Otherwise, the movement incident may be considered to have occurred during wake, and may be ignored.

[0098] A classifier, as described below, may be defined by a set of coefficients as described in Table 3. The classifier may be trained using logistic regression methods (e.g., a generalized linear model, assuming a binomial distribution and using a Bernoulli distribution as link function between the linear predictor and the mean of the distribution function). The overall classifier output may be obtained by: [0099] Calculating the sum of the product between each feature and associated coefficient (sumVal); and [0100] Calculating the classifier output as the inverse of (1+esumVal) where e is the mathematical constant of the base of a natural logarithm.

[0101] The classifier output may then be compared against a set threshold (e.g., 35%, or more or less) to identify whether a movement incident is likely to have occurred during sleep or not.

[0102] The movement incidents which are deemed to have occurred during sleep and form part of a PLM series may then be used for screening subjects who may have PLM. For example, as previously described, a diagnosis of PLM may be made when patients present with insomnia, tiredness and daytime sleepiness in the presence of a high PLM index (PLMI). The PLMI may be calculated by counting the number of PLMs (e.g., sleep movement incidents detected by the aforementioned classification process that are scored as part of a PLM series) and dividing that number by sleep time in hours. The resulting number may then be used to determine a diagnosis and severity of a patient's PLM. For example, a PLMI reading of more than 5 and less than 25 per hour may be considered mild; a PLMI reading of more than 25 and less than 50 per hour may be considered moderate, and a PLMI reading of more than 50 per hour may be severe.

[0103] In some versions, instead of or in addition to using the total number of movement incidents during sleep as a sole indicator of PLM, a processor may also or alternatively be configured to calculate and/or implement: [0104] Percentage of movement incidents during sleep. For example, duration of periods of sleep movement incidents may be calculated relative to total sleep time to generate a PLM indicator as a percentage. Note that this highly correlates with PLM-related movements as very few non-involuntary periodic movements otherwise occur while subjects are asleep. [0105] The total number of movement incidents during sleep per hour (or other timeframe, such as a shorter time frame). Such an indicator may be calculated along with evaluating the maximum/mean/range of this value. PLM sufferers tend to have clusters of movements at different points during the night. This is comparable to a PLM index definition from PSG, and would allow for a like-for-like comparison. [0106] A combination of the above indicators, personal information (BMI, age, gender), and other sensor-derived features. [0107] A measure of how PLM affects the sleep quality of a patient, by comparing prevalence of non-PLM movements immediately after a series of PLM movements with their prevalence in other sections of the night.

[0108] These other indicators may be directly obtained from parameters extracted using the methods disclosed so far and may further improve these results, providing a potentially more robust solution or allow returning comparable indices to those currently used in clinical practice (i.e., number of movement incidents/hour as an index).

[0109] FIG. 9 is a flow chart illustrating a method 900 that may be used to detect PLMs according to an alternative form of the present technology. Like the method 400, the method 900 may be performed by an independent processor or by multiple modules and/or processors. Thus, the processor(s) may be configured with any one or more of the steps of the method(s).

[0110] The method 900 starts at step 910, which pre-processes the I and Q motion signals from the sensor and combines them to form a single signal. Step 920 analyses the combined signal to detect the presence or absence of a patient over time from the measurement zone of the sensor 301. Periods of absence may be characterized by an absence of patient related motion within the sensor signals. The periods of absence are discarded from further analysis. The remaining presence periods of the combined signal are then partitioned at step 930 into breath sections. Step 940 then extracts a feature known as the waveform length from the portion of the combined signal corresponding to each breath section. Step 950 classifies each breath section according to whether it does, or does not, contain a limb movement (LM) using the waveform length feature computed at step 940. Finally, step 960 applies scoring criteria such as those listed above to determine whether each detected LM forms part of a PLM series. Such scoring may consider an entire sleep session (e.g., a night's sleep session) so that the PLM series may represent an evaluation of all or most of the movement signals from a single sleep session.

[0111] FIG. 10 is a flow chart illustrating a method 1000 that may be used to implement the pre-processing step 910 of the method 900 according to one implementation of the alternative form of the present technology. The method 1000 starts at step 1010 which applies a filter to de-trend and smooth each of the I and Q motion signals independently. The filter identifies ascending and descending slopes of the I and Q motion signals, and removes any baseline wandering and other low-frequency components from the I and Q motion signals that might affect the morphological features of the signals. FIG. 11A illustrates the magnitude frequency response of a filter that may be applied at step 1010. FIG. 11A shows that the filter is a bandpass filter with a peak around 0.4 Hz (24 cycles per minute) and low DC response to remove the mean of the I and Q motion signals. FIG. 11B shows the result of filtering example I and Q motion signals 1110 and 1120 with the filter of FIG. 11A. Before filtering, the I and Q motion signals 1110 and 1120 are DC shifted, and after filtering have corrected baselines as well as cleaner morphology.

[0112] After step 1010, the method 1000 proceeds to step 1020 which applies principal component analysis (PCA) to the filtered I and Q motion signals to project the signals into two principal components in which the first component has the majority of the energy (variance). In one implementation, PCA uses a singular value decomposition (SVD) of a data matrix of the filtered I and Q motion signals. Step 1030 then combines the two principal components into one signal which captures the total information contained in the original I and Q motion signals. In one implementation, step 1030 discards the lower-energy component of the two principal components from step 1020.

[0113] As described above, step 920 of the method 900 analyses the combined signal to detect the presence or absence of a patient over time from the measurement zone of the sensor 301. One implementation of step 920 applies an energy operator, such as the Teager energy or the root mean square (RMS), to the combined signal, and thresholds the energy signal. Periods where the energy is above a threshold are periods of presence, whereas periods where the energy is below a threshold are periods of absence.

[0114] In other implementations, step 920 uses a statistical approach based on L-moments. In statistics, L-moments are a sequence of statistics used to summarize the shape of a probability distribution. L-moments can be defined for any random variable whose mean exists, and form the basis of a general theory which covers the summarization and description of theoretical probability distributions, the summarization and description of observed data samples, estimation of parameters and quantiles of probability distributions, and hypothesis tests for probability distributions. L-moments are usually defined as linear combinations of conventional order statistics. For a real-valued random variable X with cumulative distribution F(x) and quantile function x(F) (the inverse function of F(x)), order statistics of a random sample of size n drawn from F(x) are defined as

[00001] EX j : r = j ( r j ) .Math. 0 1 .Math. x ( F ( x ) ) j - 1 .Math. ( 1 - F ( X ) ) r - j .Math. dF ( x ) ( Eq . .Math. 1 )

for r=1, . . . , n and j=1, . . . , r. The L-moment .sub.r of order r (r=1, 2, . . . , n) of X is defined as


.sub.rcustom-characterr.sup.1.sub.k=0.sup.r1(1).sup.k(.sub.k.sup.r1)EX.sub.rk:r(Eq. 2)

[0115] L-moments can be used to calculate quantities analogous to standard deviation, skewness and kurtosis, termed the L-scale, L-skewness and L-kurtosis respectively (the L-mean is identical to the conventional mean). L-moments have the theoretical advantages over conventional moments of being able to characterize a wider range of distributions and, when estimated from a sample, of being more robust to the presence of outliers in the sample. Compared with conventional moments, L-moments are less subject to bias in estimation and approximate their asymptotic normal distribution more closely in finite samples. Parameter estimates obtained from L-moments are sometimes more accurate in small samples than even the maximum likelihood estimates.

[0116] Substituting Eq. 1 into Eq. 2, the L-moment A, of order r (r=1, 2, . . . , n) may be computed as

[00002] r = 0 1 .Math. x ( F ) .Math. P r - 1 * ( F ) .Math. dF ( Eq . .Math. 3 )

[0117] where P.sub.n*(F) is the n-th shifted Legendre polynomial of F, related to the usual Legendre polynomials P.sub.n(u) by P.sub.n*(u)=P.sub.n(2u1). Using Eq. 3 and the definitions of Legendre polynomials, it may be shown that the first three L-moments may be computed as linear combinations of conventional order statistics:

[00003] .Math. 1 = EX 1 , 1 = 0 1 .Math. x ( F ) .Math. dF ( Eq . .Math. 4 ) .Math. 2 = 1 2 .Math. ( EX 2 , 2 - EX 1 , 2 ) = 0 1 .Math. x ( F ) .Math. ( 2 .Math. F - 1 ) .Math. dF ( Eq . .Math. 5 ) 3 = 1 3 .Math. ( EX 3 , 3 - 2 .Math. EX 2 , 3 + EX 1 , 3 ) = 0 1 .Math. x ( F ) .Math. ( 6 .Math. F 2 - 6 .Math. F + 1 ) .Math. dF ( Eq . .Math. 6 )

[0118] FIG. 12 is a flow chart illustrating a method 1200 that may be used to implement the presence/absence detection step 920 of the method 900 in accordance with one implementation of the alternative form of the present technology. The method 1200 starts at step 1210, which extracts the second-order and third-order L-moments .sub.2 and .sub.3 of the combined signal, within a current epoch, e.g. using Eqs. 5 and 6. In one implementation, each epoch is of duration 5 seconds. Step 1220 then forms a feature for the current epoch by multiplying .sub.2 by .sub.3. Step 1230 determines whether the epoch feature exceeds a threshold, set in one implementation to 0.01. If so (Y), step 1250 marks the current epoch as one in which the patient was present. Otherwise (N), step 1240 marks the current epoch as one in which the patient was absent. After either step 1240 or step 1250, step 1260 determines whether the end of the combined signal has been reached. If so (Y), the method 1200 concludes at step 1280. Otherwise, step 1270 slides to the next epoch of the combined signal. In one implementation, the slide distance is equal to the epoch duration, so the epochs are non-overlapping. The method 1200 then returns to step 1210 to analyse the next epoch.

[0119] At step 930 the motion signals may be partitioned into breath sections. For example, as described above, step 930 of the method 900 partitions the presence periods of the combined signal into successive breath sections where each section, or breath section, is at least associated with breathing movement representing a discrete patient breath or single respiratory cycle. One implementation of step 930 uses zero-crossing detection on the combined signal. The positive-going zero-crossing sampling instants are the locations of the start of inspiration of each breath, and the negative-going zero-crossing sampling instants are the locations of the start of expiration of each breath. Step 930 may first apply a finite impulse response (FIR) filter to the combined signal to force any zeros toward either the positive or the negative side of zero. The FIR filter is chosen so that the most recent +1 or 1 has proportionally the most influence on the state of the zero. In one implementation, the FIR filter has the form exp(n) where n runs from 0 to the sampling frequency in Hz (one second's worth of sampling instants). FIG. 13 is a graph illustrating the result of a zero-crossing implementation of partitioning step 930 applied to a combined signal 1310. The three-valued trace 1320 has the value +1 for positive-going zero-crossings indicating the start of inspiration, 1 for negative-going zero-crossings indicating the start of expiration, and zero everywhere else.

[0120] As described above, step 940 extracts the waveform length feature from each breath section of the combined signal as returned by the partitioning step 930. Step 940 measures the cumulative changes in the combined signal from sampling instant to sampling instant over the breath section (e.g., data sample by data sample analysis of the breath section). Metaphorically, extracting the waveform length is the equivalent of treating both ends of the combined signal like the ends of a jumbled string, pulling on them until it forms a straight line, then measuring the straight-line distance. For each breath, waveform length (WL) may be computed as

[00004] WL = .Math. k = 2 N .Math. .Math. x k - x k - 1 .Math. ( Eq . .Math. 7 )

[0121] where x.sub.k are the samples of the combined signal and N is the number of samples in the breath section. Waveform length effectively encapsulates the amplitude, frequency, and duration of the combined signal in one formula. This feature provides excellent discriminatory power for a classifier to distinguish normal breaths from those affected by limb movements (LMs). One reason for selecting the waveform length feature for the specific purpose of detecting LMs in step 950 is that once an LM is initiated the effect of the LM usually shows on the motion signals as an amplified peak which has a sudden jump in amplitude in comparison to previous peaks as per the example in FIG. 14. Thus, as the waveform length feature produces an amplified output for such a different peak, this feature lends itself to the specific task of LM detection.

[0122] FIG. 14 is a graph illustrating the result of applying a classifier to the waveform length feature extracted from a combined signal obtained from example I and Q motion signals 1410 and 1420. The binary trace 1430 is high for breaths classified in step 950 as containing an LM based on the waveform length feature. These generally coincide with abnormally high excursions in the I or Q motion signal.

OTHER REMARKS

[0123] In this specification, the word comprising is to be understood in its open sense, that is, in the sense of including, and thus not limited to its closed sense, that is the sense of consisting only of. A corresponding meaning is to be attributed to the corresponding words comprise, comprised and comprises where they appear.

[0124] While particular embodiments of this technology have been described, it will be evident to those skilled in the art that the present technology may be embodied in other specific forms without departing from the essential characteristics thereof. The present embodiments and examples are therefore to be considered in all respects as illustrative and not restrictive. For example, whilst the disclosure has described the detection of movements such as leg movements, the same principle is applicable to other motions, such as user moving between a lying and a sitting position in bed (and vice versa), reaching for a specific target (a table lamp, or a respiratory apparatus) etc.

[0125] It will further be understood that any reference herein to subject matter known in the field does not, unless the contrary indication appears, constitute an admission that such subject matter is commonly known by those skilled in the art to which the present technology relates.