CN111800923B - Light control method and device, readable storage medium and terminal equipment - Google Patents

Light control method and device, readable storage medium and terminal equipment Download PDF

Info

Publication number
CN111800923B
CN111800923B CN202010503151.4A CN202010503151A CN111800923B CN 111800923 B CN111800923 B CN 111800923B CN 202010503151 A CN202010503151 A CN 202010503151A CN 111800923 B CN111800923 B CN 111800923B
Authority
CN
China
Prior art keywords
value
color temperature
calculating
attribute value
attribute
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
Application number
CN202010503151.4A
Other languages
Chinese (zh)
Other versions
CN111800923A (en
Inventor
龚飞
贺平
陈东波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shengrui Technology Co ltd
Original Assignee
Shenzhen Shengrui Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Shengrui Technology Co ltd filed Critical Shenzhen Shengrui Technology Co ltd
Priority to CN202010503151.4A priority Critical patent/CN111800923B/en
Publication of CN111800923A publication Critical patent/CN111800923A/en
Application granted granted Critical
Publication of CN111800923B publication Critical patent/CN111800923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The application belongs to the technical field of intelligent home, and particularly relates to a light control method, a light control device, a computer readable storage medium and terminal equipment. Dividing each channel in a DMX512 light control system into a plurality of groups; respectively configuring control modes of all groups; and respectively carrying out light control on each group according to the control mode of each group. By the method and the device, the DMX512 light control system can be flexibly grouped and configured, and personalized requirements of users in various application scenes are met.

Description

Light control method and device, readable storage medium and terminal equipment
Technical Field
The application belongs to the technical field of intelligent home, and particularly relates to a light control method, a light control device, a computer readable storage medium and terminal equipment.
Background
With the development and improvement of science and technology and economy, users need not only light to illuminate when illuminating, but also various personalized demands are increased. However, in the existing DMX512 light control system, the control mode is extremely monotonous, and the requirements of users cannot be met.
Disclosure of Invention
In view of this, the embodiments of the present application provide a light control method, a device, a computer readable storage medium and a terminal device, so as to solve the problem that the control mode of the existing DMX512 light control system is monotonous and cannot meet the user requirements.
A first aspect of an embodiment of the present application provides a light control method, which may include:
dividing each channel in a DMX512 light control system into a plurality of groups;
respectively configuring control modes of all groups;
and respectively carrying out light control on each group according to the control mode of each group.
Further, the respectively performing light control on each group according to the control mode of each group includes:
for each packet, determining a minimum channel number according to a control mode of the packet, and determining control attributes of all channels of the packet according to the minimum channel number;
acquiring a target setting value of the group, and respectively calculating attribute values of all channels of the group according to the target setting value;
and filling the attribute values into each channel of the packet respectively, and outputting the attribute values in the form of DMX512 lamplight control data stream for lamplight control.
Further, the calculating the attribute values of the channels of the packet according to the target setting values includes:
If the control mode of the group includes correlated color temperature attribute, respectively calculating a cold white attribute value and a warm white attribute value according to the target color temperature value in the target setting value, wherein the cold white attribute value is an attribute value of a channel corresponding to the cold white attribute in the group, and the warm white attribute value is an attribute value of a channel corresponding to the warm white attribute in the group.
Further, the calculating the cold white attribute value and the warm white attribute value according to the target color temperature value in the target setting values respectively includes:
calculating a unit color temperature value according to a preset warmest color temperature value and a coolest color temperature value;
calculating the cold white attribute value according to the target color temperature value, the warmest color temperature value and the unit color temperature value;
and calculating the warm white attribute value according to the cool white attribute value.
Further, the calculating the unit color temperature value according to the preset warmest color temperature value and coolest color temperature value includes:
calculating the unit color temperature value according to the following formula:
CCTDataMax_Min=(MaxVal-MinVal)*1000/255
wherein MaxVal is the coldest color temperature value, minVal is the warmest color temperature value, and CCTDataMax_Min is the unit color temperature value;
the calculating the cool white attribute value according to the target color temperature value, the warmest color temperature value and the unit color temperature value comprises:
Calculating the cool white attribute value according to the following formula:
CW_Data=(TgtVal-MinVal)*1000/CCTDataMax_Min
wherein TgtVal is the target color temperature value, and CW_Data is the cold white attribute value;
the calculating the warm white attribute value from the cool white attribute value includes:
calculating the warm white attribute value according to the following formula:
WW_Data=255-CW_Data
wherein ww_data is the warm white attribute value.
Further, the calculating the attribute values of the channels of the packet according to the target setting values includes:
calculating a proportion value between a target brightness value in the target setting values and a preset maximum brightness value;
and calculating the attribute value of each channel of the packet according to the input value of each channel of the packet and the proportion value.
Further, the calculating a ratio value between the target brightness value and the preset maximum brightness value in the target setting values includes:
calculating the ratio value according to the following formula:
DimDataScale=CurrentDimData_255_Mode*10000/255
wherein currentdimdata_255_mode is the target luminance value, dimDataScale is the ratio value;
said calculating the attribute values of the respective channels of the packet from the input values of the respective channels of the packet and the scale value comprises:
the attribute values for the individual channels of the packet are calculated according to the following equation:
ValidData=(InputCtrlParameterData*DimDataScale)/10000
wherein InputCtrlParameterData is the input value of any channel, and ValidData is the calculated attribute value of that channel.
A second aspect of the embodiments of the present application provides a light control device, which may include:
the channel grouping module is used for dividing each channel in the DMX512 light control system into a plurality of groups;
a control mode configuration module for respectively configuring the control modes of each group;
and the light control module is used for respectively carrying out light control on each group according to the control mode of each group.
Further, the light control module may include:
a control attribute determining sub-module, configured to determine, for each packet, a minimum number of channels according to a control mode of the packet, and determine a control attribute of each channel of the packet according to the minimum number of channels;
the attribute value calculation sub-module is used for acquiring the target setting value of the group and respectively calculating the attribute value of each channel of the group according to the target setting value;
and the light control sub-module is used for respectively filling the attribute values into all channels of the group and outputting the attribute values in a form of DMX512 light control data stream for light control.
Further, the attribute value calculation sub-module may include:
and the color temperature attribute value calculation unit is used for respectively calculating a cold white attribute value and a warm white attribute value according to the target color temperature value in the target setting value if the control mode of the group comprises a correlated color temperature attribute, wherein the cold white attribute value is an attribute value of a channel corresponding to the cold white attribute in the group, and the warm white attribute value is an attribute value of a channel corresponding to the warm white attribute in the group.
Further, the color temperature attribute value calculation unit may include:
a unit color temperature value calculating subunit, configured to calculate a unit color temperature value according to a preset warmest color temperature value and coolest color temperature value;
a cold white attribute value calculating subunit, configured to calculate the cold white attribute value according to the target color temperature value, the warmest color temperature value, and the unit color temperature value;
and the warm white attribute value calculating subunit is used for calculating the warm white attribute value according to the cold white attribute value.
Further, the unit color temperature value calculating subunit is specifically configured to calculate the unit color temperature value according to the following formula:
CCTDataMax_Min=(MaxVal-MinVal)*1000/255
wherein MaxVal is the coldest color temperature value, minVal is the warmest color temperature value, and CCTDataMax_Min is the unit color temperature value;
further, the cold white attribute value calculating subunit is specifically configured to calculate the cold white attribute value according to the following formula:
CW_Data=(TgtVal-MinVal)*1000/CCTDataMax_Min
wherein TgtVal is the target color temperature value, and CW_Data is the cold white attribute value;
further, the warm white attribute value calculating subunit is specifically configured to calculate the warm white attribute value according to the following formula:
WW_Data=255-CW_Data
wherein ww_data is the warm white attribute value.
Further, the attribute value calculation submodule may further include:
A ratio value calculating unit for calculating a ratio value between a target luminance value in the target setting values and a preset maximum luminance value;
and the attribute value calculation unit is used for calculating the attribute value of each channel of the packet according to the input value of each channel of the packet and the proportion value.
Further, the ratio value calculating unit is specifically configured to calculate the ratio value according to the following formula:
DimDataScale=CurrentDimData_255_Mode*10000/255
wherein currentdimdata_255_mode is the target luminance value, dimDataScale is the ratio value;
further, the attribute value calculating unit is specifically configured to calculate attribute values of the channels of the packet according to the following formula:
ValidData=(InputCtrlParameterData*DimDataScale)/10000
wherein InputCtrlParameterData is the input value of any channel, and ValidData is the calculated attribute value of that channel.
A third aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of any one of the light control methods described above.
A fourth aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of any one of the light control methods described above when the processor executes the computer program.
A fifth aspect of the embodiments of the present application provides a computer program product for, when run on a terminal device, causing the terminal device to perform the steps of any one of the light control methods described above.
Compared with the prior art, the embodiment of the application has the beneficial effects that: in the embodiment of the application, each channel in the DMX512 light control system is divided into a plurality of groups; respectively configuring control modes of all groups; and respectively carrying out light control on each group according to the control mode of each group. By the embodiment of the application, the DMX512 light control system can be flexibly grouped and configured, and personalized requirements of users in various application scenes are met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an embodiment of a light control method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of light control for each group according to the control mode of each group;
FIG. 3 is a schematic diagram of a master controller of a DMX512 light control system;
FIG. 4 is a schematic diagram of another master controller of a DMX512 light control system;
FIG. 5 is a block diagram of one embodiment of a light control device according to an embodiment of the present application;
fig. 6 is a schematic block diagram of a terminal device in an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the embodiments described below are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application, the terms "first," "second," "third," etc. are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
In the embodiment of the application, each channel in the DMX512 light control system is divided into a plurality of groups according to different channel address fields; each different group can be configured into different control modes, so that different load types can be matched, and different groups of the DMX512 light control system can flexibly control different control modes.
According to the embodiment of the invention, the DMX512 light control system can realize free grouping of control loads, each group can be configured into different control modes and is matched with different load types, so that the DMX512 light control system can be suitable for home users of intelligent households, business meetings or high-grade office places, the application field of the DMX512 light control system is expanded, and the application fields of leisure entertainment places such as traditional stage shows, wedding celebrations, KTVs, bars and the like are not limited.
Referring to fig. 1, an embodiment of a light control method in an embodiment of the present application may include:
Step S101, dividing each channel in the DMX512 light control system into a plurality of groups.
A maximum of 512 channels may be included in the DMX512 light control system, and in this embodiment, these channels may be divided into a number of packets, and channel addresses are allocated to the packets that need to be used. The specific number of packets may be set according to practical situations, and typically a maximum of 16 packets are divided. Each group may define a different name that may be displayed on a display screen, preferably an OLED display screen, of the master controller of the DMX512 light control system.
Step S102, respectively configuring the control modes of the respective packets.
In the embodiment of the present application, the control mode of each packet may be configured as any one of DIM monochrome, CCT, RGB, RGBW, RGBCCT control modes.
Each packet is configured with a start-stop channel address field that matches the corresponding control pattern, and all channels within the address field serve as corresponding channels for the packet control.
Step S103, respectively performing light control on each group according to the control mode of each group.
As shown in fig. 2, step S103 may specifically include the following procedures:
step S1031, for each packet, determining a minimum number of channels according to a control mode of the packet, and determining control attributes of respective channels of the packet according to the minimum number of channels.
Each packet first acquires a corresponding group number when a corresponding switch (ON/OFF), scene control (Scene), timer task control (TimeTask), endless loop task control (CycleTask) is operated. For scene control, simultaneously obtaining a scene number to be operated from the operation; for the timer task, the corresponding timer task number is obtained from the comparison judgment of date and time; for infinite loop tasks, the current number of loop steps (Step) is obtained by dwell time (StayTime) and fade time (FadeTime) operations.
And according to the group number, acquiring a control mode of the corresponding group, thereby obtaining the minimum channel number used by the control mode of the corresponding group, and determining the control attribute of each channel in the group.
For DIM monochrome, the minimum number of channels is 1, and the channels in the packet are designated as output channels corresponding to the monochrome;
for CCT, the minimum number of channels is 2, and channels in the group are respectively designated as output channels corresponding to Warm White (WW) and Cold White (CW);
for RGB, the minimum channel number is 3, and the channels in the packet are respectively designated as output channels corresponding to red (R), green (G), and blue (B);
for RGBW, the minimum number of channels is 4, and the channels in the packet are respectively designated as output channels corresponding to red (R), green (G), blue (B), and white (W);
For RGBCT, the minimum channel number is 5, and the channels in the group are respectively designated as the output channels corresponding to red (R), green (G), blue (B), warm White (WW) and Cold White (CW).
Step S1032, obtaining the target setting value of the group, and calculating the attribute value of each channel of the group according to the target setting value.
Specifically, if the control mode of the group includes a Correlated Color Temperature (CCT) attribute, a target color temperature value in the target setting values may be verified first to determine whether it is within a specified color temperature value range. The range of color temperature values may be expressed as [ MinVal, maxVal ], where MinVal is a preset warmest color temperature value and MaxVal is a preset coolest color temperature value. The specific values of MinVal and MaxVal can be set according to practical situations, preferably, minval=2700k, maxval=7500 k, and k represents the unit kelvin. If the target color temperature value is within the color temperature value range, directly executing the subsequent cold white and warm white separation steps, if the target color temperature value is larger than MaxVal, adjusting the target color temperature value to MaxVal, if the target color temperature value is smaller than MinVal, adjusting the target color temperature value to MinVal, and after the adjustment, continuing executing the subsequent cold white and warm white separation steps.
After the verification of the color temperature value range is completed, the cold white attribute value and the warm white attribute value can be respectively calculated according to the target color temperature value in the target setting value. The cold white attribute value is an attribute value of a channel corresponding to the cold white attribute in the group, and the warm white attribute value is an attribute value of a channel corresponding to the warm white attribute in the group.
In a specific implementation of the embodiment of the present application, a unit color temperature value may be calculated first according to the warmest color temperature value and the coolest color temperature value.
The calculation formula is shown as follows:
CCTDataMax_Min=(MaxVal-MinVal)*1000/255
wherein cctdatamax_min is the unit color temperature value; maxVal-MinVal is the difference of the color temperature value range, which can be expanded 1000 times in order to be able to be accurate to the 3 bits after the decimal point in the micro control unit (Micro Controller Unit, MCU); for the DMX512 light control system, the channel data type is byte, namely, the channel data range of the DMX control is 0-255 from the data; dividing the difference into 255 equal parts, and obtaining the color temperature value of how much K each equal part represents, namely the unit color temperature value.
Then, the cool white attribute value is calculated from the target color temperature value, the warmest color temperature value, and the unit color temperature value.
The calculation formula is shown as follows:
CW_Data=(TgtVal-MinVal)*1000/CCTDataMax_Min
wherein TgtVal is the target color temperature value, and cw_data is the cool white attribute value.
And finally, calculating the warm white attribute value according to the cool white attribute value.
Because in the DMX512 light control system, for CCT control of the same load, the sum of the cold white attribute value and the warm white attribute value is 255, the calculation formula is as follows:
WW_Data=255-CW_Data
wherein ww_data is the warm white attribute value.
So far, the attribute values of warm white and cold white corresponding to CCT are separated.
For brightness, the attribute values of the channels in the corresponding control mode can be calculated according to the same proportion according to the proportion of the attribute values of the brightness 0-100% corresponding to the brightness 0-255 mode.
Because in the DMX512 light control system, in order to save the use resources of the control channel, there is no dedicated brightness attribute channel in the control data communication packet between the master controller and the decoder of the DMX512 light control system, the size of 0-255 of each channel attribute value indicates the brightness of the channel attribute. Therefore, the brightness attribute value set by the user needs to be calculated according to the same proportion according to the proportion of the brightness attribute value 0-255 corresponding to the brightness setting value 0-100 percent.
The brightness setting value of 0-100% set by the user on the touch panel of the PC end or the master controller is converted into the corresponding brightness attribute value of 0-255 on the touch panel of the PC end or the master controller, so in the embodiment of the application, the attribute value of each channel in the corresponding control mode is calculated according to the same proportion by directly using the brightness attribute value of 0-255. The specific algorithm is as follows:
(a) It is determined whether the current luminance attribute value currentdimdata_255_mode and the attribute value inputctrllparameterdata to be converted are in the case of 0. If both are not 0, performing the transition of continuing to perform the following steps (b), (c); otherwise, the channel attribute value to be converted is directly assigned to be equal to 0, and the conversion in the following steps (b) and (c) is skipped.
(b) Calculating the ratio DimDataScale of the current brightness attribute values CurrentDimData_255_Mode and 255 in the 0-255 mode:
DimDataScale=CurrentDimData_255_Mode*10000/255
the result is enlarged 10000 times in the formula to obtain higher calculation accuracy.
(c) And calculating the attribute values of all channels in the corresponding control mode according to the same proportion.
These channels include red (R), green (G), blue (B), white (W), warm White (WW), cool White (CW).
The attribute value of each channel can be calculated according to the following formula:
ValidData=(InputCtrlParameterData*DimDataScale)/10000
the inputctrllparameterdata is an input value of any channel, and is set by a user, and ValidData is a calculated attribute value of the channel.
Note that validdata=2 is assigned when ValidData is greater than 0 and less than 2 to reach the minimum value of decoder on.
For example, in RGB control mode set by the user, the brightness is set to 50% and the color is set to purple, i.e.: r=255, g=0, b=255, then after conversion by the above method, the attribute values of the 50% luminance channel are: r=128, g=0, b=128.
And step S1033, filling the attribute values into each channel of the packet respectively, and outputting the attribute values in a form of DMX512 light control data stream for light control.
And according to the group number, calculating the head and tail channel addresses of the corresponding groups, judging the validity of the head and tail addresses, judging whether the total number of the channels in the group is matched with the corresponding control mode, and marking the head channel address bits of all channels of which the channel addresses in the group are matched with the control mode into an integer multiple relation. And carrying out fault tolerance processing, and marking redundant channels, namely marking the first channel address bit of the redundant channel addresses after the channel addresses in the group are matched with the control modes to be in an integer multiple relation.
And filling the attribute value of the current corresponding control channel into the corresponding channel position in the DMX512 light control data stream to be output according to four conditions of marking the channel used by the corresponding packet, the minimum channel number used by the control mode of the corresponding packet, the channel address not larger than the tail address in the group and calculating the attribute value of the corresponding control channel. In the DMX512 light control data stream, the data of the channel not related to the corresponding packet at this time is stored without changing the original data.
And marking a state mark that the current grouped lights are ON or OFF according to the parameter values of the lamp attributes of the operation so as to correctly execute the next switching (ON/OFF) action. And when ON/OFF operations are performed ON all packets, such an action execution requirement as OFF-before-ON can be fulfilled. For example, some packet loads are on, while other packet loads are off, so that the current operation of switching off all packet loads first and then switching on all packet loads next can be realized.
And feeding back the last operation state information of the current grouping load, and sending the information to the touch panel through the serial port, wherein an OLED display screen on the touch panel can display the corresponding state information. Meanwhile, the LED backlight corresponding to the touch key correspondingly indicates the on-off state of the load.
In a specific implementation of the embodiment of the application, the main controller of the DMX512 light control system may be disposed on a wall surface, so that a user can operate the DMX512 light control system conveniently. Fig. 3 and 4 are schematic diagrams of two different forms of the master controller, and the reference numerals in the drawings have the following meanings:
(1) the method comprises the following steps A decrease button, a parameter decrease or a group switch.
(2) The method comprises the following steps And adding a key, adding parameters or switching groups.
(3) The method comprises the following steps The key is adjusted upwards, and the parameter item is moved forward for selection.
(4) The method comprises the following steps And returning to the key and returning to the page.
(5) The method comprises the following steps The on/off button turns on/off the light of the group, and the corresponding LED lamp indicates the on/off state of the load.
(6) The method comprises the following steps And a confirmation button for entering a lower menu or setting parameter modification confirmation.
(7) The method comprises the following steps The key is turned down, and the parameter item is moved backward for selection.
(8) The method comprises the following steps 1-8 scene keys, opening corresponding scene states, and indicating on/off states of loads by corresponding LED lamps; the scene key is pressed for a long time, and the currently set load parameter can be saved as the control scene parameter of the current scene.
The master controller has the following main functional characteristics: the method can be used for respectively and independently controlling a plurality of groups at most, and can also realize the control of a plurality of groups together, wherein the names of the groups can be modified and issued in a computer configuration tool and correspondingly displayed on an OLED (organic light emitting diode) of a host; each packet is independently configurable into DIM mono-color, CCT, RGB, RGBW, RGBCCT control modes; each group can configure the number of continuous channels in a multiple relation with the control mode according to the control mode; each group can be realized independently, and the adjustment of any brightness, color temperature, RGB single color or mixed color can be realized; each group can be independently set, stored and controlled for a plurality of different scenes, and a user can define the favorite scene effect of each group and store the favorite scene effect as a designated scene number; each group can be independently opened and closed to the corresponding control channel, and the brightness and the color before closing are recovered when the control channel is opened; each group can be independently provided with a plurality of timing tasks, and the timing can be divided into single timing of appointed date and time and repeated timing of appointed Monday to Tuesday; each task may initiate a corresponding scenario, or initiate an endless loop of tasks; each group can be independently provided with a plurality of infinite loop states, each loop state can be assigned with any brightness and color, from one state to the next state, the slow gradual transition change of the assigned time length can be realized, the transition of the lamplight scene is finer and softer, the direct jump change with zero gradual time can also be realized, and the lamplight flickering effect is realized; the touch keys of the main controller panel can realize manual or automatic locking and manual unlocking functions; OLED display of the main controller panel and LED backlight of the keys can realize the function of automatic closing without touching in a designated time; the buzzer of the key is touched by the main controller panel, and the volume and the tone can be adjusted; the main controller panel touches the vibration of the key, so that the on/off of the vibration and the setting of the vibration duration can be realized; the brightness of the LED backlight of the touch key of the main controller panel can be adjusted; the master controller panel can be provided with and display an RTC real-time clock; parameters can be configured on the panel of the main controller, and the panel has the functions of restoring factory settings and saving power-down parameters; all control parameters of the main controller panel can be set in a panel menu, or can be finished through PC end configuration tool software and downloaded for storage.
The control of the master controller mainly comprises the following contents:
1. and collecting touch key operation information to realize the operation of the user panel.
The panel is operated to lock and unlock the panel, and misoperation of children can be prevented after the panel is locked; the system parameters can be set; modification of control data may be implemented.
2. Audible or vibratory cues or settings.
The key is operated to realize the prompt of sound or vibration so as to indicate that the key is successfully touched; meanwhile, according to key input or PC end setting, the on/off, volume or tone of the audible cue tone and the on/off and vibration duration of vibration can be changed.
3. Updating the display of the OLED and controlling the backlight of the key LED.
Updating a display menu according to the input keys, and setting the display of parameter information; according to the received load latest state information returned by the main control board, updating the latest state information of the corresponding load displayed by the OLED; and the on/off and brightness adjustment control of the key LED backlight are realized.
4. And the touch pad end transmits and receives communication data with the main control board.
The touch pad terminal control signal and the setting information are sent to the main control board through the serial communication port; and receiving the latest load state information returned by the main control board and updated system setting parameters from the PC end through the main control board.
5. And data exchange between the main control board end and the touch pad and PC configuration tool software.
Firstly, receiving control signals and data sent by setting information through a serial communication port at a touch pad end; and simultaneously, the latest state information which is controlled and output by the main control board and updated system setting parameters from the PC end through the main control board are sent to the touch pad through a serial communication port.
Secondly, receiving configuration data, control information and system setting parameters issued by a PC configuration tool; and returning the PC configuration tool, the read configuration data, control information and system setting parameters.
6. And (5) parameter storage and processing of the returned data information flag bit.
Firstly, saving control and configuration parameters issued by a touch panel; and saving control and configuration parameters issued by the PC.
And secondly, setting a corresponding loopback flag of the corresponding set and state information.
7. ON/OFF control.
First, when a certain group ON/OFF control is designated, whether the current operation is to turn ON or OFF is determined. If the action of turning on the lamp is performed, the brightness and the color before turning off are restored when the lamp is turned on; if an infinite loop task (CycleTask) is running before turning off the lamp, the infinite loop task will continue to run after the lamp is turned on this time. In the case of the action of turning off the lamp, it is darkened gradually to turn off.
Secondly, when all groups are ON/OFF controlled, if any lamp in all groups is ON, all lamps need to be turned OFF in the operation; if all lamps of all groups are off, then the present operation will turn on all groups of all lamps; when the lamp is turned on, the respective brightness and color before turning off are recovered; if an infinite loop task (CycleTask) is running before turning off the lamp, the infinite loop task will continue to run after the lamp is turned on this time.
8. And (5) scene control.
Firstly, 8 different scenes are stored and called in each group, and the 1-8 keys on the operation panel can start the light effect of the 1-8 corresponding scenes of the corresponding group.
Secondly, each group of light effects which are defined for the user's own liking can be saved as the appointed scene number, so that the user can conveniently and directly call in the later period.
Thirdly, for all groups, the keys 1-8 on the operation panel can start the light effect of the scenes corresponding to the groups 1-8.
9. Preview execution of the temporary setting parameters.
The method comprises the steps of performing scene control on a single scene, timer task on a single scene, circulating task on a single scene, and temporarily setting brightness and color setting parameters for preview execution. For the scene effect of the preview, if the user needs, the scene effect can be saved and used later.
10. Timer tasks
First, each group can independently define 24 timer tasks, and each timer task can independently start a scene effect of appointed brightness and color or start an infinite loop task of appointed setting.
Secondly, if the preview function of a group is being turned on and running, or the group is running an endless loop task, the timer function during that group will be ignored until the preview function or endless loop task of the group ends, and the group resumes the timer function judgment.
Thirdly, the timer type can be divided into a single timer type of appointed date and time; the type of repeating timer may be any one or more of monday to sunday in one week.
11. Endless loop task
Wherein, each group can independently define a plurality of (generally 8) infinite loop tasks of scene effects, and each scene effect can be assigned with different brightness and color; each scene effect may stay for a specified length of time; the transition from one scene to the next scene can realize the slow gradual transition change of the appointed time length according to the set gradual transition time length, realize the transition of the brightness and the color of the lamplight scene to be finer and softer, and also can be the direct jump change with zero gradual transition time, so as to realize the flickering effect of the brightness and the color of the lamplight.
12. DMX512 control data output
If the DMX512 control data flow to be output is changed, the control data is output according to the DMX512 protocol standard, wherein the change of gradual change or direct jump change of the data to be output is processed. If the DMX512 control data stream to be output is not changed, the original data is output at regular time.
13. Parameter configuration of PC to DMX wall master controller
The PC end is provided with tool software, and all control parameters and system setting parameters of the DMX wall master controller can be uniformly configured on the PC. These parameters can be issued and read and displayed on the configuration tool software interface of the PC side for review and modification.
In summary, in the embodiment of the present application, each channel in the DMX512 light control system is divided into a plurality of packets; respectively configuring control modes of all groups; and respectively carrying out light control on each group according to the control mode of each group. By the embodiment of the application, the DMX512 light control system can be flexibly grouped and configured, and personalized requirements of users in various application scenes are met.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Corresponding to the light control method described in the above embodiments, fig. 5 shows a block diagram of an embodiment of a light control device provided in the embodiments of the present application.
In this embodiment, a light control apparatus may include:
the channel grouping module 501 is configured to divide each channel in the DMX512 light control system into a plurality of groups;
a control mode configuration module 502, configured to configure control modes of the respective packets respectively;
and the light control module 503 is configured to perform light control on each group according to the control mode of each group.
Further, the light control module may include:
a control attribute determining sub-module, configured to determine, for each packet, a minimum number of channels according to a control mode of the packet, and determine a control attribute of each channel of the packet according to the minimum number of channels;
the attribute value calculation sub-module is used for acquiring the target setting value of the group and respectively calculating the attribute value of each channel of the group according to the target setting value;
and the light control sub-module is used for respectively filling the attribute values into all channels of the group and outputting the attribute values in a form of DMX512 light control data stream for light control.
Further, the attribute value calculation sub-module may include:
and the color temperature attribute value calculation unit is used for respectively calculating a cold white attribute value and a warm white attribute value according to the target color temperature value in the target setting value if the control mode of the group comprises a correlated color temperature attribute, wherein the cold white attribute value is an attribute value of a channel corresponding to the cold white attribute in the group, and the warm white attribute value is an attribute value of a channel corresponding to the warm white attribute in the group.
Further, the color temperature attribute value calculation unit may include:
a unit color temperature value calculating subunit, configured to calculate a unit color temperature value according to a preset warmest color temperature value and coolest color temperature value;
a cold white attribute value calculating subunit, configured to calculate the cold white attribute value according to the target color temperature value, the warmest color temperature value, and the unit color temperature value;
and the warm white attribute value calculating subunit is used for calculating the warm white attribute value according to the cold white attribute value.
Further, the unit color temperature value calculating subunit is specifically configured to calculate the unit color temperature value according to the following formula:
CCTDataMax_Min=(MaxVal-MinVal)*1000/255
wherein MaxVal is the coldest color temperature value, minVal is the warmest color temperature value, and CCTDataMax_Min is the unit color temperature value;
Further, the cold white attribute value calculating subunit is specifically configured to calculate the cold white attribute value according to the following formula:
CW_Data=(TgtVal-MinVal)*1000/CCTDataMax_Min
wherein TgtVal is the target color temperature value, and CW_Data is the cold white attribute value;
further, the warm white attribute value calculating subunit is specifically configured to calculate the warm white attribute value according to the following formula:
WW_Data=255-CW_Data
wherein ww_data is the warm white attribute value.
Further, the attribute value calculation submodule may further include:
a ratio value calculating unit for calculating a ratio value between a target luminance value in the target setting values and a preset maximum luminance value;
and the attribute value calculation unit is used for calculating the attribute value of each channel of the packet according to the input value of each channel of the packet and the proportion value.
Further, the ratio value calculating unit is specifically configured to calculate the ratio value according to the following formula:
DimDataScale=CurrentDimData_255_Mode*10000/255
wherein currentdimdata_255_mode is the target luminance value, dimDataScale is the ratio value;
further, the attribute value calculating unit is specifically configured to calculate attribute values of the channels of the packet according to the following formula:
ValidData=(InputCtrlParameterData*DimDataScale)/10000
wherein InputCtrlParameterData is the input value of any channel, and ValidData is the calculated attribute value of that channel.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described apparatus, modules and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Fig. 6 shows a schematic block diagram of a terminal device provided in an embodiment of the present application, and for convenience of explanation, only a portion relevant to the embodiment of the present application is shown.
As shown in fig. 6, the terminal device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The steps of the above-described respective embodiments of the light control method are implemented by the processor 60 when executing the computer program 62, for example, steps S101 to S103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of modules 501-503 shown in fig. 5.
By way of example, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 62 in the terminal device 6.
The terminal device 6 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. It will be appreciated by those skilled in the art that fig. 6 is merely an example of the terminal device 6 and does not constitute a limitation of the terminal device 6, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device 6 may also include input-output devices, network access devices, buses, etc.
The processor 60 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing the computer program as well as other programs and data required by the terminal device 6. The memory 61 may also be used for temporarily storing data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each method embodiment described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable storage medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable storage medium may include content that is subject to appropriate increases and decreases as required by jurisdictions and by jurisdictions in which such computer readable storage medium does not include electrical carrier signals and telecommunications signals.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (6)

1. A method of controlling light comprising:
dividing each channel in a DMX512 light control system into a plurality of groups;
respectively configuring control modes of all groups;
respectively carrying out light control on each group according to the control mode of each group;
the light control for each group according to the control mode of each group comprises the following steps:
for each packet, determining a minimum channel number according to a control mode of the packet, and determining control attributes of all channels of the packet according to the minimum channel number;
acquiring a target setting value of the group, and respectively calculating attribute values of all channels of the group according to the target setting value;
Filling the attribute values into each channel of the group respectively, outputting the attribute values in a form of DMX512 light control data stream, and performing light control;
the calculating the attribute value of each channel of the packet according to the target setting value comprises:
if the control mode of the group comprises correlated color temperature attributes, respectively calculating a cold white attribute value and a warm white attribute value according to a target color temperature value in the target setting value, wherein the cold white attribute value is an attribute value of a channel corresponding to the cold white attribute in the group, and the warm white attribute value is an attribute value of a channel corresponding to the warm white attribute in the group;
the calculating the cold white attribute value and the warm white attribute value according to the target color temperature value in the target setting value respectively comprises:
calculating a unit color temperature value according to a preset warmest color temperature value and a coolest color temperature value;
calculating the cold white attribute value according to the target color temperature value, the warmest color temperature value and the unit color temperature value;
calculating the warm white attribute value according to the cool white attribute value;
the calculating the unit color temperature value according to the preset warmest color temperature value and the coolest color temperature value comprises the following steps:
calculating the unit color temperature value according to the following formula:
CCTDataMax_Min=(MaxVal-MinVal)*1000/255
wherein MaxVal is the coldest color temperature value, minVal is the warmest color temperature value, and CCTDataMax_Min is the unit color temperature value;
The calculating the cool white attribute value according to the target color temperature value, the warmest color temperature value and the unit color temperature value comprises:
calculating the cool white attribute value according to the following formula:
CW_Data=(TgtVal-MinVal)*1000/CCTDataMax_Min
wherein TgtVal is the target color temperature value, and CW_Data is the cold white attribute value;
the calculating the warm white attribute value from the cool white attribute value includes:
calculating the warm white attribute value according to the following formula:
WW_Data=255-CW_Data
wherein ww_data is the warm white attribute value.
2. The light control method according to claim 1, wherein calculating the attribute values of the respective channels of the group according to the target setting values includes:
calculating a proportion value between a target brightness value in the target setting values and a preset maximum brightness value;
and calculating the attribute value of each channel of the packet according to the input value of each channel of the packet and the proportion value.
3. The light control method of claim 2, wherein calculating a ratio value between a target luminance value and a preset maximum luminance value among the target setting values comprises:
calculating the ratio value according to the following formula:
DimDataScale=CurrentDimData_255_Mode*10000/255
wherein currentdimdata_255_mode is the target luminance value, dimDataScale is the ratio value;
Said calculating the attribute values of the respective channels of the packet from the input values of the respective channels of the packet and the scale value comprises:
the attribute values for the individual channels of the packet are calculated according to the following equation:
ValidData=(InputCtrlParameterData*DimDataScale)/10000
wherein InputCtrlParameterData is the input value of any channel, and ValidData is the calculated attribute value of that channel.
4. A light control apparatus, comprising:
the channel grouping module is used for dividing each channel in the DMX512 light control system into a plurality of groups;
a control mode configuration module for respectively configuring the control modes of each group;
the light control module is used for respectively carrying out light control on each group according to the control mode of each group;
the light control module includes:
a control attribute determining sub-module, configured to determine, for each packet, a minimum number of channels according to a control mode of the packet, and determine a control attribute of each channel of the packet according to the minimum number of channels;
the attribute value calculation sub-module is used for acquiring the target setting value of the group and respectively calculating the attribute value of each channel of the group according to the target setting value;
the light control sub-module is used for respectively filling the attribute values into all channels of the group, outputting the attribute values in a form of DMX512 light control data stream and performing light control;
The attribute value calculation submodule includes:
a color temperature attribute value calculating unit, configured to calculate, if the control mode of the group includes a correlated color temperature attribute, a cold white attribute value and a warm white attribute value according to a target color temperature value in the target setting value, where the cold white attribute value is an attribute value of a channel corresponding to the cold white attribute in the group, and the warm white attribute value is an attribute value of a channel corresponding to the warm white attribute in the group;
the color temperature attribute value calculation unit includes:
a unit color temperature value calculating subunit, configured to calculate a unit color temperature value according to a preset warmest color temperature value and coolest color temperature value;
a cold white attribute value calculating subunit, configured to calculate the cold white attribute value according to the target color temperature value, the warmest color temperature value, and the unit color temperature value;
a warm white attribute value calculation subunit, configured to calculate the warm white attribute value according to the cool white attribute value;
the unit color temperature value calculating subunit is specifically configured to calculate the unit color temperature value according to the following formula:
CCTDataMax_Min=(MaxVal-MinVal)*1000/255
wherein MaxVal is the coldest color temperature value, minVal is the warmest color temperature value, and CCTDataMax_Min is the unit color temperature value;
the calculating the cool white attribute value according to the target color temperature value, the warmest color temperature value and the unit color temperature value comprises:
Calculating the cool white attribute value according to the following formula:
CW_Data=(TgtVal-MinVal)*1000/CCTDataMax_Min
wherein TgtVal is the target color temperature value, and CW_Data is the cold white attribute value;
the calculating the warm white attribute value from the cool white attribute value includes:
calculating the warm white attribute value according to the following formula:
WW_Data=255-CW_Data
wherein ww_data is the warm white attribute value.
5. A computer-readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the light control method according to any one of claims 1 to 3.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the light control method according to any one of claims 1 to 3 when the computer program is executed.
CN202010503151.4A 2020-06-05 2020-06-05 Light control method and device, readable storage medium and terminal equipment Active CN111800923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010503151.4A CN111800923B (en) 2020-06-05 2020-06-05 Light control method and device, readable storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010503151.4A CN111800923B (en) 2020-06-05 2020-06-05 Light control method and device, readable storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN111800923A CN111800923A (en) 2020-10-20
CN111800923B true CN111800923B (en) 2023-05-12

Family

ID=72802845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010503151.4A Active CN111800923B (en) 2020-06-05 2020-06-05 Light control method and device, readable storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN111800923B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112512191A (en) * 2020-12-24 2021-03-16 广东爱码科技股份有限公司 Gymnasium light control system
CN114765565A (en) * 2020-12-30 2022-07-19 花瓣云科技有限公司 Control method of intelligent device, cloud server, terminal device and storage medium
CN113448269A (en) * 2021-06-01 2021-09-28 浙江创意声光电科技有限公司 Remote-control sine wave digital micro-break controller and control method
CN114489456B (en) * 2022-01-04 2024-01-30 杭州涂鸦信息技术有限公司 Lighting system control method, lighting system control device, computer device, and readable storage medium
CN114531762A (en) * 2022-01-17 2022-05-24 浙江慧居智能物联有限公司 RGB (Red, Green, blue) cold and warm mixed dimming lamp controller and RGB cold and warm mixed dimming method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482232A (en) * 2009-01-22 2009-07-15 广州市雅江光电设备有限公司 Color temperature-adjustable LED lamp and its color temperature adjusting method
CN105578639A (en) * 2015-12-09 2016-05-11 浙江凯耀照明股份有限公司 LED lamp and dimming method thereof
CN106061014A (en) * 2016-06-08 2016-10-26 广州市升龙灯光设备有限公司 Linear color temperature database construction method, color temperature adjusting method and device and LED lamp

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101410192B1 (en) * 2013-05-22 2014-06-20 한양대학교 에리카산학협력단 Reconfiguration method and system of rf channel and device address in wireless dmx512 devices and a method based on two-way communication
KR20150025588A (en) * 2013-08-29 2015-03-11 강신호 Light Display Control System
CN109661073A (en) * 2019-01-25 2019-04-19 广州腾龙电子塑胶科技有限公司 A kind of pwm signal conversion method, device and its lamp brightness regulation device
CN209824094U (en) * 2019-04-26 2019-12-20 广州景晴光电科技有限公司 Touch controller compatible with various LED lights

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482232A (en) * 2009-01-22 2009-07-15 广州市雅江光电设备有限公司 Color temperature-adjustable LED lamp and its color temperature adjusting method
CN105578639A (en) * 2015-12-09 2016-05-11 浙江凯耀照明股份有限公司 LED lamp and dimming method thereof
CN106061014A (en) * 2016-06-08 2016-10-26 广州市升龙灯光设备有限公司 Linear color temperature database construction method, color temperature adjusting method and device and LED lamp

Also Published As

Publication number Publication date
CN111800923A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN111800923B (en) Light control method and device, readable storage medium and terminal equipment
EP2266373B1 (en) Light system controller and method for controlling a lighting scene
CN101406107B (en) Pulse width modulation based LED dimmer control
CA2764352C (en) Lighting control device
US9041308B2 (en) Systems and methods of controlling the output of a light fixture
WO2022021796A1 (en) Dynamic control method and system for light device, and related device
JP2004274512A (en) Acoustic signal processing device and program
CN109859283A (en) One kind taking color method, takes color device, electronic equipment and can storage medium
CN112672464A (en) Lamp light control method and device of lamp and computer equipment
CN108391351A (en) A kind of brightness adjusting method of keyboard light, device and electronic equipment
CN102800277B (en) A kind of for regulating method and the display device of display device color and brightness
CN116437541B (en) Multi-lamplight synchronization method based on differential scheduling
CN115915556A (en) Distributed intelligent light control method, device, equipment and medium
JP5575896B2 (en) Lighting system and method for determining energy consumption of a lighting scene in the lighting system
CN110225625A (en) LED colour mixture calibration method, device and storage medium
CN116234127B (en) KTV light control method based on z-wave
US20170109863A1 (en) Pixel Mapping Systems and Processes Using Raster-Based and Vector Representation Principles
JP6478156B2 (en) Schedule controller, lighting system, and lighting control method
JP3223902U (en) Lighting device and lighting remote control system
CN111988897B (en) Dimming method and device of dimmer, storage medium and dimmer
CN109219204B (en) Intelligent household light self-adaptive processing method
CN206819469U (en) A kind of clothing accesses intelligent cabinet
CN114489456A (en) Lighting system control method, lighting system control device, computer equipment and readable storage medium
CN116546261A (en) Linkage control method, device and system for intelligent television and intelligent lamp and medium
CN115348715A (en) Lighting scene mode configuration method and device, electronic equipment and storage medium

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