Disclosure of Invention
It is an object of the present invention to provide a lighting control device, system and method to solve at least one of the problems of the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
a first aspect of the present invention provides a lighting control apparatus comprising:
the lighting system comprises a plurality of lighting main nodes, a wireless grid network and a control center, wherein one or more lighting main nodes broadcast lighting control commands to other lighting main nodes in the wireless coverage range of the lighting main nodes;
a lighting slave node corresponding to each lighting master node, the lighting master nodes forming a star topology network with their corresponding lighting slave nodes, the lighting master nodes broadcasting the lighting control commands to the corresponding lighting slave nodes in a point-to-point communication,
wherein each of the lighting master nodes and lighting slave nodes comprises a controller and a light source, and the controller is used for controlling the light source to illuminate according to the lighting control command.
The lighting control device provided by the first aspect of the invention adopts a double-layer networking mode of a wireless grid network (Mesh network) and a star topology network, realizes reasonable utilization and distribution of energy through an intensive energy management mode, enables a lighting system to be more energy-saving and environment-friendly, has the advantages of low cost, low power consumption, high reliability, strong system openness and the like, and is suitable for various places such as markets, underground garages, warehouses and the like.
Optionally, the lighting control commands are from terminal devices that form the wireless mesh network with the plurality of lighting master nodes. By adopting the optional mode, the user can control the lighting working states of the lighting main node and the lighting slave node through terminal equipment such as a mobile phone and the like.
Optionally, the controller of the lighting master node includes an infrared sensor for sensing environmental information, and the controller generates the lighting control command according to a sensing result of the infrared sensor. By adopting the optional mode, the automatic illumination control of the illumination master node and the illumination slave node corresponding to the illumination master node can be realized according to the environment information. In places such as markets, underground garages, warehouses and the like, the infrared sensor can be used for accurately sensing whether objects such as personnel, vehicles and the like pass through, so that the lighting main node can start the lighting of the main node or improve the lighting brightness of the main node when the objects such as the personnel, the vehicles and the like pass through, and start the lighting of the lighting slave node corresponding to the main node in a linkage manner or improve the lighting brightness of the lighting slave node corresponding to the main node; when no object such as a person or a vehicle passes by, the lighting of the slave node is turned off or the lighting luminance of the slave node is reduced. Wherein, only arranging the infrared sensor in the lighting main node can reduce the cost.
Alternatively,
the controller of the lighting master node comprises an infrared sensor for sensing environmental information,
the lighting control command is a first lighting control command from a terminal device constituting the wireless mesh network with the plurality of lighting master nodes and a second lighting control command generated by the controller according to a sensing result of the infrared sensor,
wherein the second lighting control command is higher priority than the first lighting control command.
By adopting the optional mode, a user can realize a dual lighting control mechanism for lighting control through the terminal equipment and automatic lighting control of the equipment, the control mode is more flexible, and the application scene is wider.
Optionally, the controller comprises a Pulse Width Modulation (PWM) dimmer generating a modulation signal to control the corresponding light source to fade in or out in response to the lighting control command. By adopting the optional mode, the gradual brightness and darkness of the light can be realized, and dazzling and dizziness of users caused by sudden brightness and darkness can be avoided. In addition, when the light source is an LED light source, the following advantages are provided by controlling the illumination brightness of the LED lamp by PWM: firstly, controlling the accurate shape and height; secondly, the illumination cost can be reduced, and the service life of the LED lamp is prolonged; and thirdly, the brightness duty ratio of the LED lamp can be controlled through PWM control, and then the LED lamp can be enabled to alternately take a rest to further reduce the power consumption.
Optionally, the controller includes a timer for controlling the light source of the lighting master node to be turned on or off synchronously with the light source of the lighting slave node corresponding to the lighting master node.
Alternatively,
the controller further comprises a visible light sensor,
wherein the controller disables the infrared sensor in response to the ambient brightness sensed by the visible light sensor being above a predetermined threshold and enables the infrared sensor in response to the ambient brightness sensed by the visible light sensor being below a predetermined threshold.
By adopting the optional mode, the automatic illumination control of the illumination control equipment can be turned on or off based on the sensing of the ambient brightness, and the effects of energy conservation and environmental protection are further ensured.
A second aspect of the present invention provides a lighting control apparatus comprising:
the lighting system comprises a plurality of lighting main nodes, a wireless grid network and a control center, wherein one or more lighting main nodes broadcast lighting control commands to other lighting main nodes in the wireless coverage range of the lighting main nodes;
a lighting slave node corresponding to each lighting master node, the lighting master nodes forming a star topology network with their corresponding lighting slave nodes, the lighting master nodes broadcasting the lighting control commands to the corresponding lighting slave nodes in a point-to-point communication,
wherein
Each lighting master node and lighting slave node comprises a controller and a light source, and the controller is used for controlling the light source to illuminate according to the lighting control command;
the controller of the lighting main node comprises an infrared sensor for sensing environmental information, and the controller generates the lighting control command according to a sensing result of the infrared sensor;
the controller comprises a pulse width modulation dimmer which responds to the illumination control command to generate a modulation signal to control the corresponding light source to be gradually turned on or off;
the controller comprises a timer and is used for controlling the light source of the lighting main node to be turned on or off synchronously with the light source of the lighting slave node corresponding to the lighting main node.
A third aspect of the present invention provides a lighting control method using the lighting control apparatus provided in the second aspect of the present invention, including:
an infrared sensor of the lighting main node senses environmental information;
the controller of the lighting main node judges whether the sensed environmental information is valid or not, if the sensed environmental information is invalid information, the infrared sensor is enabled to continue sensing, and if the sensed environmental information is valid information, the infrared sensor is disabled, the lighting control command is generated and broadcasted;
the controller of the lighting main node monitors feedback information of the lighting slave nodes, if the feedback information is monitored, whether the feedback information comes from the corresponding lighting slave nodes is judged, if the feedback information does not come, the feedback information is continuously monitored, and if the feedback information does not come, the broadcasting is stopped and the timer is started to carry out timing synchronization;
the pulse width modulation light modulator generates a modulation signal to control the corresponding light source to be gradually turned on or off in one modulation period;
and the timer stops timing after the end of one modulation period, so that the infrared sensor can sense again.
A fourth aspect of the present invention provides a lighting control system comprising:
a terminal device;
a plurality of lighting master nodes, wherein a wireless mesh network is formed between the plurality of lighting master nodes and the terminal equipment, and one or more lighting master nodes broadcast lighting control commands from the terminal equipment to other lighting master nodes in the wireless coverage range of the lighting master nodes;
a lighting slave node corresponding to each lighting master node, the lighting master nodes forming a star topology network with their corresponding lighting slave nodes, the lighting master nodes broadcasting the lighting control commands to the corresponding lighting slave nodes in a point-to-point communication,
wherein
Each lighting master node and lighting slave node comprises a controller and a light source, and the controller is used for controlling the light source to illuminate according to the lighting control command;
the controller comprises a pulse width modulation dimmer which responds to the illumination control command to generate a modulation signal to control the corresponding light source to be gradually turned on or off;
the controller comprises a timer and is used for controlling the light source of the lighting main node to be turned on or off synchronously with the light source of the lighting slave node corresponding to the lighting main node.
A fifth aspect of the present invention provides a lighting control method using the lighting control system provided in the fourth aspect of the present invention, including:
the controller of the lighting main node monitors a lighting control command from the terminal equipment, if the lighting control command is monitored, the lighting control command is analyzed to determine whether the lighting control command is specific to the controller, if the lighting control command is not specific to the terminal equipment, the lighting control command is forwarded to other lighting main nodes, and if the lighting control command is specific to the terminal equipment, the lighting control command is broadcasted;
the controller of the lighting main node monitors feedback information of the lighting slave nodes, if the feedback information is monitored, whether the feedback information comes from the corresponding lighting slave nodes is judged, if the feedback information does not come, the feedback information is continuously monitored, and if the feedback information does not come, the broadcasting is stopped and the timer is started to carry out timing synchronization;
the pulse width modulation light modulator generates a modulation signal to control the corresponding light source to be gradually turned on or off in one modulation period;
the timer stops timing after the end of a modulation period, enabling the controller to continue listening for the lighting control commands.
A sixth aspect of the present invention provides a lighting control system comprising:
the terminal equipment generates a first illumination control command;
a plurality of lighting master nodes, wherein a wireless mesh network is formed between the plurality of lighting master nodes and the terminal equipment, and one or more lighting master nodes broadcast a first lighting control command from the terminal equipment to other lighting master nodes in the wireless coverage range of the lighting master nodes;
a lighting slave node corresponding to each lighting master node, the lighting master nodes forming a star topology network with their corresponding lighting slave nodes, the lighting master nodes broadcasting the lighting control commands to the corresponding lighting slave nodes in a point-to-point communication,
each lighting master node and each lighting slave node comprise a controller and a light source, each lighting master node comprises an infrared sensor for sensing environmental information, and the controller of the lighting master node is used for generating a second lighting control command according to the sensing result of the infrared sensor;
the controller controls the light source to illuminate according to the first and/or second illumination control commands.
Optionally, the controller comprises a pulse width modulation dimmer generating a modulation signal to control the corresponding light source to fade in or out in response to the lighting control command.
Optionally, the controller includes a timer for controlling the light source of the lighting master node to be turned on or off synchronously with the light source of the lighting slave node corresponding to the lighting master node.
Optionally, the second lighting control command is higher priority than the first lighting control command.
The invention has the following beneficial effects:
the technical scheme of the invention adopts a double-layer networking mode of a Mesh network and a star topology network, realizes reasonable utilization and distribution of energy through an intensive energy management mode, enables the lighting system to be more energy-saving and environment-friendly, has the advantages of low cost, low power consumption, high reliability, strong system openness and the like, and is suitable for various places such as markets, underground garages, warehouses and the like.
Detailed Description
In order to more clearly illustrate the invention, the invention is further described below with reference to preferred embodiments and the accompanying drawings. Similar parts in the figures are denoted by the same reference numerals. It is to be understood by persons skilled in the art that the following detailed description is illustrative and not restrictive, and is not to be taken as limiting the scope of the invention.
As shown in fig. 1, an embodiment of the present invention provides a lighting control device including:
the lighting system comprises a plurality of lighting main nodes, a wireless grid network and a control center, wherein one or more lighting main nodes broadcast lighting control commands to other lighting main nodes in the wireless coverage range of the lighting main nodes;
a lighting slave node corresponding to each lighting master node, the lighting master nodes forming a star topology network with their corresponding lighting slave nodes, the lighting master nodes broadcasting the lighting control commands to the corresponding lighting slave nodes in a point-to-point communication,
wherein each of the lighting master nodes and lighting slave nodes comprises a controller and a light source, and the controller is used for controlling the light source to illuminate according to the lighting control command.
It is to be understood that the lighting master node and the lighting slave node correspond to each other, which may be understood as the same group of lighting master nodes and lighting slave nodes, and fig. 1 shows three lighting master nodes and nine lighting slave nodes, which are divided into three groups according to the correspondence relationship between the lighting slave nodes corresponding to the lighting master nodes, and each group has one lighting master node and one lighting slave node corresponding to the lighting master node.
The lighting control device provided by the embodiment adopts a double-layer networking mode of a wireless grid network (Mesh network) and a star topology network, realizes reasonable utilization and distribution of energy sources through an intensive energy management mode, enables a lighting system to be more energy-saving and environment-friendly, has the advantages of low cost, low power consumption, high reliability, strong system openness and the like, and is suitable for various places such as markets, underground garages and warehouses.
In some optional implementations of this embodiment, the lighting control commands are from a terminal device that forms the wireless mesh network with the plurality of lighting master nodes. By adopting the implementation mode, a user can control the lighting working states of the lighting main node and the lighting slave node through terminal equipment such as a mobile phone. The user can control the lighting nodes distributed in groups to illuminate through terminal equipment such as a mobile phone, and the lighting slave nodes are controlled in a linkage mode through the lighting master node. The lighting slave nodes are not added into the Mesh network, so that the transmission delay of the Mesh network can be reduced, and the lighting master nodes are usually arranged at key positions such as an underground garage entrance. In addition, since the lighting master node broadcasts the lighting control command to the corresponding lighting slave nodes in the form of point-to-point communication through the star topology network, the distance between the lighting master node and the lighting slave node corresponding thereto (or the same group thereof) is generally set to not more than 200 meters. In a scene, when a user goes off duty and turns off the light, the user does not need to turn off the light on each floor, the light-off command can be sent to the lighting main node on a certain floor or certain floors through the mobile phone APP, and then the lighting main node forwards the light-off command to the lighting slave nodes on the same floor (distributed into a group), so that the purpose that the lighting nodes on the certain floor or certain floors are turned off by one key through the mobile phone APP can be realized.
In a specific example, the Mesh network adopts a BLE Mesh network, the lighting master node broadcasts the lighting control command to the corresponding lighting slave node in a Beacon broadcast mode through a star topology network, and the specific mode of the double-layer networking is as follows:
the first layer is a BLE Mesh network composed of terminal devices and lighting master nodes in each group, each lighting master node supports the BLE Mesh network, and is managed by a start configuration device (which may be the terminal device, such as a mobile phone, a tablet computer, etc.), and the start configuration device configures each lighting master node as a node into the network and distributes a network key (NetKey) and a device key (DevKey). The NetKey is used to enable the lighting master node to decrypt and verify data (lighting control commands) of the network layer so as to execute network functions such as relay, but the network application data cannot be decrypted, so that the network security can be ensured and the network can be protected from relay attack. The DevKey is used for ensuring that the lighting control command sent by the terminal equipment acts on the corresponding lighting master node. After networking, the terminal equipment can control the illumination of each illumination main node many-to-many or point-to-point, and each illumination main node simultaneously supports Relay feature and Friend feature so as to ensure that an illumination control command sent by the terminal equipment can be safely transmitted to each illumination main node in real time. Note that the nodes in the BLE Mesh network include a low power consumption node and a Friend node. The low-power-consumption nodes can achieve the purpose of low power consumption by reducing the duty cycle of turning on a radio frequency transceiver (RF transceiver), and the low-power-consumption nodes can turn on the RF transceiver only when needing to transmit and receive messages and are in a dormant state at other times. And the node with the Friend characteristic can be called a Friend node, a Friend relationship can be established between the Friend node and the low-power-consumption node, after the relationship is established, the Friend node can temporarily store information sent to the low-power-consumption node, and after the low-power-consumption node exits the sleep mode, the related information can be retrieved from the Friend node. It will be appreciated that the fact that each lighting master node supports both relay and Friend characteristics does not mean that each lighting master node has both relay and Friend characteristics, and that a lighting master node or lighting master nodes may be configured as low power nodes with relay characteristics.
And the second layer is a star topology network consisting of each lighting master node and lighting slave nodes corresponding to the lighting master nodes and serving as subordinate nodes, wherein the lighting slave nodes do not support a BLE Mesh network, the lighting master nodes and the lighting slave nodes are communicated through Beacon, and when the lighting master nodes receive lighting control commands sent by terminal equipment, the lighting master nodes pack the group ID (preset when the star topology network is built) and the lighting control commands into data packets and send the data packets to each second lighting device node in a Beacon broadcasting mode, so that systematic control is realized. In the second layer of packet management, the lighting master node controls a plurality of lighting slave nodes through Beacon broadcasting.
In some optional implementations of this embodiment, the controller of the lighting master node includes an infrared sensor for sensing environmental information, and the controller generates the lighting control command according to a sensing result of the infrared sensor. By adopting the implementation mode, the automatic illumination control of the illumination master node and the illumination slave node corresponding to the illumination master node can be realized according to the environment information. In places such as markets, underground garages, warehouses and the like, the infrared sensor can accurately sense whether objects such as people, vehicles and the like pass through, so that the lighting main node can turn on the lighting of the main node or improve the lighting brightness of the main node when the objects such as people, vehicles and the like pass through, and turn on the lighting of the lighting slave node corresponding to the lighting main node in a linkage manner or improve the lighting brightness of the lighting slave node corresponding to the lighting main node; when no object such as a person or a vehicle passes by, the lighting of the lighting master node and/or the lighting slave node is turned off or the lighting luminance of the lighting slave node is reduced, and the lighting slave node corresponding to the lighting slave node is turned off or the lighting luminance of the lighting slave node corresponding to the lighting slave node is reduced in a linkage manner, it can be understood that the lighting master node and/or the lighting slave node can be configured as follows according to the positions of the lighting master node and the lighting slave node: the lighting main node controls the lighting main node to illuminate and controls lighting slave nodes and/or other lighting main nodes in the same group to illuminate in a mode of delaying on and delaying off or delaying to improve the brightness and delay to lower the brightness. The infrared sensor is arranged in the lighting master node, so that the cost can be reduced, and understandably, the sensor can also be arranged in the lighting slave node, so that the lighting slave node can automatically control the lighting of the lighting slave node according to the environmental information.
In some alternative implementations of the present embodiment,
the controller of the lighting master node comprises an infrared sensor for sensing environmental information,
the lighting control command is a first lighting control command from a terminal device constituting the wireless mesh network with the plurality of lighting master nodes and a second lighting control command generated by the controller according to a sensing result of the infrared sensor,
wherein the second lighting control command is higher priority than the first lighting control command.
By adopting the implementation mode, a dual illumination control mechanism that a user performs illumination control through terminal equipment and the equipment performs automatic illumination control can be realized, the advantages of Mesh network ad hoc network (safety encryption, low power consumption, ad hoc network and the like) are combined, and the automatic control of a regional network can be realized through an infrared sensor; the passive control can be realized through the terminal equipment, the active control can also be realized through autonomous perception, the control mode is more flexible, and the application scene is wider.
In some optional implementations of this embodiment, the controller includes a Pulse Width Modulation (PWM) dimmer that generates a modulation signal to control the corresponding light source to fade in or out in response to the lighting control command. By adopting the implementation mode, the gradual brightness and darkness of the light can be realized, and dazzling and dizziness of users caused by sudden brightness and darkness can be avoided. In addition, when the light source is an LED light source, the following advantages are provided by controlling the illumination brightness of the LED lamp by PWM: firstly, controlling the accurate shape and height; secondly, the illumination cost can be reduced, and the service life of the LED lamp is prolonged; and thirdly, the brightness duty ratio of the LED lamp can be controlled through PWM control, and then the LED lamp can be enabled to alternately take a rest to further reduce the power consumption.
In some optional implementations of the present embodiment, the PWM dimmer includes a plurality of PWM control signal output channels for outputting PWM control signals of preset different duty ratios and signal frequencies. By adopting the implementation mode, the real-time performance of control can be improved. It can be understood that the PWM dimmer can also be used to respectively adjust the duty ratio and the signal frequency of the output one-way PWM control signal, so as to control the on/off process, the gradually on/off process and the illumination brightness level of the corresponding light source.
In some optional implementations of this embodiment, the controller includes a timer, configured to control the light source of the lighting master node to fade on or fade off synchronously with the light source of the lighting slave node corresponding to the lighting master node.
In some alternative implementations of the present embodiment,
the controller further comprises a visible light sensor,
wherein the controller disables the infrared sensor in response to the ambient brightness sensed by the visible light sensor being above a predetermined threshold and enables the infrared sensor in response to the ambient brightness sensed by the visible light sensor being below a predetermined threshold.
By adopting the implementation mode, the automatic illumination control of the illumination control equipment can be turned on or off based on the sensing of the ambient brightness, and the effects of energy conservation and environmental protection are further ensured. It will be appreciated that automatic lighting control based on sensing of ambient brightness turning on or off the lighting control device may also be achieved by providing a light dependent resistor in the circuitry of the infrared sensor.
In some optional implementations of this embodiment, the controller further generates the control signal periodically to control the corresponding light source to be turned on or off periodically. By adopting the implementation mode, the light source can be turned on and off at regular time, or the brightness of the light source can be improved and reduced at regular time, so that the power consumption is reduced. For example, an underground garage of an office building is dark in light all the year round, a day can be divided into a peak time period, a common time period, a work-off time period and a rest time period according to actual use conditions, and storages storing time period division rules are arranged in the lighting main nodes and the lighting slave nodes, so that the controller can automatically control the on and off or the lighting brightness of the corresponding light sources according to the time period division rules.
In some optional implementations of this embodiment, in the case that the light source is an LED light source, the driving power supply of the LED light source is a pulse constant current source. According to the forward volt-ampere characteristic of the LED lamp (particularly the white light LED lamp), when the voltage at the end of the LED lamp exceeds the forward breakover voltage, the working current is drastically changed due to small voltage fluctuation, so that the normal use is influenced. Therefore, normal use of the LED light source can be ensured by this option.
In a specific example, the Mesh network is a BLE Mesh network, the light source is an LED lamp, and the hardware structures of the lighting master node and the lighting slave node are exemplified by taking the lighting master node as an example: in this example, the controller and the bluetooth module in the lighting master node are integrated in the MCU using the BLE chip nRF52832 for implementation, and the lighting master node has-96 dBm receiving sensitivity in the low power consumption mode, supports BLE5.0 and bluetooth Mesh protocols, increases channel error correction coding, and has an effective transmission distance up to 500 meters. 3 built-in PWM dimmers of BLE chip can provide 12 way PWM control signal output channels, and each channel can output PWM control signal of different duty ratio and signal frequency through configuring different COMP value (comparison value), thereby realize bright going out, the process of gradually brightening and gradually disappearing and multistage illumination luminance to the LED lamp and adjust. The LED lamp comprises a plurality of LED high-brightness low-power light emitting diodes which are connected in parallel, and quick switching can be realized. The driving power supply of the LED lamp adopts a PT4115 type pulse constant current source. In practical application, when a person or a vehicle approaches the infrared detector, the amplifier firstly amplifies a signal, then couples the signal to a secondary amplifier for secondary amplification, raises the direct current potential by 0.5V and then sends the signal to a bidirectional amplitude discriminator consisting of comparators COP1 and COP2, and the detected effective trigger signal Vs is output to an External Interrupt port (External Interrupt) of the MCU.
As shown in fig. 2, the PWM control signal output mode adopts an Up and Down mode, and taking output ports "OUT 0 and OUT 1" of two PWM control signal output channels as an example, by configuring different COMP values "COMP 0 and COMP 1", respectively, it is possible to enable "OUT 0 and OUT 1" to output PWM control signals with different duty ratios. The process is as follows: the Counter is increased from zero, when the value is equal to COMP, the level of the OUT output is reversed, when the value is equal to COMP, the Counter is decreased, when the value is equal to COMP, the level of the OUT output is reversed again, so that high-low level change in one PWM period is realized, the COMP value determines the duty ratio of high-low level, and the Counter top determines the signal period size of the PWM control signal. By configuring 12 different COMP values and Counter top values, as shown in fig. 3, it is possible to realize that 12 channels of PWM control signal output channels output PWM control signals with different duty ratios and signal frequencies, thereby realizing multi-level illumination brightness of the LED lamp, satisfying differentiated illumination of different scenes, reducing power consumption, and prolonging the service life of the LED lamp.
Another embodiment of the present invention provides a lighting control apparatus including:
the lighting system comprises a plurality of lighting main nodes, a wireless grid network and a control center, wherein one or more lighting main nodes broadcast lighting control commands to other lighting main nodes in the wireless coverage range of the lighting main nodes;
a lighting slave node corresponding to each lighting master node, the lighting master nodes forming a star topology network with their corresponding lighting slave nodes, the lighting master nodes broadcasting the lighting control commands to the corresponding lighting slave nodes in a point-to-point communication,
wherein
Each lighting master node and lighting slave node comprises a controller and a light source, and the controller is used for controlling the light source to illuminate according to the lighting control command;
the controller of the lighting main node comprises an infrared sensor for sensing environmental information, and the controller generates the lighting control command according to a sensing result of the infrared sensor;
the controller comprises a pulse width modulation dimmer which responds to the illumination control command to generate a modulation signal to control the corresponding light source to be gradually turned on or off;
the controller comprises a timer and is used for controlling the light source of the lighting main node to be turned on or off synchronously with the light source of the lighting slave node corresponding to the lighting main node.
It should be noted that the principle and the work flow of the lighting control device provided in this embodiment are similar to those of the lighting control device provided in the foregoing embodiment, and reference may be made to the above description for relevant points, which are not described herein again.
Further, as shown in fig. 4, the present embodiment also provides a lighting control method using the lighting control device provided in the present embodiment, including:
an infrared sensor of the lighting main node senses environmental information;
the controller of the lighting main node judges whether the sensed environmental information is valid or not, if the sensed environmental information is invalid information, the infrared sensor is enabled to continue sensing, and if the sensed environmental information is valid information, the infrared sensor is disabled, the lighting control command is generated and broadcasted;
the controller of the lighting main node monitors feedback information of the lighting slave nodes, if the feedback information is monitored, whether the feedback information comes from the corresponding lighting slave nodes is judged, if the feedback information does not come, the feedback information is continuously monitored, and if the feedback information does not come, the broadcasting is stopped and the timer is started to carry out timing synchronization;
the pulse width modulation light modulator generates a modulation signal to control the corresponding light source to be gradually turned on or off in one modulation period;
and the timer stops timing after the end of one modulation period, so that the infrared sensor can sense again.
As shown in fig. 5, still another embodiment of the present invention provides a lighting control system including:
a terminal device;
a plurality of lighting master nodes, wherein a wireless mesh network is formed between the plurality of lighting master nodes and the terminal equipment, and one or more lighting master nodes broadcast lighting control commands from the terminal equipment to other lighting master nodes in the wireless coverage range of the lighting master nodes;
a lighting slave node corresponding to each lighting master node, the lighting master nodes forming a star topology network with their corresponding lighting slave nodes, the lighting master nodes broadcasting the lighting control commands to the corresponding lighting slave nodes in a point-to-point communication,
wherein
Each lighting master node and lighting slave node comprises a controller and a light source, and the controller is used for controlling the light source to illuminate according to the lighting control command;
the controller comprises a pulse width modulation dimmer which responds to the illumination control command to generate a modulation signal to control the corresponding light source to be gradually turned on or off;
the controller comprises a timer and is used for controlling the light source of the lighting main node to be turned on or off synchronously with the light source of the lighting slave node corresponding to the lighting main node.
It should be noted that the principle and the work flow of the lighting control system provided in this embodiment are similar to those of the lighting control device provided in the foregoing embodiment, and reference may be made to the above description for relevant points, which are not described herein again.
Further, as shown in fig. 6, the present embodiment further provides a lighting control method using the lighting control system provided in the present embodiment, including:
the controller of the lighting main node monitors a lighting control command from the terminal equipment, if the lighting control command is monitored, the lighting control command is analyzed to determine whether the lighting control command is specific to the controller, if the lighting control command is not specific to the terminal equipment, the lighting control command is forwarded to other lighting main nodes, and if the lighting control command is specific to the terminal equipment, the lighting control command is broadcasted;
the controller of the lighting main node monitors feedback information of the lighting slave nodes, if the feedback information is monitored, whether the feedback information comes from the corresponding lighting slave nodes is judged, if the feedback information does not come, the feedback information is continuously monitored, and if the feedback information does not come, the broadcasting is stopped and the timer is started to carry out timing synchronization;
the pulse width modulation light modulator generates a modulation signal to control the corresponding light source to be gradually turned on or off in one modulation period;
the timer stops timing after the end of a modulation period, enabling the controller to continue listening for the lighting control commands.
Yet another embodiment of the present invention provides a lighting control system, including:
the terminal equipment generates a first illumination control command;
a plurality of lighting master nodes, wherein a wireless mesh network is formed between the plurality of lighting master nodes and the terminal equipment, and one or more lighting master nodes broadcast a first lighting control command from the terminal equipment to other lighting master nodes in the wireless coverage range of the lighting master nodes;
a lighting slave node corresponding to each lighting master node, the lighting master nodes forming a star topology network with their corresponding lighting slave nodes, the lighting master nodes broadcasting the lighting control commands to the corresponding lighting slave nodes in a point-to-point communication,
each lighting master node and each lighting slave node comprise a controller and a light source, each lighting master node comprises an infrared sensor for sensing environmental information, and the controller of the lighting master node is used for generating a second lighting control command according to the sensing result of the infrared sensor;
the controller controls the light source to illuminate according to the first and/or second illumination control commands.
In some optional implementations of this embodiment, the controller includes a pulse width modulation dimmer that generates a modulation signal to control the corresponding light source to fade in or out in response to the lighting control command.
In some optional implementations of this embodiment, the controller includes a timer, configured to control the light source of the lighting master node to fade on or fade off synchronously with the light source of the lighting slave node corresponding to the lighting master node.
In some optional implementations of this embodiment, the second lighting control command has a higher priority than the first lighting control command.
It should be noted that the principle and the work flow of the lighting control system provided in this embodiment are similar to those of the lighting control device provided in the foregoing embodiment, and reference may be made to the above description for relevant points, which are not described herein again.
It is to be noted that, in the description of the present invention, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," 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. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention, and it will be obvious to those skilled in the art that other variations and modifications can be made on the basis of the above description, and all embodiments cannot be exhaustive, and all obvious variations and modifications belonging to the technical scheme of the present invention are within the protection scope of the present invention.