Light control method, apparatus, and lighting device

By connecting the output pins of the lighting control chip to the LED light-emitting channel in parallel, the problem of insufficient output current of the lighting control chip is solved, thus saving costs and workload.

CN120730593BActive Publication Date: 2026-02-03SHENZHEN INTELLIROCKS TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511219077.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-28
Publication Date
2026-02-03
Estimated Expiration
2045-08-28

AI Technical Summary

Technical Problem

In the existing technology, when the output current of a single output pin of the lamp control chip does not meet the light emission channel requirements of the lamp bead, it is necessary to replace it with a lamp control chip with a larger output current, which increases the replacement cost and workload.

Method used

By connecting the output pins of multiple lighting control chips in parallel to the light-emitting channels of the LED beads, the number of output pins that need to be connected can be determined based on the ratio of the operating current of the light-emitting channel of the LED beads to the current of the output pins, thus avoiding the need to replace the lighting control chips.

Benefits of technology

It saves the cost and workload of replacing the lamp control chip, and enables the lamp bead light emission channel to be met without replacing the lamp control chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120730593B_ABST
    Figure CN120730593B_ABST
Patent Text Reader

Abstract

The application discloses a light control method, device and lighting equipment. The method is applied to the lighting equipment, and the lighting equipment comprises a plurality of lamp beads and a plurality of lamp control chips. Each lamp bead is connected with the plurality of lamp control chips. The method comprises the following steps: acquiring pin connection information, wherein the pin connection information comprises the connection relationship between different light-emitting channels of the lamp bead and pin of the lamp control chip; acquiring a light setting instruction, and generating corresponding light setting information according to the light setting instruction; and distributing the light setting information to the corresponding lamp control chip based on the pin connection information, so that the lamp control chip controls the lamp bead to emit light based on the light setting information. The technical scheme provided by the embodiment of the application can save the cost and workload of replacing the lamp control chip when the output current of the single output pin of the lamp control chip cannot meet the working requirement of the light-emitting channel of the lamp bead.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of lighting device control, and in particular to a light control method and device and a lighting device. BACKGROUND

[0002] In the lighting device, a control light chip is used to control each channel of a lamp bead. Specifically, a plurality of output pins of the control light chip are connected to a plurality of channels of the lamp bead one by one, and data is output to the corresponding connected channels to control the lamp bead to emit light.

[0003] In the related art, when the output current of a single output pin does not meet the working requirements of the corresponding connected channel, the control light chip needs to be replaced with a control light chip with a larger output current of the output pin. Replacing the control light chip brings greater workload and higher cost. SUMMARY

[0004] The present application provides a light control method, device and lighting device.

[0005] In a first aspect, a light control method is provided. The method is applied to a lighting device, and the lighting device includes a plurality of control light chips. The method includes obtaining pin connection information, the pin connection information including a connection relationship between different light-emitting channels of a lamp bead and pins of a control light chip; obtaining a light setting instruction, and generating corresponding light setting information according to the light setting instruction, the light setting information including light-emitting data; and distributing the light setting information to corresponding control light chips based on the pin connection information, so that the control light chips control the lamp bead to emit light based on the light setting information.

[0006] In a second aspect, a light control device is provided. The device is applied to a lighting device, and the lighting device includes a plurality of lamp beads and a plurality of control light chips, wherein each lamp bead is connected to a plurality of control light chips. The device includes a first obtaining module configured to obtain pin connection information, the pin connection information including a connection relationship between different light-emitting channels of a lamp bead and pins of a control light chip; a second obtaining module configured to obtain a light setting instruction, and generate corresponding light setting information according to the light setting instruction, the light setting information including light-emitting data; and a light control module configured to distribute the light setting information to corresponding control light chips based on the pin connection information, so that the control light chips control the lamp bead to emit light based on the light setting information.

[0007] In a third aspect, a lighting device is provided. The device includes a control unit, a plurality of control light chips, and at least one lamp bead controlled by the plurality of control light chips. The control unit is connected to the plurality of control light chips, and the control unit is configured to execute the method of the first aspect.

[0008] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores computer program instructions. The computer program instructions can be invoked by a processor to execute the method in the first aspect.

