CN106681123B - Intelligent alarm clock self-adaptive control awakening method and sleep monitoring system - Google Patents

Intelligent alarm clock self-adaptive control awakening method and sleep monitoring system Download PDF

Info

Publication number
CN106681123B
CN106681123B CN201611039375.4A CN201611039375A CN106681123B CN 106681123 B CN106681123 B CN 106681123B CN 201611039375 A CN201611039375 A CN 201611039375A CN 106681123 B CN106681123 B CN 106681123B
Authority
CN
China
Prior art keywords
cur
awakening
alarm clock
volume
sleep
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611039375.4A
Other languages
Chinese (zh)
Other versions
CN106681123A (en
Inventor
孙琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Somnic Technology Co ltd
Xilinmen Furniture Co Ltd
Original Assignee
Zhejiang Somnic Technology Co ltd
Xilinmen Furniture Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Somnic Technology Co ltd, Xilinmen Furniture Co Ltd filed Critical Zhejiang Somnic Technology Co ltd
Priority to CN201611039375.4A priority Critical patent/CN106681123B/en
Publication of CN106681123A publication Critical patent/CN106681123A/en
Application granted granted Critical
Publication of CN106681123B publication Critical patent/CN106681123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04BMECHANICALLY-DRIVEN CLOCKS OR WATCHES; MECHANICAL PARTS OF CLOCKS OR WATCHES IN GENERAL; TIME PIECES USING THE POSITION OF THE SUN, MOON OR STARS
    • G04B23/00Arrangements producing acoustic signals at preselected times
    • G04B23/02Alarm clocks
    • G04B23/021Controls (winding up the alarm; adjusting and indicating the waking time)
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Detecting, measuring or recording devices for evaluating the respiratory organs
    • A61B5/0816Measuring devices for examining respiratory frequency
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1116Determining posture transitions
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4809Sleep detection, i.e. determining whether a subject is asleep or not
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4812Detecting sleep stages or cycles
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6887Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient mounted on external non-worn devices, e.g. non-medical devices
    • A61B5/6892Mats
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G13/00Producing acoustic time signals
    • G04G13/02Producing acoustic time signals at preselected times, e.g. alarm clocks
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0027Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense

Abstract

The invention relates to an intelligent alarm clock self-adaptive control awakening method and a sleep monitoring system. The volume of the existing alarm cannot be adjusted in real time according to the sleep state of a user, and the problem of single awakening mode exists. According to the invention, the alarm clock awakening module is controlled to perform a flexible awakening function according to the real-time sleep state of the user through the self-adaptive control awakening method, and the volume of the alarm clock is tracked and adjusted according to the sleep state, so that the user is ensured to be slowly switched into an awakening state at a preset awakening moment, and the use experience is effectively improved.

Description

Intelligent alarm clock self-adaptive control awakening method and sleep monitoring system
Technical Field
The invention relates to the field of intelligent home furnishing, in particular to an intelligent alarm clock self-adaptive control awakening method and a sleep monitoring system.
Background
With the acceleration of the life rhythm of people, more and more cities are bedded at night in young years, insufficient sleep time leads to the forced awakening of the next day by the 'not warm and soft' alarm clock, and unpleasant product experience is brought to most people. Traditional alarm clock awakens the mode clumsy, can only awaken the user with fixed volume through fixed music at the fixed time, can't bring the more nimble more comfortable awakening experience for the user, especially awaken by the alarm clock under the deep sleep state, the alarm clock ring tone is the noise to the user. Moreover, people of different ages have different sensitivities to sound, a fixed alarm ring volume may have different responses to users of different ages, and the wake-up effect is also different.
On the other hand, sleep is an indispensable vital activity of a person, and good sleep is vital to the health of a person. Sleep problems such as sleep disorders and sleep disorders affect people's work and life and can be the cause of many diseases. Therefore, it is necessary to monitor the quality of sleep of a person. The comfort and convenience degree of the traditional mattress is mainly evaluated by the subjectivity of a user, and valuable sleep quality parameters and results cannot be given. The existing sleep quality monitoring system has low integration level and complex operation. Professional sleep quality evaluation instruments need a plurality of electrodes to be installed on the bodies of users, and can be operated only by professional personnel in hospitals or professional laboratories, so that the realization of sleep quality monitoring has higher difficulty.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide an intelligent alarm clock self-adaptive control awakening method and a sleep monitoring system.
The invention is realized by the following technical scheme: the self-adaptive control awakening method of the intelligent alarm clock comprises the following steps:
1) obtaining an instantaneous volume parameter V according to the formula (1)cur
Figure BDA0001149384300000021
Wherein, TstopFor the time of alarm clock turn-off, TturnFor the sleep state transition time, kcurThe value is the instantaneous sleep coefficient, VmaxThe maximum output volume of the alarm clock is, sigma is an awakening coefficient variable, and the initial value of sigma is 1; setting the alarm clock starting time to TstartWhen the time T iscur=TstartIn time, the physiological information monitoring component is utilized to acquire the instant sleep state ScurObtaining an instantaneous volume parameter V by the formula (1)curWhen time T is on timecur<TstartWhen the alarm clock is in a standby state; when in use, the user sets T in advancestartTo set the starting time of the alarm clockAnd obtaining the closing time T by increasing the preset working timestopAcquiring the real-time sleep state of the user by using the physiological information monitoring component, and acquiring the real-time volume V of the alarm by substituting the formula (1)cur. At the initial state, Tturn=TstartI.e. the preset working time of the alarm clock.
When S iscur=S0While in the awake state, kcur=k0-1; when S iscur=S1In a light sleep state, kcur=k10; when S iscur=S2In the deep sleep state, kcur=k2=1;
2) Physiological information monitoring component continuously acquires ScurValue and is passed through a data buffer at intervals of time h1(seconds per unit) storage VcurAnd ScurAnd forming the previous history volume value VhAnd VhCorresponding previous historical sleep state ShWhen S iscur≠ShWhen the step S is finished, jumping to the step 3), when the step S is finishedcur=ShWhen yes, jumping to step 7);
the physiological information monitoring component can monitor the sleep state of the user at short intervals and at time intervals h1And recording the data. The data buffer is used for recording the V which changes at any timecurAnd Scur,VcurFrom ScurTo determine when S iscur≠ShWhen the user is in sleep state, the state of sleep changescur=ShWhen the time is longer, the sleep state of the user is not changed.
During operation, h1The data buffer records V at intervals of 10 seconds, 10ScurAnd Scur
3) Obtaining the sleep state transition time T through the physiological information monitoring componentturnObtaining a volume change curve according to the instant sleep state and the previous historical sleep coefficient in the data buffer:
Figure BDA0001149384300000031
where k is a sleep state parameter, TturnMeans Scur≠ShThe time of day; if Scur=S0If so, jumping to step 5), if Scur≠S0Then, the following operations are carried out:
if Scur=S2,Sh=S1When the sleep state of the user changes from the light sleep state to the deep sleep state, k is k2-k1Substituting equation (2) for 1-0-1 to obtain a volume change curve:
if Scur=S2,Sh=S0When the sleep state of the user changes from the waking state to the deep sleep state, k is k2-k0Substituting 1- (-1) ═ 2 into the formula (2) to obtain a volume change curve;
if Scur=S1,Sh=S0When the user's sleep state changes from the waking state to the light sleep state, k is k1-k0Substituting 0- (-1) to 1 into formula (2) to obtain a volume change curve;
if Scur=S1,Sh=S2When the sleep state of the user is changed from the deep sleep state to the light sleep state, the current volume value, namely V, is continuedcur=VhThen, if the sleep state is continuously constant and the duration is more than the set value h2If so, jumping to the step 2) to record and judge the sleep state change, otherwise, k is equal to k2And/2, substituting the formula (2) to obtain a volume change curve, and further jumping to the step 4), h2Preferably 10S;
4) the volume change curves obtained according to the formula (2) are all increasing functions of volume, and Vcur≤VmaxAnd jumping to the step 2);
5)Scur=S0at this time, the user is in a waking state, and at this time, the alarm clock completes the waking purpose and needs to gradually reduce the volume of the alarm clock to be mute.
Figure BDA0001149384300000032
According to the data buffer ShTo determine the value of k when Sh=S2When k is equal to k0-k2Substituting the formula (3) to obtain a volume change curve; if Sh=S1When k is equal to k0-k1Substituting the formula (3) to obtain a volume change curve, and skipping to the step 6);
6) the volume curve obtained according to equation (3) is a decreasing function of volume, TthSetting the awakening time for the user, and adjusting the awakening sensitivity coefficient to ensure that the user is exactly at TthThe moment is awakened:
when T iscur≥TthIf so, jumping to the step 2);
when T iscur<TthAnd V iscurWhen the value is more than 0, the volume is reduced to zero according to the formula (3), then the alarm clock is closed, and the current awakening coefficient variable value sigma and the current actual awakening time t are stored in the data buffer, so that the last awakening coefficient variable value sigma is formedhAnd the previous actual wake-up time thSubstituting into equation (4) to obtain the instant wake-up coefficient variable σcur
Figure BDA0001149384300000041
Where N is the amount of history data referenced, σcurIs used for replacing sigma in the formulas (1), (2) and (3);
7) if Scur=Sh=S0When the sleep state of the user is continuously maintained in the awake state, k is k0Substituting the formula (3) to obtain a volume change curve, and skipping to the step 6);
if Scur=Sh=S1Or Scur=Sh=S2If the sleep state of the user is continuously kept unchanged and the time is more than the set value h, the sleep state of the user is continuously maintained in a light sleep state or a deep sleep state3Then jump to stepStep 2), otherwise k ═ k2And/2, substituting the formula (2) to obtain a volume change curve, and skipping to the step 4). In use, h3Preferably 10S.
By the method, the user in the sleep state is awakened flexibly, the system can adjust the volume state and the process of the alarm clock according to the sleep state change of the user, and the user is enabled to be in the waking state slowly at the preset awakening moment.
The sleep monitoring system obtained according to the self-adaptive control awakening method comprises a physiological information monitoring assembly, wherein the physiological information monitoring assembly comprises an intelligent sleep monitoring module and a physiological information acquisition module, and the physiological information acquisition module adopts a piezoelectric film type sensing belt to realize the acquisition of original piezoelectric signals of respiration, body movement and heartbeat; the intelligent sleep monitoring module comprises a controller unit, an alarm clock awakening module, a calibration amplifying circuit, a wireless communication unit, a power supply unit and a data cache, wherein the calibration amplifying circuit is used for calibrating and amplifying original piezoelectric signals, the wireless communication unit is used for calibrating and amplifying data transmission between the amplifying circuit and the alarm clock awakening module, the data cache is matched with the controller unit, the original piezoelectric signals collected by the physiological information collection module are processed by the calibration amplifying circuit and then transmitted to the controller unit, and the controller unit controls the alarm clock awakening module to achieve an awakening function.
The physiological information monitoring component, the controller unit, the alarm clock awakening module, the calibration amplifying circuit, the wireless communication unit, the power supply unit and the data buffer are closely matched to achieve the functions of acquiring data required by the self-adaptive control awakening method and calculating results of the corresponding self-adaptive control awakening method, the controller unit obtains physiological information of a user through the physiological information monitoring component and carries out calculation of the self-adaptive control awakening method, and the alarm clock awakening module stimulates the user to be switched into an awakening state from a sleeping state.
The physiological information acquisition module comprises a sensing belt arranged on the mattress and a signal line communicated with the calibration amplification circuit, the sensing belt is arranged at the first section of the mattress and has an interval L with the edge of the head end of the mattress, L is more than or equal to 50cm and less than or equal to 70cm, the distance between the end part of the sensing belt and the edge of the side edge of the mattress is M, M is more than or equal to 2cm and less than or equal to 6cm, the head part of the sensing belt is 4cm away from the bed side, the sensing belt is covered with viscose sponge, and the viscose sponge is provided with a through hole for the signal line to be externally connected.
The calibration amplifying circuit has a three-stage amplifying structure, the offset and the gain of the amplifying circuit are adjusted by adopting a digital potentiometer, and the gain of the amplifying circuit is adjustable by adjusting the resistance value through a microcontroller unit.
Compared with the prior art, the invention has the beneficial effects that: the invention is tightly combined with the mattress, intelligent acquisition equipment, namely a sensing belt made of novel piezoelectric thin film materials, is integrated in the mattress, and a high-performance embedded processor is combined to judge the in-bed/out-of-bed state of a user, so that the heartbeat frequency, the breathing frequency and the body motion state of the user are continuously monitored in the in-bed state of the user, and data are uploaded to a cloud server in real time. The invention relates to a method for extracting characteristics of an original piezoelectric signal, which realizes a method for extracting heart rate and respiration data from the signal, uses digital signal processing methods such as digital filtering, wavelet transformation and the like to preprocess the signal, eliminates interference signals such as body movement, gastrointestinal peristalsis, circuit self noise and the like, respectively extracts original waveforms of respiration and heart rate, and then obtains the heart rate, the respiration rate and a sleep state through a series of processing. The invention provides an intelligent alarm clock self-adaptive control awakening method which is suitable for users at different ages by adopting a self-adaptive control theory and a learning concept and provides awakening service for the users more humanizedly. The user can acquire the information related to daily sleep without professional skills, potential health problems are prevented, sleep quality is continuously improved, and a good solution is provided for easily constructing a personal sleep health center.
The invention has the following outstanding beneficial effects: the alarm clock awakening module is controlled to have a flexible awakening function according to the real-time sleep state of the user through the self-adaptive control awakening method, the volume of the alarm clock is tracked and adjusted according to the sleep state, the user is enabled to be in a soft state at the preset awakening moment, and the use experience is effectively improved.
Drawings
FIG. 1 is a schematic diagram of the system architecture and connection relationship of the present invention;
FIG. 2 is a flow chart of a digital signal processing procedure according to the present invention;
FIG. 3 is a flow chart of the intelligent alarm clock function of the present invention;
Detailed Description
The essential features of the invention will be further explained below with reference to the drawings and the detailed description of the specification.
As shown in fig. 1, the method for waking up an intelligent alarm clock by adaptive control and a sleep monitoring system include a method for waking up an intelligent alarm clock by adaptive control and a sleep monitoring system for implementing the method for waking up an intelligent alarm clock by adaptive control.
In actual operation, the sleep monitoring system comprises a physiological information monitoring assembly, the physiological information monitoring assembly comprises an intelligent sleep monitoring module and a physiological information acquisition module, and the physiological information acquisition module adopts a piezoelectric film sensing belt to realize the acquisition of original piezoelectric signals of respiration, body movement and heartbeat; the intelligent sleep monitoring module comprises a controller unit, an alarm clock awakening module, a calibration amplifying circuit, a wireless communication unit, a power supply unit and a data cache, wherein the calibration amplifying circuit is used for calibrating and amplifying original piezoelectric signals, the wireless communication unit is used for calibrating and amplifying data transmission between the amplifying circuit and the alarm clock awakening module, the data cache is matched with the controller unit, the original piezoelectric signals collected by the physiological information collection module are processed by the calibration amplifying circuit and then transmitted to the controller unit, and the controller unit controls the alarm clock awakening module to achieve an awakening function.
In practical operation, the adaptive control wake-up method is implemented by the following steps:
1) obtaining an instantaneous volume parameter V according to the formula (1)cur
Figure BDA0001149384300000071
Wherein, TstopFor the time of alarm clock turn-off, TturnFor the sleep state transition time, kcurThe value is the instantaneous sleep coefficient, VmaxThe maximum output volume of the alarm clock is, sigma is an awakening coefficient variable, and the initial value of sigma is 1;
setting alarm clock startAt a time TstartWhen the time T iscur=TstartIn time, the physiological information monitoring component is utilized to acquire the instant sleep state ScurObtaining an instantaneous volume parameter V by the formula (1)curWhen time T is on timecur<TstartWhen the alarm clock is in a standby state;
when S iscur=S0While in the awake state, kcur=k0-1; when S iscur=S1In a light sleep state, kcur=k10; when S iscur=S2In the deep sleep state, kcur=k2=1;
2) Physiological information monitoring component continuously acquires ScurValue and is passed through a data buffer at intervals of time h1Store VcurAnd ScurAnd forming the previous history volume value VhAnd VhCorresponding previous historical sleep state ShWhen S iscur≠ShWhen the step S is finished, jumping to the step 3), when the step S is finishedcur=ShWhen yes, jumping to step 7);
3) obtaining the sleep state transition time T through the physiological information monitoring componentturnObtaining a volume change curve according to the instant sleep state and the previous historical sleep coefficient in the data buffer:
Figure BDA0001149384300000072
wherein k is a sleep state parameter; if Scur=S0If so, jumping to the step 5), otherwise, performing the following operations:
suppose that the user' S sleep state changes, i.e. Scur≠ShThen, there are the following cases:
situation one, if Scur=S0If so, jumping to the step 5);
case two, if Scur=S2,Sh=S1When k is equal to k2-k1Is obtained by substituting the formula (2)Volume change curve:
case three, if Scur=S2,Sh=S0When k is equal to k2-k0Substituting the formula (2) to obtain a volume change curve;
in case four, if Scur=S1,Sh=S0When k is equal to k1-k0Substituting the formula (2) to obtain a volume change curve;
in case V, if Scur=S1,Sh=S2Then the current volume value, i.e. V, is continuedcur=VhIf the sleep state is continuously constant and the duration is more than the set value h2Then jump to step 2), otherwise k equals k2And/2, substituting the formula (2) to obtain a volume change curve, and further jumping to the step 4).
4) The volume change curves obtained according to the formula (2) are all increasing functions of volume, and Vcur≤VmaxAnd jumping to the step 2);
5)Scur=S0when the temperature of the water is higher than the set temperature,
Figure BDA0001149384300000081
when S ish=S2When k is equal to k0-k2Substituting the formula (3) to obtain a volume change curve;
if Sh=S1When k is equal to k0-k1Substituting the formula (3) to obtain a volume change curve, and skipping to the step 6);
6) the volume curve obtained according to equation (3) is a decreasing function of volume, TthWake-up time set for user:
when T iscur≥TthIf so, jumping to the step 2);
when T iscur<TthAnd V iscurWhen the value is more than 0, the volume is reduced to zero according to a formula (3), then the alarm clock is turned off, and the value of the current awakening coefficient variable sigma and the current actual awakening time t are stored in the data cacheMeans for forming the value of the previous wake-up coefficient variable σhAnd the previous actual wake-up time thSubstituting into equation (4) to obtain the instant wake-up coefficient variable σcur
Figure BDA0001149384300000082
Where N is the amount of history data referenced, σcurIs used for replacing sigma in the formulas (1), (2) and (3); obtained sigmacurCan be used the next time the wake-up function is started.
7) If Scur=Sh=S0Then k equals k0Substituting the formula (3) to obtain a volume change curve, and skipping to the step 6);
if Scur=Sh=S1Or Scur=Sh=S2If the sleep state is continuously unchanged and the time is more than the set value h3Then jump to step 2), otherwise k equals k2And/2, substituting the formula (2) to obtain a volume change curve, and skipping to the step 4).
Realizing the self-adaptive control awakening method through the steps, and preferably selecting the scheme h1=10S,h2=10S,h310S. Furthermore, h1、h2、h3The time length of the present invention can be adjusted according to actual situations, and should also be regarded as a specific embodiment of the present invention.
When using the sleep monitoring system, operate by:
firstly, a human body physiological information acquisition module, namely a piezoelectric film type novel material sensor belt, is installed. The sensing tape is placed at a position 60cm away from the bed head, the head of the sensing tape is 4cm away from the bed side, the upper and lower adhesive sponges are 68m away from the bed head, and the sponge is opened by 2cm at a position 7cm away from the bed side and used for leading wires of the sensing tape. The position of the sensor strip should preferably be close to key sensing parts such as the heart of a user, so that data obtained by sensing is more accurate, the sensor strip does not need to be powered, and the signal output end of the sensor strip is directly connected with the signal input end of the calibration amplifying circuit of the intelligent sleep monitoring module.
Secondly, weak original piezoelectric signals acquired by the sensor belt are amplified in three stages by a correction amplifying circuit, a digital potentiometer is adopted to adjust the offset and the gain of the amplifying circuit for users with different body weights and body shapes, and the matching resistance value is controlled in a programmable mode through a microcontroller unit, namely the gain of the amplifying circuit is adjustable.
Further, the microcontroller unit performs digital signal processing on the signal after calibration and amplification. As shown in fig. 2, when the signal reaches the processing condition, the signal buffer is updated to further determine whether the user is in the bed state, and if the user is not in the bed state, the relevant variables are cleared to end the digital signal processing process. If the user is in the bed state, the body movement state used is judged. If the user is in a dynamic state, the body motion state information of the user is directly output as the respiration rate and the heartbeat rate cannot be extracted; if the user is in a static state, performing digital signal processing on the signal, and outputting an RPM (revolution per minute) signal by the amplified signal with noise through a band-pass filter; meanwhile, wavelet transform is carried out on the signal to obtain a wavelet decomposition coefficient, and wavelet reconstruction of BPM (unit of hop per minute/minute) signals is carried out on high-frequency coefficients of each layer obtained by decomposition, so that the purpose of eliminating noise is achieved. The output RPM signal and the BPM signal reconstructed by the wavelet are subjected to FFT conversion, the initial values of the heart rate and the respiration rate are obtained through spectrum conversion analysis, a series of threshold processing, segmentation processing, local extreme points and the like are carried out to correct the heart rate and the respiration rate values and obtain the sleep quality index, and then the obtained result data are stored in a sleep quality data cache region.
And furthermore, the intelligent alarm clock module works within a set time, and the microcontroller unit executes the self-adaptive control awakening method to control the intelligent alarm clock module to implement different working states according to the actual sleep state. As shown in fig. 3, after the time reaches the alarm clock working time, the current sleep state is queried, if the current sleep state is used for being in the out-of-bed state, the alarm clock is stopped, otherwise, the intelligent alarm clock adaptive control wake-up algorithm is called to obtain the control strategy until the user is awakened.
Finally, the heart rate, the breathing rate, the sleep state and the alarm clock working state are transmitted to the cloud server through the WiFi wireless communication unit.
The invention relates to an amplifying circuit diagram for calibrating and amplifying weak original piezoelectric signals. The electrical points with the same network label indicate that the two are in a connection state, the electrical points without the same matching electrical points are connected with other modules, VCC is the positive pole of a 3.3V power supply, and GND is the negative pole of the power supply, namely the ground. Specifically, the sensing belt interface P1 provides a butt joint interface for the human body physiological information acquisition module, wherein pins 1 and 2 are grounded, pin 3 is suspended, and pins 4 and 5 are connected with pin 6 of the amplifier U2A; U2A and resistance R23, electric capacity C29, C11, C31 form the first-class amplifier circuit, its 6 feet are connected with 4, 5 feet of the tape interface P1, 5 feet are connected with ground after the resistance R7, 7 feet are connected with 6 feet of the digital potentiometer U5 after the negative pole of the electrolytic capacitor C31, resistance R6, R7 and electric capacity C38 form the voltage divider circuit, provide the appropriate voltage for amplifier U2A; the amplifier U2B, the resistors R24 and R4, the capacitors C37 and C36 form a second-stage amplifying circuit, a pin 2 of the second-stage amplifying circuit is connected with a pin 5 of the digital potentiometer U5, a pin 3 of the second-stage amplifying circuit is connected with a pin 5 of the amplifier U2A, and a pin 1 of the second-stage amplifying circuit is connected with a pin 5 of the amplifier U3A through one ends of the resistors R4, R14 and R15; the amplifier U3A, the resistors R14, R15, R16, R18, R19 and R29, the capacitors C13, C14, C15, C16 and C18 form a third-stage amplifying circuit, a pin 5 of the third-stage amplifying circuit is connected with a pin 1 of the amplifier U2B after passing through the other ends of the resistors R15, R14 and R4, a pin 7 of the third-stage amplifying circuit is connected with a microcontroller unit of the intelligent sleep monitoring module after passing through the resistor R29, and the microcontroller unit realizes A/D conversion on the amplified signals; the digital potentiometer U5, the resistors R21, R22 and the capacitor C21 form a peripheral circuit, a pin 6 of the peripheral circuit is connected with the anode of the electrolytic capacitor C31, a pin 5 of the peripheral circuit is connected with a pin 2 of the amplifier U2B, pins 4 and 5 of the peripheral circuit are connected with a microcontroller unit of the intelligent sleep monitoring module, the microcontroller unit realizes I2C protocol programming control on the digital potentiometer U5 to output a resistor, and the resistance value is equal to the output value between the pin 5 and the pin 6 of the U5, so that the amplified signal imbalance is avoided.
The first embodiment is as follows:
user setting alarm clock starting time Tstart7 am and 25 minutes in the morning, and the alarm clock awakening time TthIs 7 points and 40 points, Tth=TstopInitially setting the awakening sensitivity coefficient sigma to 1 and the maximum output volume V of the alarm clockmaxIs 70 pointsShellfish. When instant time Tcur=TstartWhen the physiological information monitoring component starts to work, the sleep state information of the user is acquired in time, and the instant sleep coefficient k can be acquired on the assumption that the user is in a light sleep state at the momentcur0, in the initial state, Tturn=TstartI.e. the preset working time, T, of the alarm clockstop-Tturn15 minutes. Obtaining an instantaneous volume parameter V by formula (1)cur
Figure BDA0001149384300000111
The continuous working time of the alarm clock at the volume of 7.78 decibels is h1I.e. 10S, and records the current V via the data buffercurAnd ScurForming the previous history volume value VhAnd VhCorresponding previous historical sleep state ShI.e. Vh=Vcur=7.78,Sh=ScurIn light sleep.
At a continuous working time of h1At the end, the physiological information monitoring component can acquire S againcurValue and the previously recorded ShMaking a comparison if Scur=ShIf the sleep state of the user is not changed in the 10S period, jumping to step 7); if Scur≠ShIf the sleep state of the user is changed, the step 3) is skipped.
The sleep state change of the user is judged through the controller unit, the corresponding sleep state parameter k is selected and substituted into the formula (2), and the changed instant volume V is obtainedcur
Figure BDA0001149384300000112
Supposing that the user turns to the waking state after waking up for 30 seconds at the volume of 7.78 decibels, the triggering condition of the case one is met, and the step 5) is carried out according to the method requirement, wherein k is equal to k0-k11-0-1, in the course of which TturnSubstituting equation (3) for 7:25:30 yields:
Figure BDA0001149384300000121
instantaneous volume VcurThe volume change curve is obtained according to equation (3) and gradually decreases to zero.
In step 6), when Tcur<TthAnd V iscurWhen the value is more than 0, the current variable value sigma of the wake-up coefficient and the current actual wake-up time t are stored in a data buffer, so as to form the variable value sigma of the previous wake-up coefficienthAnd the previous actual wake-up time thSubstituting into equation (4) to obtain the instant wake-up coefficient variable σcur
Figure BDA0001149384300000122
Obtained sigmacurThe alarm clock awakening module is used for operation during awakening next time, so that the awakening function of the alarm clock awakening module is more suitable for the actual awakening requirement of a user.
Example two:
compared with the first embodiment, in the second embodiment, the following are set: the user changes from the light sleep state to the deep sleep state after the alarm clock is started, namely Scur=S2、Sh=S1If the trigger condition of the case two is met, k is equal to k2-k1Substituting equation (2) for 1 to obtain a volume change curve:
Figure BDA0001149384300000123
with instant time TcurThe volume is gradually increased to generate larger stimulation to the user.
When the physiological information monitoring component senses that the user is in a waking state, the physiological information monitoring component conforms to the condition Scur=S0、Sh=S2If k is equal to k0-k2Substituting the formula (3) into-2 to obtain a volume change curve;
Figure BDA0001149384300000124
Vcurthe volume change curve is obtained according to the formula (3) and gradually becomes smaller until the volume change curve is zero, the alarm is turned off, and the awakening work is completed.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (7)

