CN114466477A - Constant-current dimming method of multichannel light source, computer device and computer readable storage medium - Google Patents

Constant-current dimming method of multichannel light source, computer device and computer readable storage medium Download PDF

Info

Publication number
CN114466477A
CN114466477A CN202111674938.8A CN202111674938A CN114466477A CN 114466477 A CN114466477 A CN 114466477A CN 202111674938 A CN202111674938 A CN 202111674938A CN 114466477 A CN114466477 A CN 114466477A
Authority
CN
China
Prior art keywords
channel
brightness
value
light source
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111674938.8A
Other languages
Chinese (zh)
Inventor
吴龙
吴忠仁
陈庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Ltech Technology Co ltd
Original Assignee
Zhuhai Ltech Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Ltech Technology Co ltd filed Critical Zhuhai Ltech Technology Co ltd
Priority to CN202111674938.8A priority Critical patent/CN114466477A/en
Publication of CN114466477A publication Critical patent/CN114466477A/en
Priority to PCT/CN2022/137129 priority patent/WO2023124850A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/345Current stabilisation; Maintaining constant current
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]

Abstract

The invention provides a constant-current dimming method of a multi-channel light source, a computer device and a computer readable storage medium, wherein the method comprises the steps of sampling a brightness relative value of the light source of each channel at the minimum brightness for multiple times, and calculating a brightness reference value of each channel by applying a plurality of brightness relative values aiming at each channel; judging whether the light source of each channel meets a preset brightness requirement or not according to the brightness reference value of each channel, if not, removing the brightness reference value of the channel, calculating a brightness reference value by using the brightness reference value of the channel meeting the preset brightness requirement, and calculating the adjustment offset of each channel according to the brightness reference value; and when the light sources of the channels are subjected to light adjustment, the adjustment offset of each channel is obtained, and the actual adjustment quantity of each channel is calculated according to the adjustment offset. The invention also provides a computer device and a computer readable storage medium for realizing the method. The invention can ensure the consistency of dimming of a plurality of channels of the intelligent lamp.

Description