[0009] Compared with the prior art, the technical solution provided by the embodiment of the present application, the lighting device includes a plurality of light control chips. When the output current of a single output pin of the light control chip does not meet the working requirement of the light-emitting channel of the lamp bead, the number of output pins to be connected to the light-emitting channel can be determined based on the working current of the light-emitting channel of the lamp bead and the output current of the single output pin. The plurality of output pins are connected in parallel to the light-emitting channel according to the calculated number. The light control chip in the lighting device does not need to be replaced with a light control chip with a larger output current of the output pin, thereby saving the cost and workload of replacing the light control chip. BRIEF DESCRIPTION OF DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0011] Figure 1 is a structural diagram of the lighting device provided by the related art.

[0012] Figure 2 is a structural block diagram of the lighting device provided by an embodiment of the present application.

[0013] Figure 3 is a flowchart of the light control method provided by an embodiment of the present application.

[0014] Figure 4 is a flowchart of the light control method provided by another embodiment of the present application.

[0015] Figure 5 is a flowchart of the light control method provided by another embodiment of the present application.

[0016] Figure 6 is a block diagram of the light control device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0017] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference signs represent the same or similar elements or elements with the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and are only used to explain the present application, and cannot be understood as a limitation of the present application.

[0018] To enable those skilled in the art to better understand the solutions of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0019] Please refer to Figure 1 The diagram illustrates the structure of a lighting device 100 provided by related technologies. The lighting device 100 includes a lamp control chip 110 and LED chips 120. The lamp control chip 110 includes multiple output pins: OUTR pin, OUTG pin, OUTB pin, OUTW pin, and OUTY pin. Specifically, the OUTR pin is connected to the red channel of the LED chip 120, the OUTG pin is connected to the green channel of the LED chip 120, the OUTB pin is connected to the blue channel of the LED chip 120, the OUTW pin is connected to the warm white channel of the LED chip 120, and the OUTY pin is connected to the cool white channel of the LED chip 120.

[0020] In related technologies, when the output current of a certain output pin of the lighting control chip 110 does not meet the working power requirements of the channel it is connected to, the lighting control chip 110 needs to be replaced, which increases the workload and cost of reselecting the chip.

[0021] Based on the problems existing in related technologies, this application proposes a new lighting device. The lighting device includes multiple lamp control chips. When the output current of a single output pin of the lamp control chip does not meet the working requirements of the light-emitting channel of the lamp bead, the number of output pins that need to be connected to the light-emitting channel can be determined based on the working current of the light-emitting channel of the lamp bead and the output current of a single output pin. According to the calculated number, multiple output pins are connected in parallel to the light-emitting channel. There is no need to replace the lamp control chip in the lighting device with a lamp control chip with a larger output current of the output pin, thus saving the cost and workload of replacing the lamp control chip.

[0022] Please refer to Figure 2 This diagram illustrates the structure of a lighting device 200 according to an embodiment of this application. The lighting device 200 can be a strip light, a bar light, a lamp post, a plane light, etc. The lighting device 200 includes a control unit 210, multiple lamp control chips 220, and lamp beads 230.

[0023] The number of LED beads 230 is set according to actual needs. In this embodiment, only one LED bead 230 is used as an example. Each LED bead 230 may include three channels, four channels, five channels, etc. For example, an LED bead 230 may include a red channel, a blue channel, and a green channel. Another example is that an LED bead 230 may include any one of a red channel, a blue channel, a green channel, a cool white channel, or a warm white channel. Yet another example is that an LED bead 230 may include a red channel, a blue channel, a green channel, a cool white channel, and a warm white channel. In this embodiment, only an example of an LED bead 230 including a red channel, a blue channel, a green channel, a cool white channel, and a warm white channel is used for explanation.

[0024] The number of lighting control chips 220 is determined based on the number of LED chips 230, the operating current of each channel of the LED chips 230, and the current of one output pin of the lighting control chip 220. Figure 2 In this embodiment, when there is only one LED bead 230, the lighting device 200 includes three LED control chips 220.

[0025] Each of the multiple lamp control chips 220 includes multiple output pins (OUTn), power input pins (VIN pins), ground pins (DIN pins), and data output ready pins (DOUT pins). The output pins are used to provide output data to one channel of the lamp chip 230. Figure 2 In this embodiment, each light control chip 220 includes five output pins. The power input pin is used to connect to a power supply to obtain the operating voltage. The ground pin is grounded. The output data ready pin is used to output a data output ready signal.

[0026] In this embodiment, the lamp control chip 220 can be connected to one color channel of the lamp bead 230 through at least two output pins, and the at least two output pins are connected in parallel to meet the current requirements of the connected color channel.