1. A self-adaptive control awakening method of an intelligent alarm clock is characterized by comprising the following steps:
1) obtaining an instantaneous volume parameter V according to the formula (1)cur
Figure FDA0003443681580000011
Wherein, TstopFor the time of alarm clock turn-off, TturnFor the sleep state transition time, kcurThe value is the instantaneous sleep coefficient, VmaxThe maximum output volume of the alarm clock is, sigma is an awakening coefficient variable, and the initial value of sigma is 1;
setting the alarm clock starting time to TstartWhen the time T iscur=TstartIn time, the physiological information monitoring component is utilized to acquire the instant sleep state ScurObtaining an instantaneous volume parameter V by the formula (1)curWhen time T is on timecur<TstartWhen the alarm clock is in a standby state;
when S iscur=S0While in the awake state, kcur=k0-1; when S iscur=S1In a light sleep state, kcur=k10; when S iscur=S2In the deep sleep state, kcur=k2=1;
2) Physiological information monitoring component continuously acquires ScurValue and is passed through a data buffer at intervals of time h1Store VcurAnd ScurAnd forming the previous history volume value VhAnd VhCorresponding previous historical sleep state ShWhen S iscur≠ShWhen the step S is finished, jumping to the step 3), when the step S is finishedcur=ShWhen yes, jumping to step 7);
3) obtaining the sleep state transition time T through the physiological information monitoring componentturnObtaining a volume change curve according to the instant sleep state and the previous historical sleep coefficient in the data buffer:
Figure FDA0003443681580000012
wherein k is a sleep state parameter; if Scur=S0If so, jumping to the step 5), otherwise, performing the following operations:
if Scur=S2,Sh=S1When k is equal to k2-k1Substituting the formula (2) to obtain a volume change curve:
if Scur=S2,Sh=S0When k is equal to k2-k0Substituting the formula (2) to obtain a volume change curve;
if Scur=S1,Sh=S0When k is equal to k1-k0Substituting the formula (2) to obtain a volume change curve;
if Scur=S1,Sh=S2When the temperature of the water is higher than the set temperature,the current volume value, i.e. V, is continuedcur=VhIf the sleep state is continuously constant and the duration is more than the set value h2Then jump to step 2), otherwise k equals k2A/2, substituting the formula (2) to obtain a volume change curve, and further jumping to the step 4);
4) the volume change curves obtained according to the formula (2) are all increasing functions of volume, and Vcur≤VmaxAnd jumping to the step 2);
5)Scur=S0when the temperature of the water is higher than the set temperature,
Figure FDA0003443681580000013
when S ish=S2When k is equal to k0-k2Substituting the formula (3) to obtain a volume change curve;
if Sh=S1When k is equal to k0-k1Substituting the formula (3) to obtain a volume change curve, and skipping to the step 6);
6) the volume curve obtained according to equation (3) is a decreasing function of volume, TthWake-up time set for user:
when T iscur≥TthIf so, jumping to the step 2);
when T iscur<TthAnd V iscurWhen the value is more than 0, the volume is reduced to zero according to the formula (3), then the alarm clock is closed, and the current awakening coefficient variable value sigma and the current actual awakening time t are stored in the data buffer, so that the last awakening coefficient variable value sigma is formedhAnd the previous actual wake-up time thSubstituting into equation (4) to obtain the instant wake-up coefficient variable σcur
Figure FDA0003443681580000021
Where N is the amount of history data referenced, σcurIs used for replacing sigma in the formulas (1), (2) and (3);
7) if Scur=Sh=S0Then k equals k0Substituting the formula (3) to obtain a volume change curve, and skipping to the step 6);
if Scur=Sh=S1Or Scur=Sh=S2If the sleep state is continuously unchanged and the time is more than the set value h3Then jump to step 2), otherwise k equals k2And/2, substituting the formula (2) to obtain a volume change curve, and skipping to the step 4).
2. The adaptive control wake-up method for intelligent alarm clocks according to claim 1, characterized in that h1=10S。
3. The adaptive control wake-up method for intelligent alarm clocks according to claim 1, characterized in that h2=10S。
4. The adaptive control wake-up method for intelligent alarm clocks according to claim 1, characterized in that h3=10S。
5. A sleep monitoring system used for the method of any one of claims 1 to 4, comprising a physiological information monitoring component, wherein the physiological information monitoring component comprises an intelligent sleep monitoring module and a physiological information acquisition module, and the physiological information acquisition module adopts a piezoelectric film type sensing belt to realize the acquisition of raw piezoelectric signals of respiration, body movement and heartbeat; the intelligent sleep monitoring module comprises a controller unit, an alarm clock awakening module, a calibration amplifying circuit, a wireless communication unit, a power supply unit and a data cache, wherein the calibration amplifying circuit is used for calibrating and amplifying original piezoelectric signals, the wireless communication unit is used for calibrating and amplifying data transmission between the amplifying circuit and the alarm clock awakening module, the data cache is matched with the controller unit, the original piezoelectric signals collected by the physiological information collection module are processed by the calibration amplifying circuit and then transmitted to the controller unit, and the controller unit controls the alarm clock awakening module to achieve an awakening function.
6. The sleep monitoring system as claimed in claim 5, wherein the physiological information collection module comprises a sensing belt disposed on the mattress and a signal line connected with the calibration amplifying circuit, the sensing belt is disposed at the head of the mattress and has a distance L from the edge of the head of the mattress, L is not less than 50cm and not more than 70cm, the distance between the end of the sensing belt and the edge of the side of the mattress is M, M is not less than 2cm and not more than 6cm, the head of the sensing belt is 4cm away from the bed, the sensing belt is covered with a viscose sponge, and the viscose sponge is provided with a through hole for the signal line to be externally connected.
7. The sleep monitor system according to claim 5, wherein the calibration amplifier circuit has a three-stage amplifier structure, and the digital potentiometer is used to adjust the offset and gain of the amplifier circuit, and the microcontroller unit is used to adjust the resistance value to adjust the gain of the amplifier circuit.
CN201611039375.4A 2016-11-10 2016-11-10 Intelligent alarm clock self-adaptive control awakening method and sleep monitoring system Active CN106681123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611039375.4A CN106681123B (en) 2016-11-10 2016-11-10 Intelligent alarm clock self-adaptive control awakening method and sleep monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611039375.4A CN106681123B (en) 2016-11-10 2016-11-10 Intelligent alarm clock self-adaptive control awakening method and sleep monitoring system