Constant-current dimming method of multichannel light source, computer device and computer readable storage medium
Technical Field
The invention relates to the field of control of intelligent lamps, in particular to a constant-current dimming method of a multi-channel light source, a computer device for realizing the method and a computer readable storage medium.
Background
At present, most of intelligent lamps use an LED chip as a light source, and the brightness of the intelligent lamps is usually adjusted by constant current dimming. For example, a constant current chip is used to supply power to an LED chip, a pulse modulation signal is output to the constant current chip by a microcontroller, and a current output from the constant current chip is modulated by changing the pulse modulation signal, thereby changing an equivalent current flowing through the LED chip. Because the voltage of the input end of the intelligent lamp can be fixed, the power of the LED chip is adjusted by changing the equivalent current flowing through the LED chip, and the brightness of the LED chip is further changed.
At present, most of constant current dimming modes are single-channel modes, and one channel usually comprises an LED chip with one color or one color temperature, so that the color or the color temperature of a single-channel intelligent lamp cannot be adjusted. With the development of intelligent lamp technology, people put forward new requirements on the color and color temperature of lamps, for example, not only simple brightness adjustment needs to be satisfied, but also an environment that natural light (sunlight) can be enjoyed at any time is desired, and for a single-channel intelligent lamp, the requirement cannot be realized.
For this reason, some existing intelligent lamps are multi-channel intelligent lamps, each channel corresponds to a group of LED chips, the group of LED chips have the same color or color temperature, and the color or color temperature of the LED chips of different channels may be different. The color mixing is realized by changing the brightness of the LED chips of different channels, the color or the color temperature of the intelligent lamp can be adjusted, and the dimming requirements under different scenes are met.
However, the multi-channel intelligent lamp has a dimming consistency problem, specifically, if a user wants the color temperature of the lamp to remain unchanged, but the brightness needs to be increased or decreased, the power of the LED chips of the multiple channels is adjusted less than an equal proportion or synchronously, and if the brightness adjustment of the multiple channels is not asynchronous, the color or the color temperature of the lamp will be changed, which affects the use of the user.
In the constant-current dimming mode, the brightness of each channel is adjusted by changing the duty ratio of the pulse modulation signal, for example, the pulse modulation signal is output to a switching device, and the switching device may be a field effect transistor or a thyristor. However, the switching device has a certain requirement for conducting current, and if the duty ratio of the pulse modulation signal is too low, the current output by the constant current chip may only meet the working requirement of the switching device, but the LED chip cannot emit light, so that the dimming effect of the intelligent lamp is affected.
In addition, the loads of the corresponding LED chips of the intelligent lamps of different models are the same, and the input voltages are also different, so that a set of simple and effective dimming method needs to be provided to solve the problem of inconsistent dimming of multiple channels for the intelligent lamps of different models.
Disclosure of Invention
The invention aims to provide a constant-current dimming method of a multichannel light source, which can ensure the dimming consistency of LED chips of a plurality of channels.
The second objective of the present invention is to provide a computer device for implementing the above-mentioned constant current dimming method for multi-channel light source.
A third object of the present invention is to provide a computer readable storage medium for implementing the above-mentioned constant current dimming method for a multi-channel light source.
In order to achieve the first object of the present invention, the method for constant current dimming of a multi-channel light source provided by the present invention comprises sampling a relative brightness value of the light source of each channel at the minimum brightness for multiple times, and calculating a brightness reference value of each channel by using the relative brightness values for each channel; judging whether the light source of each channel meets a preset brightness requirement or not according to the brightness reference value of each channel, if not, removing the brightness reference value of the channel, calculating a brightness reference value by using the brightness reference value of the channel meeting the preset brightness requirement, and calculating the adjustment offset of each channel according to the brightness reference value; and when the light sources of the channels are subjected to light adjustment, the adjustment offset of each channel is obtained, and the actual adjustment quantity of each channel is calculated according to the adjustment offset.
According to the scheme, the corresponding adjustment offset is calculated in advance when the light source of each channel has the minimum brightness, and in the subsequent dimming process, the light source of the corresponding channel is compensated by using the adjustment offset corresponding to each channel, namely the actual adjustment quantity of each channel is calculated according to the adjustment offset, so that the brightness of the light source of each channel is basically kept consistent. Therefore, the brightness of each channel is adjusted very simply, the calculated amount is small, and the dimming efficiency can be improved.
Preferably, the calculating of the luminance reference value using the plurality of luminance relative values includes: an arithmetic average of the plurality of luminance relative values is calculated, and the arithmetic average is used as a luminance reference value.
Therefore, the simple arithmetic mean value is used as the brightness reference value, the calculation amount of the brightness reference value can be reduced, and the calculation efficiency can be improved.
Optionally, the calculating the luminance reference value by applying the plurality of luminance relative values includes: after the maximum value of the preset number and the minimum value of the preset number in the plurality of brightness relative values are removed, the arithmetic mean value of the remaining plurality of brightness relative values is calculated, and the arithmetic mean value is used as the brightness reference value.
It can be seen that the accuracy of the calculated luminance reference value can be improved by removing the maximum value and the minimum value from the plurality of luminance relative values.
Further, the determining whether the light source of at least one channel meets the preset brightness requirement includes: and judging whether the light sources of all the channels do not meet the preset brightness requirement, if so, improving the minimum brightness of the light sources, and sampling the brightness relative value of the light sources of each channel at the updated minimum brightness again.
Therefore, if the light sources of all the channels do not emit light under a certain brightness reference value, the set minimum brightness is too small, and therefore, the situation that the calculated brightness reference value is inaccurate can be avoided by increasing the minimum brightness of all the channels and then acquiring the brightness relative value again.
In a further scheme, the light sources of the channels have more than two load values; respectively calculating the adjustment offset under a plurality of load values for each channel, and drawing a load compensation curve by applying the load values and the corresponding adjustment offsets; calculating the actual adjustment amount of each channel according to the adjustment offset amount comprises: and searching the corresponding adjustment offset in the load compensation curve according to the load value of the current channel, and calculating the actual adjustment quantity of each channel according to the obtained adjustment offset.
Therefore, for light sources with different load values, load compensation curves under different load values can be drawn in advance, in the actual dimming process, the corresponding adjustment offset is found out from the load compensation curves according to the actual load condition of each channel, the actual adjustment quantity of each channel is calculated according to the adjustment offset, and the adjustment offset under different load values can be conveniently obtained.
In a further scheme, the light sources of the channels have more than two input voltage values; calculating the actual adjustment amount of each channel according to the adjustment offset amount comprises: and searching a section of target load compensation curve matched with the input voltage in the corresponding load compensation curve according to the input voltage value and the load value of the current channel, searching the corresponding adjustment offset in the target load compensation curve, and calculating the actual adjustment quantity of each channel according to the obtained adjustment offset.
Therefore, under the condition that the pair of intelligent lamps have different input voltages, a section of target load compensation curve matched with the input voltage value is obtained from the load compensation curve, and then the corresponding adjustment offset is searched, so that the application under different input voltage scenes can be met.
In a further aspect, the load value is a product of an output voltage and an output current of the light source; searching a section of target load compensation curve matched with the input voltage in the corresponding load compensation curve according to the input voltage value and the load value of the current channel comprises the following steps: and determining corresponding output voltage according to the input voltage value, and searching a target load compensation curve matched with the load value according to the output voltage.
Therefore, according to the relation between the input voltage and the output voltage and the relation between the output voltage and the load value, a section of target load compensation curve can be rapidly obtained from the load compensation curve, and the efficiency of obtaining the adjustment offset is improved.
In a further aspect, the load compensation curve has more than two reference points, each reference point corresponding to an output voltage; if the input voltage is between the two target reference points, the larger value of the corresponding output voltage in the two target reference points is used for obtaining the adjustment offset.
It can be seen that, for a plurality of different input voltages, a larger one can be obtained between two adjacent reference points as a larger value of the output voltage to obtain the adjustment offset, so that the calculation of the adjustment offset is more accurate.
In order to achieve the second object, the present invention provides a computer device including a processor and a memory, wherein the memory stores a computer program, and the computer program is executed by the processor to implement the steps of the constant current dimming method for a multi-channel light source.
To achieve the third objective, the present invention provides a computer readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the constant current dimming method for a multi-channel light source.
Drawings
Fig. 1 is a flowchart of a first embodiment of a constant current dimming method of a multi-channel light source according to the present invention.
Fig. 2 is a flowchart of a constant current dimming method of a multi-channel light source according to a second embodiment of the present invention.
Fig. 3 is a schematic diagram of a load compensation curve of a second embodiment of the constant current dimming method of the multi-channel light source of the present invention.
Fig. 4 is a flowchart of a constant current dimming method of a multi-channel light source according to a third embodiment of the present invention.
The invention is further explained with reference to the drawings and the embodiments.
Detailed Description
The constant-current dimming method of the multi-channel light source is applied to an intelligent lamp with a plurality of channels and used for synchronously adjusting the brightness of the channels so as to meet the requirement of dimming consistency. Preferably, a controller and a memory are arranged in the intelligent lamp, the memory stores a computer program, and the computer program can realize each step of the constant current dimming method of the multi-channel light source when being executed by the controller.
The first embodiment of the constant-current dimming method of the multi-channel light source comprises the following steps:
the present embodiment is directed to a case where the input voltage of each channel is fixed, and the load value of each channel is also fixed. Referring to fig. 1, the present embodiment first performs step S1, setting the brightness of the light source to a minimum value for each channel. For example, the light source of the present embodiment is an LED chip, and therefore it is necessary to set the light emission luminance of the LED chip to the minimum value, and then collect the luminance relative value at the time when the luminance is minimum multiple times. Because the input voltage of each channel is fixed, the constant current source is adopted for dimming in the embodiment, the output current of the constant current source is constant, the microcontroller modulates the output current by outputting the pulse modulation signal, and the effective current flowing through the LED chip can be changed by changing the size of the pulse modulation signal, so that the luminous brightness of the LED chip is changed. Therefore, the duty ratio of the pulse modulation signal is in direct proportion to the effective current flowing through the LED chip, and the power of the LED chip can also be represented, and the power of the LED chip determines the luminous brightness of the LED chip, so that the duty ratio of the pulse modulation signal can be used for representing the relative value.
After the relative brightness value of one channel is acquired for a plurality of times, step S2 is executed to calculate the brightness reference value of the channel. In this embodiment, the luminance relative values obtained by multiple times of acquisition of the same channel are subjected to arithmetic mean calculation, and the obtained arithmetic mean is used as the luminance reference value of the channel. Of course, in order to improve the accuracy of the calculated luminance reference value, the arithmetic mean of the remaining luminance relative values may be calculated after the maximum value and the minimum value of the luminance relative values are removed. And, the removed maximum value may be 2 with the largest value, and the removed minimum value may be 2 with the smallest value. For example, 8 relative luminance values are obtained, and after 2 maximum values and 2 minimum values are removed, an arithmetic average of the remaining 4 relative luminance values is calculated, and the arithmetic average is used as a luminance reference value.
If the intelligent luminaire has four channels, the step S2 needs to calculate the brightness reference values corresponding to the four channels respectively. Then, step S3 is executed to determine whether the light source brightness of all channels does not meet the requirement of preset brightness under the currently calculated brightness reference value. Specifically, since the LED chip of each channel has a requirement for the starting power, under the condition that the input voltage is fixed, the starting power is related to the current flowing through the LED chip of the channel, that is, related to the duty ratio of the pulse modulation signal, if the duty ratio of the pulse modulation signal is too low, the requirement for the starting power cannot be met, and the LED chip of the channel does not emit light. Therefore, the minimum power value of each channel can be measured in advance, and the duty ratio of the minimum pulse modulation signal emitted by the LED chip of the channel can be calculated, wherein the duty ratio is a value corresponding to the requirement of meeting the preset brightness.
In step S3, for each channel, it is determined whether the luminance reference value calculated by the channel is smaller than a value corresponding to a preset luminance requirement, for example, whether a duty ratio corresponding to the reference luminance value of the channel is smaller than a value of a duty ratio meeting the preset luminance requirement. If all the channels do not satisfy the preset brightness requirement, it indicates that the currently set minimum brightness does not satisfy the lighting requirement, and therefore, the step S4 is executed, the minimum brightness of all the channels needs to be increased, and the process returns to the step S1, the relative brightness value of each channel is re-sampled under the condition of the increased minimum brightness, and the corresponding brightness reference value is calculated.
If the judgment result of the step S3 is no, which indicates that at least one channel emits light at the current minimum brightness, the step S5 is executed to determine the channel satisfying the preset brightness requirement. If only a part of the channels meet the preset brightness requirement, step S5 needs to select the channel meeting the preset brightness requirement, that is, determine the channel having the brightness reference value greater than the corresponding value meeting the preset brightness requirement, and simultaneously remove the brightness reference value of the channel not meeting the preset brightness requirement.
Next, step S6 is executed, and based on the channels meeting the preset brightness requirement, the brightness reference values of the channels are used to calculate the brightness reference value of the multi-channel intelligent luminaire. Specifically, the luminance reference values of the respective channels that satisfy the preset luminance requirement are subjected to arithmetic mean calculation, and the calculated arithmetic mean is used as the luminance reference value.
Then, step S7 is executed to calculate the adjustment shift amount for each channel based on the calculated luminance reference value. Specifically, the adjustment shift amount of each channel is calculated using the difference between the luminance reference value of each channel calculated in step S2 and the luminance reference value calculated in step S6. For example, the luminance reference value of a certain channel is subtracted from the luminance reference value to obtain the adjustment offset of the channel, and therefore, the adjustment offset may be a positive number or a negative number. After the adjustment offset corresponding to each channel is obtained, the adjustment offset of each channel is stored in a specific memory.
And finally, acquiring the adjustment offset of each channel during dimming, and adding the adjustment offset to the adjustment amount to be adjusted to obtain the actual adjustment amount. For example, when the light emitting brightness of each channel needs to be increased and the duty ratio of the pulse modulation signal needs to be increased, when the duty ratio of the pulse modulation signal corresponding to each channel is calculated, the adjustment offset of each channel is obtained, the actual adjustment amount needed to be adjusted is obtained by adding the adjustment offset to the value of the duty ratio needed to be adjusted of the pulse modulation signal, and the actual adjustment amount is used as the final duty ratio value of the pulse modulation signal of each channel to perform dimming.
Like this, when intelligent lamps and lanterns were transferred luminance, can carry out synchronous regulation to the luminance of each passageway to avoid a plurality of passageways inconsistent problems of adjusting luminance.
The second embodiment of the constant-current dimming method of the multi-channel light source comprises the following steps:
the present embodiment is directed to a case where the input voltage of each channel is fixed, but the load value of each channel may not be fixed. It should be noted that, for the intelligent lamp of the same model, the load values of the channels should be equal, and this embodiment is directed to a case where the load values of the channels of the intelligent lamp are not determined when the intelligent lamp is applied to different types of intelligent lamps. It is understood that steps S11 to S14 of the present embodiment are steps performed in the stage of lamp development.
Referring to fig. 2, the present embodiment first executes step S11 to calculate the adjustment offset amount for each channel under different load values. Specifically, for the load value of each channel of the multiple lamps in common use, for one load value, the adjustment offset of the channel at one load value may be calculated according to steps S1 to S7 of the first embodiment. The load value of one channel is the product of the output voltage and the output current, and the voltage loaded to two ends of the LED chip is collected through a voltage sampling circuit, for example, and the voltage is the output voltage. In addition, a current acquisition circuit can be arranged to acquire the current flowing through the LED chip so as to acquire the output current and further calculate the load value of the channel.
Then, step S12 is executed to draw a load compensation curve according to each load value and the adjustment offset amount. For example, with the load value as the abscissa, i.e., the X-axis, and the corresponding adjustment offset as the ordinate, i.e., the Y-axis, after obtaining a plurality of load values and the adjustment offset corresponding to each load value, a plurality of points may be determined in the coordinate system, and a curve may be formed by fitting these points, and this curve is the load compensation curve. For example, when the load values are values of load power of 3w, 6w, 9w, 12w, 15w, 18w, 21w, 24w, and the corresponding adjustment offsets are 10, 18, 25, 31, 41, 47, 55, and 62, the load values are plotted on the abscissa and the adjustment offsets are plotted on the ordinate, and the following points are obtained: (3, 10), (6, 18), (9, 25), (12, 31), (15, 41), (18, 47), (21, 55), (24, 62), from which a load compensation curve can be fitted under the coordinate system. For example, the fitted curve is shown in fig. 3.
It will be appreciated that since the adjustment offsets for the various channels are different, each channel can calculate a respective load compensation curve according to the method described above.
When the brightness of each channel needs to be adjusted, step S13 needs to be executed to obtain the load value of the current channel, for example, the load value is calculated by sampling the output voltage and the output current. Then, step S14 is executed to find the corresponding adjustment offset from the load compensation curve of the current channel according to the load value of the current channel. Since the abscissa in the fitted load compensation curve is the load value, the adjustment offset of the current channel at the current load value can be calculated by inquiring the ordinate corresponding to the load value under the curve.
Finally, step S15 is executed to calculate an actual adjustment amount of each channel according to the adjustment offset amount, for example, when dimming is performed, the adjustment offset amount of the current channel is obtained, and the adjustment offset amount is added to the adjustment amount that needs to be adjusted to obtain an actual adjustment amount, which is actually to compensate the duty ratio of the pulse modulation signal of the current channel, so as to ensure that the light emitting brightness of each channel is substantially consistent.
The third embodiment of the constant current dimming method of the multi-channel light source comprises the following steps:
the present embodiment is directed to a case where the input voltage of each channel is not fixed, and the load value of each channel may not be fixed. It should be noted that, for the intelligent lamp of the same model, the input voltages of the channels are equal, and the load values of the channels should be equal, and this embodiment is directed to a case where, when being applied to different types of intelligent lamps, the input voltage of the intelligent lamp is not determined, and the load value under each channel cannot be determined.
Referring to fig. 4, the present embodiment first executes step S21 to obtain the input voltage value of the current channel. Because the input voltage value and the theoretical load value of each channel of the intelligent lamp are determined during production and design of the intelligent lamp, step S21 may obtain the input voltage value of the current channel from the design parameters of the intelligent lamp.
Then, step S22 is performed to determine the range of the output voltage according to the input voltage value. According to the law of conservation of energy, the output voltage of the same channel cannot be higher than the input voltage, so that after the input voltage value of one channel is determined, the output voltage range of the channel can be determined. For example, if the input voltage of a channel is 16V, the output voltage of the channel may be between 14V and 16V.
Next, step S23 is executed to obtain a target load compensation curve from the load compensation curves. For example, a load compensation curve is plotted according to step S12 of the second embodiment, and then a target load compensation curve is obtained from the load compensation curve according to the range of the output voltage determined in step S22. Since the load value of the channel is the product of the output voltage and the output current of the channel, and the output voltage and the output current of the channel are generally required to be acquired when the load value of the channel is acquired, different load values can correspond to different output voltages.
For example, when drawing a load compensation curve, a plurality of reference points are required to be obtained, the abscissa of each reference point is a load value, the ordinate is an adjustment offset, and the load value of the abscissa of each reference point is the product of an output voltage and an output current, so that after a range of output voltage values is determined, a plurality of matched load values can be searched from the range of the output voltage, and a section of the curve in the corresponding range of the load values is a target load compensation curve. For example, in fig. 3, if it is determined that the load range corresponding to the output voltage range is between 8w and 13w, a section of the load compensation curve between two dotted lines may be intercepted as the target compensation curve.
Then, step S24 is executed to obtain an adjustment offset from the target load compensation curve according to the load value of the current channel, wherein the adjustment offset is matched with the current load. Specifically, the load value of the current channel is calculated by sampling the output voltage and the output current of the current channel, and the corresponding adjustment offset is found from the target load compensation curve according to the load value of the current channel.
Because the load compensation curve is formed by fitting a plurality of reference points, each reference point corresponds to a load value, and because the load value is obtained by calculating the product of the input voltage value and the output current, and the input voltage and the output voltage also have a certain corresponding relation, one reference point can be considered to correspond to a corresponding input voltage value. And if the input voltage value of the current channel is between the input voltage values corresponding to the two target reference points, acquiring the adjustment offset by adopting the larger value of the corresponding output voltage in the two target reference points.
Finally, step S25 is executed, when performing dimming, according to the adjustment offset obtained in step S24, the adjustment offset is added to the adjustment amount required to be adjusted to obtain an actual adjustment amount, which is actually to compensate the duty ratio of the pulse modulation signal of the current channel, so as to ensure that the light emitting brightness of each channel is substantially consistent.
Therefore, the invention can synchronously adjust the light of the intelligent lamp with a plurality of channels, and the user experience is improved.
The embodiment of the computer device comprises:
the computer device of this embodiment may be a controller of an intelligent luminaire, and the computer device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the constant current dimming method for a multi-channel light source are implemented.
For example, a computer program may be partitioned into one or more modules that are stored in a memory and executed by a processor to implement the modules of the present invention. One or more of the modules may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the terminal device.
The Processor may be a Central Processing Unit (CPU), or may be other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the terminal device and connecting the various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the terminal device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Computer-readable storage medium embodiments:
the computer program stored in the computer device may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of the constant current dimming method for a multi-channel light source.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, software distribution medium, etc. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Finally, it should be emphasized that the present invention is not limited to the above-mentioned embodiments, such as the change of the number of channels in the intelligent light fixture, or the change of the load compensation curve generation manner, and these changes should also be included in the protection scope of the present claims.