[0027] like Figure 2 As shown, the OUT1 and OUT2 pins of the light control chip A1 are connected to the red channel of the LED 230, and the OUT5 and OUT6 pins of the light control chip A1 are connected to the warm white channel of the LED 230; the OUT1 and OUT2 pins of the light control chip A2 are connected to the green channel of the LED 230; the OUT1 and OUT2 pins of the light control chip A3 are connected to the blue channel of the LED 230, and the OUT5 and OUT6 pins of the light control chip A3 are connected to the cool white channel of the LED 230.

[0028] The control unit 210 is connected to multiple light control chips 220 respectively, and is used to control the connection relationship of each output pin of the light control chip 220 and the output data. The control unit 210 can be a SOC (System on Chip), CPU (Central Processing Unit), MPU (Microcontroller Unit), etc., and can be set according to actual use needs. This application does not limit it.

[0029] Please refer to Figure 3 This document illustrates a flowchart of a lighting control method provided in one embodiment of this application. The method is applied to... Figure 2 The control unit 210 in the embodiment. The method includes the following procedures.

[0030] S301, obtain pin connection information.

[0031] The pin connection information includes the connection relationship between the different light-emitting channels of the LED and the pins of the lamp control chip.

[0032] LED chips typically include multiple channels. In one embodiment, an LED chip includes three color channels: red, green, and blue. In another embodiment, an LED chip includes two color temperature channels: cool white and warm white. In yet another embodiment, an LED chip includes three color channels: red, green, and blue, as well as one or more of cool white or warm white. A light-emitting channel refers to a channel through which data is input during the LED chip's emission process.

[0033] In this embodiment of the application, when the output current of a single output pin of the lamp control chip does not meet the working requirements of the light-emitting channel, multiple output pins can be connected in parallel to the same light-emitting channel to meet the working requirements of the light-emitting channel. Therefore, before controlling the lamp to emit light, it is necessary to determine the number of output pins that need to be connected to each light-emitting channel.

[0034] Optionally, for each light-emitting channel, the ratio between the operating current of that channel and the maximum output current of its output pin can be obtained, and the number of output pins that need to be connected to that light-emitting channel can be determined based on this ratio. If the ratio is an integer, the number of output pins that need to be connected to the light-emitting channel is the ratio itself; if the ratio is not an integer, the number of output pins that need to be connected to the light-emitting channel is the rounded-up value of the ratio.

[0035] For example, if the target channel's operating current is 3A and the maximum output current of the output pin is 1A, the ratio between the two is 3. Therefore, the target channel needs to be connected to 3 output pins of the lighting control chip. As another example, if the lamp's operating current is 1.5A and the maximum output current of the output pin is 1A, the ratio between the two is 1.5. The round-up value of 1.5 is 2, meaning that at least one channel of the lamp needs to be connected to 2 output pins of the lighting control chip.

[0036] It should be noted that the number of output pins connected to different color channels should be the same. Furthermore, the number of output pins connected to a single color channel should be approximately greater than or equal to the number of output pins connected to a single color temperature channel. In some embodiments, if the number of output pins connected to each color channel is different, or if the number of output pins connected to a color channel is less than the number of output pins connected to a color temperature channel, an error message will be issued to indicate a connection error. The error message can be sent by the control unit to the lighting device's own information alert module (e.g., a voice module), or it can be sent by the control unit to the lighting control device for the lighting control device to issue the alert.

[0037] S302, obtain the lighting setting command, and generate the corresponding lighting setting information according to the lighting setting command.

[0038] Lighting setup information includes luminance data. Luminance data includes color data and / or color temperature data. Color data includes red, blue, and green data. Color temperature data is a unit of measurement for the color components in light, expressed in Kelvin (K).

[0039] In some embodiments, the control unit receives a lighting setting command sent by the lighting control device. The lighting control device is an electronic device that establishes a wireless communication connection with the control unit, such as a terminal, smart switch, smart remote control, etc. This wireless communication connection can be a Bluetooth connection, a local area network connection, etc.

[0040] Taking a lighting control device as an example, the terminal is equipped with a lighting control application. The user interface of the lighting control application provides at least one first setting control. After the lighting control application obtains the trigger signal corresponding to the first target control in the at least one first setting control, it generates a lighting setting instruction carrying light emission data. Then, it sends the above-mentioned lighting setting instruction to the control unit through the terminal. The control unit reads the light emission data in the lighting setting instruction and generates the corresponding lighting setting information.