Publications (2)

Publication Number Publication Date
CN106681123A CN106681123A (en) 2017-05-17
CN106681123B true CN106681123B (en) 2022-04-08

Family

ID=58866062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611039375.4A Active CN106681123B (en) 2016-11-10 2016-11-10 Intelligent alarm clock self-adaptive control awakening method and sleep monitoring system

Country Status (1)

Country Link
CN (1) CN106681123B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316623A (en) * 2017-11-09 2020-06-19 深圳传音通讯有限公司 Alarm clock ringing method and system of intelligent terminal
CN108095695A (en) * 2018-01-17 2018-06-01 成都乐享智家科技有限责任公司 A kind of Chinese medicine interfering system based on cloud computing
CN108053881A (en) * 2018-01-17 2018-05-18 成都乐享智家科技有限责任公司 A kind of Chinese medicine interfering system based on real-time sleep monitor
CN108078547A (en) * 2018-01-17 2018-05-29 成都乐享智家科技有限责任公司 A kind of monitoring mattress for guarding user's dormant data
CN109497945B (en) * 2018-10-23 2021-03-23 珠海格力电器股份有限公司 Sleep state control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103961777A (en) * 2014-05-16 2014-08-06 西安工业大学 Nightmare monitoring and awakening system
CN204637245U (en) * 2014-04-16 2015-09-16 深圳市炎志科技有限公司 A kind of sleep Clock system based on physiologic information monitoring
CN105068414A (en) * 2015-08-24 2015-11-18 联想(北京)有限公司 Alarm clock awakening method and electronic equipment
CN205028047U (en) * 2015-10-14 2016-02-10 宁波萨瑞通讯有限公司 Electronic alarm clock
CN105872228A (en) * 2016-03-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Alarm clock reminding processing method and device, and terminal
CN206453760U (en) * 2016-11-10 2017-09-01 浙江舒眠科技有限公司 A kind of sleep monitor system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7306567B2 (en) * 2004-01-09 2007-12-11 Loree Iv Leonor F Easy wake wrist watch
CA2888394A1 (en) * 2014-05-02 2015-11-02 University Health Network Method and system for sleep detection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204637245U (en) * 2014-04-16 2015-09-16 深圳市炎志科技有限公司 A kind of sleep Clock system based on physiologic information monitoring
CN103961777A (en) * 2014-05-16 2014-08-06 西安工业大学 Nightmare monitoring and awakening system
CN105068414A (en) * 2015-08-24 2015-11-18 联想(北京)有限公司 Alarm clock awakening method and electronic equipment
CN205028047U (en) * 2015-10-14 2016-02-10 宁波萨瑞通讯有限公司 Electronic alarm clock
CN105872228A (en) * 2016-03-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Alarm clock reminding processing method and device, and terminal
CN206453760U (en) * 2016-11-10 2017-09-01 浙江舒眠科技有限公司 A kind of sleep monitor system

