CN113905492A - Night lamp control method based on bedroom - Google Patents
Night lamp control method based on bedroom Download PDFInfo
- Publication number
- CN113905492A CN113905492A CN202111513454.5A CN202111513454A CN113905492A CN 113905492 A CN113905492 A CN 113905492A CN 202111513454 A CN202111513454 A CN 202111513454A CN 113905492 A CN113905492 A CN 113905492A
- Authority
- CN
- China
- Prior art keywords
- feedback signal
- human body
- body sensor
- countdown
- state
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/115—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/16—Controlling the light source by timing means
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention relates to the technical field of night lamp control, in particular to a night lamp control method based on a bedroom, which can be automatically turned on and off; the method comprises the following steps: s2: acquiring a feedback signal of the human body sensor, and judging whether the feedback signal is in an un-triggered state; s3: acquiring a feedback signal of the human body sensor in an un-triggered state, acquiring a first starting time and performing first countdown, and still repeatedly acquiring the feedback signal of the human body sensor until the first countdown is finished; s4: the lamp is turned off, and the human body sensor is in a standby state; s5: receiving the feedback signal of the human body sensor in a triggering state, performing second countdown, and still repeatedly acquiring the feedback signal of the human body sensor; s6: and continuing the second countdown, if the feedback signal of the human body sensor in the non-triggering state is acquired, ending the second countdown and returning to the step S4, and if the acquired feedback signal of the human body sensor in the triggering state exceeds a second fixed time length, returning to the step S1.
Description
Technical Field
The invention relates to the technical field of night lamp control, in particular to a night lamp control method based on a bedroom.
Background
As is well known, a night light is a lamp used in sleeping at night or in a dark condition, people often use the night light to provide a sense of security of illumination, and the night light is widely used in the field of environmental lighting; the existing night lamp control method is mostly manually turned off, the control mode and the use mode are both single, the intelligent degree is low, and therefore the whole use limitation is high.
Disclosure of Invention
In order to solve the technical problems, the invention provides a night lamp control method based on a bedroom, which can be automatically switched on and off, increases control modes and use modes, and improves the intelligent degree, so that the integral use limitation is reduced.
The invention discloses a night lamp control method based on a bedroom, which comprises the following steps:
s1: a night lamp mode is started, and the lamp is started to dim;
s2: acquiring a feedback signal of the human body sensor, and judging whether the feedback signal is in an un-triggered state;
s3: acquiring a feedback signal of the human body sensor in an un-triggered state, acquiring a first starting time and performing first countdown, and meanwhile, repeatedly acquiring the feedback signal of the human body sensor until the first countdown is finished;
s4: the lamp is turned off, and the human body sensor is in a standby state;
s5: receiving a feedback signal of the human body sensor in a trigger state, acquiring a second starting time, performing second countdown, meanwhile, repeatedly acquiring the feedback signal of the human body sensor, presetting a second fixed time length, and performing second countdown according to the second fixed time length;
s6: and continuing the second countdown, if the feedback signal of the human body sensor in the non-triggering state is acquired, ending the second countdown and returning to the step S4, and if the acquired feedback signal of the human body sensor in the triggering state exceeds a second fixed time length, returning to the step S1.
Preferably, in step S2, when the feedback signal of the motion sensor is in the triggered state, step S2 is repeated until the feedback signal of the motion sensor is in the non-triggered state.
Preferably, in step S3, if the feedback signal of the motion sensor is always in an unfired state within the first fixed time period, the process proceeds to step S4; if the motion sensor is triggered within the first fixed time period, the first countdown is stopped, and the process returns to step S2.
Preferably, in step S3, the last time the feedback signal in the trigger state was last acquired is set as the first start time.
Preferably, in step S3, a first fixed time duration is preset, and a first countdown is performed according to the first fixed time duration.
Preferably, if the motion sensor feedback signal in the trigger state is not received in step S4, the process remains in step S4, and the process does not proceed to step S5.
Preferably, in step S5, the first time when the motion sensor feedback signal in the trigger state is acquired is set as the second start time.
Compared with the prior art, the invention has the beneficial effects that: this application judges whether the user is present or whether sleeping through human body sensor's feedback signal to carry out self-closing to lamps and lanterns when the user is not present or is sleeping, meanwhile, when the user is present again or when waking up, automatic reopening, and do not open after judging when the user only stands up, it can automatic switch, increase control mode and user mode, improve intelligent degree, thereby reduce whole use limitation.
Drawings
FIG. 1 is a process flow diagram of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
As shown in fig. 1, a night light control method based on a bedroom of the present invention includes:
s1: a night lamp mode is started, and the lamp is started to dim;
in the embodiment of the present invention, for example, in a specific embodiment, an on signal is sent to the turned-on lamp, so that the turned-on lamp turns on to dim light to achieve the night light mode, and then the step S2 is performed;
it should be noted that the manner of entering the night light mode of the lamp includes, but is not limited to, manual turning on, timing turning on, and voice control turning on.
S2: acquiring a feedback signal of the human body sensor, and judging whether the feedback signal is in an un-triggered state;
in the embodiment of the invention, when the feedback signal of the human body sensor is in the triggered state, the step S2 is repeated until the feedback signal of the human body sensor is in the non-triggered state;
for example, in a specific embodiment, the acquired feedback signal of the human body sensor is analyzed, when it is determined that the human body sensor is not triggered after the analysis, it indicates that the human body is not sensed, that is, the human body is in a static state, it is determined that the human body enters a sleep state, and step S3 is entered.
S3: acquiring a feedback signal of the human body sensor in an un-triggered state, acquiring a first starting time and performing first countdown, and meanwhile, repeatedly acquiring the feedback signal of the human body sensor until the first countdown is finished;
in the embodiment of the invention, within the first fixed time period, if the feedback signal of the human body sensor is always in an unfired state, the step S4 is entered; within the first fixed time, if the human body sensor is triggered, stopping the first countdown, returning to the step S2, setting the last time of obtaining the feedback signal in the triggering state as the first starting time, presetting the first fixed time, and performing the first countdown according to the first fixed time;
for example, in a specific embodiment, the preset first fixed time duration is 5min, when the feedback signal of the human body sensor in the non-triggered state is obtained, counting down for 5min is started, and within 5min, the feedback signal of the human body sensor is still repeatedly obtained, and when the feedback signal of the human body sensor is always in the non-triggered state and the presence of a human body is not sensed, that is, the human body is in a stationary state for a long time, it is determined that the human body enters the sleep state, and the process proceeds to step S4; within 5min, the feedback signal of the human body sensor is repeatedly acquired, when the human body sensor is triggered, the situation that the human body is sensed is shown, the fact that the human body does not enter the sleep state is judged, countdown is stopped, and the step S2 is returned.
S4: the lamp is turned off, and the human body sensor is in a standby state;
in the embodiment of the invention, if the feedback signal of the human body sensor in the triggering state is not received, the operation is still stopped in the step S4, and the operation does not enter the step S5;
for example, in a specific embodiment, after the light fixture is turned off, the motion sensor is still in a standby state, and when the motion sensor is triggered, the process proceeds to step S5, and when the motion sensor is not triggered, the process stays to step S4 all the time, and does not proceed to step S5.
S5: receiving a feedback signal of the human body sensor in a trigger state, acquiring a second starting time, performing second countdown, meanwhile, repeatedly acquiring the feedback signal of the human body sensor, presetting a second fixed time length, and performing second countdown according to the second fixed time length;
in the embodiment of the invention, the first time for acquiring the feedback signal of the human body sensor in the trigger state is set as the second starting time;
for example, in a specific embodiment, the preset second fixed time duration is 3S, when the feedback signal of the human body sensor in the trigger state is acquired, the 3S countdown is started, and within 3S, the feedback signal of the human body sensor is still acquired repeatedly.
S6: continuing the second countdown, if the feedback signal of the human body sensor in the non-triggered state is acquired, ending the second countdown and returning to the step S4, and if the acquired feedback signal of the human body sensor in the triggered state exceeds a second fixed time length, returning to the step S1;
for example, in a specific embodiment, the acquired time when the feedback signal of the human body sensor is in the trigger state exceeds a second fixed time period, the presence of the human body is sensed, that is, the human body is in the active state for a long time, it is determined that the human body wakes up or has new human body activity, and the process proceeds to step S1; in step 3S, the body sensor feedback signal in the non-triggered state is acquired, which indicates that the presence of the human body is not sensed, and the human body is determined to be in the sleep state even though the turning motion is performed, and the second countdown is stopped and the process returns to step 4.
According to the night light control method based on the bedroom, the specific structures, models and coefficient indexes of all the components are self-contained technologies, and the night light control method can be implemented as long as the beneficial effects of the components are achieved, so that the details are not repeated.
A bedroom based night light control method of the present invention, the numerical terms "first," "second," and "third," etc. do not denote any particular quantity or order, but rather are used to distinguish one from another, and the terms "comprise," "include," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (7)
1. A night light control method based on a bedroom is characterized by comprising the following steps:
s1: a night lamp mode is started, and the lamp is started to dim;
s2: acquiring a feedback signal of the human body sensor, and judging whether the feedback signal is in an un-triggered state;
s3: acquiring a feedback signal of the human body sensor in an un-triggered state, acquiring a first starting time and performing first countdown, and meanwhile, repeatedly acquiring the feedback signal of the human body sensor until the first countdown is finished;
s4: the lamp is turned off, and the human body sensor is in a standby state;
s5: receiving a feedback signal of the human body sensor in a trigger state, acquiring a second starting time, performing second countdown, meanwhile, repeatedly acquiring the feedback signal of the human body sensor, presetting a second fixed time length, and performing second countdown according to the second fixed time length;
s6: and continuing the second countdown, if the feedback signal of the human body sensor in the non-triggering state is acquired, ending the second countdown and returning to the step S4, and if the acquired feedback signal of the human body sensor in the triggering state exceeds a second fixed time length, returning to the step S1.
2. The bedroom based night light control method of claim 1, wherein in step S2, when the feedback signal of the human body sensor is in the activated state, step S2 is repeated until the feedback signal of the human body sensor is in the deactivated state.
3. The bedroom-based night light control method of claim 1, wherein in step S3, if the feedback signal of the motion sensor is always in an inactive state within the first fixed time period, the method proceeds to step S4; if the motion sensor is triggered within the first fixed time period, the first countdown is stopped, and the process returns to step S2.
4. The bedroom based night light control method of claim 1, wherein in step S3, the last time the feedback signal in the triggered state was last acquired is set as the first starting time.
5. The bedroom based night light control method of claim 1, wherein the first fixed duration is preset and the first countdown is performed according to the first fixed duration in step S3.
6. The night light control method based on the bedroom as claimed in claim 1, wherein in step S4, if the feedback signal of the motion sensor in the triggered state is not received, the operation stays in step S4, and the operation does not proceed to step S5.
7. The bedroom based night light control method of claim 1, wherein the first time to acquire the feedback signal of the motion sensor in the triggered state is set as the second starting time in step S5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111513454.5A CN113905492A (en) | 2021-12-13 | 2021-12-13 | Night lamp control method based on bedroom |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111513454.5A CN113905492A (en) | 2021-12-13 | 2021-12-13 | Night lamp control method based on bedroom |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113905492A true CN113905492A (en) | 2022-01-07 |
Family
ID=79026176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111513454.5A Pending CN113905492A (en) | 2021-12-13 | 2021-12-13 | Night lamp control method based on bedroom |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113905492A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022689A (en) * | 2007-01-29 | 2007-08-22 | 贵州天骄高技术有限责任公司 | Method and device for protecting from mistake operation in natural light brightness full-automatic control road lamp switch |
CN104720819A (en) * | 2015-03-24 | 2015-06-24 | 赵君雄 | Sleeping process recorder |
CN108317459A (en) * | 2018-01-25 | 2018-07-24 | 孙学川 | A kind of intelligence night-light |
CN113260124A (en) * | 2021-05-19 | 2021-08-13 | 河北红岸基地科技有限公司 | Control method of intelligent lamp |
CN113329549A (en) * | 2021-06-29 | 2021-08-31 | 河北红岸基地科技有限公司 | Night lamp control method |
CN113613375A (en) * | 2021-08-16 | 2021-11-05 | 河北红岸基地科技有限公司 | Night lamp control method based on living room |
-
2021
- 2021-12-13 CN CN202111513454.5A patent/CN113905492A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022689A (en) * | 2007-01-29 | 2007-08-22 | 贵州天骄高技术有限责任公司 | Method and device for protecting from mistake operation in natural light brightness full-automatic control road lamp switch |
CN104720819A (en) * | 2015-03-24 | 2015-06-24 | 赵君雄 | Sleeping process recorder |
CN108317459A (en) * | 2018-01-25 | 2018-07-24 | 孙学川 | A kind of intelligence night-light |
CN113260124A (en) * | 2021-05-19 | 2021-08-13 | 河北红岸基地科技有限公司 | Control method of intelligent lamp |
CN113329549A (en) * | 2021-06-29 | 2021-08-31 | 河北红岸基地科技有限公司 | Night lamp control method |
CN113613375A (en) * | 2021-08-16 | 2021-11-05 | 河北红岸基地科技有限公司 | Night lamp control method based on living room |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10203711B2 (en) | Methods for managing power consumption for a hands-free dispenser | |
CN103763828B (en) | A kind of eye-protecting desk lamp being provided with alarm clock and control method thereof | |
US8040239B2 (en) | Lighting control system | |
TWI584690B (en) | System and method of entry sensing and wireless control of internal lighting | |
CN104582112A (en) | Illumination control method of illumination device | |
CN113923834A (en) | Automatic closing method convenient for energy conservation of lamp | |
CN113329549A (en) | Night lamp control method | |
WO2004012164A1 (en) | Crime-prevention lighting device | |
JP2009224199A (en) | Illumination system and illumination control method | |
CN105307342A (en) | Domestic lamp control method | |
CN113905492A (en) | Night lamp control method based on bedroom | |
CN105068581A (en) | Indoor light rays adjusting system and adjusting method | |
CN113613375A (en) | Night lamp control method based on living room | |
CN113260124A (en) | Control method of intelligent lamp | |
US20150022025A1 (en) | Smart energy-saving power source control apparatus and method | |
CN113630943A (en) | Convenient and energy-saving lamp control method | |
JP2012133671A (en) | Home network system | |
CN114025455B (en) | Control method, system and storage medium for household intelligent lighting system | |
CN113242637A (en) | Light control method, system, equipment and medium for smart home | |
CN211090088U (en) | Energy-saving self-adjusting lighting device | |
CN113660755A (en) | Intelligent control method for household light | |
CN105554989A (en) | Intelligent light control device and method | |
CN111895576A (en) | Intelligent sleep control method for air conditioner, air conditioner and computer readable storage medium | |
JP2005285542A (en) | Lighting device | |
KR200423213Y1 (en) | Automatic control system for power saving of lighting apparatus |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220107 |