A kind of sleeping-assisting system of intelligent LED lighting system
Technical field
The present invention relates to a kind of auxiliary systems, more particularly, to a kind of sleeping-assisting system of intelligent LED lighting system.
Background technology
Illumination can intervene the method for operation of human circadian, have direct influence to health.It is not applicable
Lighting system can cause human body circadian rhythm disturbances round the clock, thus user is caused to have a sleepless night.With the quick hair of intelligent LED lamp
At the same time exhibition, intelligent LED lighting system have obtained being more and more widely used, the function of intelligent LED lighting system is increasingly
It is abundant, wherein sleep illumination functions are also liked by consumers in general.
Existing intelligent LED lighting system generally includes intelligent LED lamp group, control terminal and remote controler, in use, using
Person sends control command to control terminal by remote controler, and control terminal generates corresponding control signal to intelligence according to control command
Each intelligent LED lamp is controlled in energy LED light group.Since the adjustment of the illuminating ray of existing intelligent LED lighting system needs
User is operated by remote controler, and when sleeping illumination, user is before sleep according to itself when presensation is adjusted
After suitable illuminating ray, during entire sleep, illuminating ray will remain unchanged, and the physiological status of human body is in sleep procedure
In be not unalterable, thus illuminating ray can not match or even shadow during sleep with the physiological status of human body
Ring user's sleep quality.
Invention content
Technical problem to be solved by the invention is to provide a kind of sleeping-assisting systems of intelligent LED lighting system, make
When user sleeps, which can coordinate control terminal, and control terminal is allow to go reality according to human body physiological state
When control intelligent LED lamp group in each intelligent LED lamp, improve the sleep quality of user.
Technical solution is used by the present invention solves above-mentioned technical problem:A kind of sleep auxiliary of intelligent LED lamp system
System, including three sensing devices, processor and control gateway, three sensing devices are installed according to sequence interval from left to right
In bed, the center position in bed is arranged in intermediate sensing device, and the sensing device on the left side is located at intermediate sensing device
At upper left side and close bed left margin, the sensing device on the right is located at the upper right side of intermediate sensing device and close to edge on the right of bed
Place, each sensing device respectively include inductor and signal projector, and the inductor and signal hair
Emitter connects, the vertical range of the inductor of the sensing device of the inductor of intermediate sensing device to the left side no more than 20cm,
The vertical range of the inductor of intermediate sensing device to the inductor of the sensing device on the right is also no more than 20cm, described in three
The signal projector of sensing device connect respectively with the processor, the processor by the control gateway and
The control terminal of intelligent LED lamp system connects, and the inductor of the sensing device described in three is all made of piezoresistive pressure sensor
It realizes, the pressure value that the inductor of each sensing device is detected in real time is sent to institute by its signal projector
The processor stated, the processor judge three pressure values received, generate control command and pass through the control
Gateway processed is sent to the control terminal of intelligent LED lamp system;Sensing device described in three is in the pressure value of original state
0, when starting h.d. in user's evening lying bed, at least one of sensing device described in three can be pushed down by user,
The pressure value of inductor in the sensing device pushed down by user that the processor receives increases, and shows that user lies
In bed, the processor records the time that currently used person lies on a bed.The processor enters a course of work
And synchronous beginning timing, in the course of work, the processor in real time judges the pressure value received:If three
In a sensing device, the pressure value of one or two inductor starts to reduce and be gradually reduced to 0, and three sensing devices
In the pressure values of inductor of other sensing devices be initially increased to a certain numerical value, primary, the institute that is determined as that user turns at this time
The processor stated records the turn number of user in the course of work, when the pressure of the inductor in the sensing device described in three
Force value again all 0 when, be determined as that user gets up in the night to urinate at this time, the processor described at this time is generated intelligent LED lamp light tune
The whole control command for warm light is sent to the control gateway, and the course of work terminates at this time and time synchronisation also terminates, when
User again in lying bed when, the control that the processor is sent to intelligent LED lamp system by the control gateway is whole
End, makes intelligent LED lamp system restore the state before this time is got up in the night to urinate, and the processor enters next course of work and synchronizes out
Beginning timing is 0 state when the sensing device pressure value described in three is more than 8 small, then shows a preceding pressure value in cycles
Time point for 0 is that user leaves on bed, is got up, and the processor counts the time to lie on a bed daily from user
The time on bed is left to user, during this period, user is daily, and weekly, turn number monthly, number of getting up in the night to urinate help
User can be best understood from the dynamic change of the sleep health status of itself.
Compared with the prior art, the advantages of the present invention are as follows pass through three sensing devices, processor and control gateway structure
The sleeping-assisting system of intelligent LED lamp system, three sensing devices are installed in bed according to sequence interval from left to right, intermediate
Sensing device the center position in bed is set, the sensing device on the left side is located at the upper left side of intermediate sensing device and close
At bed left margin, the sensing device on the right is located at the upper right side of intermediate sensing device and close to the right edge of bed, each to incude
Device respectively includes inductor and signal projector, and inductor is connected with signal projector, the induction of intermediate sensing device
The vertical range of device to the inductor of the sensing device on the left side is no more than 20cm, and the inductor of intermediate sensing device arrives the right
The vertical range of the inductor of sensing device is also no more than 20cm, and the signal projector of three sensing devices connects with processor respectively
It connects, processor is connected by controlling gateway with the control terminal of intelligent LED lamp system, and the inductor of three sensing devices is all made of
Piezoresistive pressure sensor realizes that the pressure value that the inductor of each sensing device is detected in real time is emitted by its signal
Device is sent to processor, and processor judges three pressure values received, generates control command by controlling gateway hair
The control terminal of intelligent LED lamp system is given, three sensing devices are 0 in the pressure value of original state, when user's evening
Start h.d. in lying bed, at least one of three sensing devices can be pushed down by user, and what processor received is used
The pressure value of inductor in the sensing device that person pushes down increases, and shows that user lies on a bed, and processor enters a work
Make process and synchronous beginning timing, in the course of work, processor in real time judges the pressure value received:If three
In a sensing device, the pressure value of one or two inductor starts to reduce and be gradually reduced to 0, and three sensing devices
In the pressure values of inductor of other sensing devices be initially increased to a certain numerical value, primary, the place that is determined as that user turns at this time
Reason device records the turn number of user in the course of work, when the pressure value of the inductor in three sensing devices is whole again
When being 0, it is determined as that user gets up in the night to urinate at this time, processor generates the control command that intelligent LED lamp light is adjusted to warm light at this time
It is sent to control gateway, the course of work terminates at this time and time synchronisation also terminates, when on user again lying bed, processor
It is sent to the control terminal of intelligent LED lamp system by controlling gateway, intelligent LED lamp system is made to restore the shape before this time is got up in the night to urinate
State, processor enter next course of work and synchronous beginning timing, and in cycles, thus sleeping-assisting system of the invention exists
When user sleeps, control terminal can be coordinated, control terminal is allow to remove real-time control intelligent LED according to human body physiological state
Each intelligent LED lamp in lamp group is that light avoids causing strong impulse to human eye on the basis of illumination when user gets up in the night to urinate,
Improve the sleep quality of user.
Description of the drawings
Fig. 1 is the structure chart of the sleeping-assisting system of the intelligent LED lighting system of the present invention;
Fig. 2 is the functional block diagram of the sleeping-assisting system of the intelligent LED lighting system of the present invention;
Fig. 3 is the block diagram of the sensing device of the sleeping-assisting system of the intelligent LED lighting system of the present invention.
Specific implementation mode
Below in conjunction with attached drawing embodiment, present invention is further described in detail.
Embodiment:As shown, a kind of sleeping-assisting system of intelligent LED lamp system, including three sensing devices 1, place
Device 2 and control gateway 3 are managed, three sensing devices 1 are mounted on according to sequence interval from left to right on bed 4, intermediate induction dress
It sets 1 and center position in bed 4 is set, the sensing device 1 on the left side is located at the upper left side of intermediate sensing device 1 and close to bed 4
At left margin, the sensing device 1 on the right is located at the upper right side of intermediate sensing device 1 and close to 4 right edge of bed, each to incude
Device 1 respectively includes inductor 11 and signal projector 12, and inductor 11 and signal projector 12 connect, intermediate induction dress
The vertical range for setting 1 inductor 11 to the inductor 11 of the sensing device 1 on the left side is no more than 20cm, intermediate sensing device 1
Inductor 11 to the right sensing device 1 inductor 11 vertical range also be no more than 20cm, the letter of three sensing devices 1
Number transmitter 12 is connect with processor 2 respectively, and processor 2, which passes through, to be controlled the control terminal 5 of gateway 3 and intelligent LED lamp system and connect
It connects, the inductor 11 of three sensing devices 1 is all made of piezoresistive pressure sensor realization, the inductor 11 of each sensing device 1
The pressure value detected in real time is sent to processor 2 by its signal projector 12, and processor 2 presses three received
Force value is judged, the control terminal 5 that control command is sent to intelligent LED lamp system by controlling gateway 3 is generated;Three inductions
Device 1 is 0 in the pressure value of original state, when starting h.d. in user's evening lying bed 4, in three sensing devices 1
It is at least one to be pushed down by user, the pressure of the inductor 11 in the sensing device 1 pushed down by user that processor 2 receives
Force value increases, and shows that user lies on bed 4, and processor 2 enters a course of work and synchronous beginning timing, in the work
In the process, processor 2 in real time judges the pressure value received:If in three sensing devices 1, one or two
The pressure value of inductor 11 starts to reduce and be gradually reduced to 0, and in three sensing devices 1 other sensing devices 1 inductor
11 pressure value is initially increased to a certain numerical value, it is primary to be determined as that user turns at this time, processor 2 records in the course of work
The turn number of user, when the pressure value of the inductor 11 in three sensing devices 1 again all 0 when, be determined as at this time
User gets up in the night to urinate, and the control command that intelligent LED lamp light is adjusted to warm light by the generation of processor 2 at this time is sent to control gateway 3,
The course of work terminates at this time and time synchronisation also terminates, and when on user again lying bed 4, processor 2 is by controlling gateway 3
Be sent to the control terminal 5 of intelligent LED lamp system, intelligent LED lamp system made to restore the state before this time is got up in the night to urinate, processor 2 into
Enter next course of work and synchronous beginning timing, in cycles.