Intelligent linkage control system for household appliances and illuminating lamps
Technical Field
The invention belongs to the field of linkage control systems, relates to an intelligent illuminating lamp technology, and particularly relates to an intelligent linkage control system for household appliances and illuminating lamps.
Background
The intelligent illumination is a distributed wireless remote measurement, remote control and remote communication control system which is formed by utilizing the technologies of a computer, wireless communication data transmission, a spread spectrum power carrier communication technology, computer intelligent information processing, energy-saving electric appliance control and the like. The system has the functions of adjusting the intensity of the light brightness, soft starting of the light, timing control, setting scenes and the like; and achieve the predetermined characteristics.
The intelligent lighting industry enters the Chinese market from the last 90 th century, and is always in a slow development state under the influence of various aspects of market consumption consciousness, market environment, product price, popularization strength and the like. In recent years, with the rapid development of national economy, particularly the high singing and leaping of the real estate industry, the domestic intelligent lighting industry develops rapidly, various intelligent lighting products are listed in various markets, and the scale of the Chinese intelligent lighting market grows from 49 billion yuan in 2005 to 137 billion yuan RMB in 2009. The capacity of the high-end intelligent lighting market in China is expected to reach 2000 billion dollars within 5 years.
And at present along with the improvement of people's standard of living, intelligence illumination and household electrical appliances linkage also are the development direction that people need, but lack an effective and convenient to use's household electrical appliances and light intelligence linked system at present, in order to solve above-mentioned defect, provide a solution now.
Disclosure of Invention
The invention aims to provide an intelligent linkage control system for household appliances and an illuminating lamp.
The technical problem to be solved by the invention is as follows:
(1) determining how to open and close a gate of a living room and confirming how to automatically control lighting after a resident enters the living room;
(2) how to judge that the resident enters the horizontal state and automatically turn on the bedroom illumination and the temperature regulation;
(3) how to judge that the householder lies on the bed and how to judge that the householder is in a sleep state, and how to control the intelligent household appliance in the sleep state;
the purpose of the invention can be realized by the following technical scheme:
an intelligent linkage control system for household appliances and illuminating lamps is characterized by comprising a living room detection module, a horizontal monitoring module, a controller, a storage module, a display module, an illumination adjusting module, an intelligent alarm module, a living room illumination module and a bedroom illumination module;
the living room monitoring module comprises a first pressure sensor, a first illumination sensor and a data summarization module; the horizontal monitoring module comprises a second illumination sensor, a second pressure sensor, a third pressure sensor, a data verification module and a recording unit;
the first pressure sensor is arranged between a gate and a door frame and used for detecting first pressure information between the gate and the door frame in real time, the first pressure sensor is used for transmitting the first pressure information to the data summarization module, and the first illumination sensor is arranged in a living room and used for detecting first illumination information of the living room; the RFID module is used for detecting the home condition of the resident; the first illumination sensor is used for transmitting first illumination information to the data summarization module, and the RFID module transmits a starting signal to the data summarization module when monitoring the RFID label; the data induction module is used for performing specified processing on the first pressure information, the first illumination information and the opening signal, and the specific processing steps are as follows:
the method comprises the following steps: when receiving the opening signal, the data induction module is in an opening state;
step two: the value of the first pressure information at the time of closing the gate is marked as F11;
step three: when the gate is opened, the value of the first pressure information detected at the moment is changed, and the value of the first pressure information at the moment is marked as F12; when the data induction module detects that the first pressure information value is changed from F11 to F12 in the opening state, the data induction module judges that the household comes home at the moment, and the data induction module is in a living room illumination waiting state at the moment;
step four: labeling the first lighting information as G1;
step five: when the data summarization module is in a living room illumination waiting state, a living room illumination signal is sent out when detecting that G11 is lower than a preset value;
the data summarization module is used for transmitting the lighting signals of the living room to the controller, the controller transmits the lighting signals of the living room to the lighting adjustment module when receiving the lighting signals of the living room, and the lighting adjustment module drives and controls the lighting module of the living room to turn on the lighting of the living room when receiving the lighting signals of the living room transmitted by the controller;
the controller returns a standby signal to the data verification module when receiving the living room lighting signal transmitted by the data induction module; the data verification module is in a standby state when receiving a standby signal transmitted by the controller;
the second illumination sensor is arranged in the horizontal door and used for detecting second illumination information in the horizontal door in real time, and the second pressure sensor is arranged between the horizontal door and the door frame and used for detecting second pressure information between the bedroom door and the door frame in real time; the third pressure sensor is arranged at a first floor of the bedroom door access door and used for detecting third pressure information at the first floor;
the data verification module formulates a horizontal control rule for the second illumination information, the second pressure information and the third pressure information in a standby state, and the specific rule is expressed as follows:
the method comprises the following steps: labeling the second lighting information as G2, the second pressure information as F2, and the third pressure information as F3;
step two: the second pressure information at this time is labeled F21 when the bedroom door is closed, and is labeled F22 when the bedroom door is opened;
step three: when entering the room, the resident steps on the third pressure sensor, the third pressure information when the resident does not step on the room is marked as F31, and the third pressure information when the resident steps on the room is marked as F32;
step four: when the data verification module is in a standby state and detects that the G2 value is lower than a preset value, the data verification module is in a horizontal state to be illuminated;
step five: judging that the resident enters a horizontal state;
s1: when the data checking module detects that the F2 is converted into the F22 from the F21, and the F22 is converted into the F21 again within a preset time, the bedroom door is judged to be opened and closed;
SS 1: if the F3 is detected to be changed from F31 to F32, and the F32 is changed to F31 again within the preset time, the resident is judged to be in the horizontal type; when the data verification module is in a horizontal type state to be illuminated, judging that the resident enters a horizontal type, and generating a horizontal type illumination signal and a temperature adjustment signal by the data verification module; recording a horizontal household mark of the household entering through the recording unit, and marking the household mark at the moment as J;
SS 2: if the F3 is not detected to be changed from F31 to F32, the resident is judged not to enter the horizontal type;
s2: after the preset time, if the F2 is detected to be changed from F21 to F22 again, and F22 is changed to F21 again within the preset time, the bedroom door is judged to be opened and closed again; if the F3 is detected to be changed from F31 to F32, the F32 is changed to F31 again within the preset time, the resident is judged to leave the horizontal type; recording a household mark when the household leaves the horizontal type through a recording unit, and resetting the household mark J to be W;
the data verification module transmits a horizontal illumination signal and a temperature adjusting signal to the controller when generating the horizontal illumination signal and the temperature adjusting signal, the controller transmits the horizontal illumination signal to the illumination adjusting module when receiving the horizontal illumination signal and the temperature adjusting signal transmitted by the data verification module, and the controller transmits the temperature adjusting signal to the temperature adjusting module when receiving the horizontal illumination signal and the temperature adjusting signal transmitted by the data verification module; the illumination adjusting module drives the horizontal illumination module to turn on bedroom illumination when receiving a horizontal illumination signal transmitted by the controller, the temperature adjusting module turns on a normal temperature control state when receiving a temperature adjusting signal transmitted by the controller, and the temperature adjusting module adjusts the horizontal temperature according to a preset temperature value T1 when in the normal temperature control state;
the pressure sensor group comprises a plurality of pressure sensors arranged above the horizontal mattress, each pressure sensor is provided with identification information and is used for detecting a pressure information group on the mattress in real time; the controller is also used for making a horizontal regulation and control rule by combining the timing module, the recording unit and the pressure sensor group, and the specific rule is as follows:
the method comprises the following steps: when the controller receives the horizontal illumination signal and the temperature adjusting signal, the timing module is utilized to start timing;
step two: after the preset time, the controller can automatically read the household mark from the recording unit, and when the household mark at the moment is J, a living room lighting closing signal is generated;
step three: automatically acquiring a pressure information group with identification information detected by a pressure sensor group;
step four: acquiring contour information appearing in the pressure information group, and estimating the real-time distribution area Si of the pressure sensor detecting the pressure; when the distribution area Si is larger than a preset value, determining that the resident lies on the bed at the moment, and when the distribution area Si is larger than the preset value and keeps for more than a preset time, determining that the resident enters a sleeping state;
step five: the controller can automatically generate a sleep temperature adjusting signal in a sleep state, and simultaneously can generate a horizontal illumination turning-off signal.
Further, the controller transmits the lighting signal for closing the living room to the lighting adjusting module when generating the lighting signal for closing the living room, and the lighting adjusting module drives and controls the lighting module for closing the lighting of the living room when receiving the lighting signal for closing the living room transmitted by the controller.
Further, the controller transmits the sleep temperature adjusting signal to the temperature adjusting module when generating the sleep temperature adjusting signal, the temperature adjusting module enters a sleep temperature adjusting state when receiving the sleep temperature adjusting signal transmitted by the controller, the temperature adjusting module adjusts the horizontal temperature according to a preset temperature value T2 when the sleep temperature adjusting module is in the sleep temperature adjusting state, and T2> T1.
Further, the controller transmits the horizontal illumination turning-off signal to the illumination adjusting module when generating the horizontal illumination turning-off signal, and the illumination adjusting module drives and controls the horizontal illumination module to turn off the horizontal illumination when receiving the horizontal illumination turning-off signal transmitted by the controller.
Further, the data summarization module transmits a welcome signal to the controller when detecting that the resident returns home, the controller transmits the welcome signal to the display module when receiving the welcome signal transmitted by the data summarization module, and the display module automatically displays the welcome word eye when receiving the welcome signal transmitted by the controller.
The invention has the beneficial effects that:
(1) according to the invention, whether the large door is opened or not can be judged in real time through the first pressure sensor arranged between the large door and the door frame, whether a resident arrives at home or not can be confirmed through the RFID module, and then illumination of a living room can be automatically turned on when the illumination of the living room is lower than a preset value through the arrangement of the first illumination sensor;
(2) meanwhile, whether the resident is in a horizontal state or not or out of the horizontal state can be known in time by the aid of a second illumination sensor and a third sensor which are arranged in the horizontal state and relevant judgment rules, when the resident is detected to be in the horizontal state, bedroom illumination can be automatically turned on if the second illumination sensor detects that the illumination intensity of the horizontal interior is lower than a preset value, and meanwhile, the horizontal temperature is regulated and controlled by a temperature regulation module according to the preset value;
(3) according to the invention, through the pressure sensor group arranged above the mattress, the pressure sensor group is internally provided with the marks, the marks are positioned at the positions of the pressure sensors arranged on the mattress, then the pressure sensors are used for detecting which pressure sensors are respectively pressed by a resident, the outline of the pressure sensors is constructed, the coverage area of the resident is calculated, whether the resident lies on the bed is judged, if the resident lies on the bed for more than a preset time, the user is judged to be in a sleep state, at the moment, the horizontal illumination is turned off, and the temperature adjusting module enters a temperature adjusting mode of the sleep state; the invention is simple, effective and easy to use.
Drawings
In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.
FIG. 1 is a block diagram of the system of the present invention.
Detailed Description
As shown in fig. 1, an intelligent linkage control system for household appliances and lighting lamps comprises a living room detection module, a horizontal monitoring module, a controller, a storage module, a display module, a lighting adjustment module, an intelligent alarm module, a living room lighting module and a bedroom lighting module;
the living room monitoring module comprises a first pressure sensor, a first illumination sensor and a data summarization module; the horizontal monitoring module comprises a second illumination sensor, a second pressure sensor, a third pressure sensor, a data verification module and a recording unit;
the first pressure sensor is arranged between a gate and a door frame and used for detecting first pressure information between the gate and the door frame in real time, the first pressure sensor is used for transmitting the first pressure information to the data summarization module, and the first illumination sensor is arranged in a living room and used for detecting first illumination information of the living room; the RFID module is used for detecting the home condition of the resident; the first illumination sensor is used for transmitting first illumination information to the data summarization module, and the RFID module transmits a starting signal to the data summarization module when monitoring the RFID label; the data induction module is used for performing specified processing on the first pressure information, the first illumination information and the opening signal, and the specific processing steps are as follows:
the method comprises the following steps: when receiving the opening signal, the data induction module is in an opening state;
step two: the value of the first pressure information at the time of closing the gate is marked as F11;
step three: when the gate is opened, the value of the first pressure information detected at the moment is changed, and the value of the first pressure information at the moment is marked as F12; when the data induction module detects that the first pressure information value is changed from F11 to F12 in the opening state, the data induction module judges that the household comes home at the moment, and the data induction module is in a living room illumination waiting state at the moment;
step four: labeling the first lighting information as G1;
step five: when the data summarization module is in a living room illumination waiting state, a living room illumination signal is sent out when detecting that G11 is lower than a preset value;
the data summarization module is used for transmitting the lighting signals of the living room to the controller, the controller transmits the lighting signals of the living room to the lighting adjustment module when receiving the lighting signals of the living room, and the lighting adjustment module drives and controls the lighting module of the living room to turn on the lighting of the living room when receiving the lighting signals of the living room transmitted by the controller;
the controller returns a standby signal to the data verification module when receiving the living room lighting signal transmitted by the data induction module; the data verification module is in a standby state when receiving a standby signal transmitted by the controller;
the second illumination sensor is arranged in the horizontal door and used for detecting second illumination information in the horizontal door in real time, and the second pressure sensor is arranged between the horizontal door and the door frame and used for detecting second pressure information between the bedroom door and the door frame in real time; the third pressure sensor is arranged at a first floor of the bedroom door access door and used for detecting third pressure information at the first floor;
the data verification module formulates a horizontal control rule for the second illumination information, the second pressure information and the third pressure information in a standby state, and the specific rule is expressed as follows:
the method comprises the following steps: labeling the second lighting information as G2, the second pressure information as F2, and the third pressure information as F3;
step two: the second pressure information at this time is labeled F21 when the bedroom door is closed, and is labeled F22 when the bedroom door is opened;
step three: when entering the room, the resident steps on the third pressure sensor, the third pressure information when the resident does not step on the room is marked as F31, and the third pressure information when the resident steps on the room is marked as F32;
step four: when the data verification module is in a standby state and detects that the G2 value is lower than a preset value, the data verification module is in a horizontal state to be illuminated;
step five: judging that the resident enters a horizontal state;
s1: when the data checking module detects that the F2 is converted into the F22 from the F21, and the F22 is converted into the F21 again within a preset time, the bedroom door is judged to be opened and closed;
SS 1: if the F3 is detected to be changed from F31 to F32, and the F32 is changed to F31 again within the preset time, the resident is judged to be in the horizontal type; when the data verification module is in a horizontal type state to be illuminated, judging that the resident enters a horizontal type, and generating a horizontal type illumination signal and a temperature adjustment signal by the data verification module; recording a horizontal household mark of the household entering through the recording unit, and marking the household mark at the moment as J;
SS 2: if the F3 is not detected to be changed from F31 to F32, the resident is judged not to enter the horizontal type;
s2: after the preset time, if the F2 is detected to be changed from F21 to F22 again, and F22 is changed to F21 again within the preset time, the bedroom door is judged to be opened and closed again; if the F3 is detected to be changed from F31 to F32, the F32 is changed to F31 again within the preset time, the resident is judged to leave the horizontal type; recording a household mark when the household leaves the horizontal type through a recording unit, and resetting the household mark J to be W;
the data verification module transmits a horizontal illumination signal and a temperature adjusting signal to the controller when generating the horizontal illumination signal and the temperature adjusting signal, the controller transmits the horizontal illumination signal to the illumination adjusting module when receiving the horizontal illumination signal and the temperature adjusting signal transmitted by the data verification module, and the controller transmits the temperature adjusting signal to the temperature adjusting module when receiving the horizontal illumination signal and the temperature adjusting signal transmitted by the data verification module; the illumination adjusting module drives the horizontal illumination module to turn on bedroom illumination when receiving a horizontal illumination signal transmitted by the controller, the temperature adjusting module turns on a normal temperature control state when receiving a temperature adjusting signal transmitted by the controller, and the temperature adjusting module adjusts the horizontal temperature according to a preset temperature value T1 when in the normal temperature control state;
the pressure sensor group comprises a plurality of pressure sensors arranged above the horizontal mattress, each pressure sensor is provided with identification information, the identification information is the specific position information of the pressure sensor above the mattress, and the position identifications of the plurality of pressure sensors can form the outline of the bed; the pressure information group is used for detecting the pressure information group on the mattress in real time; the controller is also used for making a horizontal regulation and control rule by combining the timing module, the recording unit and the pressure sensor group, and the specific rule is as follows:
the method comprises the following steps: when the controller receives the horizontal illumination signal and the temperature adjusting signal, the timing module is utilized to start timing;
step two: after the preset time, the controller can automatically read the household mark from the recording unit, and when the household mark at the moment is J, a living room lighting closing signal is generated;
step three: automatically acquiring a pressure information group with identification information detected by a pressure sensor group;
step four: acquiring contour information appearing in the pressure information group, and estimating the real-time distribution area Si of the pressure sensor detecting the pressure; when the distribution area Si is larger than a preset value, determining that the resident lies on the bed at the moment, and when the distribution area Si is larger than the preset value and keeps for more than a preset time, determining that the resident enters a sleeping state;
step five: the controller can automatically generate a sleep temperature adjusting signal in a sleep state, and can also generate a horizontal lighting closing signal at the same time;
the controller transmits a living room lighting closing signal to the lighting adjusting module when generating a living room lighting closing signal, and the lighting adjusting module drives and controls the living room lighting module to close the living room lighting when receiving the living room lighting closing signal transmitted by the controller;
the controller transmits a sleep temperature adjusting signal to the temperature adjusting module when generating the sleep temperature adjusting signal, the temperature adjusting module enters a sleep temperature adjusting state when receiving the sleep temperature adjusting signal transmitted by the controller, the temperature adjusting module adjusts the horizontal temperature according to a preset temperature value T2 when the sleep temperature adjusting module is in the sleep temperature adjusting state, and T2 is more than T1;
the controller transmits the horizontal illumination turning-off signal to the illumination adjusting module when generating the horizontal illumination turning-off signal, and the illumination adjusting module drives and controls the horizontal illumination module to turn off the horizontal illumination when receiving the horizontal illumination turning-off signal transmitted by the controller.
The data summarization module transmits a welcome signal to the controller when detecting that the resident returns home, the controller transmits the welcome signal to the display module when receiving the welcome signal transmitted by the data summarization module, and the display module automatically displays the welcome word eye when receiving the welcome signal transmitted by the controller.
When the household appliance and illuminating lamp intelligent linkage control system works, whether a large door is opened or not is detected in real time through a pressure sensor arranged between the large door and a door frame, whether a resident is at home or not is judged by combining an RFID module, and when the resident is detected to be at home, illumination of a living room is automatically turned on when a first illumination sensor detects that light of the living room is lower than a preset value; then, whether a user enters the horizontal type can be judged through a second pressure sensor arranged between the horizontal type door and the door frame and a third pressure sensor arranged in the horizontal type, whether the user enters the horizontal type or leaves the horizontal type is judged by means of related judgment rules, bedroom illumination is automatically turned on when the user enters the horizontal type and illumination information in the horizontal type is lower than a preset value, the user does not enter or leave the living room when the user does not leave the horizontal type after entering the horizontal type preset time, and living room illumination can be automatically turned on after the user leaves the living room; judging whether the user lies on the bed or not through related rules, and automatically turning off the horizontal illumination after the resident lies on the bed for a preset time; meanwhile, different temperature adjustment settings are carried out when the user enters a horizontal state and a sleeping state; the temperature adjusting module can adjust the horizontal temperature through an air conditioner;
the invention has the beneficial effects that:
(1) according to the invention, whether the large door is opened or not can be judged in real time through the first pressure sensor arranged between the large door and the door frame, whether a resident arrives at home or not can be confirmed through the RFID module, and then illumination of a living room can be automatically turned on when the illumination of the living room is lower than a preset value through the arrangement of the first illumination sensor;
(2) meanwhile, whether the resident is in a horizontal state or not or out of the horizontal state can be known in time by the aid of a second illumination sensor and a third sensor which are arranged in the horizontal state and relevant judgment rules, when the resident is detected to be in the horizontal state, bedroom illumination can be automatically turned on if the second illumination sensor detects that the illumination intensity of the horizontal interior is lower than a preset value, and meanwhile, the horizontal temperature is regulated and controlled by a temperature regulation module according to the preset value;
(3) according to the invention, through the pressure sensor group arranged above the mattress, the pressure sensor group is internally provided with the marks, the marks are positioned at the positions of the pressure sensors arranged on the mattress, then the pressure sensors are used for detecting which pressure sensors are respectively pressed by a resident, the outline of the pressure sensors is constructed, the coverage area of the resident is calculated, whether the resident lies on the bed is judged, if the resident lies on the bed for more than a preset time, the user is judged to be in a sleep state, at the moment, the horizontal illumination is turned off, and the temperature adjusting module enters a temperature adjusting mode of the sleep state; the invention is simple, effective and easy to use.
The foregoing is merely exemplary and illustrative of the present invention and various modifications, additions and substitutions may be made by those skilled in the art to the specific embodiments described without departing from the scope of the invention as defined in the following claims.