A kind of ight lamp induction system based on sensing technology
Technical field
The invention belongs to illuminating lamp field, more particularly to a kind of ight lamp induction system based on sensing technology.
Background technology
When normal person sleeps, it is necessary to ambient light it is dark, this is the psychological need of the mankind, therefore people is in sleep, one
As can close bedroom illumination.Get up in the night to urinate, be the thing being frequently encountered in current people's life.After getting up in the night to urinate, generally require illumination with
Conveniently get up action.And extremely inconvenience of being turned on light in daily life at night, inconvenience is caused to daily life, serious can also draw
Play the generation of wrestling collision situation.
The content of the invention
It is an object of the invention to overcome problem above existing for prior art, there is provided a kind of ight based on sensing technology
Lamp induction system, the intelligent opening of lamp can be illuminated when user gets up at night.
To realize above-mentioned technical purpose and the technique effect, the present invention is achieved through the following technical solutions:
A kind of ight lamp induction system based on sensing technology, including pressure sensor, clock module, infrared inductor,
Headlamp switch control module, initial pressure value memory module, data processing module;
The pressure sensor is located between mattress and bedstead, for being detected to the pressure value on mattress vertical direction
And pressure value is sent to data processing module in real time;
The clock module is used to send real-time time information to data processing module;
The infrared inductor is located at bedside, is sent for infrared induction signal to be sensed and formed to human body to data
Processing module;
The headlamp switch control module is used to receive light unlatching control instruction or light from data processing module
Closing control instructs and illuminating lamp is turned on and off;
The initial pressure value memory module is stored to the initial pressure value from data processing module and supplies data
Processing module is transferred in real time;
The data processing module controls mould with pressure sensor, clock module, infrared inductor, headlamp switch respectively
Block, initial pressure value memory module are connected;
Hand is placed near infrared inductor before falling asleep, infrared inductor sends infrared induction signal to data processing mould
Block, formation light closing control is instructed to headlamp switch control module after data processing module receives infrared induction signal, this
When, the pressure value from pressure sensor is sent to initial pressure value and stores mould by data processing module as initial pressure value
Block;When next pressure value that data processing module receives is less than initial pressure value, then data processing module starts to receive
Real-time time information from clock module, if daytime, then data processing module does not do any response, if night, then counts
Form light according to processing module and open control instruction and send to light and open the light control module.
Further, after the data processing module receives the real-time time information from clock module, if the time is
6:00-18:00, then it is determined as daytime, if the time is 0:00-6:00 or 18:00-24:00, then it is determined as night.
Further, the data processing module is also associated with colour temperature adjustment module, when data processing module forms light
Open control instruction send to light open the light control module when, data processing module simultaneously according to setting color temperature value formed colour temperature
Regulating command is to colour temperature adjustment module.
Further, the color temperature value is 1500-2000K.
The beneficial effects of the invention are as follows:
The present invention is by the use of pressure sensor and combines intelligence control system, can not have to when user gets up at night
Start, just can automatically turn on illuminating lamp, the night operations having great convenience for the user, reduce the generation of wrestling collision situation,
Certain convenience is provided for life, there is good practical value.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the system architecture diagram of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained all other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
A kind of ight lamp induction system based on sensing technology as shown in Figure 1, including pressure sensor, clock module,
Infrared inductor, headlamp switch control module, initial pressure value memory module, data processing module;
Pressure sensor be located between mattress and bedstead, for the pressure value on mattress vertical direction is detected and incite somebody to action
Pressure value is sent to data processing module in real time;
Clock module is used to send real-time time information to data processing module;
Infrared inductor is located at bedside, is sent for infrared induction signal to be sensed and formed to human body to data processing
Module;
Headlamp switch control module is used to receive light unlatching control instruction or light closing from data processing module
Control instruction is simultaneously turned on and off to illuminating lamp;
Initial pressure value memory module is stored to the initial pressure value from data processing module and supplies data processing
Module is transferred in real time;
Data processing module respectively with pressure sensor, clock module, infrared inductor, headlamp switch control module, just
Beginning pressure value memory module is connected;
Hand is placed near infrared inductor before falling asleep, infrared inductor sends infrared induction signal to data processing mould
Block, formation light closing control is instructed to headlamp switch control module after data processing module receives infrared induction signal, this
When, the pressure value from pressure sensor is sent to initial pressure value and stores mould by data processing module as initial pressure value
Block;When next pressure value that data processing module receives is less than initial pressure value, then data processing module starts to receive
Real-time time information from clock module, if daytime, then data processing module does not do any response, if night, then counts
Form light according to processing module and open control instruction and send to light and open the light control module;Data processing module receive from when
After the real-time time information of clock module, if the time is 6:00-18:00, then it is determined as daytime, if the time is 0:00-6:00 or 18:
00-24:00, then it is determined as night.
Wherein, data processing module is also associated with colour temperature adjustment module, and control is opened when data processing module forms light
When instruction transmission to light opens the light control module, data processing module forms colour temperature regulating command according to the color temperature value of setting simultaneously
To colour temperature adjustment module;Color temperature value is 1500-2000K.
The present invention is by the use of pressure sensor and combines intelligence control system, can not have to when user gets up at night
Start, just can automatically turn on illuminating lamp, the night operations having great convenience for the user, reduce the generation of wrestling collision situation,
Certain convenience is provided for life, there is good practical value.
In the description of this specification, the description of reference term " one embodiment ", " example ", " specific example " etc. means
At least one implementation of the present invention is contained in reference to specific features, structure, material or the feature that the embodiment or example describe
In example or example.In this manual, identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.
Moreover, specific features, structure, material or the feature of description can close in any one or more embodiments or example
Suitable mode combines.
General principle, principal character and the advantages of the present invention of the present invention has been shown and described above.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the simply explanation described in above-described embodiment and specification is originally
The principle of invention, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes
Change and improvement all fall within the protetion scope of the claimed invention.