Also Published As

Publication number Publication date
CN106681123A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN106681123B (en) Intelligent alarm clock self-adaptive control awakening method and sleep monitoring system
US11491300B2 (en) Robot-connected IoT-based sleep-caring system
US20150128353A1 (en) Sleep monitoring system and method
US9754471B2 (en) Electronic switch for controlling a device in dependency on a sleep stage
US20050054940A1 (en) Apparatus and method for monitoring heart rate variability
CN105833411A (en) Novel intelligent sleeping-aiding and natural wakening method and device
US20070249952A1 (en) Systems and methods for sleep monitoring
CN108420228A (en) A kind of soft or hard adjustable bed mattess of intelligence and its monitoring method of sleep state monitoring
CN112603103A (en) Full-automatic adjusting method and full-automatic intelligent mattress
CN206045144U (en) A kind of novel intelligent sleeping and the device for waking up naturally
CN206453760U (en) A kind of sleep monitor system
CN112641424A (en) Sleep monitoring method, device, equipment and storage medium
CN105919716B (en) Sleeping position adjusts device and sleeping position adjusts system
US20190231256A1 (en) Apparatus and associated methods for adjusting a user's sleep
CN105422492B (en) The control system of fan and the control method of fan
CN105476631A (en) EEG (electroencephalogram) based sleep detection and sleep aid method and device
JP2007289660A (en) Sleeping judgment device
CN107875496A (en) A kind of intelligent sleep management eye-shade device and its control method
CN101181652A (en) Sleeping guardianship equipment based on body biological clock
CN110604859B (en) Sleep assisting control method and system based on intelligent household equipment
CN107466241A (en) Sensory stimuli is provided based on the slow wave cycle
CN109405224A (en) A kind of control method of air-conditioning, device, storage medium and air-conditioning
US20180132635A1 (en) Smart Pillow
CN108062053A (en) It is a kind of can improper release sleep intelligent wearable device
CN112717253A (en) Acousto-optic combined awakening device based on brain wave monitoring

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant