Sleep environment intelligent regulating system and methodTechnical field
The present invention relates to Smart Home technical fields, and in particular to a kind of sleep environment intelligent regulating system and method.
Background technology
Existing technology is inconvenient and can only control the operation of bedding manually, and it is even more impossible to detect human body physical sign data automatically simultaneouslyBedding is automatically adjusted according to human body physical sign data, such as lamps and lanterns, the operation power of air-conditioning, so as to not drop but after falling asleep there are human bodyLow lamp brightness or the too low problem of air-conditioner temperature be easy to cause human body flu or the problems such as poor sleeping quality, while can also makeInto the waste of the energy;It is used in addition, the prior art can not be formed after human body enters sleeping eyes state according to the sleep need of human bodyThe sleep curve at family simultaneously sends suitable white noise so as to improve the deep sleep quality of user according to the sleep curve of user;AndAnd need the period wakeeed up can not be with the brightness in time adjust automatically room, as got into bed when early setting the alarm clock and ring in userIt is indoor or black, the effect naturally waken up can not be generated.
Present invention
In order to overcome the above-mentioned problems of the prior art, it is a primary object of the present invention to provide one kind to examine automaticallyIt surveys the sleep state of human body and the sleep curve of user is formed according to the sleep state of human body, while automatically adjust lamps and lanterns, air-conditioningOperation power and control the running of white noise, lamps and lanterns in addition can also be controlled to open or control curtain according to the default wake-up timePull open or control the raised sleep environment intelligent regulating system of pillow.
To achieve these goals, the present invention specifically uses following technical scheme:
The present invention provides a kind of sleep environment intelligent regulating system, including human detection module, analysis module, control mouldBlock, bedding and white noise tone generator, the human detection module are connected with the analysis module, the control module respectively with instituteIt states analysis module, bedding and white noise tone generator to be connected, the bedding includes air-conditioning, lamps and lanterns, pillow, pillow elevating mechanism, windowCurtain and the curtain driving mechanism for drawing the curtain apart.
The human detection module is used to gather human body physical sign data and sends the analysis module, the human body physical sign toData include at least one of human body electroencephalogram's ripple, breathing, the oxygen content of blood, eye electricity, heart rate, amount of exercise.
The analysis module is used to that the human body physical sign data to be analyzed to confirm whether human body enters sleep state,When confirming that the human body enters sleep state, the analysis module is additionally operable to form sleeping for user according to the sleep need of human bodyDormancy curve, the control module are used to adjust the lamps and lanterns, the operation power of air-conditioning and for the sleep song according to the userWhite noise tone generator sends white noise described in line traffic control.
The analysis module, which is additionally operable to be sent according to the default wake-up time, wakes control instruction, and the control module is also usedIn waken according to control instruction control the lamps and lanterns open or the control pillow elevating mechanism raise the pillow orThe curtain driving mechanism is controlled to pull open the curtain.
Preferably, context detection module is further included, the context detection module is connected with the analysis module, the beddingFurther include humidifier, oxygenerator and anion generator;The context detection module is for the indoor environmental parameter number of acquisition bedroomAccording to the ambient parameter data includes humidity data, oxygen concentration data and negative ion concentration data, and the analysis module is also usedIt is instructed in analyzing the ambient parameter data and sending environmental Kuznets Curves to the control module, the control module is additionally operable to basisThe environmental Kuznets Curves instruction controls the operation of the humidifier, oxygenerator or anion generator.
Preferably, speech reception module is further included, the speech reception module is connected with the analysis module, the voiceReceiving module is used to receive the phonetic order of user and the phonetic order is sent to the analysis module, and the analysis module is alsoThe control module, the control mould are transmitted to for analyzing the phonetic order and the phonetic order being switched to regulating control commandBlock is additionally operable to adjust the air-conditioning, the operation power of lamps and lanterns and the control humidifier, oxygen processed according to the regulating control commandThe operation of machine or anion generator.
Preferably, the human detection module is arranged to sleeping eyes detection sensing or bracelet.
Accordingly, the present invention also provides a kind of sleep environment intelligent adjusting method, including step:
Terminal gathers human body physical sign data.
The human body physical sign data are analyzed.
Judge whether human body enters sleep state.
When confirming that the human body enters sleep state, the sleep curve of user is formed according to the sleep need of human body, togetherWhen adjust lamps and lanterns, air-conditioning operation power and white noise is sent according to the sleep curve controlled white noise tone generator of the user.
Meanwhile terminal sends also according to the default wake-up time and wakes control instruction.
Lamps and lanterns is controlled to open or curtain is controlled to pull open or raise pillow according to the control instruction of waking.
Wherein, the human body physical sign data are included in human body electroencephalogram's ripple, breathing, the oxygen content of blood, eye electricity, heart rate, amount of exerciseAt least one.
Preferably, step is further included:
The indoor ambient parameter data of terminal acquisition bedroom.
Analyze the ambient parameter data.
Environmental Kuznets Curves instruction is sent according to the ambient parameter data.
The operation of control humidifier, oxygenerator or anion generator is instructed according to the environmental Kuznets Curves.
Wherein, the ambient parameter data includes humidity data, oxygen concentration data and negative ion concentration data.
Preferably, step is further included:
Terminal receives user speech instruction.
The user speech is analyzed to instruct and the phonetic order is switched to regulating control command.
The lamps and lanterns, the operation power of air-conditioning and the control humidifier, oxygen processed are adjusted according to the regulating control commandThe operation of machine or anion generator.
Compared with the prior art, the present invention gathers human body physical sign data by human detection module, and passes through analysis moduleHuman body physical sign data are analyzed to confirm that human body whether into sleep state, when confirming that human body enters sleep state, dividesThe sleep curve that module forms user according to the sleep need of human body is analysed, while control module adjusts lamps and lanterns, the operation work(of air-conditioningRate and control white noise tone generator send white noise, such as reduce the operation power of air-conditioning, improve bedroom indoor temperature and reduce lamps and lanternsBrightness turns off the light, white noise tone generator is controlled to send sleep suitable white noise of curve etc. with user, makes human body into looseningComfortable state, and then into deep sleep, improve the sleep quality of human body, while effectively reduce the consumption of electric energy and reduce and get into bedTool loss;In addition the present invention is also sent by analysis module according to the default wake-up time wakes control instruction, makes control moduleControl instruction control lamps and lanterns can be waken according to this to open or curtain is controlled to pull open, i.e., when into the default wake-up time, beThe brightness in system meeting adjust automatically room, makes human body be produced from so awake effect.
Description of the drawings
Fig. 1 is 1 sleep environment intelligent regulating system module frame chart of the embodiment of the present invention;
Fig. 2 is 1 sleep environment intelligent regulating system module frame chart of the embodiment of the present invention, wherein, which further includes environmentDetection module and speech reception module;
Fig. 3 is 1 sleep environment intelligent adjusting method flow chart of the embodiment of the present invention;
Fig. 4 is 2 sleep environment intelligent regulating system module frame chart of the embodiment of the present invention;
Fig. 5 is 2 sleep environment intelligent adjusting method flow chart of the embodiment of the present invention;
In figure, 1, human detection module;2nd, analysis module;3rd, control module;4th, bedding;5th, white noise tone generator;6th, ringBorder detection module;7th, speech reception module;8 electromagnetic wave generators.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is rightThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
As shown in Figure 1, embodiment of the invention discloses that a kind of sleep environment intelligent regulating system, the system include human bodyDetection module 1, analysis module 2, control module 3, bedding 4 and white noise tone generator 5.Wherein, human detection module 1 and analysis mouldBlock 2 is connected, and for gathering human body physical sign data and sending analysis module 2 to, which includes human detection module 1It is one or more of in human body electroencephalogram's ripple, breathing, the oxygen content of blood, eye electricity, heart rate, amount of exercise.3 phase of analysis module 2 and control moduleEven, analysis module 2 is used to that human body physical sign data to be analyzed to confirm whether human body enters sleep state.When confirm human body intoWhen entering sleep state, analysis module 2 forms the sleep curve of user according to the sleep need of human body, while control module 3 is adjustedThe operation power and control white noise tone generator 5 of bedding 4 send white noise, as reduced the operation power of air-conditioning, improving in bedroomTemperature and adjusting lamp brightness are turned off the light, and the white noise that white noise tone generator 5 is sent and the sleep curve of user are mutually fittedShould, i.e., send different white noises in the different sleep stages of user, allow human body in the dark surrounds of proper temperature intoEnter and loosen comfortable state, and help user that can enter optimal sleep state in each sleep stage, improve sleeping for human bodyDormancy quality.
Bedding 4 further includes pillow, pillow elevating mechanism, curtain and curtain driving mechanism, wherein, curtain driving mechanism is used forIt draws the curtain apart;Pillow elevating mechanism is arranged in pillow, for driving the lifting of pillow.Analysis module 2 is additionally operable to according to defaultWake-up time send and wake control instruction and be transmitted to control module 3, control module 3 is additionally operable to wake control instruction control according to thisLamps and lanterns processed are opened or control curtain driving machine draws the curtain apart or control pillow elevating mechanism to raise pillow.So that system can rootAccording to the brightness and rise pillow in default wake-up time adjust automatically room human body is made to enter either shallow sleep and then wakeeed up, realized certainlySo awake effect, makes human body not have sleepy sensation after wakeing up.
As shown in Fig. 2, the sleep environment intelligent regulating system of the present invention further includes context detection module 6 and phonetic incepting mouldBlock 7, bedding 4 further include humidifier, oxygenerator or anion generator etc..Context detection module 6 is connected with analysis module 2, ringFor border detection module 6 for gathering indoor ambient parameter data of getting into bed, which includes humidity data, oxygen concentration numberAccording to negative ion concentration data.Analysis module 2 be additionally operable to analysis environments supplemental characteristic and send environmental Kuznets Curves instruct to control mouldBlock 3, control module 3 are additionally operable to instruct the operation of control humidifier, oxygenerator or anion generator according to environmental Kuznets Curves.
Speech reception module 7 is connected with analysis module 2, and speech reception module 7 is used to receive the phonetic order of user and willThe phonetic order is sent to analysis module 2, and analysis module 2 is additionally operable to the phonetic order of analysis user and switchs to the phonetic orderRegulating control command is transmitted to control module 3, and control module 3 is additionally operable to adjust the fortune of air-conditioning, lamps and lanterns according to the regulating control commandThe operation of row power and control humidifier, oxygenerator or anion generator.
In the present embodiment, human detection module 1 is arranged to sleep detection sensor, which is arranged atIn pillow, the eeg signal of human body is gathered by the sleep detection sensor, and then judges sleep quality state.And at otherIn embodiment, human detection module 1 can also use bracelet, and human body is by wearing the bracelet, so as to gather people by the braceletBody sign data, and then judge sleep quality state.
In addition, the system, by solar cell for supplying power, which carries out battery charging under daylight, at nightEvening is powered the system, i.e., energy saving and environmentally friendly.
Accordingly, the invention also discloses a kind of sleep environment intelligent adjusting method, as shown in figure 3, this method includes stepSuddenly:
Whether step S11, terminal check receive user speech instruction;
When judging result when being, to carry out step S12, step S13 is carried out afterwards;When judging result is no, walkedRapid S14.
Step S12, analysis user speech instruct and the user's phonetic order are switched to regulating control command.
Step S13, according to regulating control command adjust lamps and lanterns, air-conditioning operation power and control humidifier, oxygenerator orThe operation of anion generator.
Step S14 gathers human body physical sign data.
Wherein, human body physical sign data include one in human body electroencephalogram's ripple, breathing, the oxygen content of blood, eye electricity, heart rate, amount of exerciseKind is several.
Step S15 analyzes human body physical sign data.
Step S16, judges whether human body enters sleep state.
When judging result is no, step S17 is carried out;When judging result is to be, step S18 is carried out.
Step S17, does not perform action.
Step S18, forms the sleep curve of user according to the sleep need of human body, while adjusts the operation of lamps and lanterns, air-conditioningPower and white noise is sent according to the sleep curve controlled white noise tone generator of user.
Adjust lamps and lanterns, the operation power of air-conditioning is specially:Operation of air conditioner power is reduced, reduce lamp brightness or closes lampTool, TV etc.;And white noise is sent according to the sleep curve controlled white noise tone generator of user and is specially:Control white noiseDevice sends the suitable white noise of sleep curve with user, makes human body that can enter optimal sleep shape in each sleep stageState.
Step S19, the indoor environmental parameter evidence of acquisition bedroom.
Wherein, ambient parameter data includes humidity data, oxygen concentration data and negative ion concentration data etc..
Step S20 sends corresponding environmental Kuznets Curves according to ambient parameter data and instructs.
Step S21 instructs the operation of control humidifier, oxygenerator or anion generator according to environmental Kuznets Curves.
Such as, when humidity data is less than preset reference humidity data in the bedroom collected, then humidifier is controlled to open, it is rightIt is humidified in bedroom;When oxygen concentration is less than preset reference oxygen concentration in the bedroom collected, then oxygenerator is controlled to openIt opens, to carrying out oxygen replenishment in bedroom;When negative ion concentration is less than preset reference negative ion concentration in the bedroom collected, thenAnion generator is controlled to open, indoor anion supplements to getting into bed.
Step S22 sends according to the default wake-up time and wakes control instruction.
Step S23, according to waking, control instruction control lamps and lanterns are opened or control curtain pulls open or raise pillow.
Embodiment 2
The present embodiment 2 and the sleep environment regulating system and method for embodiment 1 are essentially identical, and difference lies in this implementationsExample 2 further includes electromagnetic wave generator 8, as shown in figure 4, the sleep environment regulating system of the present invention further includes electromagnetic wave generator 8,Electromagnetic wave generator 8 is connected with control module 3, and human detection module 1 is for gathering human body electroencephalogram's ripple signal, and analysis module 2 is alsoFor human body electroencephalogram's ripple signal with brain wave state in the template that prestores to be compared and judges whether human body electroencephalogram's ripple signal is locatedIn corresponding sleep stage brain wave state;When judging result is no, control module 3 is used to that electromagnetic wave generator 3 to be controlled to send outGo out to guide human body into the induction electromagnetic wave of corresponding sleep stage or induction micro-current.
As shown in figure 5, accordingly, the sleep environment intelligent adjusting method of the present embodiment 2 is further comprising the steps of:
Step S31, terminal acquisition human body electroencephalogram's ripple signal.
Step S32 carries out A/D conversions, amplification and filtration treatment to the human body electroencephalogram's ripple signal collected.
Wherein, A/D conversions convert analog signals into digital signal, and signal is amplified piece processing, mistake by amplificationFilter filters out the High-frequency Interference beyond eeg signal frequency, only retains the ripple of a certain frequency band, only retains 0- in the present inventionThe ripple of 30HZ.
Step S33, by convert through A/D, amplify and filtration treatment after human body electroencephalogram's ripple signal and pre- storing module midbrain electricityWavy state compares.
Whether step S34 judges human body electroencephalogram's ripple signal in corresponding sleep stage brain wave state.
When judging result when being, not perform action, when judging result is no, step S24 is carried out.
Step S35 sends guiding human body into the induction electromagnetic wave of corresponding sleep stage or induction micro-current.
In the present embodiment, the brain wave of each sleep stage in each cycle of the standard sleep whole night of human body is believedNumber state is pre-deposited in template, eeg signal during by obtaining sleep quality and by the eeg signal of acquisition with prestoringEeg signal in template compares and analyzes, and judges that human body electroencephalogram's ripple whether in corresponding sleep stage, works as judgementFor it is no when then release induction electromagnetic wave or induction micro-current guide human body enter corresponding sleep stage.For example, current is pre-It deposits the eeg signal in template and is the eeg signal in the stage of sleeping soundly, but the eeg signal currently obtained is not rank of sleeping soundlyDuring the eeg signal of section, then discharge the induction electromagnetic wave in stage of sleeping soundly or induce micro-current and periodically change induction electromagnetismRipple or the parameter for inducing micro-current, guiding human body eeg signal are adjusted to the eeg signal in the stage of sleeping soundly;Enter human bodyIt sleep soundly the stage, carries out paving to each sleep stage of each sleep cycle of human body by such method and help, make human body whole night eachThe eeg signal of each sleep stage in sleep cycle is in the template that prestores the brain wave state for corresponding to sleep stage, carriesThe high sleep quality of human body ensure that the health and one day energetic of human body.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,Any one skilled in the art in the technical scope disclosed by the present invention, the change or replacement that can be readily occurred in,It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claimsSubject to.