Claims (10)

1. A constant-current dimming method of a multi-channel light source is characterized by comprising the following steps:
sampling the brightness relative value of the light source of each channel at the minimum brightness for multiple times, and applying the brightness relative values to calculate the brightness reference value of each channel;
judging whether a light source of each channel meets a preset brightness requirement or not according to the brightness reference value of each channel, if not, removing the brightness reference value of the channel, calculating a brightness reference value by using the brightness reference value of the channel meeting the preset brightness requirement, and calculating the adjustment offset of each channel according to the brightness reference value;
and when the light sources of the channels are subjected to dimming, acquiring the adjustment offset of each channel, and calculating the actual adjustment quantity of each channel according to the adjustment offset.
2. The constant-current dimming method of the multi-channel light source according to claim 1, wherein:
calculating a luminance reference value using a plurality of the luminance relative values includes: an arithmetic average of the plurality of the relative values of the luminance is calculated, and the arithmetic average is used as the luminance reference value.
3. The constant-current dimming method of the multi-channel light source according to claim 1, wherein:
calculating a luminance reference value using a plurality of the luminance relative values includes: after removing the maximum value of the preset number and the minimum value of the preset number in the plurality of brightness relative values, calculating the arithmetic mean value of the remaining plurality of brightness relative values, and using the arithmetic mean value as the brightness reference value.
4. A constant current dimming method of a multichannel light source as claimed in any one of claims 1 to 3, wherein:
determining whether the light source of the at least one channel meets a preset brightness requirement includes: and judging whether the light sources of all the channels do not meet the preset brightness requirement, if so, improving the minimum brightness of the light sources, and sampling the brightness relative value of the light sources of each channel at the updated minimum brightness again.
5. A constant current dimming method of a multi-channel light source according to any one of claims 1 to 3, wherein:
the light source of the channel has more than two load values;
respectively calculating the adjusting offset under a plurality of load values for each channel, and drawing a load compensation curve by applying the load values and the corresponding adjusting offsets;
calculating the actual adjustment amount of each channel according to the adjustment offset amount comprises: and searching the corresponding adjustment offset in the load compensation curve according to the load value of the current channel, and calculating the actual adjustment quantity of each channel according to the obtained adjustment offset.
6. The constant-current dimming method of the multi-channel light source as claimed in claim 5, wherein:
the light source of the channel has more than two input voltage values;
calculating the actual adjustment amount of each channel according to the adjustment offset amount comprises: and searching a section of target load compensation curve matched with the input voltage in the corresponding load compensation curve according to the input voltage value and the load value of the current channel, searching the corresponding adjustment offset in the target load compensation curve, and calculating the actual adjustment quantity of each channel according to the obtained adjustment offset.
7. The constant-current dimming method of the multi-channel light source as claimed in claim 6, wherein:
the load value is the product of the output voltage and the output current of the light source;
searching a section of target load compensation curve matched with the input voltage in the corresponding load compensation curve according to the input voltage value and the load value of the current channel comprises the following steps: and determining corresponding output voltage according to the input voltage value, and searching the target load compensation curve matched with the load value according to the output voltage.
8. The constant-current dimming method of the multi-channel light source as claimed in claim 7, wherein:
the load compensation curve is provided with more than two reference points, and each reference point corresponds to an output voltage;
and if the input voltage is between two target reference points, acquiring the adjustment offset by adopting the larger value of the corresponding output voltage of the two target reference points.
9. Computer arrangement, characterized in that it comprises a processor and a memory, said memory storing a computer program which, when being executed by the processor, carries out the steps of the method for constant current dimming of a multi-channel light source according to any one of claims 1 to 8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when being executed by a processor, realizes the steps of the method of constant current dimming of a multi-channel light source as claimed in any one of claims 1 to 8.
CN202111674938.8A 2021-12-31 2021-12-31 Constant-current dimming method of multichannel light source, computer device and computer readable storage medium Pending CN114466477A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111674938.8A CN114466477A (en) 2021-12-31 2021-12-31 Constant-current dimming method of multichannel light source, computer device and computer readable storage medium
PCT/CN2022/137129 WO2023124850A1 (en) 2021-12-31 2022-12-07 Constant-current dimming method for multi-channel light source, and computer apparatus and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111674938.8A CN114466477A (en) 2021-12-31 2021-12-31 Constant-current dimming method of multichannel light source, computer device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114466477A true CN114466477A (en) 2022-05-10

Family

ID=81408543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111674938.8A Pending CN114466477A (en) 2021-12-31 2021-12-31 Constant-current dimming method of multichannel light source, computer device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN114466477A (en)
WO (1) WO2023124850A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633434A (en) * 2022-10-08 2023-01-20 深圳市晟瑞科技有限公司 Dimming current adjusting method, system, device, storage medium and dimming power supply
WO2023124850A1 (en) * 2021-12-31 2023-07-06 珠海雷特科技股份有限公司 Constant-current dimming method for multi-channel light source, and computer apparatus and computer-readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117528858B (en) * 2024-01-08 2024-04-09 杭州罗莱迪思科技股份有限公司 Hidden-lighting controllable dimming lamp control method

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120062136A1 (en) * 2010-09-13 2012-03-15 Richtek Technology Corporation, R.O.C. Direct current light emitting device control circuit with dimming function and method thereof
US20120274798A1 (en) * 2009-07-07 2012-11-01 Hiroaki Takahashi Image processing apparatus, image processing method, and program
US20130334980A1 (en) * 2012-06-14 2013-12-19 Xunwei Zhou Led light dimming
US20140185049A1 (en) * 2012-12-27 2014-07-03 Horiba, Ltd. Spectroscopic analysis method and spectroscopic analyzer
US20150076999A1 (en) * 2013-09-16 2015-03-19 Dialog Semiconductor Inc. Modifying Duty Cycles of PWM Drive Signals to Compensate for LED Driver Mismatches in a Multi-Channel LED System
US20150115840A1 (en) * 2013-10-31 2015-04-30 Samsung Electro-Mechanics Co., Ltd. Light emitting diode driver
CN105578639A (en) * 2015-12-09 2016-05-11 浙江凯耀照明股份有限公司 LED lamp and dimming method thereof
CN106793329A (en) * 2017-01-06 2017-05-31 广东德洛斯照明工业有限公司 A kind of automatic light-supplementing method based on RGBW
US20170349286A1 (en) * 2016-06-02 2017-12-07 Diehl Aerospace Gmbh Light program for interior lighting in an aircraft
CN107919909A (en) * 2017-10-10 2018-04-17 深圳大学 A kind of multichannel metamerism visible light communication method and Related product
US20180116016A1 (en) * 2015-03-27 2018-04-26 Ams Ag Lighting control system and method for generating supply currents for led channels
CN108206918A (en) * 2016-12-19 2018-06-26 杭州海康威视数字技术股份有限公司 A kind of smooth compensation method and device
US20190141808A1 (en) * 2017-11-03 2019-05-09 Wanjiong Lin Dimming System for LED Lamps
CN110849848A (en) * 2019-10-29 2020-02-28 北京临近空间飞行器系统工程研究所 Method and device for determining fluorescence brightness and computer storage medium
CN111542153A (en) * 2020-05-26 2020-08-14 深圳爱克莱特科技股份有限公司 LED lamp, dimming module of LED lamp and dimming method
CN111586919A (en) * 2020-07-07 2020-08-25 珠海雷特科技股份有限公司 Multi-signal input dimming signal converter
CN112614083A (en) * 2020-12-18 2021-04-06 北京迈格威科技有限公司 Image fusion method and device and electronic system
CN113766697A (en) * 2021-09-24 2021-12-07 华源智信半导体(深圳)有限公司 LED backlight system, driving chip thereof and processing method of main control chip

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103987159A (en) * 2014-04-14 2014-08-13 立锜科技股份有限公司 Luminance adjusting method
CN104244513A (en) * 2014-08-07 2014-12-24 矽力杰半导体技术(杭州)有限公司 Multipath LED constant-current drive circuit and drive method and LED drive power supply
CN113727487B (en) * 2020-10-22 2023-06-23 杰华特微电子股份有限公司 Driving method and driving circuit for multi-channel LED lamp string
CN114466477A (en) * 2021-12-31 2022-05-10 珠海雷特科技股份有限公司 Constant-current dimming method of multichannel light source, computer device and computer readable storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120274798A1 (en) * 2009-07-07 2012-11-01 Hiroaki Takahashi Image processing apparatus, image processing method, and program
US20120062136A1 (en) * 2010-09-13 2012-03-15 Richtek Technology Corporation, R.O.C. Direct current light emitting device control circuit with dimming function and method thereof
US20130334980A1 (en) * 2012-06-14 2013-12-19 Xunwei Zhou Led light dimming
US20140185049A1 (en) * 2012-12-27 2014-07-03 Horiba, Ltd. Spectroscopic analysis method and spectroscopic analyzer
US20150076999A1 (en) * 2013-09-16 2015-03-19 Dialog Semiconductor Inc. Modifying Duty Cycles of PWM Drive Signals to Compensate for LED Driver Mismatches in a Multi-Channel LED System
US20150115840A1 (en) * 2013-10-31 2015-04-30 Samsung Electro-Mechanics Co., Ltd. Light emitting diode driver
US20180116016A1 (en) * 2015-03-27 2018-04-26 Ams Ag Lighting control system and method for generating supply currents for led channels
CN105578639A (en) * 2015-12-09 2016-05-11 浙江凯耀照明股份有限公司 LED lamp and dimming method thereof
US20170349286A1 (en) * 2016-06-02 2017-12-07 Diehl Aerospace Gmbh Light program for interior lighting in an aircraft
CN108206918A (en) * 2016-12-19 2018-06-26 杭州海康威视数字技术股份有限公司 A kind of smooth compensation method and device
CN106793329A (en) * 2017-01-06 2017-05-31 广东德洛斯照明工业有限公司 A kind of automatic light-supplementing method based on RGBW
CN107919909A (en) * 2017-10-10 2018-04-17 深圳大学 A kind of multichannel metamerism visible light communication method and Related product
US20190141808A1 (en) * 2017-11-03 2019-05-09 Wanjiong Lin Dimming System for LED Lamps
CN110849848A (en) * 2019-10-29 2020-02-28 北京临近空间飞行器系统工程研究所 Method and device for determining fluorescence brightness and computer storage medium
CN111542153A (en) * 2020-05-26 2020-08-14 深圳爱克莱特科技股份有限公司 LED lamp, dimming module of LED lamp and dimming method
CN111586919A (en) * 2020-07-07 2020-08-25 珠海雷特科技股份有限公司 Multi-signal input dimming signal converter
CN112614083A (en) * 2020-12-18 2021-04-06 北京迈格威科技有限公司 Image fusion method and device and electronic system
CN113766697A (en) * 2021-09-24 2021-12-07 华源智信半导体(深圳)有限公司 LED backlight system, driving chip thereof and processing method of main control chip

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邹雅君等: "大功率LED的多通道驱动控制", 工业控制计算机, no. 01 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023124850A1 (en) * 2021-12-31 2023-07-06 珠海雷特科技股份有限公司 Constant-current dimming method for multi-channel light source, and computer apparatus and computer-readable storage medium
CN115633434A (en) * 2022-10-08 2023-01-20 深圳市晟瑞科技有限公司 Dimming current adjusting method, system, device, storage medium and dimming power supply

