SLEEP DETECTING DEVICE

Abstract: Body motions of a sleeper are detected in non-contact with the sleeper by a piezo-electric element (13), and, whenever a detection output exceeds a preset value, time measurement by a timer is reset and a new time measurement is started. When a measured time by the timer exceeds a preset time, it is determined that the sleeper has fallen asleep on the bedding. Further, slight body motions conveyed by the activity of the heart and breathing motions of the human body are detected to determine the absence on the bedding, presence on the bedding or rough body motions. When the presence is determined, the time measurement action is started by the timer, and, when the absence or rough body motion is determined, the time measurement is reset. When the measured time of the timer exceeds the preset time, it is determined that the sleeper has fallen asleep on the bedding.

Description: TECHNICAL FIELD The present invention relates to a sleep detecting apparatus for detecting sleep. Conventionally, this type of sleep detecting apparatus is what detects, for example, a brain wave and a movement of eyeballs of the body and processes the signal waveform detected to judge falling asleep (Japanese unexamined published Patent Application No. 62-253034(1987)), or detects a pulse wave of the body and processes the signal waveform to judge falling asleep (Japanese unexamined published Patent Application No. Sho 63-150047(1988)), which are both constituted of, as shown in Fig. 1, a detecting means 1 for detecting physical signals such as the brain wave, the movement of the eyeballs and the pulse wave, a signal processing means 2 for processing the signal from the detecting means 1 and a judging means 3 for judging the falling asleep by outputs from a signal processing means 2. In the conventional configurations, however, since they are constructed such that the detecting means 1 for detecting the brain wave, the movement of eyeballs and the pulse wave is installed directly on the scalp or skin of the body, a problem was encountered in that an inharmonious feeling due to the installation may disturb the sleeping. DISCLOSURE OF THE INVENTION The present invention is designed to solve the above-mentioned problems, and therefore, it is a first object thereof to provide a sleep detecting apparatus which detects sleep easily without installing and contacting the detecting means to the human body, but by viewing the fact that a movement of the body (hereinafter referred to as body movement) comes to a standstill on sleep detects the body movement without contacting the body to detect the sleep in response to the quiescent time of the body movement. It is a second object to show a specific configuration when an infrared-ray sensor is used for detecting the body movement without contact. It is a third object to show a specific configuration wherein the body movement is detected by installing a piezo-electric element on a bedding because a movement of the portions such as hands and feet which are covered by the bedding can not be detected by the infrared-ray sensor. It is a fourth object to show a specific configuration of a piezo-electric element which is suitable to be disposed on the bedding for detecting the body movement. It is a fifth object to show a specific configuration in which the piezo-electric element is disposed removably on the bedding such that washing the bedding is possible. It is a sixth object to provide a sleep detecting means which judges, first, whether there is a body on the bed so as not to make an erroneous detection as the body movement when things are placed on the bed or bed making is made, to judge the sleep. It is a seventh object to detect the body movement reliably to detect sleeping by taking into account an individual difference in the magnitude of body movement, allowing the user to set a set value for detecting the body movement optionally. It is an eighth object to detect the body movement reliably to detect sleeping by taking into account an individual difference in the magnitude of body movement, storing the magnitude of body movement successively to obtain the set value by learning. It is a ninth object to detect the sleep reliably by taking into account an individual difference in the quiescent time of the body movement, allowing the user to set a set time value of the body movement quiescent time optionally. It is a tenth object to detect the sleeping reliably by taking into account an individual difference in the quiescent time of the body movement, operating a frequency distribution of the body movement quiescent time to obtain the set time. It is an eleventh object, in case the body movement is detected by a piezo-electric element to distinguish the movement of others in the vicinity of the bed and the vibration applied to the piezo-electric element by the body movement of a person in bed. It is a twelfth object to distinguish the movement of others in the vicinity of the bed and the body movement of the person in bed thereby to solve a malfunction of the sleeping judgment, by detecting the body movement and the pulse rate of the person in bed. It is a thirteenth object to show a configuration, which besides detecting the body movement using a weight sensor constituted by a load-cell as the body movement detecting means, detects a weight to judge the presence and absence in bed. In order to achieve the above-mentioned first object, the present invention provides a sleep detecting apparatus as claimed in claim 1. Preferred features of the invention are set out hereafter. In order to achieve the second object, in the present invention, the body movement detecting means consists of an infrared-ray sensor which detects infrared rays, and is installed on a bed frame or on the wall of a room. In order to achieve the third object, in the present invention, the body movement detecting means is constituted by, at least one piezo-electric element disposed on the bedding, a filter which filters a certain specific frequency component with respect to respective signals of the piezo-electric element, an amplifier which amplifies the filter signal, a rectifier which rectifies the amplifier signal and a smoothing device which smoothes the rectifier signal. In order to achieve the fourth object, the present invention is constituted by a piezo-electric element consisting of a high-molecular piezo-electric material such as polyvinylidene fluoride, which is processed into a thin film and bonded with a flexible electrode film on both surfaces thereof to form a tape. In order to achieve the fifth object, the present invention is that, the piezo-electric element is contained in a sheet shaped bag, and stretchingly-and-shrinkingly movable stretch-shrink parts are provided on the end parts of the bag, and in addition, engaging and disengaging parts, which enable engaging-and-disengaging of end tip parts of said stretch-shrink parts with each other, are provided on respective ones of said end parts. In order to achieve the sixth object, the present invention comprises: an absence judging means for judging the absence of a human body on the bed when the signal level of the body movement detecting means is below one denominated (the second) predetermined set value; a presence judging means for judging the presence of a human body on the bed in a quiet state, when the signal level is above said one set value and below another (denominated the third) set value predetermined; and a rough body movement judging means for judging a rough movement of the human body such as turning over on the bed, when the signal level exceeds said other set value, a timer for resetting the time measurement whenever the absence or rough body movement is judged and starting the time measurement when the presence in bed is judged. In order to achieve the seventh object, the present invention provides a display means for displaying the signal level of the body movement detecting means, and the first said one setting means capable of manually changing over between (the second) set value and said other (the third) set value, basing on the signal level displayed by the display means. In order to achieve the eighth object, the present invention comprises first a (denominated the memory means which samples and stores the signal level of the body movement detecting means at a predetermined period when the presence in the bed is judged by the presence judging means, a first) operating means which operates a minimum value and a maximum value of the contents stored in a denominated (the first) memory means, and a (denominated the second) setting means which refreshes the minimum value as said one (the second) set value and the maximum value as said other (the third) set value. In order to achieve the ninth object, the present invention comprises a (denominated the third) setting means capable of setting the set time manually. In order to achieve the tenth object, the present invention comprises a (denominated the second) memory means for storing the measurement time of the timer whenever the time measurement of the timer is reset, a (denominated second) operation means for operating a frequency distribution of the measurement time stored in said memory means, a (denominated the third) operating means which operates to obtain a time T in a manner that the ratio of the cumulative frequency till the time T in the frequency distribution to the total cumulative frequency shows a certain predetermined value, and a (denominated the fourth) setting means which executes the storing and operating operation at every fixed period thereby to refresh the setting with the time T as the set time. In order to achieve the eleventh object, in the present invention, the body movement detecting means comprises at least one piezo-electric element disposed on the bedding, a filter which filters a certain specific frequency component for respective signals of the piezo-electric element, a first amplifier which amplifies the filter signal, a second amplifier having a smaller amplification than the first amplifier for amplifying the filter signal, a first smoothing device which smoothes the first amplifier signal, and a second smoothing device which smoothes the second amplifier signal, and further comprises an absence judging means for judging the absence of the body on the bedding when the signal level of the first smoothing device is below the second set value, presence judging means for judging the presence of the body on the bedding in a quiet state when the signal level of the first smoothing device is above the second set value, and the signal level of the second smoothing device is below another (denominated the fourth) set value predetermined, and a rough body movement judging means for judging the rough body movement of the body on the bedding when the signal level of the second smoothing device is above the fourth set value. In order to achieve the twelfth object, the present invention comprises a heart beat pulse rate detecting means for detecting and counting heart beat pulses by the signal of the body movement detecting means, a (denominated the third) operating means for operating a variation within a predetermined time of the heart beat pulse, and a timer which resets the time measurement and starts the new measurement whenever the signal level of the body movement detecting means exceeds one predetermined (denominated the fifth) set value and the operation value of said operating means exceeds another predetermined (denominated the sixth) set value. Furthermore, in order to achieve the thirteenth object, in the present invention, the body movement detecting means comprises a presence judging means which is consisting of a weight sensor, using a load-cell and being installed on the bedding, and judges the absence and presence of a person on the bed by detecting the weight of the person in bed by the weight sensor. The present invention is operated in the following manner by the configuration stated hereinabove. Here, the movement of the body present on the bedding is divided into the following two definitions. Let us call a very small movement of the body propagated from actions of the heart and breathing a fine body movement, and call the rough movement such as getting in and out of bed and turning over in bed a rough body movement. When movement of the body on the bed is detected by the body movement detecting means, the time measurement is reset and the new measurement is started by a timer, every time the signal level of the body movement detecting means exceeds the predetermined first set value. Here, the first set value is set in advance to detect the rough body movement. When the measurement time of the timer exceeds the predetermined set time, it is judged by the sleep judging means that the human body has fallen asleep. The present invention detects the body movement by an infrared-rays sensor disposed on a bed frame or on the wall of a room. The present invention also outputs a voltage signal generated by piezo-electric effects, when at least a piezo-electric element disposed on the bedding is deformed by the body movement, after filtering, amplifying, rectifying and smoothing it in the smoothing device. The present invention is that, the above-mentioned piezo-electric element is constituted by processing a high-molecular piezo-electric material such as polyvinylidene fluoride into a thin film and bonding flexible electrode films on both faces thereof to form a tape. And, the present invention is that, the piezo-electric element is contained in a sheet shaped bag, on the portions of said sheet-shaped bag, and a stretchingly-and-shrinkingly movable stretch-shrink parts are provided on the end parts of the bag, and in addition, engaging and disengaging parts, which enable engaging-and-disengaging of end tip parts of said stretch-shrink parts with each other, are provided on respective ones of said end parts. The present invention judges by the absence judging means that the body is absent on the bed when the signal level of the weight detecting means is below a predetermined second set value, judges by the presence judging means, that the body is on the bed in a quiet state when the said signal level is above the second set value and below the predetermined third set value, and judges by the rough body movement judging means that the body has moved roughly on the bed such as turning over when the signal level is above the third set value, whereby the timer resets time measurement whenever the absence is judged or the rough body movement is judged and starts the measurement when the presence in bed is judged, and when the measurement time of the timer exceeds a set time predetermined, the sleep judging means judges that the body has fallen asleep. The present invention displays the signal level of the body movement detecting means by a display means, and is able to change the second set value and the third set value manually in response to the signal level. In the present invention, when the presence in bed is judged by the presence judging means, the signal level of the body movement detecting means is sampled and stored at a period predetermined; and further a minimum value and a maximum value of the memory content are operated hence to refresh the minimum value as the second set value and the maximum value as the third set value by the second setting means. The present invention is capable of setting the set time manually by the third setting means. The present invention stores the measurement time of the timer and operates the frequency distribution of the measurement time, every time the time measurement of the timer is reset, operates the time T in a manner that the ratio of cumulative frequency upto the time T in the frequency distribution to the total cumulative frequency shows a predetermined certain value, and refreshes the setting taking the time T as the set time. The present invention filters a signal of, at least, one piezo-electric element disposed on the bedding, amplifies the filtered signal respectively by two amplifiers having different amplifications, and rectifies and smoothes them. Then, distinguishing vibration propagated to the piezo-electric element by the movement of others in the vicinity of the bed, and vibration applied to the piezo-electric element by the body movement of a person in bed, and judging the absence, presence and rough body movement to judge the sleep. The present invention detects and counts heart beat pulses by resetting the time measurement and starting a new measurement, every time the signal level of the body movement detecting means exceeds a fifth set value and the change in heart beat pulse rates within a predetermined time exceeds a sixth set value predetermined. Then, it distinguishes vibration propagated to the piezo-electric element by the movement of others in the vicinity of the bed, and vibration applied to the piezo-electric element by the body movement of a person in bed, and makes judgment as the sleep. Furthermore, the present invention detects the weight of a person in bed by a load-cell installed on the bedding or a bed frame to judge the presence and absence in bed, and further, detects the body movement when the person is in bed to judge sleep. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is the block diagram of the conventional sleep detecting apparatus, Fig. 2 is an external perspective view of a sleep detecting apparatus in a first working example of the present invention, Fig. 3 is a block diagram showing a signal processing system of the apparatus, Fig. 4 is an output waveform diagram of a rectifier of the apparatus, Fig. 5 is a characteristic diagram showing the relationship between a duration of quiet state and probability of the sleeping state, Fig. 6 is an external perspective view of a sleep detecting apparatus in a second working example of the present invention, Fig. 7 is a block diagram showing a signal processing system of the apparatus, Fig. 8 is an output waveform diagram of a piezo-electric element of the apparatus, Fig. 9 is an output waveform diagram of a smoothing device of the apparatus, Fig. 10 is an external perspective view of body movement detecting means in a third working example of the present invention, Fig. 11 is an external perspective view showing a state wherein the body movement detecting means is installed on bed, Fig. 12 is a block diagram showing a signal processing system of a sleep detecting apparatus in a fourth working example of the invention, Fig. 13(a) is an output waveform diagram of a piezo-electric element in the second working example of the present invention, Fig. 13(b) is an expanded output waveform diagram of a portion S of the piezo-electric element in Fig. 13(a), Fig. 14 is an output waveform diagram of a smoothing device in the fourth working example of the present invention, Fig. 15 is an external perspective view of a sleep detecting apparatus in a fifth working example of the present invention, Fig. 16 is a block diagram showing a signal processing system of a sleep detecting apparatus in a sixth working example of the present invention, Fig. 17 is an external perspective view of a sleep detecting means in a seventh working example of the present invention, Fig. 18 is a block diagram showing a signal processing system of a sleep detecting apparatus in an eighth working example of the present invention, Fig. 19 is a characteristic diagram showing a frequency distribution of the body movement quiescent time, Fig. 20 is a block diagram of a sleep detecting apparatus in a ninth working example of the present invention, Fig. 21(b) is an output waveform diagram of a first smoothing device of the apparatus, Fig. 21(b) is an output waveform diagram of a second smoothing device of the apparatus, Fig. 22 is a block diagram of a sleep detecting apparatus in a tenth working example of the present invention, Fig. 23 is an output waveform diagram of a smoothing device and pulse rate detecting means of the apparatus, Fig. 24 is a block diagram of a sleep detecting apparatus in an eleventh working example of the present invention, and Fig. 25 is an output waveform diagram of a weight sensor of the apparatus. BEST MODE FOR CARRYING OUT THE INVENTION In the following, a first working example of the present invention will be described with reference to the accompanying drawings. Fig. 2 is a perspective view when the working example is installed on bed, and Fig. 3 is a block diagram. In Fig. 2 and Fig. 3, numeral 4 designates a body movement detecting means consisting of an infrared-ray sensor 5 and a rectifier 6, numeral 7 designates a comparator, numeral 8 designates a timer and numeral 9 designates a sleep judging means. The infrared-ray sensor 5 is disposed on a bed board 11 of a bed 10. The rectifier 6, comparator 7, timer 8 and sleep judging means 9 are contained in a circuit unit 12. By the above-mentioned configuration, when the rough body movement such as turning over is produced by a person on the bed 10, a signal corresponding to the magnitude of body movement is generated from the infrared-ray sensor 5 and rectified by the rectifier 6. Fig. 4 shows an output waveform from the rectifier 6 at actual sleep. From the figure, whenever the signal of the rectifier 6 exceeds a predetermined first set value V 0 such as in the case of turning over, time measurement is reset in the timer 8; and thereafter, the time measurement is newly started when the signal level drops below V 0 . In the sleep judging means 9, it is judged that the body has fallen asleep when the measurement time of the timer 8 exceeds a set time T 0 predetermined. With respect to deciding the set time T 0 , we have made the following study on the relationship between the rough body movement and a sleeping state. That is, by knowing the fact that the rough body movement disappears on sleep, the relationship is obtained by experiments, between a duration of quiet state where there is no rough body movement and the probability of sleep of a person in bed in that state. The result is shown in Fig. 5. In the figure, the duration of the quiet state is plotted along the abscissa, and the probability of sleep of the person who is tested against the duration of the quiet state is plotted along the left ordinate. In general, after a person falls asleep it moves to a slow wave sleep which is deep sleep, and after some time, the rough body movement takes place and the slow wave sleep comes to an end. From this fact, the probability of an occurrence of the rough body movement and a completion of the slow wave sleep when the quiet state has continued for some time is plotted along the right side ordinate. From the figure, it is known that, for example, when the quiet state lasts for 15 minutes there is about 85% probability of sleep and 10% probability of end of the slow wave sleep, thus it is possible to judge sleep at a sufficient level for practical use by measuring the duration of quiet state. As the above-mentioned set time T 0 , 10 to 15 minutes are adequate. The body movement is detected by the infrared-ray sensor without contacting the body, and the sleep is judged from a simple variable such as a duration of the quiet state wherein the rough body movement is stopped by the operation stated above, so that the sleep can be easily detected without installing a detecting a means for detecting the brain wave and movement of eyeballs on the body as in the past. Though the infrared-ray sensor was installed on a head board of the bed in the aforesaid working example, it may be so constructed that the infrared-ray sensor is disposed on the wall surface of a room, as far as it is within a range where it detects a movement of a person in bed. A second working example of the present invention will be described in the following, this working example differs from the aforesaid working example in a point that, as shown in Fig. 6 and Fig. 7, the body movement detecting means 4 is constituted by a piezo-electric element 13, filter 14, amplifier 15, rectifier 16 and smoothing device 17. The piezo-electric element 13 is constituted by a high-molecular material such as polyvinylidene fluoride which is processed into a thin film and bonded with a flexible electrode film on both surfaces thereof to form a tape, and is fixed on the surface of a mattress 18 as shown in Fig. 6. Numeral 19 designates a circuit unit wherein the filter 14, amplifier 15, rectifier 16, smoothing device 17, comparator 7, timer 8 and sleep judging means 9 (none of which is shown in Fig. 6) are contained. The piezo-electric element 13 and the circuit unit 19 are connected with a shielded wire 20. According to the configuration of the working example stated above, in case the body is present on the bed, when the piezo-electric element 13 is deformed by the fine body movement and rough body movement of the body as aforementioned, responsive to a degree of deformation a voltage is produced from the piezo-electric element 13. Fig. 8 shows an actual output signal from the piezo-electric element 13 and an output waveform from the infrared-ray sensor of the aforesaid working example. In Fig. 8, a high level signal from the piezo-electric element is those of the case of rough body movement, such as getting in and out from the bed, turning over and the movement of hands and feet; but in the case of movement of hands and feet the signal from the infrared-ray sensor is not confirmed. This is because the portions such as hands and feet covered by the bedding can not be detected by the infrared-ray sensor. Next, about 1 to 10Hz components of the output signal of the piezo-electric element 13 are filtered in the filter 14, and after being amplified by the amplifier 15, rectified by the rectifier 16 and smoothed by the smoothing device 17. Fig. 9 shows the actual output signal from the smoothing device 17 when a person falls asleep. From the figure, a large signal is outputted when the rough body movement such as getting in and out from the bed, turning over and the movement of hands and feet has occurred. Then, V a is set as a first set value in the comparator 7 for comparison whether the signal level of the smoothing device 17 is above V a or not. Every time when the signal level exceeds V a , the measurement time is reset in the timer 8, and at the time when the signal level drops below V a thereafter a time measurement is newly started. And, in the sleep judging means 9, it is judged that the body has fallen asleep when the measurement time of the timer 8 exceeds the set time T 0 . V a may be obtained by experiments on a person being tested. By the operation stated above, since the body movement is detected by disposing the piezo-electric element on the beddings in this working example, it is possible to detect a movement of the portions which are covered by the beddings and can not be detected by the infrared-ray sensor, thus the rough body movement can be detected precisely to judge the sleep. Also, since the piezo-electric element has a flexible property and is formed into a tape, it can be disposed easily on the beddings. In the working example mentioned above, though the piezo-electric element is disposed on the mattress, it may be constructed to be contained in the mattress or to dispose on the bed-frame, or further on a futon, sheet, pillow and so on, as far as they are within a range where the rough body movement can be detected. Also, in the aforesaid working example, though one piezo-electric element was used to detect the body movement, it may be so constructed that plural piezo-electric elements are disposed on the bedding; thereby the body movement is detected by either of the piezo-electric elements even when tossing about in sleep or in case of an individual difference in height, so that the accuracy of detecting the body movement is improved. A third working example of the present invention will be explained in the following. This working example differs from the above-mentioned working example in a point that, as shown in Fig. 10, the piezo-electric element 13 is contained in a sheet bag 23, on the end portions of which stretchingly-and shrinkingly movable stretch-shrink parts 21 are provided, and in addition, engaging-and-disengaging parts 22, which enable engaging-and-disengaging of end tip parts by hooks are provided respectively. By the configuration described above, it can be installed easily on any kind of beddings since the stretch-shrink parts 21 are provided. An example of installing the present working example on a bed is shown as one example in Fig. 11. It has an effect of protecting the piezo-electric element 13 from breaking even when the body moves violently on the bedding, since the impact is absorbed by the stretch-shrink parts 21. Furthermore, since the edges of the sheet 23 are removable, they can be easily fit on and removed from the bedding for washing. A fourth working example of the present invention will be described in the following. The difference of this working example from the above-mentioned working example is in a point that: as shown in Fig. 12, the body movement detecting means 4 is constituted by the piezo-electric element 13, filter 14, amplifier 15, rectifier 15(sic) and smoothing device 17, like the second working example; and further comprises an absence judging means 24 for judging the absence of the body on the bed when the signal level of the smoothing device 17 is below a predetermined second set value V b predetermined, a presence judging means 25 for judging presence of the body on the bed in a quiet state when the signal level is above the set value V b and below a predetermined third set value V a , and a rough body movement judging means 26 for judging that the body moves roughly such as turning over on the bed when the signal level exceeds the third set value V a ; whereby the timer 8 resets the measurement time every time the absence is judged or the rough body movement is judged, and starts the time measurement when the presence is judged. Here, the third set value V a is the same as V a in the second working example. The absence judging means 24, presence judging means 25 and body movement judging means 26 are contained in the circuit unit 19. According to the configuration of this working example, the present invention is operated as follows. In case the body is present on the bedding, and when the piezo-electric element 13 is deformed by the fine and rough body movements of the body, a voltage is produced from the piezo-electric element responsive to a degree of deformation. Actual output signal from the piezo-electric element 13 is shown in Fig. 13(a) and Fig. 13(b). A large level signal of Fig. 13(a) is the case of rough body movement such as getting in and out from the bed and turning over. Fig. 13(b) shows an expanded waveform of a portion S in Fig. 13(a). When the body is in bed in a quiet state, a fine body movement propagated by the fine body movement or the functioning of heart and breathing is detected by the piezo-electric element 13 as shown in Fig. 13(b). About 1 to 10Hz components of the output signal of the piezo-electric element 13 is filtered by the filter 14, and after being amplified by the amplifier 15, rectified by the rectifier 16 and smoothed by the smoothing device 17. Fig. 14 shows the actual output signal from the smoothing device 17 when a person falls asleep. From the figure, a large signal is outputted when the rough body movement such as getting in and out from the bed and turning over has occurred, while in case of a quiet state besides that, a low level signal is obtained by the fine body movements stated above. When the body is absent, the signal level is zero. Based upon this, the following judgments are conducted responsive to the signal levels of the smoothing device 17. That is, when the signal level of the smoothing device 17 is below the second set value (V b us Fig. 14) predetermined, it is judged by the absence judging means 24 that the body is absent on the bed. In case the signal level of the smoothing device 17 is above V b and below the third set value (V a in Fig. 14) predetermined, it is judged by the presence judging means 25 that the body is present on the bed in a quiet state. In case the signal level of the smoothing device 17 is above V a , it is judged by the body movement judging means 26 that the body on the bed has moved roughly. V a and V b can be obtained by experiments on a person being tested. Next, when the signal from the presence judging means 25 is outputted, the time measurement operation is started by the timer 8. However, this time measurement operation is reset by the signal from the absence judging means 24 or the body movement judging means 26. Then, in the sleep judging means 9, it is judged that the body on the bed has fallen asleep, when the measurement time measured by the timer 8 exceeds the set time T 0 previously explained. Though the piezo-electric element is deformed to produce the voltage even when things are placed on the mattress, since there is no fine body movement due to the pulses and breathing of the body in a lifeless object as things, there is no occurrence of malfunction. That is, no matter who or what is in bed, it is possible to judge sleep as far as the fine body movement is detected. Even when the impact is exerted on the bed by some action such as bed making, such one is not detected as the rough body movement as far as the presence in bed is not judged. By the above-mentioned operation, the body movement is detected by the piezo-electric element without contacting the body, the presence in bed is judged by detecting the fine body movement of the body, and the sleep is judged from the duration of the quiet state only at presence in bed, and accordingly no matter who is in bed the sleep is judged reliably as far as the fine body movement is judged. Also, even when the impact is exerted on the bed by some actions such as placing lifeless objects like things on the bed or making bed, it is not judged as the rough body movement as far as the presence in bed is not judged, and thus the sleep can be judged without error. In the aforesaid working example, though the piezo-electric element is disposed on a mattress, it may be so constructed that the piezo-electric element may be contained in the mattress or on the bed-frame, or may be contained in or disposed on the futon, sheets and pillow as far as within a range of detecting the fine body movement. A fifth working example of the present invention will be described in the following. Difference of this working example from the above-mentioned working example is in a point that, as shown in Fig. 15, display means 27 which displays the signal level of the smoothing device 17 and first setting means 28 which is capable of setting the V b and V a manually in response to the content displayed on the display means 27 are included. By the above configuration, the user himself can set the V b and V a manually by the first setting means 18 in response to the signal level of the smoothing device 17 displayed on the display means 27. Accordingly, even when there is an individual difference in the magnitude of fine body movement, the user can select a threshold value which suits him, and therefore the fine body movement can be detected reliably to detect the sleep. A sixth working example of the present invention will be described in the following. Difference of this working example from the above-mentioned working example is in a point that: as shown in Fig. 16, to include first memory means 29 for sampling and storing the signal level of the smoothing device 17 of the body movement detecting means 4 at a period predetermined when the presence in bed is judged by the presence judging means 24, first operating means 30 for operating a minimum value and a maximum value of the contents stored in the first memory means 29, and second setting means 31 for refreshing the minimum value as the second set value V b and the maximum value as the third set value V a are included. By the above-mentioned configuration, when the signal level of the smoothing device 17 is stored in the first memory means 29, the minimum value and the maximum value of the stored content are operated, and the minimum value and the maximum value are respectively represented as V b and V a . By the above-mentioned configuration, even when there are individual differences in the magnitude of fine body movements, since a set value for successively storing the magnitudes of fine body movement and detecting the fine movement is learned, the fine body movement can be detected reliably to detect the sleep. A seventh working example of the present invention will be described in the following. Difference of this working example from the above-mentioned working example is in a point that, as shown Fig. 17, third setting means 32 capable of manually changing the set time T 0 which has been previously explained is provided. Thereby, even though there are individual differences in the duration of the quiet state, the sleep can be detected reliably by selecting the set time T 0 which fits to himself by the user. An eighth working example of the present invention will be described in the following. Difference of this working example from the above-mentioned working example is in a point that, as shown in Fig. 18, it comprises: second memory means 33 for storing the measurement time of the timer 8 every time the time measurement of the timer 8 is reset, second operating means 34 for operating an occurrence frequency distribution of the measurement time stored in the second memory means 33, third operating means 35 for operating to obtain a certain time T in a manner that a ratio of a cumulative frequency upto the time T in said occurrence frequency distribution to a total cumulative frequency shows a predetermined value, and fourth setting means 36 for conducting the storing and operating operations at every fixed period to refresh the setting with the time T as the set time T 0 . By the above-mentioned configuration, the measurement time of the timer 8 is stored in the second memory means 33, every time the time measurement operation of the timer 8 is reset by the signal of the absence judging means 24 or body movement judging means 25. Then, the occurrence frequency distribution of the measurement time having been stored is operated by the second operating means 34. Fig. 19 shows the frequency distribution operated. In the figure, the abscissa is graduated by measurement time, and the ordinate is graduated by frequency. Next, in the occurrence frequency distribution, the time T is operated by the third operating means 35 in a manner that a ratio of a cumulative frequency upto a certain time to a total cumulative frequency ( S1/(S1+S2) in Fig. 19) shows a predetermined value S 0 . Then, the time T is set by the fourth setting means 36 as the set time T 0 . The value S 0 can be obtained by experiments on subject. Thereby, even when there are individual differences in durations of the quiet state the sleep can be detected reliably, since the duration of the quiet state is successively stored and the set time for detecting the sleep is learned. A ninth working example of the present invention will be described in the following. Difference of this working example from the above-mentioned working example is in a point that, as shown in Fig. 20, the body movement detecting means 4 comprises: at least one piezo-electric element 13 disposed on the bedding, a filter 14 which filters a certain specific frequency component for respective signals of the piezo-electric element 13, a first amplifier 15a which amplifies the signal from the filter 14, a second amplifier 15b which amplifies the signal from the filter 14, a second amplifier 15b having a smaller amplification than the first amplifier 15a and amplifying the signal from the filter 14, a first rectifier 16a, a second rectifier 16b, a first smoothing device 17a which smoothes the signal from the first rectifier 16a, and a second smoothing device 17b which smoothes the signal from the second rectifier 16b; whereby the absence judging means 24 judges the absence of a body on the bedding when the signal level of the first smoothing device 17a is below the second set value V b , the presence judging means 25 judges the presence of a body on the bedding in a quiet state when the signal level of the first smoothing device 17a is above V b and the signal level of the second smoothing device 17b is below a fourth set value V c predetermined, and the rough body movement judging means 26 judges the rough body movement of the body on the bedding when the signal level of the second smoothing device 17b is above V c . According to the configuration of this working example, the present invention operates as follows. In case the body is present on the bedding and when the piezo-electric element 13 disposed on the bedding is deformed by the fine or rough movement of the body, a voltage is produced from the piezo-electric element responsive to a degree of deformation. This output signal is filtered by the filter 14 and the signal is amplified by the first amplifier 15a, rectified by the first rectifier 16a and smoothed by the first smoothing device 17a, and further amplified by the second amplifier 15b, rectified by the second rectifier 16b and smoothed by the second smoothing device 17b. Here, the first amplifier 15a has a same characteristic as the amplifier 15 of the conventional example previously described, and the second amplifier 15b has the amplification set smaller than that of the first amplifier 15a. And, the two smoothing devices respectively have the same characteristics as the rectifier and integrator of the conventional examples previously described. Fig. 21(a) shows a signal waveform of the first smoothing device 17a at actual sleep, and Fig. 21(b) shows a signal waveform of the second smoothing device 17b. Here, though the magnitude of deformation applied to the piezo-electric element 1 by both the rough body movement of the body in bed and the movement of others is naturally larger in the former, since the first amplifier 15a has as same high amplifying characteristic as the amplifier in the conventional example previously described as shown in Fig. 21(a), the signal level by the rough body movement such as getting in and out of the bed and turning over and the signal level by the movement of other are both above the first set value V a described before; and the rough movement of the body in bed and the movement of other can not be distinguished. However, since the amplification of the second amplifier 15b is set smaller than that of the first amplifier 15a, the signal level of the movement of others is smaller compared to the rough body movement of the person in bed as shown in Fig. 21b,; and thus when the fourth set value V c is set as shown in the figure, it is possible to distinguish the rough body movement of the person himself in bed and the movement of other. Thereby, the following judgments are made responsive to the signal levels of the first smoothing device 17a and the second smoothing device 17b. In case the signal level of the first smoothing device is below V b , it is judged by the absence judging means 24 that the body is absent on the bedding. In case the signal level of the first smoothing device 17a is above V b and the signal level of the second smoothing device 17b is below V c , it is judged by the presence judging means 25 that the body is present on the bedding in a quiet state. In case the signal level of the second smoothing device 17b is above V c , it is judged by the body movement judging means 26 that the body on the bedding has produced a rough body movement. Next, when the signal is outputted from the presence judging means 25, the time measurement operation is started by the timer 8. However, the time measurement operation is reset by the signal of the absence judging means 24 or the body movement judging means 26. And, in the sleep judging means 9, when the measurement time measured by the timer 8 exceeds the set time T 0 described before, it is judged that the body has fallen asleep on the bedding. By the above-mentioned operation, according to this working example, by adding an amplifier having a smaller amplification than the conventional example in the signal processing circuit of the sleep judgment of the conventional example, the vibration propagation by the body movement of the person in bed and the movement of others can be distinguished, thus it is possible to provide a sleep detecting apparatus without malfunction in judging the sleep. A tenth working example of the present invention will be described in the following. The difference of this working example from the above-mentioned working example is in a point that, as shown in Fig. 22, the body movement detecting means 4 is constituted by the piezo-electric element 13, filter 14, amplifier 15, rectifier 16 and smoothing device 17 as the second working example, and has the pulse rate detecting means 37 which detects and counts pulses by the signal from the smoothing device 17; whereby the fourth operating means 38 which operates the change in pulse rate within a predetermined time, and that the timer 8 resets the measurement time and starts the new time measurement every time the signal level of the smoothing device 17 exceeds a predetermined fifth set value and an operation value of the fourth operating means 38 exceeds a predetermined sixth set value. According to the configuration of this working example, the present invention operates as follows. The absence, presence and rough body movement are judged by the signal level of the smoothing device 17 similarly to the above-mentioned working example, but as shown in Fig. 12b and Fig. 13, it is possible to detect heart beat pulses of the human body, and by the pulse detecting means 37 the heart beat pulses are detected and counted from the signal of the smoothing device. Hereupon, when the rough body movement such as turning over is produced for the human body as shown in Fig. 23, a signal of large level is outputted from the smoothing device 17, and a transient heart beat pulse rate increase by the rough body movement is noticed. Meanwhile, though a signal of large level is outputted when others walk around the bed, there is no increase of pulse rates in the person in bed. Accordingly, it is possible to distinguish motion of other and the rough body movement of the person in bed when the increase of pulse rates at rough body movement is detected. Therefore, the change in pulse rates within a predetermined time is operated by the fourth operating means 38 with respect to the pulse rates which are detected by the pulse rate detecting means 37; and the measurement time is reset and the new time measurement is started in the timer 8, every time the signal level of the smoothing device 17 exceeds the fifth set value V a and the operation value of the fourth operating means 38 exceeds a sixth set value predetermined. Thereby, only when the rough body movement is produced by the person in bed, the time measurement is reset and the new time measurement is started. Then, in the sleep judging means 9, when the measurement time measured by the timer 8 exceeds the afore-mentioned set time T 0 , it is judged that the body has fallen asleep on the bedding. Here, the fifth set value V a is as same as V a in the second working example. By the operation above-mentioned, by detecting the transient increase of pulse rates noticed when the rough body movement is produced on the person in bed, it is possible to distinguish a motion of others in the vicinity of the bed and the rough body movement of the person in bed, thereby the malfunction of judging the sleep is solved. An eleventh working example of the present invention will be described in the following. The difference of this working example from the working example aforementioned is in a point that, as shown in Fig. 24, the body movement detecting means 4 consists of: a weight sensor 39 using a load-cell, a differentiator 40 which differentiates the signal of the weight sensor 39, a rectifier 41 which rectifies the signal from the differentiator 40, input means 42 for inputting weight of the person in bed, and presence judging means 43 which judges that the person is present in bed when the weight detected by the weight sensor 39 is within a fixed range around the value inputted from the input means 42. The weight sensor 39 is installed on the bed frame. By the configuration stated above, when the user inputs weight W s in advance by the input means 41, it is judged by the presence judging means 43 that the person is present in bed, in case the weight W detected by the weight sensor 39 is within a fixed range (Ws ± ΔW) around the value V s inputted by the input means 42 as shown in Fig. 25. In case the presence in bed is judged, since the signal of the weight sensor 39 changes temporarily when the rough body movement is produced on the person in bed, it is compared in the comparator 7 whether or not the value of signal level D of the differentiated and rectified value of the signal is above the predetermined threshold value D 0 . Every time the signal level D exceeds the threshold value D 0 , the timer 8 resets the time measurement taking as that the rough body movement is produced; and at the point of time when the signal level becomes below the threshold value D 0 , newly starts the time measurement. And, in the sleep judging means 9, it is judged that the human body has fallen asleep when the measurement time of the timer 8 exceeds the afore-mentioned set time T 0 . In case a person other than the person to be in bed gets in the bed or things are placed on the bed, the detecting operation of sleep is not performed since the presence in bed is not judged. Also, even when the impact is exerted on the bed by some action such as bed making, it is not detected as the rough body movement as far as the presence in bed is not judged. By the above-mentioned operation, the weight of the person in bed is detected by the weight sensor to judge the presence and the rough body movement of the person in bed is detected to judge the sleep only in case of the presence in bed, and therefore in case a person other than the person in bed gets in the bed or things are placed on the bed, the presence is not judged and the operation for detecting the sleep is not performed. And, even when the impact is exerted on the bed by some action such as bed making, it is not detected as the rough body movement as far as the presence is not judged. Accordingly, it is possible to judge sleeping without error in such a way that the sleep is judged only in the case the person is in bed. In the above working examples, though the piezo-electric element was disposed on the bedding, the detection may be made by a construction that the piezo-electric element is disposed on furniture such as a sofa and a study chair to detect the sleep. Also, the piezo-electric element may be disposed on a toilet seat and a bath tub to detect the sleep. While the working example of the present invention has been described above, as fields of application of the present invention there are so many besides aforementioned; for example, it may be applied widely and used practically as a control signal of an air conditioner, lightings and video and audio equipment for realizing a comfortable sleeping environment, or used as measuring instruments for sleeping experiments in clinical field such as a medical treatment of insomnia, or used as monitoring equipment for sleeping management and bed management in hospital and at-home case. INDUSTRIAL APPLICABILITY As described hereinabove, according to a sleep detecting apparatus of the present invention, the following effects can be obtained. Since the body movement is detected by an infrared-ray sensor without contacting the body, and sleep is judged from a simple variable such as a duration of quiet state wherein the rough body movement is stopped, it is possible to detect the sleeping easily without installing detecting means for detecting a brain wave, movement of eyeballs and pulse wave on the human body, and without contacting thereto as in the past. Also, since the body movement is detected by disposing a piezo-electric element on the bedding, it is possible to detect movement of the portions covered by the bedding which can not be detected by the infrared-ray sensor, thus the rough body movement is detected reliably to judge the sleep. Also, since the piezo-electric element has a flexible property and is formed into a tape, it can be easily disposed on the bedding. Besides, a sheet piezo-electric element, which is provided, on respective end portions, with stretchingly-and-shrinkingly movable stretch-shrink parts, and besides, engaging-and-disengaging parts which enable engaging-and-disengaging of the end tip parts, is contained inside, and therefore it can be installed easily on any beddings, and the piezo-electric element can be prevented from breaking, since the impact is absorbed by the expansion even when the body moves violently on the bedding. Also, the body movement is detected without contacting the human body by the piezo-electric element, the fine body movement is detected to judge the presence in bed, and sleep is judged from the duration of quiet time only in case of the presence in bed, and therefore the sleep is judged no matter who is in bed as far as the fine body movement is detected. And even when the impact is exerted on the bed by some action such as placing a lifeless object like things or bed making, it is not detected as the rough body movement as far as the presence in bed is not judged, and thus it is possible to judge the sleep without malfunction. Since setting means whereby the user can set a set value for optionally detecting the body movement is provided taking into account an individual difference in the magnitude of body movement, the body movement can be detected more reliably to detect the sleep. Moreover, since the magnitude of body movement is successively stored and a set value for detecting the body movement is obtained by the learning, taking into account an individual difference in the magnitude of body movement, it is possible to detect the body movement more reliably to detect the sleep. Also, since setting means whereby the user can set a set time value of the body movement quiescent time optionally is provided, taking into account an individual difference in the quiescent time of the body movement, it is possible to detect the sleep more reliably. Furthermore, since a frequency distribution of the body movement quiescent time is operated to obtain a set time value of the body movement quiescent time, taking into account an individual difference in the quiescent time of the body movement, the sleep can be detected more reliably. Also, by adding an amplifier having a smaller amplification than the conventional example in a signal processing circuit of the sleep judgment, it is possible to distinguish vibration propagations by the body movement of the person in bed and the action by others, thus a sleep detecting apparatus without malfunction in judging the sleep can be provided. By detecting a transient rise of pulse rates noticed when the rough body movement is produced on the person in bed, it is possible to distinguish movement of others in the vicinity of bed and the rough body movement of the person in bed, thereby malfunction of the sleep judgment is solved. Furthermore, since the weight of the person in bed is detected by a weight sensor thereby to judge the presence in bed, and the rough body movement of the person in bed is detected thereby to judge the sleep only in the case of presence in bed, in case the other person gets in bed or things are placed on the bed, the presence is not judged and the operation for detecting the sleep is not conducted. Also, even when the impact is exerted on the bed by some action such as bed making, it is not detected as the rough body movement as far as the presence in bed is not judged. Accordingly, it is possible to judge sleeping without error such as detecting the sleep only when the person is in bed.