[0041] S303 distributes lighting setting information to the corresponding lighting control chip based on pin connection information, so that the lighting control chip controls the LED beads to emit light based on the lighting setting information.

[0042] The control unit distributes the light emission data of the light emission channel connected to the pins of each light control chip in the lighting settings information to the light control chip. Then, the light control chip distributes the light emission data to the corresponding light emission channel through its own pins, so that the light emission data acts on the LED beads, thereby displaying the corresponding lighting effect. This controls the LED beads to emit light.

[0043] In some embodiments, the control unit determines the light-emitting channel connected to each lamp chip and the lamp bead based on the pin connection information; for any lamp chip, the corresponding lighting setting information is sent to the lamp chip based on the light-emitting channel connected to the lamp chip.

[0044] In summary, the technical solution provided in this application embodiment includes a lighting device comprising multiple lamp control chips. When the output current of a single output pin of the lamp control chip does not meet the working requirements of the light-emitting channel of the lamp bead, the number of output pins that need to be connected to the light-emitting channel can be determined based on the working current of the light-emitting channel of the lamp bead and the output current of a single output pin. Based on the calculated number, multiple output pins are connected in parallel to the light-emitting channel. This eliminates the need to replace the lamp control chip in the lighting device with a lamp control chip that has a larger output current of the output pins, thus saving the cost and workload of replacing the lamp control chip.

[0045] Please refer to Figure 4 This illustrates a flowchart of a lighting control method according to an embodiment of this application. Based on... Figure 3 In the optional embodiments provided by the examples, S302 is replaced by S402-S403, and the method includes the following process.

[0046] S401, obtain pin connection information.

[0047] The pin connection information includes the connection relationship between the different light-emitting channels of the LED and the pins of the lamp control chip.

[0048] S402, obtain the lighting setting command, and obtain the three-channel data in the light emission data according to the lighting setting command.

[0049] Three-channel data typically consists of emission data from three color channels, including any one of the red, green, and blue channels.

[0050] The control unit converts the three-channel data in the lighting data into a specified data format that is compatible with the lighting control chip. Then, it sets the output data of the output pin of the lighting control chip connected to the specified color channel to the light emission data in the specified data format. If no other channel is connected to other output pins in the lighting control chip, its output data is set to a first specified value, such as FORMAT_NULL. If any color temperature channel is connected to other output pins in the lighting control chip, its output data is set to a second specified value, such as 0.

[0051] Optionally, the control unit allocates a preset number of data storage buffers in memory, and then fills the output data of each output pin of the lamp control chip corresponding to each specified color channel into the aforementioned data storage buffers for subsequent reading by the lamp control chip. The preset number is determined based on the number of LEDs, the number of lamp control chips required to control one LED, and the number of output data channels of one lamp control chip. Specifically, the preset number is the product of the number of LEDs, the number of lamp control chips required to control one LED, and the number of output pins included in one lamp control chip. Figure 2 For example, a lamp includes a lamp bead. Controlling the lamp bead requires three lamp control chips. Each lamp control chip has five output data channels. Therefore, the control unit needs to apply for (1*3*5) = 15 units of data storage buffer.

[0052] In one example, after the control unit executes S402, the data in the data storage buffer is as follows:

[0053] int ic_format[] =

[0054] {{FORMAT_G, FORMAT_G, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL},

[0055] {FORMAT_R, FORMAT_R, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,},

[0056] {FORMAT_B, FORMAT_B, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL}}.

[0057] That is, Figure 2 The OUT1 and OUT2 pins of the light control chip 1 are connected in parallel to the green channel of the lamp bead, and the other pins are left unconnected and filled with the first specified value FORMAT_NULL. Figure 2 The OUT1 and OUT2 pins of the lamp control chip 2 are connected in parallel to the red channel of the lamp bead, and the other pins are left unconnected and filled with the first specified value FORMAT_NULL. Figure 2 The OUT1 and OUT2 pins of the light control chip 3 are connected in parallel to the blue channel of the LED, while the other pins are left unconnected and filled with the first specified value FORMAT_NULL.

[0058] S403 converts three-channel data into four-channel data.

[0059] Four-channel data includes multiple color data and color temperature data. Compared to three-channel data, four-channel data adds a warm white channel or a cool white channel. Adding a warm or cool white color to the red / green / blue colors can improve brightness and increase color accuracy.

