CN114554667B - Grouping control method for lighting lamps - Google Patents
Grouping control method for lighting lamps Download PDFInfo
- Publication number
- CN114554667B CN114554667B CN202210096473.0A CN202210096473A CN114554667B CN 114554667 B CN114554667 B CN 114554667B CN 202210096473 A CN202210096473 A CN 202210096473A CN 114554667 B CN114554667 B CN 114554667B
- Authority
- CN
- China
- Prior art keywords
- timing
- lighting
- time
- lighting lamp
- preset
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000004891 communication Methods 0.000 claims abstract description 45
- 230000001960 triggered effect Effects 0.000 claims abstract description 22
- 239000011324 bead Substances 0.000 claims description 11
- 238000005286 illumination Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 abstract description 5
- 230000006855 networking Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
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/16—Controlling the light source by timing means
-
- 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/11—Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
-
- 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/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- 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
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention relates to a grouping control method of lighting fixtures. The method comprises the following steps: s1, judging whether a first sensor is triggered or not; s2, if so, the lighting lamp emits light with a first preset brightness value; s3, if not, the lighting lamp judges whether the lighting lamp is in the execution process of the existing trigger instruction or not; s4, if so, judging whether other lighting lamps in the lighting lamp group have triggering instructions; s5, if not, judging whether the timing time of the first timing is longer than the first preset time; s6, if yes, the controller controls the lighting lamp to emit light with a second preset brightness value and starts a second timing; s7, judging whether the timing time of the second timing is greater than the dynamic time; and S8, if so, reducing the brightness value of the lighting lamp or turning off the lighting lamp. The lighting lamps are grouped in a short-distance wireless communication mode, mutual control is realized in the lamp group, a server and a network are not relied on, and the control effect is good.
Description
Technical Field
The invention relates to the field of lighting fixtures, in particular to a grouping control method of lighting fixtures.
Background
Under the background of intelligent electrical appliances, the lighting lamp is gradually intelligent. In the existing intelligent lighting fixtures, some lighting fixtures use a single-machine control strategy, and one lighting fixture can only control itself and cannot realize linkage with surrounding lighting fixtures. Some lighting fixtures are controlled through a cloud server, and the mode depends on a network, so that the indoor environment control effect is poor for some networks.
Disclosure of Invention
The invention aims to provide a grouping control method for lighting fixtures.
The technical scheme adopted for solving the technical problems is as follows: constructing a lighting lamp grouping control method, wherein at least two lighting lamps form a lighting lamp group, the lighting lamps comprise a controller, a first sensor, a short-distance wireless communication module and lamp beads, the controller is respectively connected with the first sensor, the short-distance wireless communication module and the lamp beads, the first sensor is used for detecting whether a human body exists in a preset range, and the short-distance wireless communication module is used for establishing wireless communication connection between the lighting lamps in the lighting lamp group; the method comprises the following steps:
s1, judging whether the first sensor is triggered or not, wherein the first sensor is triggered when detecting that a human body exists in a preset range;
s2, if the first sensor is triggered, sending a trigger instruction to each lighting lamp in the lighting lamp group and starting first timing, wherein the lighting lamps emit light with a first preset brightness value, the dynamic time is assigned to be a second preset time, and the step S1 is executed again after adjustment is completed, wherein the first preset brightness value is the maximum brightness value of the lighting lamps;
s3, if the first sensor is not triggered, the lighting lamp judges whether the lighting lamp is in the execution process of the existing trigger instruction or not;
s4, if the lighting lamp is in the execution process of the existing trigger instruction, judging whether other lighting lamps in the lighting lamp group generate the trigger instruction or not;
s5, if no triggering instruction is generated by other lighting fixtures in the lighting fixture group, judging whether the timing time of the first timing is longer than a first preset time;
s6, if the timing time of the first timing is longer than the first preset time, the controller controls the lighting lamp to emit light with a second preset brightness value and starts second timing, wherein the second preset brightness value is smaller than the first preset brightness value;
s7, judging whether the timing time of the second timing is longer than the dynamic time;
and S8, if the timing time of the second timing is greater than the dynamic time, reducing the brightness value of the lighting lamp or turning off the lighting lamp, and executing the step S1.
Further, in the lighting fixture grouping control method of the present invention, the lighting fixture further includes a second sensor connected to the controller for detecting an illuminance value; step S2 further comprises:
and the controller controls the light emitted by the lighting lamp to reach a preset illuminance value according to the feedback illuminance value of the second sensor.
Further, in the lighting fixture grouping control method of the present invention, after step S3, the method further includes the steps of:
and S41, if the lighting lamp is not in the execution process of the existing trigger instruction, keeping the current lighting state unchanged, and then executing the step S1.
Further, in the lighting fixture grouping control method of the present invention, after step S4, the method further includes the steps of:
s51, if other lighting lamps in the lighting lamp set have triggering instructions, judging whether the timing time of the first timing is longer than the first preset time;
s52, if the timing time of the first timing is not greater than the first preset time, the dynamic time is assigned as the sum of the timing time of the first timing and the second preset time, and step S1 is executed.
Further, in the lighting fixture grouping control method of the present invention, after step S51, the method further includes the steps of:
s53, if the timing time of the first timing is longer than the first preset time, judging whether the timing time of the second timing is longer than the dynamic time;
s54, if the timing time of the second timing is longer than the dynamic time, the lighting lamp emits light with a second preset brightness value, the second timing is cleared, timing is restarted, the dynamic time is assigned as the second preset time, and then the step S1 is executed;
and S55, if the timing time of the second timing is not greater than the dynamic time, resetting the second timing, restarting the timing, and then executing the step S1.
Further, in the lighting fixture grouping control method of the present invention, after step S5, the method further includes the steps of:
and S61, if the timing time of the first timing is not greater than the first preset time, keeping the first preset brightness value unchanged and executing the step S1.
Further, in the lighting fixture grouping control method of the present invention, after step S7, the method further includes the steps of:
and S81, if the timing time of the second timing is not greater than the dynamic time, the lighting lamp keeps the second preset brightness value unchanged and the step S1 is executed.
Further, in the lighting fixture grouping control method of the present invention, before step S1, the method further includes the steps of:
s101, the lighting lamp receives a grouping instruction sent by the intelligent mobile terminal through the short-distance wireless communication module, and the lighting lamp groups the lighting lamp according to the grouping instruction, wherein the grouping instruction comprises address information of the lighting lamp to be grouped.
Further, in the lighting fixture grouping control method of the present invention, before step S101, the method further includes the steps of:
s1011, after the lighting lamp is powered on, the lighting lamp emits light according to a first preset brightness value.
Further, in the lighting fixture grouping control method of the present invention, after step S101, the method further includes the steps of:
s102, the intelligent mobile terminal sends a sensor starting instruction to each lighting lamp, and the lighting lamps start the first sensor according to the sensor starting instruction.
Further, in the lighting fixture grouping control method of the present invention, after step S102, the method further includes:
s103, the intelligent mobile terminal sends the first preset time, the second preset time and the second preset brightness value to each lighting lamp, and the lighting lamps store the first preset time, the second preset time and the second preset brightness value.
Further, in the lighting fixture grouping control method of the present invention, after step S103, the method further includes:
s104, the intelligent mobile terminal sends a brightness adjustment instruction to the lighting lamp, the lighting lamp outputs a corresponding brightness value according to the brightness adjustment instruction, and the lighting lamp stores the adjusted brightness value as the first preset brightness value and the preset illumination value.
Further, in the lighting fixture grouping control method of the present invention, after step S104, the method further includes:
s105, starting timing by the first timing.
Further, in the lighting lamp grouping control method of the present invention, the short-distance wireless communication module is one of a bluetooth communication module, a WiFi communication module and a ZigBee communication module.
The grouping control method for the lighting lamp has the following beneficial effects: the lighting lamps are grouped in a short-distance wireless communication mode, mutual control is realized in the lamp group, a server and a network are not relied on, and the control effect is good.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic structural diagram of a lighting fixture according to an embodiment of the present invention;
FIG. 2 is a flow chart of a lighting fixture grouping control method provided by an embodiment of the invention;
FIG. 3 is a flow chart of a lighting fixture grouping control method provided by an embodiment of the invention;
fig. 4 is a flowchart of a lighting fixture grouping control method according to an embodiment of the present invention.
Detailed Description
For a clearer understanding of technical features, objects and effects of the present invention, a detailed description of embodiments of the present invention will be made with reference to the accompanying drawings.
In a preferred embodiment, referring to fig. 1 and 2, the lighting fixture of the present embodiment includes a controller, a first sensor, a short-distance wireless communication module, and a light bulb, where the controller is connected to the first sensor, the short-distance wireless communication module, and the light bulb, respectively, the first sensor is used to detect whether there is a human body in a preset range, and the short-distance wireless communication module is used to establish wireless communication connection between lighting fixtures in the lighting fixture group. And wireless communication connection is established between at least two lighting lamps in the lighting lamp group through a short-distance wireless communication module, so that the lighting lamp group capable of transmitting information mutually is formed. Alternatively, the short-range wireless communication module is a bluetooth communication module, a WiFi communication module, a ZigBee communication module, or the like. Specifically, the lighting lamp grouping control method comprises the following steps:
s1, judging whether the first sensor is triggered or not, and triggering when the first sensor detects that a human body exists in a preset range.
Specifically, the first sensor is started after the lighting lamp is powered on, and the first sensor enters a detection state after being started. The first sensor detects whether a human body exists in a preset range, if the first sensor detects that the human body exists in the preset range, the first sensor is triggered, and if the first sensor does not detect that the human body exists in the preset range, the first sensor does not trigger. It can be understood that if a human body is always within the preset range, the first sensor is continuously triggered, and in order to reduce the triggering times, a triggering interval can be set, and the first sensor detects that a human body is within the preset range every time a triggering interval passes. Alternatively, the first sensor may use a distance sensor, an infrared sensor, a camera, or the like.
S2, if the first sensor is triggered, sending a trigger instruction to each lighting lamp in the lighting lamp group, starting first timing, enabling the lighting lamp to emit light with a first preset brightness value, assigning the dynamic time to be a second preset time, and re-executing the step S1 after finishing adjustment, wherein the first preset brightness value is the maximum brightness value of the lighting lamp.
Specifically, a first sensor of one lighting lamp in the lighting lamp group is triggered to generate a trigger instruction, and the lighting lamp sends the trigger instruction to other lighting lamps in the lighting lamp group through the short-distance wireless communication module. The storage unit of the lighting lamp is stored with a first preset brightness value, and when the first sensor is triggered or the short-distance wireless communication module receives a triggering instruction, the controller reads the first preset brightness value stored in the storage unit and controls the lamp beads to emit light with the first preset brightness value. Further, the first timing is started after the first sensor is triggered or after the short-range wireless communication module receives the trigger instruction, alternatively, the first timing can be performed by using an internal timer of the controller or the first timing can be performed by using a timer connected with the controller. In addition, the storage unit of the lighting lamp stores a second preset time, the second preset time is a fixed time, in order to facilitate the subsequent adjustment of the lighting lamp, a dynamic time is set in this embodiment, the dynamic time is a changeable time, here, the dynamic time is assigned as the second preset time, and the dynamic time can also be assigned as other times in the control process. After the adjustment is completed, step S1 is executed again, i.e. whether the first sensor is triggered is continuously determined.
Optionally, the lighting fixture further includes a second sensor connected to the controller for detecting an illuminance value, and step S2 further includes: the controller controls the light emitted by the lighting lamp to reach the preset illuminance value according to the feedback illuminance value of the second sensor, that is, the second sensor feeds the acquired illuminance value back to the controller in real time, and the controller judges the magnitude of the feedback illuminance value and the preset illuminance value. If the feedback illuminance value is smaller than the preset illuminance value, the controller controls the lamp beads to increase illuminance; if the feedback illuminance value is larger than the preset illuminance value, the controller controls the lamp to reduce illuminance. By arranging the second sensor, the illumination environment of the illumination lamp can be kept unchanged, illumination change of the illumination environment of the illumination lamp caused by natural environment light change is avoided, and the use experience of a user is improved.
S3, if the first sensor is not triggered, the lighting lamp judges whether the lighting lamp is in the execution process of the existing trigger instruction.
Specifically, if the first sensor is not triggered, it indicates that the first sensor is not triggered at the current time point, and the lighting device needs to further determine whether the lighting device is in the execution process of the existing trigger instruction, that is, whether the time period before the current time is triggered, where the execution process of the existing trigger instruction means that the execution time of the existing trigger instruction does not exceed the sum of the first preset time and the second preset time.
S4, if the lighting lamp is in the execution process of the existing trigger instruction, judging whether other lighting lamps in the lighting lamp group generate the trigger instruction.
Specifically, because linkage control is implemented between all the lighting fixtures in the lighting fixture group in this embodiment, if the lighting fixture is in the execution process of the existing triggering instruction, it is further required to determine whether other lighting fixtures in the lighting fixture group have triggering instructions, that is, determine whether the lighting fixture receives triggering instructions sent by other lighting fixtures in the lighting fixture group to which the lighting fixture belongs.
S41, if the lighting lamp is not in the execution process of the existing trigger instruction, the current lighting state is kept unchanged, and then step S1 is executed.
S5, if no triggering instruction is generated by other lighting lamps in the lighting lamp group, judging whether the timing time of the first timing is longer than the first preset time.
Specifically, if no triggering instruction is generated by other lighting fixtures in the lighting fixture group, whether the timing time of the first timing is longer than the first preset time is judged. The first preset time is stored in the stored unit of the lighting lamp, the controller reads the first preset time in the storage unit after the first timing is started, and then whether the timing time of the first timing is larger than the first preset time is judged.
And S6, if the timing time of the first timing is longer than the first preset time, the controller controls the lighting lamp to emit light with a second preset brightness value and starts the second timing.
Specifically, a second preset brightness value is stored in a storage unit of the lighting lamp, and when the timing time of the first timing is longer than the first preset time, the controller reads the second preset brightness value stored in the storage unit and controls the lamp beads to emit light with the second preset brightness value, wherein the second preset brightness value is smaller than the first preset brightness value; alternatively, the second preset luminance value is half of the first preset luminance value. The timer starts the second timing after the lamp bead emits the light of the second preset brightness value, alternatively, the timer inside the controller may be used to perform the second timing, or the timer connected to the controller may be used to perform the second timing.
And S61, if the timing time of the first timing is not greater than the first preset time, keeping the first preset brightness value unchanged and executing the step S1.
S7, judging whether the timing time of the second timing is larger than the dynamic time.
And S8, if the timing time of the second timing is greater than the dynamic time, reducing the brightness value of the lighting lamp or turning off the lighting lamp, and executing the step S1.
Specifically, the second timing time is continuously increased, and when the timing time of the second timing is not greater than the dynamic time, the lighting lamp continuously emits light with a second preset brightness value. And when the timing time of the second timing is longer than the dynamic time, the brightness value of the lighting lamp is reduced or the lighting lamp is turned off. Alternatively, the controller may stop outputting the driving signal to the lamp beads when the illumination lamp is turned off, the lamp beads not emitting light; or the controller cuts off the input current of the lighting lamp to power off the lighting lamp.
S81, if the timing time of the second timing is not greater than the dynamic time, the lighting lamp keeps the second preset brightness value unchanged and the step S1 is executed.
The lighting lamps are grouped in a short-distance wireless communication mode, mutual control is achieved in the lamp group, a server and a network are not relied on, and the control effect is good.
In the lighting fixture grouping control method of some embodiments, referring to fig. 2 and 3, after step S4, the method further includes the steps of:
s51, if other lighting lamps in the lighting lamp set have triggering instructions, judging whether the timing time of the first timing is longer than a first preset time.
S52, if the timing time of the first timer is not greater than the first preset time, the dynamic time is assigned as the sum of the timing time of the first timer and the second preset time, and step S1 is executed.
And S53, if the timing time of the first timer is longer than the first preset time, judging whether the timing time of the second timer is longer than the dynamic time.
And S54, if the timing time of the second timing is greater than the dynamic time, the lighting lamp emits light with a second preset brightness value, the timing is restarted after the second timing is cleared, the dynamic time is assigned as the second preset time, and then the step S1 is executed.
And S55, if the timing time of the second timing is not greater than the dynamic time, resetting the second timing, restarting the timing, and then executing the step S1.
In the embodiment, when one trigger instruction is not executed and other trigger instructions exist, the dynamic time is updated, so that the brightness adjustment time of the lighting lamp is more humanized, and the use experience of a user is improved.
In the lighting fixture grouping control method of some embodiments, referring to fig. 2 and fig. 4, before step S1, the method further includes the steps of:
s1011, after the lighting lamp is powered on, the lighting lamp emits light according to a first preset brightness value. Specifically, after the lighting lamp is powered on, the controller reads a first preset brightness value stored in the storage unit and controls the lamp beads to emit light with the first preset brightness value, wherein the first preset brightness value is the maximum brightness value of the lighting lamp.
S101, the lighting lamp receives a grouping instruction sent by the intelligent mobile terminal through the short-distance wireless communication module, and the lighting lamp groups according to the grouping instruction, wherein the grouping instruction comprises address information of the lighting lamp to be grouped.
Specifically, the intelligent mobile terminal comprises a short-distance wireless communication module, and the intelligent mobile terminal and the lighting lamp establish wireless communication connection through the short-distance wireless communication module. The intelligent mobile terminal can be a smart phone, a tablet computer and the like. Alternatively, the short-range wireless communication module is a bluetooth communication module, a WiFi communication module, a ZigBee communication module, or the like. In the networking process, an application program is installed on the intelligent mobile terminal, a user sets lighting fixtures needing networking through the application program, and after the user finishes selecting, a grouping instruction is sent to each lighting fixture needing grouping, wherein the grouping instruction comprises address information of the lighting fixtures needing grouping. The lighting lamp receives a grouping instruction sent by the intelligent mobile terminal through the short-distance wireless communication module, and the lighting lamp groups the lighting lamp according to the grouping instruction.
In the networking process, the intelligent terminal firstly searches the lighting fixtures capable of networking in the coverage range of the wireless signal through the short-distance wireless communication module, and obtains the address information of each lighting fixture. And then selecting the lighting fixtures needing networking from all the searched lighting fixtures, sending a grouping instruction to each selected lighting fixture, and constructing the lighting fixture group by the lighting fixtures according to the grouping instruction.
S102, the intelligent mobile terminal sends a sensor starting instruction to each lighting lamp, and the lighting lamps start the first sensor according to the sensor starting instruction.
Specifically, when the user needs to automatically control the lighting fixtures, the intelligent mobile terminal sends a sensor starting instruction to each lighting fixture, and the lighting fixtures start the first sensor according to the sensor starting instruction. The first sensor enters a detection state after being started, detects whether a human body exists in a preset range, and is triggered when the first sensor detects the human body exists in the preset range.
S103, the intelligent mobile terminal sends the first preset time, the second preset time and the second preset brightness value to each lighting lamp, and the lighting lamps store the first preset time, the second preset time and the second preset brightness value.
Specifically, a user inputs dimming parameters, such as a first preset time, a second preset brightness value and the like, through an application program installed on the intelligent mobile terminal, after the intelligent mobile terminal establishes short-distance wireless communication connection with the lighting fixtures, the intelligent mobile terminal sends the first preset time, the second preset time and the second preset brightness value to each lighting fixture, and the lighting fixtures receive and store the first preset time, the second preset time and the second preset brightness value to the storage unit. The first preset time, the second preset time and the second preset brightness value stored in the storage unit are not lost after the lighting lamp is powered off, and the first preset time, the second preset time and the second preset brightness value can be continuously used after the lighting lamp is powered on again.
S104, the intelligent mobile terminal sends a brightness adjustment instruction to the lighting lamp, the lighting lamp outputs a corresponding brightness value according to the brightness adjustment instruction, and the lighting lamp stores the adjusted brightness value as a first preset brightness value and a preset illumination value, wherein the adjusted brightness value is the maximum brightness value of the lighting lamp. Alternatively, the lamp remote controller may be used to send a brightness adjustment command to the lighting lamp, and the lighting lamp outputs a corresponding brightness value according to the brightness adjustment command. After the first preset brightness value is stored in the storage unit, the storage unit can be used for automatically controlling the lighting lamp set, the first preset brightness value cannot be lost after power is off, and the lighting lamp can continue to use the first preset brightness value after being powered on again.
S105, the first timer starts timing.
According to the embodiment, the intelligent mobile terminal sends the dimming parameters to the lighting lamp, networking and parameter setting of the lighting lamp are achieved, an external network is not relied on, operation is simple, learning cost is low, and user experience is good.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments are provided to illustrate the technical concept and features of the present invention and are intended to enable those skilled in the art to understand the content of the present invention and implement the same according to the content of the present invention, and not to limit the scope of the present invention. All equivalent changes and modifications made with the scope of the claims should be covered by the claims.
Claims (14)
1. The grouping control method for the lighting lamps is characterized in that at least two lighting lamps form a lighting lamp group, the lighting lamps comprise a controller, a first sensor, a short-distance wireless communication module and lamp beads, the controller is respectively connected with the first sensor, the short-distance wireless communication module and the lamp beads, the first sensor is used for detecting whether a human body exists in a preset range, and the short-distance wireless communication module is used for establishing wireless communication connection between the lighting lamps in the lighting lamp group; the method comprises the following steps:
s1, judging whether the first sensor is triggered or not, wherein the first sensor is triggered when detecting that a human body exists in a preset range;
s2, if the first sensor is triggered, sending a trigger instruction to each lighting lamp in the lighting lamp group and starting first timing, wherein the lighting lamps emit light with a first preset brightness value, the dynamic time is assigned to be a second preset time, and the step S1 is executed again after adjustment is completed, wherein the first preset brightness value is the maximum brightness value of the lighting lamps; the dynamic time is a variable time set for facilitating subsequent adjustment of the lighting fixture;
s3, if the first sensor is not triggered, the lighting lamp judges whether the lighting lamp is in the execution process of the existing trigger instruction or not;
s4, if the lighting lamp is in the execution process of the existing trigger instruction, judging whether other lighting lamps in the lighting lamp group generate the trigger instruction or not;
s5, if no triggering instruction is generated by other lighting fixtures in the lighting fixture group, judging whether the timing time of the first timing is longer than a first preset time;
s6, if the timing time of the first timing is longer than the first preset time, the controller controls the lighting lamp to emit light with a second preset brightness value and starts second timing, wherein the second preset brightness value is smaller than the first preset brightness value;
s7, judging whether the timing time of the second timing is longer than the dynamic time;
and S8, if the timing time of the second timing is greater than the dynamic time, reducing the brightness value of the lighting lamp or turning off the lighting lamp, and executing the step S1.
2. The lighting fixture grouping control method of claim 1, wherein the lighting fixture further comprises a second sensor connected to the controller for detecting an illuminance value; step S2 further comprises:
and the controller controls the light emitted by the lighting lamp to reach a preset illuminance value according to the feedback illuminance value of the second sensor.
3. The lighting fixture grouping control method of claim 1, further comprising the step of, after step S3:
and S41, if the lighting lamp is not in the execution process of the existing trigger instruction, keeping the current lighting state unchanged, and then executing the step S1.
4. The lighting fixture grouping control method of claim 1, further comprising the step of, after step S4:
s51, if other lighting lamps in the lighting lamp set have triggering instructions, judging whether the timing time of the first timing is longer than the first preset time;
s52, if the timing time of the first timing is not greater than the first preset time, the dynamic time is assigned as the sum of the timing time of the first timing and the second preset time, and step S1 is executed.
5. The lighting fixture grouping control method of claim 4, further comprising the step of, after step S51:
s53, if the timing time of the first timing is longer than the first preset time, judging whether the timing time of the second timing is longer than the dynamic time;
s54, if the timing time of the second timing is longer than the dynamic time, the lighting lamp emits light with a second preset brightness value, the second timing is cleared, timing is restarted, the dynamic time is assigned as the second preset time, and then the step S1 is executed;
and S55, if the timing time of the second timing is not greater than the dynamic time, resetting the second timing, restarting the timing, and then executing the step S1.
6. The lighting fixture grouping control method of claim 1, further comprising the step of, after step S5:
and S61, if the timing time of the first timing is not greater than the first preset time, keeping the first preset brightness value unchanged and executing the step S1.
7. The lighting fixture grouping control method of claim 1, further comprising the step of, after step S7:
and S81, if the timing time of the second timing is not greater than the dynamic time, the lighting lamp keeps the second preset brightness value unchanged and the step S1 is executed.
8. The lighting fixture grouping control method of claim 1, further comprising the step of, prior to step S1:
s101, the lighting lamp receives a grouping instruction sent by the intelligent mobile terminal through the short-distance wireless communication module, and the lighting lamp groups the lighting lamp according to the grouping instruction, wherein the grouping instruction comprises address information of the lighting lamp to be grouped.
9. The lighting fixture grouping control method of claim 8, further comprising the step of, prior to step S101:
s1011, after the lighting lamp is powered on, the lighting lamp emits light according to a first preset brightness value.
10. The lighting fixture grouping control method of claim 8, further comprising the step of, after step S101:
s102, the intelligent mobile terminal sends a sensor starting instruction to each lighting lamp, and the lighting lamps start the first sensor according to the sensor starting instruction.
11. The lighting fixture grouping control method of claim 10, further comprising, after step S102:
s103, the intelligent mobile terminal sends the first preset time, the second preset time and the second preset brightness value to each lighting lamp, and the lighting lamps store the first preset time, the second preset time and the second preset brightness value.
12. The lighting fixture grouping control method of claim 11, further comprising, after step S103:
s104, the intelligent mobile terminal sends a brightness adjustment instruction to the lighting lamp, the lighting lamp outputs a corresponding brightness value according to the brightness adjustment instruction, and the lighting lamp stores the adjusted brightness value as the first preset brightness value and the preset illumination value.
13. The lighting fixture grouping control method of claim 12, further comprising, after step S104:
s105, starting timing by the first timing.
14. The lighting fixture grouping control method of claim 1, wherein the short-range wireless communication module is one of a bluetooth communication module, a WiFi communication module, and a ZigBee communication module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210096473.0A CN114554667B (en) | 2022-01-26 | 2022-01-26 | Grouping control method for lighting lamps |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210096473.0A CN114554667B (en) | 2022-01-26 | 2022-01-26 | Grouping control method for lighting lamps |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114554667A CN114554667A (en) | 2022-05-27 |
CN114554667B true CN114554667B (en) | 2024-03-29 |
Family
ID=81674019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210096473.0A Active CN114554667B (en) | 2022-01-26 | 2022-01-26 | Grouping control method for lighting lamps |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114554667B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050102617A (en) * | 2005-10-06 | 2005-10-26 | 김은태 | Human body sensing lamp with wireless distributed control |
CN102769966A (en) * | 2012-06-25 | 2012-11-07 | 深圳市西柯南电子科技有限公司 | Wireless induction lighting device and control method thereof |
CN103338557A (en) * | 2013-06-24 | 2013-10-02 | 苏州经贸职业技术学院 | Energy-saving intelligent illumination control device and method |
TW201431441A (en) * | 2013-01-31 | 2014-08-01 | Univ Chung Hua | Lamp device group control system and method |
KR20150095226A (en) * | 2015-07-30 | 2015-08-20 | 주식회사 포스코건설 | Method and Apparatus for Lighting Control by Group based on Wireless network |
CN204648071U (en) * | 2015-04-10 | 2015-09-16 | 深圳市康凯斯信息技术有限公司 | Intelligent lamp MANET control system |
CN106961775A (en) * | 2017-04-10 | 2017-07-18 | 深圳贯和通物联科技有限公司 | A kind of lamp light control method, device and lamp dimmer |
CN107438313A (en) * | 2017-08-08 | 2017-12-05 | 方晨 | The monitoring system and monitoring method of extensive Intelligent lamp |
CN207947932U (en) * | 2018-03-30 | 2018-10-09 | 上海晶曦微电子科技有限公司 | LED illumination network based on ad hoc network and the LED illumination lamp based on ad hoc network |
CN208241960U (en) * | 2018-06-12 | 2018-12-14 | 邓晋钧 | A kind of Internet of Things lamps and lanterns and lighting system |
WO2019001405A1 (en) * | 2017-06-26 | 2019-01-03 | 上海顿格电子贸易有限公司 | Led bulb lamp control system based on infrared induction |
CN208724241U (en) * | 2018-08-15 | 2019-04-09 | 深圳市森邦照明有限公司 | A kind of industrial lighting system |
CN111836423A (en) * | 2020-06-03 | 2020-10-27 | 安徽汉思电气技术股份有限公司 | Wisdom lighting control system based on thing networking |
CN113316287A (en) * | 2021-07-08 | 2021-08-27 | 昆明理工大学 | Intelligent control system and control method for household lighting |
CN113473665A (en) * | 2021-06-29 | 2021-10-01 | 逸光(嘉兴)照明有限公司 | Ceiling lamp with night function and night monitoring method thereof |
CN113923834A (en) * | 2021-12-09 | 2022-01-11 | 河北红岸基地科技有限公司 | Automatic closing method convenient for energy conservation of lamp |
-
2022
- 2022-01-26 CN CN202210096473.0A patent/CN114554667B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050102617A (en) * | 2005-10-06 | 2005-10-26 | 김은태 | Human body sensing lamp with wireless distributed control |
CN102769966A (en) * | 2012-06-25 | 2012-11-07 | 深圳市西柯南电子科技有限公司 | Wireless induction lighting device and control method thereof |
TW201431441A (en) * | 2013-01-31 | 2014-08-01 | Univ Chung Hua | Lamp device group control system and method |
CN103338557A (en) * | 2013-06-24 | 2013-10-02 | 苏州经贸职业技术学院 | Energy-saving intelligent illumination control device and method |
CN204648071U (en) * | 2015-04-10 | 2015-09-16 | 深圳市康凯斯信息技术有限公司 | Intelligent lamp MANET control system |
KR20150095226A (en) * | 2015-07-30 | 2015-08-20 | 주식회사 포스코건설 | Method and Apparatus for Lighting Control by Group based on Wireless network |
CN106961775A (en) * | 2017-04-10 | 2017-07-18 | 深圳贯和通物联科技有限公司 | A kind of lamp light control method, device and lamp dimmer |
WO2019001405A1 (en) * | 2017-06-26 | 2019-01-03 | 上海顿格电子贸易有限公司 | Led bulb lamp control system based on infrared induction |
CN107438313A (en) * | 2017-08-08 | 2017-12-05 | 方晨 | The monitoring system and monitoring method of extensive Intelligent lamp |
CN207947932U (en) * | 2018-03-30 | 2018-10-09 | 上海晶曦微电子科技有限公司 | LED illumination network based on ad hoc network and the LED illumination lamp based on ad hoc network |
CN208241960U (en) * | 2018-06-12 | 2018-12-14 | 邓晋钧 | A kind of Internet of Things lamps and lanterns and lighting system |
CN208724241U (en) * | 2018-08-15 | 2019-04-09 | 深圳市森邦照明有限公司 | A kind of industrial lighting system |
CN111836423A (en) * | 2020-06-03 | 2020-10-27 | 安徽汉思电气技术股份有限公司 | Wisdom lighting control system based on thing networking |
CN113473665A (en) * | 2021-06-29 | 2021-10-01 | 逸光(嘉兴)照明有限公司 | Ceiling lamp with night function and night monitoring method thereof |
CN113316287A (en) * | 2021-07-08 | 2021-08-27 | 昆明理工大学 | Intelligent control system and control method for household lighting |
CN113923834A (en) * | 2021-12-09 | 2022-01-11 | 河北红岸基地科技有限公司 | Automatic closing method convenient for energy conservation of lamp |
Non-Patent Citations (2)
Title |
---|
动态激光调节下的数字式LED驱动电源设计;刘梦亭;李俊勇;赵丽红;;现代电子技术;20171015(第20期);192-194 * |
基于CC2520传感网教学楼智能照明控制系统的设计;郭久楠;;现代物业(上旬刊);20120605(第06期);26-28 * |
Also Published As
Publication number | Publication date |
---|---|
CN114554667A (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10477653B2 (en) | Notification lighting control | |
US10076013B2 (en) | Portable light source | |
US10143066B2 (en) | Sensor with wireless device for controlling a light source | |
KR20090099569A (en) | Method and system to reset a device of a wireless network and wireless network device | |
WO2018006513A1 (en) | Method and apparatus for controlling lighting device | |
JP2015528184A (en) | Lighting system for illuminating an environment and method for starting installation of a program in a programmable controller | |
JP6704193B2 (en) | Lighting control device | |
KR20220075233A (en) | Intelligent lighting control multi-load system device and method | |
CN114554667B (en) | Grouping control method for lighting lamps | |
US10537003B2 (en) | Methods of operation of smart lighting systems | |
CN110679183A (en) | Determining a duty schedule for groups of lighting devices providing similar lighting services | |
US11076467B1 (en) | Linked security lighting system and methods | |
CN108093516B (en) | Wireless electromagnetic induction formula illuminating lamp control system and method based on mobile phone control | |
CN114237063B (en) | Scene control method, device and system, electronic equipment and medium | |
CN113271705B (en) | Automatic setting method and device of lamp control strategy, server and storage medium | |
CN109089362B (en) | Method and apparatus for controlling lighting | |
US11950341B2 (en) | Proximity-detecting device | |
CN114599126A (en) | Intelligent terminal control method of intelligent lighting control system | |
CN114554662A (en) | Dimming method of dimmer | |
CN110136424B (en) | Equipment control method and equipment | |
CN104968116A (en) | Wireless communication-based intelligent lamp control method, device and system | |
US20240107649A1 (en) | A controller for controlling a lighting system | |
CN118102553B (en) | Illuminance dimming control method, lighting system, control device and storage medium | |
CN212486857U (en) | Self-adaptive dimming system | |
JP2023170788A (en) | Lighting apparatus, lighting system and control method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |