Light control method and device and lighting equipment
By connecting the output pins of the light control chip to the lamp bead channel in parallel, the problem of insufficient current of the light control chip is solved, and cost and workload are saved.
Patent Information
- Application Number
- CN202511219077.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-28
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2045-08-28
AI Technical Summary
In the prior art, when the output current of a single output pin of a light control chip does not meet the working requirements of a lamp bead channel, it needs to be replaced with a light control chip with a larger output current, resulting in increased costs and workload.
By connecting the output pins of multiple light-control chips in parallel to the light-emitting channel of the lamp bead, the number of output pins that need to be connected is determined according to the ratio of the working current of the lamp bead channel and the current of the output pin, avoiding the need to replace the light-control chip with a larger current.
The cost and workload of replacing the light control chip are saved, and the current demand of the lamp bead channel is met without replacing the light control chip.
Smart Images

Figure CN120730593A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of lighting equipment control, and in particular to a lighting control method, device and lighting equipment. Background Art
[0002] A light control chip is used in lighting equipment to control the various channels of the lamp beads. Specifically, the light control chip includes multiple output pins that are connected to the multiple channels of the lamp beads one by one, and outputs data to the corresponding connected channels to control the lamp beads 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 light control chip needs to be replaced with a light control chip with a larger output current of the output pin. Replacing the light control chip brings greater workload and higher cost. Summary of the Invention
[0004] This application proposes a lighting control method, device and lighting equipment.
[0005] In a first aspect, an embodiment of the present application provides a lighting control method, which is applied to a lighting device, wherein the lighting device includes multiple lighting control chips; the method includes: obtaining pin connection information, which includes the connection relationship between different light-emitting channels of lamp beads and the pins of the lighting control chip; obtaining a lighting setting instruction, and generating corresponding lighting setting information according to the lighting setting instruction, wherein the lighting setting information includes lighting data; based on the pin connection information, distributing the lighting setting information to the corresponding lighting control chip, so that the lighting control chip controls the lighting of the lamp beads based on the light setting information.
[0006] In a second aspect, an embodiment of the present application provides a lighting control device, which is applied to a lighting device. The lighting device includes a plurality of lamp beads and a plurality of light control chips, wherein each lamp bead is connected to a plurality of light control chips; the device includes: a first acquisition module for acquiring pin connection information, the pin connection information including the connection relationship between different light-emitting channels of the lamp beads and the pins of the light control chip; a second acquisition module for acquiring a light setting instruction and generating corresponding light setting information according to the light setting instruction, the light setting information including light-emitting data; a light control module for distributing the light setting information to the corresponding light control chip based on the pin connection information, so that the light control chip controls the light emission of the lamp beads based on the light setting information.
[0007] In a third aspect, an embodiment of the present application provides a lighting device, comprising: a control unit, multiple light-control chips, and at least one lamp bead controlled by the multiple light-control chips; the control unit is connected to the multiple light-control chips respectively, and the control unit is configured to execute the method described in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer program instructions are stored. The computer program instructions can be called by a processor to execute the method described in the first aspect.
[0009] Compared with the existing technology, the technical solution provided in the embodiment of the present application is that the lighting device includes multiple light control chips. When the output current of a single output pin of the light control chip does not meet the working requirements 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 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 light control chip in the lighting device with a light control chip with a larger output current of the output pin, which saves the cost and workload of replacing the light control chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0011] Figure 1 It is a structural diagram of the lighting equipment provided by the relevant technology.
[0012] Figure 2 This is a structural block diagram of a lighting device provided by an embodiment of the present application.
[0013] Figure 3 This is a flowchart of a lighting control method provided by an embodiment of the present application.
[0014] Figure 4 This is a flowchart of a lighting control method provided by another embodiment of the present application.
[0015] Figure 5 This is a flowchart of a lighting control method provided by another embodiment of the present application.
[0016] Figure 6 This is a block diagram of a lighting control device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0017] The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.
[0018] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0019] Please refer to Figure 1 , which shows the structure of a lighting device 100 provided by the related art. Lighting device 100 includes a light control chip 110 and a lamp bead 120. Light control chip 110 includes multiple output pins, namely OUTR pin, OUTG pin, OUTB pin, OUTW pin, and OUTY pin. Among them, the OUTR pin is connected to the red channel of the lamp bead 120, the OUTG pin is connected to the green channel of the lamp bead 120, the OUTB pin is connected to the blue channel of the lamp bead 120, the OUTW pin is connected to the warm white channel of the lamp bead 120, and the OUTY pin is connected to the cool white channel of the lamp bead 120.
[0020] In the related art, when the output current of a certain output pin of the light control chip 110 does not meet the working power requirement of the channel to which it is connected, the light control chip 110 needs to be replaced, which increases the workload and cost of reselecting the chip.
[0021] Based on the problems existing in the related technology, the embodiment of the present application designs a new lighting device, which includes multiple light control chips. When the output current of a single output pin of the light control chip does not meet the working requirements 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 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 light control chip in the lighting device with a light control chip with a larger output current of the output pin, which saves the cost and workload of replacing the light control chip.
[0022] Please refer to Figure 2 , which shows a block diagram of the structure of a lighting device 200 provided in one embodiment of the present application. The lighting device 200 can be a strip, a bar light, a lamp post, a flat light, etc. The lighting device 200 includes a control unit 210, a plurality of light control chips 220, and lamp beads 230.
[0023] The number of lamp beads 230 is set according to actual needs. In the embodiment of the present application, only one lamp bead 230 is used as an example for description. Each lamp bead 230 may include three channels, four channels, five channels, and so on. For example, the lamp bead 230 may include a red channel, a blue channel, and a green channel. For another example, the lamp bead 230 may include any one of a red channel, a blue channel, a green channel, a cool white channel, and a warm white channel. For another example, the lamp bead 230 may include a red channel, a blue channel, a green channel, a cool white channel, and a warm white channel. In the embodiment of the present application, only the lamp bead 230 including a red channel, a blue channel, a green channel, a cool white channel, and a warm white channel is used as an example for description.
[0024] The number of the light control chips 220 is determined according to the number of the lamp beads 230, the operating current of each channel of the lamp beads 230, the current of an output pin of the light control chip 220, etc. Figure 2 In the embodiment, when the number of the lamp bead 230 is one, the lighting device 200 includes three light control chips 220 .
[0025] Each of the plurality of light control chips 220 includes a plurality of output pins (OUTn), a power input pin (VIN pin), a ground pin (DIN pin), and a data output ready pin (DOUT pin). The output pin is used to provide output data to a channel of the lamp bead 230. Figure 2 In this embodiment, each light control chip 220 includes five output pins. A power input pin is used to connect to a power supply to obtain an operating voltage. A ground pin is grounded. An output data ready pin is used to output a data output ready signal.
[0026] In the embodiment of the present application, the light control chip 220 can be connected to a 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 demand of the color channel to which they are connected. like Figure 2 As shown, the OUT1 and OUT2 pins of the light control chip A1 are connected to the red channel of the lamp bead 230, and the OUT5 and OUT6 pins of the light control chip A1 are connected to the warm white channel of the lamp bead 230; the OUT1 and OUT2 pins of the light control chip A2 are connected to the green channel of the lamp bead 230; the OUT1 and OUT2 pins of the light control chip A3 are connected to the blue channel of the lamp bead 230, and the OUT5 and OUT6 pins of the light control chip A3 are connected to the cool white channel of the lamp bead 230.
[0027] The control unit 210 is connected to the plurality of light control chips 220 to control the connection relationship and output data of the output pins of the light control chips 220. The control unit 210 can be a SOC (System on Chip), a CPU (central processing unit), an MPU (Microcontroller Unit), etc., and can be configured according to actual needs, which is not limited in this application.
[0028] Please refer to Figure 3 , which shows a flow chart of a lighting control method provided by an embodiment of the present application. Figure 2 The control unit 210 in the embodiment. The method includes the following process.
[0029] S301: Obtain pin connection information.
[0030] The pin connection information includes the connection relationship between the different light-emitting channels of the lamp beads and the pins of the light control chip.
[0031] Lamp beads typically include multiple channels. In one embodiment, the lamp beads include three color channels: red, green, and blue. In another embodiment, the lamp beads include two color temperature channels: cool white and warm white. In another embodiment, the lamp beads include three color channels: red, green, and blue, as well as one or at least two of cool white or warm white. A lighting channel refers to the channel that has data input during the current lighting process of the lamp bead.
[0032] In an embodiment of the present application, when the output current of a single output pin of the light 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 light emission of the lamp beads, it is necessary to first determine the number of output pins that need to be connected to each light-emitting channel.
[0033] Optionally, for each light-emitting channel, the ratio between the operating current of the light-emitting channel and the maximum output current of the output pin can be obtained, and the number of output pins required to be connected to the light-emitting channel can be determined based on the ratio. If the ratio is an integer, the number of output pins required to be connected to the light-emitting channel is the ratio; if the ratio is not an integer, the number of output pins required to be connected to the light-emitting channel is the ratio rounded up.
[0034] For example, if the operating current of the target channel 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 the three output pins of the light control chip. For another example, if the operating current of the lamp is 1.5A and the maximum output current of the output pin is 1A, the ratio between the two is 1.5, and the value of 1.5 rounded up is 2. In other words, at least one channel of the lamp needs to be connected to two output pins of the light control chip.
[0035] It should be noted that the number of output pins connected to each color channel 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 required to connect to a single color temperature channel. In some embodiments, if the number of output pins connected to each color channel differs, 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 is issued to indicate a connection error. This error message can be sent by the control unit to an information notification module (e.g., a voice module) within the lighting device itself, or it can be sent by the control unit to the lighting control device, which then issues the notification.
[0036] S302: Acquire a lighting setting instruction, and generate corresponding lighting setting information according to the lighting setting instruction.
[0037] Lighting setting information includes luminous data. This luminous 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 of light, measured in Kelvin.
[0038] In some embodiments, the control unit receives a light setting instruction from a light control device, wherein the light control device is an electronic device, such as a terminal, a smart switch, or a smart remote controller, that has a wireless communication connection with the control unit. The wireless communication connection may be a Bluetooth connection, a local area network connection, or the like.
[0039] Taking the lighting control device as an example, the terminal is installed with a lighting control application. The user interface of the lighting control application provides at least one first setting control. After obtaining the trigger signal corresponding to the first target control in the at least one first setting control, the lighting control application generates a lighting setting instruction carrying luminous data, and then sends the above-mentioned lighting setting instruction to the control unit through the terminal. The control unit reads the luminous data in the lighting setting instruction and generates corresponding lighting setting information.
[0040] S303: Distribute the light setting information to the corresponding light control chip based on the pin connection information, so that the light control chip controls the light bead to emit light based on the light setting information.
[0041] The control unit distributes the lighting data of the lighting channel connected to the pin of each light control chip in the lighting setting information to the light control chip. The light control chip then distributes the lighting data to the corresponding lighting channel through its own pins, so that the lighting data acts on the lamp beads, thereby displaying the corresponding lighting effect and controlling the lighting of the lamp beads.
[0042] In some embodiments, the control unit determines the light-emitting channel connected to each light-control chip and the lamp bead based on the pin connection information; for any light-control chip, the corresponding light setting information is sent to the light-control chip based on the light-emitting channel connected to the light-control chip.
[0043] In summary, the technical solution provided in the embodiment of the present application is that the lighting device includes multiple light control chips. When the output current of a single output pin of the light control chip does not meet the working requirements 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 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 light control chip in the lighting device with a light control chip with a larger output current of the output pin, which saves the cost and workload of replacing the light control chip.
[0044] Please refer to Figure 4 , which shows a flow chart of a lamp control method according to an embodiment of the present application. Figure 3 In the optional embodiment provided in the embodiment, S302 is replaced by S402-S403, and the method includes the following process.
[0045] S401: Obtain pin connection information.
[0046] The pin connection information includes the connection relationship between the different light-emitting channels of the lamp beads and the pins of the light control chip.
[0047] S402: Obtain a light setting instruction, and obtain three-channel data in the luminous data according to the light setting instruction.
[0048] The three-channel data is usually luminescence data of three color channels, where the color channels include any one of a red channel, a green channel, and a blue channel.
[0049] The control unit converts the three-channel data in the light data into a specified data format suitable for the light control chip, and then sets the output data of the output pin connected to the specified color channel of the light control chip to the light-emitting data in the above-mentioned specified data format. When the other output pins in the light control chip are not connected to other channels, their output data are set to the first specified value, such as FORMAT_NULL. When the other output pins in the light control chip are connected to any color temperature channel, their output data are set to the second specified value, such as 0.
[0050] Optionally, the control unit applies for a preset number of units of data storage buffer in the memory, and then fills the output data of each output pin of the light control chip corresponding to each specified color channel into the above data storage buffer so that the light control chip can read it later. The preset number is determined according to the number of lamp beads, the number of light control chips required to control one lamp bead, and the number of output data paths of a light control chip. Specifically, the preset number is the product of the number of lamp beads, the number of light control chips required to control one lamp bead, and the number of output pins included in a light control chip. Figure 2 For example, the lamp includes one lamp bead, and three lamp control chips are needed to control the lamp bead. Each lamp control chip has five channels of output data, so the control unit needs to apply for (1*3*5)=15 units of data storage buffer.
[0051] In one example, after the control unit executes S402, the data in the data storage buffer is as follows: int ic_format[] = {{FORMAT_G, FORMAT_G, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL}, {FORMAT_R, FORMAT_R, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,}, {FORMAT_B, FORMAT_B, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL}}.
[0052] 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 light 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 lamp bead, and the other pins are left unconnected and filled with the first specified value FORMAT_NULL.
[0053] S403, converting the three-channel data into four-channel data.
[0054] 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 cool white or warm white to the red / green / blue colors can improve brightness and increase color accuracy.
[0055] The control unit converts the three-channel data into four-channel data by the following technical solution: obtaining the maximum and minimum values of the specified color values of multiple specified color channels, calculating the corresponding saturation, and pre-setting the brightness ratio that matches it according to the saturation to control the mixing ratio of pure color and white. The brightness ratio range is 0 to 1, for example, the brightness ratio is 0.9. In addition, the control unit matches the corresponding weights to the specified color values of each specified color channel, and the sum of each weight is 1, so that the color values of each specified color channel are reasonably smoothed, so that the displayed pure color visual effect is better. The above-mentioned weights can be set according to experiments or experience. For example, the weight corresponding to the red channel is 0.243, the weight corresponding to the green channel is 0.726, and the weight corresponding to the blue channel is 0.031. Finally, the control unit calculates the cool white value or warm white value in the four-channel data based on the saturation and its matching brightness ratio, as well as the color values of each specified color channel and the 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 calculation formula: F = ((1 S) * d + (1 d)) * (aR + bG + cB). Wherein, 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, and B correspond to the color values of the three specified color channels R, G, and B, a, b, and c correspond to the weights corresponding to the color values of the three specified color channels R, G, and B, respectively, and a+b+c=1.
[0056] The control unit can also convert the color data from three-channel data to four-channel data based on other technical solutions, which is not limited in this embodiment of the present application.
[0057] Optionally, the control unit also needs to convert the color temperature data in the four-channel data into a specified data format suitable for the light control chip, and then write the color temperature data in the specified data format into the data buffer corresponding to the connected light control chip. Specifically, the control unit replaces the second specified value in the data buffer of the corresponding light control chip with the color temperature data, while keeping other data unchanged.
[0058] In one example, after the control unit executes S403, the data in the data buffer obtained is as follows: int ic_format[] = {{FORMAT_G, FORMAT_G, FORMAT_NULL, FORMAT_WW, FORMAT_WW}, {FORMAT_R, FORMAT_R, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,}, {FORMAT_B, FORMAT_B, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL}}.
[0059] That is, Figure 2 The OUT4 and OUT5 pins of the light control chip 1 are connected in parallel to the warm white channel of the lamp bead.
[0060] In one example, after the control unit executes S403, the data in the data buffer obtained is as follows: int ic_format[] = {{FORMAT_G, FORMAT_G, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL}, {FORMAT_R, FORMAT_R, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,}, {FORMAT_B, FORMAT_B, FORMAT_NULL, FORMAT_CW, FORMAT_CW}}.
[0061] That is, Figure 2 The OUT4 and OUT5 pins of the light control chip 3 are connected in parallel to the cool white channel of the lamp bead. The light control chip 3 is also the second light control chip.
[0062] S404: Determine the light-emitting channel in which each light-control chip is connected to the lamp bead based on the pin connection information.
[0063] S405, for any light control chip, based on the color channel connected to the light control chip, the corresponding color data is sent to the light control chip, or / and based on the color temperature channel connected to the light control chip, the corresponding color temperature data is sent to the light control chip.
[0064] In the embodiment of the present application, the light emitting channel includes a color channel and a color temperature channel.
[0065] The control unit transmits at least one of the color temperature data of the color temperature channel connected to the light control chip and the color data of the color channel connected to the light control chip to the light control chip. If the light 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 takes effect on the lamp beads. If the light control chip is connected to a color channel, the control unit distributes the color data to the color channel so that the color data takes effect on the lamp beads.
[0066] In some embodiments, there is a target light control chip among multiple light control chips, the number of output pins of the target light control chip connected to the specified color channel is a first number, the number of output pins of the target light control chip connected to the color temperature channel is a second number, and the first number is less than the second number; at this time, S405 is implemented as: based on the color temperature channel connected to the target light control chip, the corresponding color temperature data and the specified data are sent to the target light control chip, and the target light 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.
[0067] The designated data is set as required, for example, 0. For example, when the number of output pins to be connected to the color channel is 2, and the number of output pins connected to the color temperature channel is 3, the output data of the two 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 output pin connected to the color temperature channel is set to the designated value, for example, 0.
[0068] To sum up, the technical solution provided in the embodiment of the present application, when the lighting setting information includes color data, in addition to setting the output data of the output pin connected to the specified color channel, 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 lamp bead is more accurate.
[0069] Please refer to Figure 5 , which shows a flow chart of a lighting control method according to an embodiment of the present application. Figure 3 In the optional embodiment provided in the embodiment, S302 is replaced by S502, and the method includes the following process.
[0070] S501: Obtain pin connection information.
[0071] The pin connection information includes the connection relationship between the different light-emitting channels of the lamp beads and the pins of the light control chip.
[0072] S502: Obtain a lighting setting instruction, and obtain color temperature data in the luminous data according to the lighting setting instruction.
[0073] The color temperature data includes the cool white value and warm white value of the lamp beads.
[0074] Optionally, the control unit maps the color temperature data into two values between 0 and 255, which are the cool white value and warm white value of the lamp bead. The mapping algorithm can be linear or nonlinear, which is not limited in this embodiment of the application.
[0075] Afterwards, the control unit converts the cold white value and warm white value in the light data into a specified data format suitable for the light control chip, and then sets the output data of the output pin connected to the cold white channel of the light control chip to the cold white value of the above specified data format, and the output data of the output pin connected to the warm white channel of the light control chip is set to the warm white value of the above specified data format. When the other output pins in the light control chip are not connected to other channels, their output data are set to the first specified value, such as FORMAT_NULL. When the other output pins in the light control chip are connected to any color channel, their output data are set to the second specified value, such as 0.
[0076] In one example, after the control unit executes S502, the data in the data storage buffer is as follows: int ic_format[] = {{ FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL}, { FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,}, { FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_CW, FORMAT_CW}}.
[0077] In another example, after the control unit executes S502, the data in the data buffer obtained is: int ic_format[] = {{ FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_WW, FORMAT_WW}, { FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_NULL,}, { FORMAT_NULL, FORMAT_NULL, FORMAT_NULL, FORMAT_CW, FORMAT_CW}}.
[0078] S503: Determine the light-emitting channel in which each light-control chip is connected to the lamp bead based on the pin connection information.
[0079] S504, for any light control chip, based on the cool white channel connected to the light control chip, the corresponding cool white value is sent to the light control chip, or / and based on the warm white channel connected to the light control chip, the corresponding warm white value is sent to the light control chip.
[0080] In an embodiment of the present application, the light emitting 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.
[0081] To summarize, the technical solution provided in the embodiment of the present application converts the color temperature data into warm white value and cool white value when the lighting setting information includes color temperature data, and then sets the output data of the output pin connected to the cool white color temperature channel to the above cool white value, and the output data of the output pin connected to the warm white color temperature channel to the above warm white value, so that the color of the light emitted by the lamp bead is more accurate.
[0082] Please refer to Figure 6 , which shows a block diagram of a light control device provided by one embodiment of the present application. The light control device is applied to a lighting device comprising multiple lamp beads and multiple light control chips, wherein each lamp bead is connected to multiple light control chips. The device includes: a first acquisition module 610, a second acquisition module 620, and a light control module 630.
[0083] 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 beads and the pins of the light control chip.
[0084] The second acquisition module 620 is configured to acquire a light setting instruction and generate corresponding light setting information according to the light setting instruction. The light setting information includes luminous data.
[0085] The light control module 630 is used to distribute the light setting information to the corresponding light control chip based on the pin connection information, so that the light control chip controls the light emission of the lamp beads based on the light setting information.
[0086] In some embodiments, the lighting control module 630 is used to determine the light-emitting channel connected to each light-control chip and the lamp bead based on the pin connection information; for any light-control chip, the corresponding light setting information is sent to the light-control chip based on the light-emitting channel connected to the light-control chip.
[0087] In some embodiments, the second acquisition module 620 is configured to acquire a lighting setting instruction and, based on the lighting setting instruction, acquire three-channel data from the luminous data; convert the three-channel data into four-channel data, where the four-channel data includes multiple color data and color temperature data. A luminous channel includes a color channel and a color temperature channel; and the lighting control module 630 is configured 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.
[0088] In some embodiments, there is a target light control chip among multiple light control chips, the number of output pins of the target light control chip connected to the specified color channel is a first number, the number of output pins of the target light control chip connected to the color temperature channel is a second number, and the first number is smaller than the second number; the lighting control module 630 is used to send the corresponding color temperature data and the specified data to the target light control chip based on the color temperature channel connected to the target light control chip, and the target light 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.
[0089] In some embodiments, the second acquisition module 620 is used to obtain light setting instructions, and obtain color temperature data in the luminous data according to the light setting instructions, the color temperature data including the cool white value and warm white value of the lamp bead; the luminous channel includes a color temperature channel, and the color temperature channel includes a cool white channel and a warm white channel. The light control module 630 is used to send the corresponding cool white value to the light control chip based on the cool white channel connected to the light control chip, or / and send the corresponding warm white value to the light control chip based on the warm white channel connected to the light control chip for any light control chip.
[0090] In some embodiments, the device further includes a reminder module (not shown in the figure) configured to issue an error reminder message if the number of output pins connected to the various color channels is different, 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.
[0091] To sum up, the technical solution provided in the embodiment of the present application is that the lighting device includes multiple light control chips. When the output current of a single output pin of the light control chip does not meet the working requirements 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 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 light control chip in the lighting device with a light control chip with a larger output current of the output pin, which saves the cost and workload of reselecting the light control chip.
[0092] The embodiment of the present application also provides a lighting device, which includes a control unit, a plurality of light control chips, and at least one lamp bead controlled by the plurality of light control chips; the control unit is connected to the plurality of light control chips respectively, and the control unit is configured to implement Figure 3-Figure 5 The method of any one of the embodiments.
[0093] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0094] In several embodiments provided in this application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0095] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.
[0096] An embodiment of the present application further provides a computer-readable storage medium, which stores computer program instructions. The computer program instructions can be called by a processor to execute the method described in the above embodiment.
[0097] The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for computer program instructions for executing 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 a suitable form.
[0098] The above is only a preferred embodiment of the present application and does not constitute any form of limitation to the present application. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any person skilled in the art can make some changes or modifications to equivalent embodiments using the technical contents disclosed above without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. A lighting control method, characterized in that: Applied to a lighting device, the lighting device includes multiple lamp beads and multiple light control chips, wherein each lamp bead is connected to multiple light control chips; the method includes: Obtaining pin connection information, wherein the pin connection information includes connection relationships between different light-emitting channels of the lamp beads and pins of the light control chip; Obtaining a lighting setting instruction, and generating corresponding lighting setting information according to the lighting setting instruction, wherein the lighting setting information includes luminous data; Based on the pin connection information, the light setting information is distributed to the corresponding light control chip, so that the light control chip controls the light emission of the lamp beads based on the light setting information.
2. The method according to claim 1, wherein distributing the light setting information to the corresponding light control chip based on the pin connection information comprises: Based on the pin connection information, determining a light emitting channel for connecting each light control chip to the lamp bead; For any of the light control chips, the corresponding light setting information is sent to the light control chip based on the light emitting channel to which the light control chip is connected.
3. The method according to claim 2, characterized in that The step of obtaining a light setting instruction and generating corresponding light setting information according to the light setting instruction includes: Obtaining the light setting instruction, and obtaining three-channel data in the luminous data according to the light setting instruction; Converting the three-channel data into four-channel data, wherein the four-channel data includes a plurality of color data and color temperature data; The light-emitting channel includes a color channel and a color temperature channel; for any of the light-control chips, sending the corresponding light setting information to the light-control chip based on the light-control channel connected to the light-control chip includes: For any of the light control chips, the corresponding color data is sent to the light control chip based on the color channel connected to the light control chip, or / and the corresponding color temperature data is sent to the light control chip based on the color temperature channel connected to the light control chip.
4. The method according to claim 3, characterized in that There is a target light control chip among the plurality of light control chips, the number of output pins of the target light control chip connected to the designated color channel is a first number, the number of output pins of the target light control chip connected to the color temperature channel is a second number, and the first number is smaller than the second number; The step of sending the corresponding color temperature data to the light control chip based on the color temperature channel connected to the light control chip includes: Based on the color temperature channel connected to the target light control chip, the corresponding color temperature data and the specified data are sent to the target light control chip, and the target light 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 a light setting instruction and generating corresponding light setting information according to the light setting instruction includes: Obtain the light setting instruction, and obtain color temperature data in the luminous data according to the light setting instruction, wherein the color temperature data includes a cool white value and a warm white value of the lamp bead; The light emitting channel includes a color temperature channel, and the color temperature channel includes a cool white channel and a warm white channel. For any of the light control chips, based on the light emitting channel connected to the light control chip, the corresponding light setting information is sent to the light control chip, including: For any of the light control chips, the corresponding cool white value is sent to the light control chip based on the cool white channel connected to the light control chip, or / and the corresponding warm white value is sent to the light control chip based on the warm white channel connected to the light control chip.
6. The method according to any one of claims 1 to 5, characterized in that The lamp beads include multiple color channels and color temperature channels, and the method further includes: If the numbers of output pins connected to the various color channels are different, or the number of output pins connected to any color channel is less than the number of output pins connected to the color temperature channel, an error reminder message is issued.
7. A lighting control device, characterized in that: Applicable to a lighting device, the lighting device includes multiple lamp beads and multiple light control chips, wherein each lamp bead is connected to multiple light control chips; the device includes: A first acquisition module is configured to acquire pin connection information, wherein the pin connection information includes a connection relationship between different light-emitting channels of the lamp beads and the pins of the light control chip; a second acquisition module, configured to acquire a light setting instruction and generate corresponding light setting information according to the light setting instruction, wherein the light setting information includes luminous 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 lamp beads to emit light based on the lighting setting information.
8. A lighting device, characterized in that: include: A control unit, a plurality of light control chips, and at least one lamp bead controlled by the plurality of light control chips; The control unit is connected to the plurality of light control chips respectively, and the control unit is configured to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program instructions, which can be called by a processor to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Single-chip double-atmosphere lamp control method, chip, circuit and electronic equipment
CN118748858A
Self-balancing LED lamp driving integrated light source
CN211297078U
Constant current driving chip and LED driving circuit with multiple chips connected in parallel
CN212851115U
LED light emitting element and LED light emitting device
JP2011258606A
Lamp Control Device, Controllable Color Temperature Lamp and Data Transmission Method
US20230171860A1