[0060] The control unit converts three-channel data into four-channel data using the following technical solution: It acquires the maximum and minimum values ​​of specified color values ​​from multiple specified color channels, calculates the corresponding saturation, and pre-sets a matching brightness ratio based on the saturation to control the mixing ratio of pure color and white. The brightness ratio ranges from 0 to 1, for example, a brightness ratio of 0.9. Furthermore, the control unit assigns corresponding weights to the specified color values ​​of each specified color channel, with the sum of all weights being 1. This ensures a smoother color distribution across the specified color channels, resulting in a better visual effect for pure colors. These weights can be set experimentally or empirically; for example, the weight for the red channel is 0.243, for the green channel it is 0.726, and for the blue channel it is 0.031. Finally, the control unit calculates the cool white or warm white value in the four-channel data based on the saturation and its matching brightness ratio, as well as the color values ​​and weights of each specified color channel. Optionally, the control unit calculates the cool white value or warm white value in the four-channel data according to the following formula: F=((1 S) * d+(1 d))*(aR+bG+cB). Where F is the cool white value or warm white value, S is the saturation, d is the brightness coefficient and 0≤d≤1, R, G, B correspond to the color values ​​of the three specified color channels R, G, B, and a, b, c correspond to the weights of the color values ​​of the three specified color channels R, G, B, and a+b+c=1.

[0061] The control unit can also convert color data from three-channel data to four-channel data based on other technical solutions, but this application embodiment does not limit this.

[0062] Optionally, the control unit also needs to convert the color temperature data in the four-channel data into a specified data format adapted to the lighting control chip, and then write the color temperature data in the specified data format into the data buffer corresponding to the connected lighting control chip. Specifically, the control unit replaces the second specified value in the data buffer of the corresponding lighting control chip with the color temperature data, while keeping other data unchanged.

[0063] In one example, after the control unit executes S403, the final data obtained in the data buffer is as follows:

[0064] int ic_format[] =

[0065] {{FORMAT_G, FORMAT_G, FORMAT_NULL, FORMAT_WW, FORMAT_WW},

[0066] {FORMAT_R, FORMAT_R, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,},

[0067] {FORMAT_B, FORMAT_B, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL}}.

[0068] That is, Figure 2 The OUT4 and OUT5 pins of the lamp control chip 1 are connected in parallel to the warm white channel of the lamp bead.

[0069] In one example, after the control unit executes S403, the final data obtained in the data buffer is as follows:

[0070] int ic_format[] =

[0071] {{FORMAT_G, FORMAT_G, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL},

[0072] {FORMAT_R, FORMAT_R, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,},

[0073] {FORMAT_B, FORMAT_B, FORMAT_NULL, FORMAT_CW, FORMAT_CW}}.

[0074] That is, Figure 2 The OUT4 and OUT5 pins of the lamp control chip 3 are connected in parallel to the cool white channel of the lamp bead. Lamp control chip 3 is also the second lamp control chip.

[0075] S404 determines the light-emitting channel that each lamp control chip connects to the lamp bead based on the pin connection information.

[0076] S405, for any light control chip, based on the color channel connected to the light control chip, send the corresponding color data to the light control chip, and / or based on the color temperature channel connected to the light control chip, send the corresponding color temperature data to the light control chip.

[0077] In this embodiment, the light emission channel includes a color channel and a color temperature channel.

[0078] The control unit sends at least one of the color temperature data of the color temperature channel connected to the lamp control chip and the color data of the color channel connected to it to the lamp control chip. If the lamp control chip is connected to a color temperature channel, the control unit distributes the color temperature data to the color temperature channel so that the color temperature data is effective on the LED. If the lamp control chip is connected to a color channel, the control unit distributes the color data to the color channel so that the color data is effective on the LED.

[0079] In some embodiments, among the multiple light control chips, there is a target light control chip. The number of output pins of the target light control chip connected to the specified color channel is a first number, and the number of output pins of the target light control chip connected to the color temperature channel is a second number, where the first number is less than the second number. In this case, S405 is implemented as follows: based on the color temperature channel connected to the target light control chip, the corresponding color temperature data and specified data are sent to the target light control chip. The target light control chip is used to distribute color temperature data to the corresponding color temperature channel through the first number of output pins, and to distribute specified data to the corresponding color temperature channel through other output pins connected to the color temperature channel.

