Intelligent wake-up system and method based on sleep monitoring
Technical Field
The invention belongs to the technical field of sleep products, and particularly relates to an intelligent awakening system and method based on sleep monitoring.
Background
Sleep inertia (SLEEP INERTIA, SI) refers to a transitional period experienced by the human body when transitioning from a sleep state to an awake state, and is usually manifested by symptoms such as temporary impairment of cognitive function, inattention, slow thinking, and mood swings. This phenomenon typically occurs during deep stages of sleep, particularly when waking up during deep sleep (N3 stage) or rapid eye movement sleep (REM stage), the individual experiences more severe sleep inertia.
Studies have shown that sleep inertia is closely related to the sleep stage in which it is in when it wakes up. The brain and the body of the human body are not completely ready to be activated when the human body is in a deep sleep stage, and the natural rhythm of the biological clock is disturbed by the waking, so that the nervous system cannot be timely restored to a completely awake state, and the thinking, the memory, the judgment and the emotional stability of the individual are affected. Sleep inertia generally subsides within 30 minutes after waking, but severe persons may last 1 to 4 hours, and brief naps such as noon naps may also occur. Thus, how to reduce or eliminate the effects of sleep inertia on an individual is a matter that should be considered by a sleep product.
Blue light wake-up technology has received a great deal of attention in sleep research and intelligent health devices in recent years. Blue light, especially short wavelength light with wavelengths in the range of 450-495 nanometers, is believed to have significant physiological effects, especially in regulating biological clocks and affecting sleep quality. Blue light can directly influence the pineal bodies in the brain through the stimulation of the blue light to rhodopsin in the retina, and regulate the secretion of melatonin, thereby playing an important role in circadian rhythm. Melatonin is a hormone secreted by the pineal gland and is primarily responsible for regulating the sleep-wake cycle. Normally, the secretion of melatonin is increased at night, so that a person is drowsy and goes to sleep, while in the early morning or in the daytime, the blue light can effectively inhibit the secretion of melatonin, and the transition of the human body from a sleep state to an awake state is assisted.
Studies have shown that receiving blue light for 20-30 minutes in the early morning can effectively adjust the sleep stage of an individual, making it easier for the user to stay awake and comfortable after getting up. And blue light irradiation can be used as a treatment means for some patients with sleep disorder, and the sleeping time and period of an individual can be effectively reset through a regular blue light irradiation period so as to be used for adjusting the influence of time differences caused by work and the like.
In many conventional wake-up modes, the specific sleep state of the user is not considered in setting the alarm clock time point, so that the user wakes up in a deep sleep stage or a REM sleep stage, and the sleep inertia phenomenon is often aggravated by the wrong wake-up time, so that the user is negatively affected. Especially in busy modern society, many people neglect the law of sleep cycle for getting up on time, resulting in improper sleep stage when getting up, thereby inducing long-time morning fatigue feeling and affecting working efficiency and emotion management throughout the day.
Although there are some products based on light wake-up on the market, which help users wake-up by simulating sunrise or providing different intensity of light, most of the existing light wake-up products do not fully utilize sleep monitoring technology to accurately judge the sleep stage of users, which causes certain limitation in realizing personalized and scientific wake-up.
Disclosure of Invention
The invention aims to provide an intelligent awakening system and method based on sleep monitoring, which are used for awakening a user at proper time by analyzing the sleep stage of the user in real time and combining with strategies such as blue light awakening and vibration awakening on the basis of wearable sleep monitoring equipment so as to reduce the interference to sleep and improve the comfort of the awakening process and the mental state of the user.
According to the technical scheme, the intelligent awakening system based on sleep monitoring comprises a monitoring module, an awakening module, a Bluetooth module and a processor, wherein the processor is respectively in communication connection with the monitoring module and the awakening module through the Bluetooth module, the monitoring module is used for collecting physiological signals during sleeping of a user, the Bluetooth module is used for transmitting the collected physiological signals to the processor and transmitting instructions of the processor to the awakening module, the processor performs sleeping stage in real time according to the collected physiological signals and judges whether and how to awaken the user, and the awakening module wakes the user through combining vibration and blue light stimulation.
Further, the monitoring module comprises a grounding signal acquisition unit, an electroencephalogram signal acquisition unit, an electro-oculogram signal acquisition unit, an electromyogram signal acquisition unit and a reference signal acquisition unit, wherein the electro-electroencephalogram signal acquisition unit is adhered to the forehead of a user through conductive soft adhesive, the electro-oculogram signal acquisition unit is adhered to the other side of the eyes of the user through conductive soft adhesive, the electromyogram signal acquisition unit is adhered to the lower jaw of the user through conductive soft adhesive, and the reference signal acquisition unit is adhered to the mastoid behind the ears of the user through conductive soft adhesive.
Further, the wake-up module includes a vibration unit and a blue LED light worn on the forehead of the user.
In a second aspect, the invention provides an intelligent wake-up method based on sleep monitoring, comprising the following steps:
S1, setting alarm clock time of a user.
S2, collecting physiological signals during sleeping of the user.
S3, obtaining a sleep stage result of the user by adopting a real-time sleep stage algorithm according to physiological signals during the sleep period of the user.
S4, judging whether the user is in a deep sleep stage or a rapid eye movement sleep stage in the alarm clock time according to the sleep stage result of the user, if so, entering a step S5, otherwise, entering a step S6.
S5, carrying out blue light irradiation on the user, monitoring the change condition of the sleep stage of the user in real time, responding to the transition of the user to the shallow sleep stage, carrying out vibration awakening on the user, and ending the awakening process.
S6, carrying out vibration awakening on the user, and ending the awakening process.
Further, the physiological signals during sleep of the user acquired in step S2 include an electroencephalogram signal, an electrooculogram signal, and an electromyogram signal.
Further, step S3 includes the following sub-steps:
S31, intercepting brain electrical signals, eye electrical signals and electromyographic signals of a user during sleep for 30 seconds, and extracting time-frequency characteristics of the brain electrical signals, the eye electrical signals and the electromyographic signals through short-time Fourier transformation.
S32, inputting the time-frequency characteristics into a filter bank layer, and learning and enhancing the sub-frequency bands contributing to the sleep stage tasks.
S33, inputting the enhanced time-frequency characteristics into the first RNN layer to obtain time dynamic information of the brain electrical signals, the eye electrical signals and the electromyographic signals.
S34, inputting time dynamic information into the attention layer, and weighting time sequence signals in the time dynamic information to obtain a stage numerical result corresponding to the original 30S brain electrical signals, eye electrical signals and electromyographic signals.
S35, inputting the stage numerical result into the second RNN layer to obtain long-time sleep stage time sequence information.
S36, inputting the long-time sleep stage time sequence information into an output layer to obtain a sleep stage result of the user.
Further, in step S5, the maximum time for blue light irradiation is set to 30 minutes, and if the user does not transition to the light sleep stage within 30 minutes, the user is forced to wake up by vibration.
The beneficial effects of the invention are as follows:
(1) According to the invention, the sleep stage of the user is accurately judged, and the wake-up is carried out at a proper time point, especially the sudden wake-up is avoided in the deep sleep (N3) and rapid eye movement sleep (REM) stages, so that the sleep inertia is effectively reduced.
(2) The invention can analyze the sleep stage of the user accurately in real time by using multichannel physiological signals such as the brain electrical signal, the eye electrical signal, the mandibular electromyographic signal and the like and combining with the advanced signal processing technology, and the high-precision sleep monitoring technology provides a solid foundation for precise personalized awakening, so that the user is ensured to be awakened at proper time instead of being disturbed at the deep stage of the sleep period.
(3) The invention can be applied to sleep management in daily life of ordinary consumers, can be extended to sleep management of special groups (such as night shift workers, time difference adjustment, flight adjustment and the like), and can be combined with other health management equipment in the future to form a more comprehensive personalized health solution.
Drawings
Fig. 1 is a block diagram of an intelligent wake-up system based on sleep monitoring according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an intelligent wake-up system based on sleep monitoring according to a first embodiment of the present invention.
Fig. 3 is a flowchart of an intelligent wake-up method based on sleep monitoring according to a second embodiment of the present invention.
Fig. 4 is a schematic diagram of a real-time sleep stage algorithm according to a second embodiment of the present invention.
Fig. 5 is a schematic diagram of a wake-up process according to a second embodiment of the present invention.
The reference numerals indicate a 1-grounding signal acquisition unit, a 2-brain electrical signal acquisition unit, a 3-eye electrical signal acquisition unit, a 4-electromyographic signal acquisition unit, a 5-reference signal acquisition unit, a 6-vibration unit and a 7-blue light LED lamp.
Detailed Description
Exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It is to be understood that the embodiments shown and described in the drawings are merely illustrative of the principles and spirit of the invention and are not intended to limit the scope of the invention.
Embodiment one:
the embodiment of the invention provides an intelligent awakening system based on sleep monitoring, which is shown in fig. 1 and comprises a monitoring module, an awakening module, a Bluetooth module and a processor, wherein the processor is respectively in communication connection with the monitoring module and the awakening module through the Bluetooth module, the monitoring module is used for collecting physiological signals during sleeping of a user, the Bluetooth module is used for transmitting the collected physiological signals to the processor and transmitting instructions of the processor to the awakening module, the processor performs sleeping stage in real time according to the collected physiological signals and judges whether and how to awaken the user, and the awakening module wakes the user through combining vibration and blue light stimulation.
As shown in fig. 2, in the embodiment of the present invention, the monitoring module includes a ground signal collecting unit 1, an electroencephalogram signal collecting unit 2, an electro-oculogram signal collecting unit 3, an electro-myogram signal collecting unit 4 and a reference signal collecting unit 5, where the electroencephalogram signal collecting unit 2 is attached to the forehead of the user through conductive soft adhesive, the electro-oculogram signal collecting unit 3 is attached to the side of the eyes of the user through conductive soft adhesive, the electro-myogram signal collecting unit 4 is attached to the mandible of the user through conductive soft adhesive, and the reference signal collecting unit 5 is attached to the mastoid behind the ears of the user through conductive soft adhesive. Physiological signals acquired by the monitoring module during sleep of the user are transmitted to a processor through Bluetooth, and the processor comprises but is not limited to a client application, a cloud end and the like.
As shown in fig. 2, in an embodiment of the present invention, the wake-up module includes a vibration unit 6 and a blue LED lamp 7 worn on the forehead of the user.
Embodiment two:
The embodiment of the invention provides an intelligent wake-up method based on sleep monitoring, which is shown in fig. 3 and comprises the following steps S1-S6:
s1, setting alarm clock time of a user, namely time when the user expects to be awakened.
S2, collecting physiological signals during sleeping of the user.
In the embodiment of the invention, the monitoring module provided in the first embodiment collects physiological signals including brain electrical signals, eye electrical signals and electromyographic signals during sleeping of a user.
S3, obtaining a sleep stage result of the user by adopting a real-time sleep stage algorithm according to physiological signals during the sleep period of the user.
As shown in fig. 4, step S3 includes the following substeps S31 to S36:
S31, intercepting brain electrical signals, eye electrical signals and electromyographic signals of a user during sleep for 30 seconds, and extracting time-frequency characteristics of the brain electrical signals, the eye electrical signals and the electromyographic signals through short-time Fourier transformation.
S32, inputting the time-frequency characteristics into a filter bank layer, and learning and enhancing the sub-frequency bands contributing to the sleep stage tasks.
S33, inputting the enhanced time-frequency characteristics into a first RNN (recurrent neural network) layer to obtain time dynamic information of the brain electrical signals, the eye electrical signals and the electromyographic signals.
S34, inputting time dynamic information into the attention layer, and weighting time sequence signals in the time dynamic information to obtain a stage numerical result corresponding to the original 30S brain electrical signals, eye electrical signals and electromyographic signals.
S35, inputting the stage numerical result into the second RNN layer to obtain long-time sleep stage time sequence information.
S36, inputting the long-time sleep stage time sequence information into an output layer to obtain a sleep stage result of the user.
S4, judging whether the user is in a deep sleep stage or a rapid eye movement sleep stage in the alarm clock time according to the sleep stage result of the user, if so, entering a step S5, otherwise, entering a step S6.
S5, as shown in fig. 5 (a), if the user is in a deep sleep (N3) stage or a rapid eye movement sleep (REM) stage in the alarm clock time, blue light irradiation is carried out on the user, the change condition of the sleep stage of the user is monitored in real time, and vibration awakening is carried out on the user in response to the transition of the user to the shallow sleep (N1 or N2) stage, so that the awakening process is ended.
In the embodiment of the invention, considering the effectiveness of blue light irradiation, the maximum time for carrying out blue light irradiation on the user is set to be 30 minutes, and if the user does not transition to the shallow sleep stage within 30 minutes, the user is awakened by forced vibration.
S6, as shown in fig. 5 (b), if the user is in the stage of shallow sleep (N1 or N2) in the alarm clock time, the user is directly subjected to vibration awakening, and the awakening process is ended.
Those of ordinary skill in the art will recognize that the embodiments described herein are for the purpose of aiding the reader in understanding the principles of the present invention and should be understood that the scope of the invention is not limited to such specific statements and embodiments. Those of ordinary skill in the art can make various other specific modifications and combinations from the teachings of the present disclosure without departing from the spirit thereof, and such modifications and combinations remain within the scope of the present disclosure.