Claims: A sleep detecting apparatus comprising: a body movement detecting means (4) for detecting a movement of a human body on a bed (10), seat or the like, said body movement detecting means (4) producing a signal, the level of said signal being compared with at least one predetermined set value; a timer (8), which resets a time measurement and starts a new measurement every time when said level of said signal exceeds said first predetermined set value; and a sleep judging means (9) for judging that said human body has fallen asleep when a measured time of said timer (8) exceeds a predetermined set time. A sleep detecting apparatus in accordance with claim 1, wherein the body movement detecting means (4) consists of an infrared-rays sensor (5) for detecting infrared rays and is installed on a bed frame or on the wall of a room. A sleep detecting apparatus in accordance with claim 1, wherein the body movement detecting means (4) includes at least one piezo-electric element (13) disposed on a bedding or the like, a filter (14) which filters a certain specific frequency component with respect to signals of the piezo-electric element, an amplifier (15) which amplifies the filter signal, a rectifier (16) which rectifies the amplifier signal and a smoothing device (17) which smoothes the rectifier signal. A sleep detecting apparatus in accordance with claim 3, wherein the piezo-electric element (13) is formed into a tape by processing a high-molecular piezo-electric material such as polyvinylidene fluoride into a thin film, and bonded with a flexible electrode film on both surfaces thereof. A sleep detecting apparatus in accordance with claims 3 or 4, wherein the piezo-electric element (13) is contained in a sheet shaped bag (23), and stretching-and-shrinkingly movable stretch-shrink parts (21) are provided on the end parts of the bag (23), and in addition, engaging and disengaging parts (22), which enable engaging-and-disengaging of end tip parts of said stretch-shrink parts (21) with each other, are provided on respective ones of said end parts. A sleep detecting apparatus in accordance with claim 1, including an absence judging means (24) for judging the absence of a human body on the bed (10), seat or the like when a signal level of the body movement detecting means (4) is below one (the second) set value predetermined, a presence judging means (25) for judging the presence of a human body on the bed (10), seat or the like in a quiet state when the signal level is above said one set value and below another (the third) set value predetermined, and a rough body movement judging means (26) for judging that the human body has produced a rough body movement such as turning over on the bed (10), seat or the like when the signal level is above said other set value, a timer (8) resetting the time measurement whenever the absence or the rough body movement is judged and starting the time measurement when the presence in the bed (10), seat or the like is judged. A sleep detecting apparatus in accordance with claim 6, wherein a display means (27) for displaying the signal level of the body movement detecting means (4), and a (the first) setting means (28) capable of changing said one (the second) set value and said other (the third) set value manually in response to the signal level displayed by the display means (27) are provided. A sleep detecting apparatus in accordance with claim 6, having a (the first) memory means (29) for sampling and storing the signal level of the body movement detecting means (4) at a predetermined period, when the presence in the bed (10), seat or the like is judged by the presence judging means (25), a (the first) operating means (30) for operating a minimum value and a maximum value of the contents stored in a (the first) memory means (29), and a (the second) setting means (31) for refreshing the minimum value as said one (the second) set value and the maximum value as said other (the third) set value. A sleep detecting apparatus in accordance with claim 8, wherein a (the third) setting means (32) capable of setting a set time manually is provided. A sleep detecting apparatus in accordance with claim 8, including a (the second) memory means (33) for storing the measurement time of the timer (8) whenever the time measurement of the timer is reset, a (the second) operating means (34) for operating a frequency distribution of the measurement time stored in said memory means (33), a (the third) operating means (35) for operating to obtain a time T in a manner that a ratio of a cumulative frequency, achieved up to a certain time T in the frequency distribution, to a total cumulative frequency becomes a predetermined value, and a (the fourth) setting means (36) for executing the storing and operating operations at every fixed period thereby to set and refresh the time T as the set time. A sleep detecting apparatus in accordance with claim 1, wherein the body movement detecting means (4), comprises: at least one piezo-electric element (13) disposed on a bedding or the like, a filter (14) which filters a certain specific frequency component with respect to signals from the piezo-electric element (13), a first amplifier (15a) which amplifies the filter signal, a second amplifier (15b) having a smaller amplification than the first amplifier (15a) and amplifying the filter signal, a first smoothing device (17a) which smoothes the first amplifier signal and a second smoothing device (17b) which smoothes the second amplifier signal, and further comprises: an absence judging means (24) for judging the absence of the human body on the bedding or the like when a signal level of the first smoothing device (17a) is below one (the second) set value, a presence judging means (25) for judging the presence of the human body on the bedding or the like in a quiet state when the signal level of the first smoothing device (17a) is above said one set value and a signal level of the second smoothing device (17b) is below another (the fourth) set value predetermined, and rough body movement judging means (26) for judging that the human body has produced the rough body movement on the bedding or the like when the signal level of the second smoothing device (17b) is above said other set value. A sleep detecting apparatus in accordance with claim 1 further comprising, heart beat pulse rate detecting means (37) for detecting and counting pulses by the signal from the body movement detecting means (4), a (the third) operating means (35) for operating the change in pulse rate within a predetermined time, and the timer (8) resetting the time measurement and starting the new time measurement every time when the signal level of the body movement detecting means (4) exceeds one predetermined (the fifth) set value and the operation value of said operating means (35) exceeds another predetermined (the sixth) set value. A sleep detecting apparatus in accordance with claim 1, wherein the body movement detecting means (4) includes a presence judging means (25) which consists of a weight sensor (39), using a load-cell and being installed on the bedding or the like or a bed frame, and judges the absence and presence of a human body on the bed, bedding or the like by detecting the weight of the human body in the bed or in the bedding or the like by the weight sensor.

Inventors: OGINO HIROYUKI, OGINO, HIROYUKI, OGINO, HIROYUKI, 105 NASHIHARAHAITSU
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1991
Main classification: A61B5
IPC codes: A61B5