[0080] The specified data is set according to requirements, for example, 0. For example, if the number of output pins to be connected to the color channel is 2 and the number of output pins to be connected to the color temperature channel is 3, then the output data of the 2 output pins connected to the color temperature channel is set to the above-mentioned cool white value or warm white value, and the output data of the remaining 1 output pin connected to the color temperature channel is set to the specified value, for example, 0.

[0081] In summary, the technical solution provided in this application embodiment, when the lighting setting information includes color data, not only sets the output data of the output pin connected to the specified color channel, but also sets the output data of the output pin connected to the color temperature channel such as cool white or warm white, so that the color of the light emitted by the LED bead is more accurate.

[0082] Please refer to Figure 5 This illustrates a flowchart of a lighting control method according to an embodiment of this application. Based on... Figure 3 In an optional embodiment provided by the example, S302 is replaced by S502, and the method includes the following process.

[0083] S501, obtain pin connection information.

[0084] The pin connection information includes the connection relationship between the different light-emitting channels of the LED and the pins of the lamp control chip.

[0085] S502, obtain the lighting setting command, and obtain the color temperature data in the luminous data according to the lighting setting command.

[0086] Color temperature data includes the cool white value and warm white value of the LED beads.

[0087] Optionally, the control unit maps the color temperature data into two values ​​between 0 and 255, which are also the cool white and warm white values ​​of the LED. The mapping algorithm can be linear or non-linear; this embodiment does not limit the specific algorithm used.

[0088] Next, the control unit converts the cool white and warm white values ​​in the lighting data into a specified data format adapted to the lighting control chip. Then, it sets the output data of the output pins of the lighting control chip connected to the cool white channel to the cool white value of the specified data format, and sets the output data of the output pins of the lighting control chip connected to the warm white channel to the warm white value of the specified data format. If other output pins of the lighting control chip are not connected to other channels, their output data is set to a first specified value, such as FORMAT_NULL. If other output pins of the lighting control chip are connected to any color channel, their output data is set to a second specified value, such as 0.

[0089] In one example, after the control unit executes S502, the data in the data storage buffer is as follows:

[0090] int ic_format[] =

[0091] {{ FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL},

[0092] { FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,},

[0093] { FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_CW, FORMAT_CW}}.

[0094] In another example, after the control unit executes S502, the final data obtained in the data buffer is:

[0095] int ic_format[] =

[0096] {{ FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_WW, FORMAT_WW},

[0097] { FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,},

[0098] { FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_CW, FORMAT_CW}}.

[0099] S503 determines the light-emitting channel that each lamp control chip connects to the lamp bead based on the pin connection information.

[0100] S504, for any lighting control chip, based on the cool white channel connected to the lighting control chip, the corresponding cool white value is sent to the lighting control chip, or / and based on the warm white channel connected to the lighting control chip, the corresponding warm white value is sent to the lighting control chip.

[0101] In this embodiment, the light emission channel includes a color channel and a color temperature channel, and the color temperature channel includes a cool white channel and a warm white channel.

[0102] In summary, the technical solution provided in this application, when the lighting setting information includes color temperature data, converts the color temperature data into warm white and cool white values, and then sets the output data of the output pin connected to the cool white temperature channel to the aforementioned cool white value, and the output data of the output pin connected to the warm white temperature channel to the aforementioned warm white value, so that the color of the light emitted by the LED bead is more accurate.

[0103] Please refer to Figure 6 The diagram illustrates a block diagram of a lighting control device according to an embodiment of this application. The lighting control device is applied to a lighting equipment, which includes multiple LED beads and multiple lighting control chips, wherein each LED bead is connected to multiple lighting control chips. The device includes: a first acquisition module 610, a second acquisition module 620, and a lighting control module 630.

[0104] The first acquisition module 610 is used to acquire pin connection information, which includes the connection relationship between different light-emitting channels of the lamp bead and the pins of the lamp control chip.

[0105] The second acquisition module 620 is used to acquire lighting setting instructions and generate corresponding lighting setting information based on the lighting setting instructions. The lighting setting information includes light emission data.

[0106] The lighting control module 630 is used to distribute lighting setting information to the corresponding lighting control chip based on pin connection information, so that the lighting control chip controls the lamp beads to emit light based on the lighting setting information.

[0107] In some embodiments, the lighting control module 630 is used to determine the light-emitting channel connected to each lighting control chip and the LED bead based on the pin connection information; for any lighting control chip, the corresponding lighting setting information is sent to the lighting control chip based on the light-emitting channel connected to the lighting control chip.

[0108] In some embodiments, the second acquisition module 620 is used to acquire a lighting setting instruction and acquire three-channel data from the light emission data according to the lighting setting instruction; convert the three-channel data into four-channel data, the four-channel data including multiple color data and color temperature data. The light emission channel includes a color channel and a color temperature channel; the lighting control module 630 is used to, for any lighting control chip, send the corresponding color data to the lighting control chip based on the color channel connected to the lighting control chip, and / or send the corresponding color temperature data to the lighting control chip based on the color temperature channel connected to the lighting control chip.

[0109] In some embodiments, among the multiple lighting control chips, there is a target lighting control chip. The number of output pins of the target lighting control chip connected to a specified color channel is a first number, and the number of output pins of the target lighting control chip connected to a color temperature channel is a second number, wherein the first number is less than the second number. The lighting control module 630 is used to send corresponding color temperature data and specified data to the target lighting control chip based on the color temperature channel connected to the target lighting control chip. The target lighting control chip is used to distribute color temperature data to the corresponding color temperature channel through the first number of output pins, and to distribute specified data to the corresponding color temperature channel through other output pins connected to the color temperature channel.

[0110] In some embodiments, the second acquisition module 620 is used to acquire a lighting setting instruction and acquire color temperature data in the light emission data according to the lighting setting instruction. The color temperature data includes the cool white value and warm white value of the LED. The light emission channel includes a color temperature channel, which includes a cool white channel and a warm white channel. The lighting control module 630 is used to send the corresponding cool white value to the lighting control chip based on the cool white channel connected to the lighting control chip for any lighting control chip, and / or send the corresponding warm white value to the lighting control chip based on the warm white channel connected to the lighting control chip.

[0111] In some embodiments, the device further includes an alert module (not shown). The alert module is configured to issue an error alert message if the number of output pins connected to each color channel is not the same, or if the number of output pins connected to any color channel is less than the number of output pins connected to the color temperature channel.

[0112] In summary, the technical solution provided in this application embodiment includes a lighting device comprising multiple lamp control chips. When the output current of a single output pin of the lamp control chip does not meet the working requirements of the light-emitting channel of the lamp bead, the number of output pins that need to be connected to the light-emitting channel can be determined based on the working current of the light-emitting channel of the lamp bead and the output current of a single output pin. Based on the calculated number, multiple output pins are connected in parallel to the light-emitting channel. This eliminates the need to replace the lamp control chip in the lighting device with a lamp control chip with a larger output current of the output pins, saving the cost and workload of reselecting a lamp control chip.

[0113] This application embodiment also provides a lighting device, which includes a control unit, a plurality of lamp control chips, and at least one LED controlled by the plurality of lamp control chips; the control unit is connected to the plurality of lamp control chips respectively, and the control unit is configured to implement... Figures 3-5 The method in any of the embodiments described above.

[0114] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0115] In the several embodiments provided in this application, the coupling between modules can be electrical, mechanical, or other forms of coupling.

[0116] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0117] This application also provides a computer-readable storage medium storing computer program instructions that can be invoked by a processor to execute the methods described in the above embodiments.

[0118] Computer-readable storage media can be electronic storage devices such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, computer-readable storage media include non-transitory computer-readable storage media. The computer-readable storage medium has storage space for computer program instructions that perform any of the method steps described above. These computer program instructions can be read from or written to one or more computer program products. The computer program instructions may be compressed in an appropriate form.

[0119] The above are merely preferred embodiments of this application and are not intended to limit this application in any way. Although this application has disclosed preferred embodiments as above, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.

Claims

1. A lighting control method, characterized in that, The method is applied to lighting equipment, which includes multiple LED beads and multiple LED control chips, wherein each LED bead is connected to multiple LED control chips; the method includes: Obtain pin connection information, which includes the connection relationship between the different light-emitting channels of the LED bead and the pins of the lamp control chip; Obtain a lighting setting command and generate corresponding lighting setting information based on the lighting setting command, wherein the lighting setting information includes luminous data; Based on the pin connection information, the lighting setting information is distributed to the corresponding lighting control chip, so that the lighting control chip controls the LED to emit light based on the lighting setting information; The lamp bead includes multiple color channels and color temperature channels. Each color channel is connected to the same number of output pins, and the number of output pins connected to each color channel is greater than or equal to the number of output pins connected to each color temperature channel. The output data of each output pin of the lamp control chip corresponding to each color channel and color temperature channel is written into a preset number of data storage buffers. The preset number is determined based on the number of lamp beads, the number of lamp control chips required to control one lamp bead, and the number of output data channels of one lamp control chip.

2. The method according to claim 1, wherein distributing the lighting setting information to the corresponding lighting control chip based on the pin connection information comprises: Based on the pin connection information, the light-emitting channel connected to each of the lamp control chips and the lamp beads is determined; For any of the aforementioned light control chips, the corresponding light setting information is sent to the light control chip based on the light emission channel connected to the light control chip.

3. The method according to claim 2, characterized in that, The step of obtaining the lighting setting command and generating corresponding lighting setting information based on the lighting setting command includes: Obtain the light setting instruction, and obtain the three-channel data from the light emission data according to the light setting instruction; The three-channel data is converted into four-channel data, which includes multiple color data and color temperature data. The light-emitting channel includes a color channel and a color temperature channel; for any of the light-controlling chips, sending the corresponding lighting setting information to the light-controlling chip based on the light-emitting channel connected to the light-controlling chip includes: For any of the aforementioned light control chips, based on the color channel connected to the light control chip, the corresponding color data is sent to the light control chip, and / or based on the color temperature channel connected to the light control chip, the corresponding color temperature data is sent to the light control chip.

4. The method according to claim 3, characterized in that, Among the multiple light control chips, there is a target light control chip. The number of output pins of the target light control chip connected to the specified color channel is a first number, and the number of output pins of the target light control chip connected to the color temperature channel is a second number. The first number is less than the second number. The method of sending the corresponding color temperature data to the light control chip via the color temperature channel connected to the light control chip includes: Based on the color temperature channel connected to the target lighting control chip, the corresponding color temperature data and specified data are sent to the target lighting control chip. The target lighting control chip is used to distribute the color temperature data to the corresponding color temperature channel through the first number of output pins, and to distribute the specified data to the corresponding color temperature channel through other output pins connected to the color temperature channel.

5. The method according to claim 2, characterized in that, The step of obtaining the lighting setting command and generating corresponding lighting setting information based on the lighting setting command includes: Obtain the light setting instruction, and obtain the color temperature data in the light emission data according to the light setting instruction. The color temperature data includes the cool white value and warm white value of the LED. The light-emitting channel includes a color temperature channel, which includes a cool white channel and a warm white channel. For any given light control chip, based on the light-emitting channel connected to the light control chip, sending the corresponding lighting setting information to the light control chip includes: For any of the aforementioned lighting control chips, the corresponding cool white value is sent to the lighting control chip based on the cool white channel connected to the lighting control chip, and / or the corresponding warm white value is sent to the lighting control chip based on the warm white channel connected to the lighting control chip.

6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: If the number of output pins connected to each of the color channels is not the same, or if the number of output pins connected to any of the color channels is less than the number of output pins connected to the color temperature channel, an error message will be issued.

7. A lighting control device, characterized in that, An application in lighting equipment, the lighting equipment comprising multiple LED beads and multiple LED control chips, wherein each LED bead is connected to multiple LED control chips; the device includes: The first acquisition module is used to acquire pin connection information, which includes the connection relationship between the different light-emitting channels of the lamp bead and the pins of the lamp control chip. The second acquisition module is used to acquire a lighting setting instruction and generate corresponding lighting setting information based on the lighting setting instruction. The lighting setting information includes light emission data. The lighting control module is used to distribute the lighting setting information to the corresponding lighting control chip based on the pin connection information, so that the lighting control chip controls the LED to emit light based on the lighting setting information; The lamp bead includes multiple color channels and color temperature channels. Each color channel is connected to the same number of output pins, and the number of output pins connected to each color channel is greater than or equal to the number of output pins connected to each color temperature channel. The output data of each output pin of the lamp control chip corresponding to each color channel and color temperature channel is written into a preset number of data storage buffers. The preset number is determined based on the number of lamp beads, the number of lamp control chips required to control one lamp bead, and the number of output data channels of one lamp control chip.

8. A lighting device, characterized in that, include: A control unit, multiple lighting control chips, and at least one LED controlled by the multiple lighting control chips; The control unit is connected to the plurality of light control chips respectively, and the control unit is configured to perform the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that can be invoked by a processor to perform the method as described in any one of claims 1-6.