Also Published As

Publication number Publication date
WO2023124850A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
CN114466477A (en) Constant-current dimming method of multichannel light source, computer device and computer readable storage medium
USRE49137E1 (en) Illumination device and method for avoiding an over-power or over-current condition in a power converter
EP2845442B1 (en) Planckian and non-planckian dimming of solid state light sources
RU2481751C2 (en) System and method to control led lamp colour
TWI613930B (en) Multi-string dimmable led driver
DE102007044556A1 (en) Method and device for adjusting the color or photometric properties of an LED lighting device
CN104519642A (en) Lighting device
US9237612B1 (en) Illumination device and method for determining a target lumens that can be safely produced by an illumination device at a present temperature
RU2647494C2 (en) Method of controlling lighting device
CN106205503B (en) A kind of LED luminance adjusting method and device
CN115297590B (en) Color non-shift control method for dimming lamp and application thereof
CN111542153A (en) LED lamp, dimming module of LED lamp and dimming method
CN105840997B (en) Design method of LED lamp
CN105007647A (en) Driving method and circuit of intelligent control lighting appliance
Malik et al. Wide-range, open-loop, CCT and illuminance control of an LED lamp using two-component color blending
US20080074409A1 (en) Method for Controlling the Power Supply from a Power Source to a Power Consumer
CN104754828A (en) Lighting control method, device and system for LED lamp
CN103079305B (en) Light-emitting diode (LED) illuminating device and light regulation method thereof
US20170041992A1 (en) Light source driving device and dimming/toning control method
RU2635089C2 (en) Method and device for interpolation of transmissions with low frequency of frames in lighting systems
CN113225867B (en) Dimming curve expansion method and device, computer equipment and storage medium
KR101699396B1 (en) Led lighting control device and method
CN112612992A (en) Color temperature optimization method and device, terminal equipment and storage medium
US8841852B2 (en) Illumination apparatus with signal filters
CN117156626A (en) LED lamp-based spectrum adjustment method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination