CN117395826B - Multi-primary-color light mixing method and system - Google Patents

Multi-primary-color light mixing method and system Download PDF

Info

Publication number
CN117395826B
CN117395826B CN202311168120.8A CN202311168120A CN117395826B CN 117395826 B CN117395826 B CN 117395826B CN 202311168120 A CN202311168120 A CN 202311168120A CN 117395826 B CN117395826 B CN 117395826B
Authority
CN
China
Prior art keywords
primary
luminous flux
duty ratio
primary color
led
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311168120.8A
Other languages
Chinese (zh)
Other versions
CN117395826A (en
Inventor
陈海川
左小波
卢于平
刘声龙
谢建飞
陈观华
陈茂
李文娟
刘芊
谢凌晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Yuming Intelligent Photoelectric Co ltd
Original Assignee
Jiangxi Yuming Intelligent Photoelectric 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 Jiangxi Yuming Intelligent Photoelectric Co ltd filed Critical Jiangxi Yuming Intelligent Photoelectric Co ltd
Priority to CN202311168120.8A priority Critical patent/CN117395826B/en
Publication of CN117395826A publication Critical patent/CN117395826A/en
Application granted granted Critical
Publication of CN117395826B publication Critical patent/CN117395826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • 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/20Controlling the colour 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/32Pulse-control circuits
    • H05B45/325Pulse-width modulation [PWM]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a multi-primary-color light mixing method and a system, wherein the method calculates the actual luminous flux by selecting the current duty ratio of a multi-primary-color LED, calculates the luminous flux ratio of primary colors according to the actual luminous flux and the preset luminous flux, and then adopts a designed duty ratio compensation value calculation formula to realize the calculation of duty ratio compensation values, wherein the duty ratio compensation value calculation formula carries out the calculation of the theoretical duty ratio of the multi-primary colors according to the proportion relation of the luminous flux corresponding to each primary color, determines the maximum duty ratio intermediate quantity as the theoretical duty ratio of the corresponding primary color, calculates the theoretical duty ratio of other primary colors through the theoretical duty ratio of the primary color, and realizes the compensation of the duty ratio of each primary color based on the actual duty ratio and the theoretical duty ratio corresponding to each primary color. The method can automatically compensate each primary color respectively, so that the luminous flux of the multi-primary-color LED mixed light source can reach the preset luminous flux, the error influence is reduced, and the accuracy of the mixed light source is improved.

Description

Multi-primary-color light mixing method and system
Technical Field
The invention relates to the technical field of LED light mixing, in particular to a multi-primary-color light mixing method and system.
Background
As a new green light source product, an LED has become a trend of future development, in order to realize dynamic illumination under different conditions, a multi-primary LED mixed light source needs to be regulated and controlled, and a current common mixed light regulation and control mode is to obtain duty cycle data of the multi-primary LED under different conditions through a traversing algorithm, screen an optimal duty cycle scheme according to requirements, and drive an LED chip to control spectral power distribution of the light source in cooperation with a PWM dimming technology, where an error exists between an actual value and a theoretical value of a visual parameter (such as luminous flux) of mixed light generated in the mode, so as to affect the accuracy of multi-primary LED luminescence.
Disclosure of Invention
The present invention aims to at least solve the technical problems existing in the prior art. Therefore, the invention provides a multi-primary-color light mixing method and system, which can automatically calibrate the luminous flux of a multi-primary-color LED and improve the luminous accuracy of the multi-primary-color LED.
According to an embodiment of the first aspect of the present invention, a multi-primary color light mixing method includes the steps of:
acquiring the current duty ratio of the multi-primary LED under the current light distribution scheme; the current light distribution scheme is a light distribution scheme of the multi-primary LED under different duty ratios, wherein the current light distribution scheme is selected to target preset luminous flux according to a linear relation between the duty ratio and spectral power distribution obtained by fitting;
Acquiring actual luminous flux of the multi-primary LED under the current duty ratio, and determining a luminous flux ratio of the multi-primary LED according to the preset luminous flux and the actual luminous flux; according to the luminous flux ratio, calculating a duty cycle compensation value corresponding to each primary color of the multi-primary color LED by adopting the following formula:
d(i)=PWM1(i)-PWM2(i)
PWMXi=2*PWM2(i)-si*PWM2(i)
Wherein the multi-primary LED is n primary colors, d (i) represents a duty cycle compensation value corresponding to an ith primary color in the multi-primary LED, i refers to any one primary color in n, PWM1 (i) is a theoretical duty cycle corresponding to the ith primary color, PWM2 (i) is a current duty cycle corresponding to the ith primary color, s i is a luminous flux ratio corresponding to the ith primary color, PWMX i is a duty cycle intermediate quantity corresponding to the ith primary color, x refers to an xth primary color in the n primary colors, PWMX x corresponding to the xth primary color is a maximum value in all PWMX i, and s max is a maximum value in all s i;
and carrying out current adjustment on the multi-primary LED according to the duty cycle compensation value.
The multi-primary color light mixing method provided by the embodiment of the invention comprises the following beneficial effects:
According to the method, the actual luminous flux is calculated by selecting the current duty ratio of the multi-primary LED, the luminous flux ratio of the primary colors is calculated according to the actual luminous flux and the preset luminous flux, and then the duty ratio compensation value is calculated by adopting an additionally designed duty ratio compensation value calculation formula, wherein the duty ratio compensation value calculation formula carries out the calculation of the theoretical duty ratio of the multi-primary according to the proportion relation of the luminous flux corresponding to each primary color, and determines the maximum duty ratio intermediate quantity as the theoretical duty ratio of the corresponding primary color, calculates the theoretical duty ratio of other primary colors according to the theoretical duty ratio of the primary color, and realizes the duty ratio compensation of each primary color based on the actual duty ratio and the theoretical duty ratio corresponding to each primary color. The method can respectively perform automatic compensation operation on each primary color, so that the luminous flux of the light source obtained by mixing the LEDs with multiple primary colors can reach the preset luminous flux, the influence of errors is reduced, and the luminous accuracy of the light source is improved.
According to some embodiments of the invention, the linear relationship between the duty cycle and the spectral power distribution according to the fitting includes:
A spectrometer is adopted to obtain spectrum power distribution of the multi-primary LED under different current duty ratios;
And fitting to obtain a linear relation between the duty ratio and the spectral power distribution of the multi-primary LED according to the spectral power distribution of the multi-primary LED under different current duty ratios.
According to some embodiments of the invention, the luminous flux ratio is obtained by dividing the preset luminous flux by the actual luminous flux.
According to some embodiments of the invention, the measuring the actual luminous flux of the multi-primary LED at the current duty cycle comprises:
Measuring the current illumination intensity of each primary color of the multi-primary color LED under the current duty cycle by adopting a brightness measuring instrument;
and calculating the corresponding actual luminous flux according to the current illumination intensity of each primary color by adopting a conversion formula between the illumination intensity and the luminous flux.
According to some embodiments of the invention, the multi-primary mixing method further comprises:
when the actual luminous flux needs to be adjusted;
And carrying out equal proportion adjustment according to the spectral power of the multi-primary LED and the adjusted luminous flux ratio.
According to an embodiment of the second aspect of the present invention, a multi-primary light mixing system includes:
The controller is used for executing the multi-primary light mixing method and generating an adjustment instruction for current adjustment;
the communication unit is connected with the controller and used for forwarding the adjustment instruction;
The LED lamp control unit is connected with the controller and the multi-primary LED lamp module and used for generating PWM (pulse width modulation) adjustment data according to the adjustment instruction and transmitting the PWM adjustment data to the multi-primary LED lamp module so as to control the multi-primary LED lamp module to adjust lamplight.
The multi-primary color light mixing system provided by the embodiment of the invention has the following beneficial effects:
The controller arranged in the system can calculate the actual luminous flux by selecting the current duty ratio of the multi-primary LED, calculate the luminous flux ratio of the primary colors according to the actual luminous flux and the preset luminous flux, and then calculate the duty ratio compensation value by adopting an additionally designed duty ratio compensation value calculation formula, wherein the duty ratio compensation value calculation formula calculates the theoretical duty ratio of the multi-primary according to the proportional relation of the luminous flux corresponding to each primary color, determines the maximum duty ratio intermediate quantity as the theoretical duty ratio of the corresponding primary color, calculates the theoretical duty ratio of other primary colors according to the theoretical duty ratio of the primary color, and realizes the duty ratio compensation of each primary color based on the actual duty ratio and the theoretical duty ratio corresponding to each primary color. The system can respectively perform automatic compensation operation on each primary color, so that the luminous flux of the light source obtained by mixing the LEDs with multiple primary colors can reach the preset luminous flux, the influence of errors is reduced, and the luminous accuracy of the light source is improved.
According to some embodiments of the invention the controller is an STM32 family of chips.
According to some embodiments of the invention, the LED lamp control unit is an MBI5030 chip.
An electronic device according to an embodiment of the third aspect of the present invention comprises at least one control processor and a memory for communication connection with the at least one control processor; the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the multi-primary mixing method described above.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention stores computer-executable instructions for causing a computer to perform the above-described multi-primary color mixing method.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 is a schematic diagram of an algorithm for the light power duty cycle of a four primary color LED according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a multi-primary mixing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a multi-primary light mixing system according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, the description of first, second, etc. is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, it should be understood that the direction or positional relationship indicated with respect to the description of the orientation, such as up, down, etc., is based on the direction or positional relationship shown in the drawings, is merely for convenience of describing the present invention and simplifying the description, and does not indicate or imply that the apparatus or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present invention can be determined reasonably by a person skilled in the art in combination with the specific content of the technical solution.
Before describing the embodiments of the present application, the technical concepts used in the present application will be described first:
The multi-primary LED display adopts a method of increasing the number of primary colors to expand the color triangle into a polygon, so that the color gamut which can be reproduced by the LED can be effectively expanded. Compared with the traditional three-primary-color LED display, the color is more vivid, the color transition is more natural, and the visual effect is better. In recent years, semiconductor Light Emitting Diodes (LEDs) are known as a new generation of light sources due to the advantages of full light color, rapid switching, shock resistance, moisture resistance, cold temperature, ultra-long service life, few maintenance and the like. With the progress of technology, the industry has successively introduced ultra-high brightness red, orange, yellow, blue and green LEDs, which are suitable for the requirement of multi-primary display technology for multi-primary brightness high monochromatic light.
Duty Cycle refers to the ratio of the time that a signal is in a high (or low) state to the total Cycle time in one Cycle.
PWM, also known as pulse width modulation, is a technique that uses a program to control the duty cycle, period, and phase waveforms of a waveform. The principle of PWM dimming is that in a specified time period, the high level and the low level of a control signal are simulated in a pulse width modulation mode, so that the effect of adjusting the brightness of LED light is achieved.
The luminous flux, which is the amount of light emitted by the light source per unit time, is referred to as luminous flux of the light source, and is used to describe the total amount of light emitted by the light source, and is equivalent to the light power. The greater the luminous flux of the light source, the more light is emitted. There is a conversion formula between luminous flux and illumination intensity.
As shown in fig. 1, taking four primary color LEDs as an example, spectral power distribution of the four primary color LEDs under different current duty ratios is collected, so as to fit a linear relation between duty ratios and light powers of the four primary color LEDs, and since the duty ratios of the different light powers of the LEDs correspond to the light distribution schemes one by one, the light distribution schemes under different duty ratios can be traversed through programming, wherein R r,Rg,Rb,Rw is the light power ratio of red light (R), green light (G), blue light (B) and white light (W). step size represents the step size of the change in the light power ratio of the LEDs of different primary colors.
Detailed description of the invention :WU T,LIN Y,ZHU H,et al.Multi-function indoor light sources based on light-emitting diodes-a solution for healthy lighting [J].
According to the method, the duty ratio data of the multi-primary-color LEDs under different conditions are obtained through the traversal algorithm, an optimal duty ratio scheme is screened out according to requirements, and the LED chip is driven to control the spectral power distribution of the light source by matching with the PWM dimming technology, but errors exist between the actual value of the luminous flux of the generated mixed light and the theoretical value of the luminous flux, so that the accuracy of the multi-primary-color LEDs in light emission is affected.
To solve the above technical drawbacks, referring to fig. 2, an embodiment of the present application provides a multi-primary light mixing method, which includes steps S101 to S103 as follows:
Step S101, acquiring the current duty ratio of the multi-primary LED under the current light distribution scheme; the current light distribution scheme is a light distribution scheme of the multi-primary LED under different duty ratios, wherein the preset luminous flux is taken as a target, and the current light distribution scheme is selected according to the linear relation between the duty ratio and the spectral power distribution obtained by fitting.
The method of screening the optimal duty ratio scheme based on the requirement and driving the LED chip to control the spectrum power distribution of the light source by matching with the PWM dimming technology can take the mixed light of five primary color LEDs of red (R), green (G), blue (B), cyan (C), yellow (Y) and the like as an example to obtain the current duty ratio of each primary color under the current light distribution scheme.
Step S102, obtaining the actual luminous flux of the multi-primary LED under the current duty ratio, and determining the luminous flux ratio of the multi-primary LED according to the preset luminous flux and the actual luminous flux; according to the luminous flux ratio, calculating a duty cycle compensation value corresponding to each primary color of the multi-primary color LED by adopting the following formula:
d(i)=PWM1(i)-PWM2(i)
PWMXi=2*PWM2(i)-si*PWM2(i)
Wherein, the multi-primary LED comprises n primary colors, d (i) represents a duty cycle compensation value corresponding to an ith primary color in the multi-primary LED, i refers to any one of the n primary colors, PWM1 (i) is a theoretical duty cycle corresponding to the ith primary color, PWM2 (i) is a current duty cycle corresponding to the ith primary color, s i is a luminous flux ratio corresponding to the ith primary color, PWMX i is a duty cycle intermediate quantity corresponding to the ith primary color, x refers to an xth primary color in the n primary colors, PWMX x corresponding to the xth primary color is a maximum value in PWMX i, and s max is a maximum value in i;
And step S103, current adjustment is carried out on the multi-primary LED according to the duty cycle compensation value.
In the above step S101, a light distribution scheme with a duty ratio is selected according to the requirement of the preset luminous flux, which will not be described in detail herein.
In some embodiments, the linear relationship between the duty cycle and the spectral power distribution according to the fit in step S101 includes steps S1011 to S1012:
And step S1011, obtaining the spectral power distribution of the multi-primary LED under different current duty ratios by adopting a spectrometer.
Step S1012, fitting to obtain a linear relation between the duty ratio and the spectral power distribution of the multi-primary LED according to the spectral power distribution of the multi-primary LED under different current duty ratios.
In some embodiments of the present application, the method includes the following steps S1041 to S1042:
step S1041, when an adjustment of the actual luminous flux is required.
Step S1042, the spectral power of the multi-primary LED is adjusted in equal proportion according to the adjusted luminous flux ratio.
In the above step S102, the following aspects are mainly included:
(1) The actual luminous flux of the multi-primary LED at the current duty cycle. The actual luminous flux of the multi-primary LED under the current duty cycle needs to be acquired, specifically through the following steps S1021 and S1022:
step S1021, measuring the current illumination intensity of each primary color of the multi-primary color LED under the current duty ratio by adopting a brightness measuring instrument.
Step S1022, calculating the corresponding actual luminous flux according to the current illumination intensity of each primary color by adopting a conversion formula between the illumination intensity and the luminous flux.
(2) And determining the luminous flux ratio of the multi-primary LED according to the preset luminous flux and the actual luminous flux. The luminous flux ratio of the multi-primary LED is determined from the preset luminous flux and the actual luminous flux, in particular by dividing the preset luminous flux by the actual luminous flux.
For example, using S to refer to the luminous flux ratio of the LED, S 1 to the preset luminous flux of the LED (which is a known quantity obtained in step S101), S 2 to the actual luminous flux of the LED, thenIn this embodiment, the preset luminous flux is divided by the actual luminous flux to obtain a proportional relationship of the luminous flux, and then the subsequent compensation operation is performed by using the proportional relationship, that is, the duty ratios corresponding to the primary colors are compensated by using the proportional relationship, so that the LED lamp can reach the preset luminous flux after emitting light.
(3) And determining a duty cycle intermediate quantity corresponding to each primary color, and then determining the theoretical duty cycle corresponding to each primary color according to the duty cycle intermediate quantity. The method of this embodiment proposes a calculation formula for the intermediate amount of duty cycle:
PWMXi=2*PWM2(i)-si*PWM2(i)
PWMX i is the duty cycle intermediate quantity corresponding to the ith primary color, the duty cycle intermediate quantity corresponding to each primary color can be obtained through the compensation formula, the maximum value of one duty cycle intermediate quantity is selected from the duty cycle intermediate quantities, the maximum value of the duty cycle intermediate quantity corresponding to the xth primary color is set here, and x can be any primary color, for example, red light.
Taking the mixed light of five primary color LEDs of red (R), green (G), blue (B), cyan (C) and yellow (Y) as an example, the duty ratio intermediate quantity corresponding to the five primary colors is calculated:
Red: PWMX r=2*PWM2(r)-sr PWM2 (r);
Green: PWMX g=2*PWM2(g)-sg PWM2 (g);
Blue: PWMX b=2*PWM2(b)-sb PWM2 (b);
Cyan: PWMX c=2*PWM2(c)-sc PWM2 (c);
yellow: PWMX y=2*PWM2(y)-sy PWM2 (y);
for example, one of the intermediate duty cycle amounts PWMX r having the largest value is selected.
(4) The maximum one duty cycle intermediate quantity is taken as a basic value (theoretical duty cycle of the basic color) of the corresponding basic color, and the theoretical duty cycles of other basic colors are calculated through the basic value. The theoretical duty ratio refers to the theoretical duty ratio of the multi-primary LED reaching preset luminous flux.
Then, the present embodiment continuously proposes the following calculation formula of theoretical duty ratio:
Where s max refers to the maximum value of the luminous flux ratio among the primary colors. Using five primary color LEDs of red (R), green (G), blue (B), cyan (C), and yellow (Y) as an example, selecting one of the highest duty ratio intermediate amounts PWMX r,PWMXr as a theoretical duty ratio of red light, then the theoretical duty ratios of the remaining four primary colors are:
Green: PWMX r-PWMXr*(smax-sg);
blue: PWMX r-PWMXr*(smax-sb);
cyan: PWMX r-PWMXr*(smax-sc
Yellow: PWMX r-PWMXr*(smax-sy);
(5) And finally, duty cycle compensation is carried out.
The actual duty ratio and the theoretical duty ratio corresponding to each primary color in the multiple primary colors are obtained through calculation through the steps, and the duty ratio of each primary color of the multi-primary-color LED can be adjusted through the difference value between the theoretical duty ratio and the actual duty ratio, so that the mixed light source obtained by mixing each primary color of the multi-primary-color LED can reach preset luminous flux, and errors are reduced.
The duty cycle compensation formula is presented as follows:
d (i) =pwm 1 (i) a PWM2 (i)
Four primary LEDs using red, green, blue and white light are examples:
red: d (r) =pwm 1 (r) -PWM2 (r);
green: d (g) =pwm 1 (g) -PWM2 (g);
blue: d (b) =pwm 1 (b) -PWM2 (b);
cyan: d (c) =pwm 1 (c) -PWM2 (c);
yellow: d (y) =pwm 1 (y) -PWM2 (y);
Wherein PWM2 (r), PWM2 (g), PWM2 (b), PWM2 (c), PWM2 (y) are known items of step S101.
Finally, the current adjustment is performed on the multi-primary LED according to the duty cycle compensation value in step S103.
The process of regulation is current regulation by PWM, the flow of which is not described in detail here.
According to the method, the actual luminous flux is calculated by selecting the current duty ratio of the multi-primary LED, the luminous flux ratio of the primary colors is calculated according to the actual luminous flux and the preset luminous flux, and then the duty ratio compensation value is calculated by adopting an additionally designed duty ratio compensation value calculation formula, wherein the duty ratio compensation value calculation formula carries out the calculation of the theoretical duty ratio of the multi-primary according to the proportion relation of the luminous flux corresponding to each primary color, and determines the maximum duty ratio intermediate quantity as the theoretical duty ratio of the corresponding primary color, calculates the theoretical duty ratio of other primary colors according to the theoretical duty ratio of the primary color, and realizes the compensation of the duty ratio of each primary color based on the actual duty ratio and the theoretical duty ratio corresponding to each primary color. The method can respectively perform automatic compensation operation on each primary color, so that the luminous flux of the light source obtained by mixing the LEDs with multiple primary colors can reach the preset luminous flux, the influence of errors is reduced, and the luminous accuracy of the light source is improved.
Referring to fig. 3, some embodiments of the present application provide a multi-primary light mixing system, including:
And the controller is used for executing the multi-primary light mixing method and generating an adjustment instruction for current adjustment. Wherein the controller is an STM32 series chip. The method comprises the following steps: STM32F103 chip, STM32F series belongs to 32 bit ARM microcontroller of middle and low end, and this series chip is manufactured by Italian Semiconductor (ST) company, and its kernel is Cortex-M3.
And the communication unit is connected with the controller and used for forwarding the adjustment instruction to the LED lamp control unit.
The LED lamp control unit is connected with the controller and the multi-primary LED lamp module and used for generating PWM (pulse width modulation) adjustment data according to the adjustment instruction and transmitting the PWM adjustment data to the multi-primary LED lamp module so as to control the multi-primary LED lamp module to adjust the lamplight. The LED lamp control unit is an MBI5030 chip.
The system calculates actual luminous flux by selecting the current duty ratio of the multi-primary LED, calculates the luminous flux ratio of primary colors according to the actual luminous flux and the preset luminous flux, and then adopts an additionally designed duty ratio compensation value calculation formula to realize the calculation of duty ratio compensation values, wherein the duty ratio compensation value calculation formula calculates the theoretical duty ratio of the multi-primary colors according to the proportion relation of the luminous flux corresponding to each primary color, determines the maximum duty ratio intermediate quantity as the theoretical duty ratio of the corresponding primary color, calculates the theoretical duty ratio of other primary colors according to the theoretical duty ratio of the primary color, and realizes the compensation of the duty ratio of each primary color based on the actual duty ratio and the theoretical duty ratio corresponding to each primary color. The system can respectively perform automatic compensation operation on each primary color, so that the luminous flux of the light source obtained by mixing the LEDs with multiple primary colors can reach the preset luminous flux, the influence of errors is reduced, and the luminous accuracy of the light source is improved.
It should be noted that the present system embodiment and the above-described method embodiment are based on the same inventive concept, and thus the content of the above-described method embodiment is equally applicable to the present system embodiment.
An embodiment of the present application provides an electronic device, including:
at least one hydrogen fuel cell;
at least one memory;
at least one processor;
At least one program;
The programs are stored in the memory, and the processor executes at least one program to implement the multi-primary light mixing method described above by the present disclosure.
The electronic device may be any intelligent terminal including a mobile phone, a tablet computer, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a vehicle-mounted computer, and the like.
An electronic device according to an embodiment of the present application is described in detail below with reference to fig. 4.
As shown in fig. 4, fig. 4 illustrates a hardware structure of an electronic device according to another embodiment, the electronic device includes:
The processor 1600 may be implemented by a general purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solutions provided by the embodiments of the present disclosure;
The Memory 1700 may be implemented in the form of Read Only Memory (ROM), static storage, dynamic storage, or random access Memory (Random Access Memory, RAM). Memory 1700 may store an operating system and other application programs, related program code is stored in memory 1700 when the technical solutions provided by the embodiments of the present disclosure are implemented in software or firmware, and is invoked by processor 1600 to perform the multi-primary light mixing method of the embodiments of the present disclosure.
According to the method, the actual luminous flux is calculated by selecting the current duty ratio of the multi-primary LED, the luminous flux ratio of the primary colors is calculated according to the actual luminous flux and the preset luminous flux, and then the duty ratio compensation value is calculated by adopting an additionally designed duty ratio compensation value calculation formula, wherein the duty ratio compensation value calculation formula carries out the calculation of the theoretical duty ratio of the multi-primary according to the proportion relation of the luminous flux corresponding to each primary color, and determines the maximum duty ratio intermediate quantity as the theoretical duty ratio of the corresponding primary color, calculates the theoretical duty ratio of other primary colors according to the theoretical duty ratio of the primary color, and realizes the duty ratio compensation of each primary color based on the actual duty ratio and the theoretical duty ratio corresponding to each primary color. The method can respectively perform automatic compensation operation on each primary color, so that the luminous flux of the light source obtained by mixing the LEDs with multiple primary colors can reach the preset luminous flux, the influence of errors is reduced, and the luminous accuracy of the light source is improved.
An input/output interface 1800 for implementing information input and output;
The communication interface 1900 is used for realizing communication interaction between the device and other devices, and can realize communication in a wired manner (such as USB, network cable, etc.), or can realize communication in a wireless manner (such as mobile network, WIFI, bluetooth, etc.);
Bus 2000, which transfers information between the various components of the device (e.g., processor 1600, memory 1700, input/output interface 1800, and communication interface 1900);
Wherein processor 1600, memory 1700, input/output interface 1800, and communication interface 1900 enable communication connections within the device between each other via bus 2000.
The disclosed embodiments also provide a storage medium that is a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the above-described multi-primary color light mixing method. According to the method, the actual luminous flux is calculated by selecting the current duty ratio of the multi-primary LED, the luminous flux ratio of the primary colors is calculated according to the actual luminous flux and the preset luminous flux, and then the duty ratio compensation value is calculated by adopting an additionally designed duty ratio compensation value calculation formula, wherein the duty ratio compensation value calculation formula carries out the calculation of the theoretical duty ratio of the multi-primary according to the proportion relation of the luminous flux corresponding to each primary color, and determines the maximum duty ratio intermediate quantity as the theoretical duty ratio of the corresponding primary color, calculates the theoretical duty ratio of other primary colors according to the theoretical duty ratio of the primary color, and realizes the duty ratio compensation of each primary color based on the actual duty ratio and the theoretical duty ratio corresponding to each primary color. The method can respectively perform automatic compensation operation on each primary color, so that the luminous flux of the light source obtained by mixing the LEDs with multiple primary colors can reach the preset luminous flux, the influence of errors is reduced, and the luminous accuracy of the light source is improved.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present disclosure are for more clearly describing the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure, and as those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are equally applicable to similar technical problems.
It will be appreciated by those skilled in the art that the technical solutions shown in the figures do not limit the embodiments of the present disclosure, and may include more or fewer steps than shown, or may combine certain steps, or different steps.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and in the above figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including multiple instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing a program.
While the preferred embodiments of the present application have been described in detail, the embodiments of the present application are not limited to the above-described embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the embodiments of the present application, and these equivalent modifications or substitutions are included in the scope of the embodiments of the present application as defined in the appended claims.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention.

Claims (10)

1. The multi-primary color light mixing method is characterized by comprising the following steps of:
acquiring the current duty ratio of the multi-primary LED under the current light distribution scheme; the current light distribution scheme is a light distribution scheme of the multi-primary LED under different duty ratios, wherein the current light distribution scheme is selected to target preset luminous flux according to a linear relation between the duty ratio and spectral power distribution obtained by fitting;
Acquiring actual luminous flux of the multi-primary LED under the current duty ratio, and determining a luminous flux ratio of the multi-primary LED according to the preset luminous flux and the actual luminous flux; according to the luminous flux ratio, calculating a duty cycle compensation value corresponding to each primary color of the multi-primary color LED by adopting the following formula:
d(i)=PWM1(i)-PWM2(i)
PWMXi=2*PWM2(i)-si*PWM2(i)
The multi-primary LED comprises n primary colors, d (i) is a duty cycle compensation value corresponding to an ith primary color, i refers to any one of n primary colors, PWM1 (i) is a theoretical duty cycle corresponding to the ith primary color, PWM2 (i) is a current duty cycle corresponding to the ith primary color, s i is a luminous flux ratio corresponding to the ith primary color, PWMX i is a duty cycle intermediate quantity corresponding to the ith primary color, x refers to an xth primary color in the n primary colors, PWMX x corresponding to the xth primary color is a maximum value in all PWMX i, and s max is a maximum value in all s i;
and carrying out current adjustment on the multi-primary LED according to the duty cycle compensation value.
2. The multi-primary light mixing method according to claim 1, wherein the linear relationship between the duty cycle and the spectral power distribution obtained from the fitting comprises:
A spectrometer is adopted to obtain spectrum power distribution of the multi-primary LED under different current duty ratios;
And fitting to obtain a linear relation between the duty ratio and the spectral power distribution of the multi-primary LED according to the spectral power distribution of the multi-primary LED under different current duty ratios.
3. The multi-primary light mixing method according to claim 1, wherein the luminous flux ratio is obtained by dividing the preset luminous flux by the actual luminous flux.
4. The method of multi-primary mixing according to claim 1, wherein said obtaining an actual luminous flux of the multi-primary LED at the current duty cycle comprises:
Measuring the current illumination intensity of each primary color of the multi-primary color LED under the current duty cycle by adopting a brightness measuring instrument;
and calculating the corresponding actual luminous flux according to the current illumination intensity of each primary color by adopting a conversion formula between the illumination intensity and the luminous flux.
5. The multi-primary light mixing method according to claim 1, the multi-primary-color light mixing method is characterized by further comprising the following steps:
when the actual luminous flux needs to be adjusted;
And carrying out equal proportion adjustment according to the spectral power of the multi-primary LED and the adjusted luminous flux ratio.
6. A multi-primary light mixing system, the multi-primary light mixing system comprising:
A controller for executing the multi-primary light mixing method according to any one of claims 1 to 5, and for generating an adjustment instruction for performing current adjustment;
the communication unit is connected with the controller and used for forwarding the adjustment instruction;
The LED lamp control unit is connected with the controller and the multi-primary LED lamp module and used for generating PWM (pulse width modulation) adjustment data according to the adjustment instruction and transmitting the PWM adjustment data to the multi-primary LED lamp module so as to control the multi-primary LED lamp module to adjust lamplight.
7. The multi-primary light mixing system of claim 6, wherein the controller is an STM32 series chip.
8. The multi-primary light mixing system of claim 6, wherein the LED lamp control unit is an MBI5030 chip.
9. An electronic device, characterized in that: comprising at least one control processor and a memory for communication connection with the at least one control processor; the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the multi-primary mixing method of any one of claims 1 to 5.
10. A computer-readable storage medium, characterized by: the computer-readable storage medium stores computer-executable instructions for causing a computer to perform the multi-primary light mixing method of any one of claims 1 to 5.
CN202311168120.8A 2023-09-11 2023-09-11 Multi-primary-color light mixing method and system Active CN117395826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311168120.8A CN117395826B (en) 2023-09-11 2023-09-11 Multi-primary-color light mixing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311168120.8A CN117395826B (en) 2023-09-11 2023-09-11 Multi-primary-color light mixing method and system

Publications (2)

Publication Number Publication Date
CN117395826A CN117395826A (en) 2024-01-12
CN117395826B true CN117395826B (en) 2024-08-20

Family

ID=89463881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311168120.8A Active CN117395826B (en) 2023-09-11 2023-09-11 Multi-primary-color light mixing method and system

Country Status (1)

Country Link
CN (1) CN117395826B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107637171A (en) * 2015-03-11 2018-01-26 Lg伊诺特有限公司 Light emitting module and the lighting device with light emitting module
CN108156728A (en) * 2017-12-04 2018-06-12 生迪智慧科技有限公司 The color matching calibration system and method for RGB lamps

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018064655A1 (en) * 2016-09-30 2018-04-05 Edward Stoneham Apparatus and methods for controlling led light flux
CN108495406A (en) * 2018-03-23 2018-09-04 上海亚明照明有限公司 Mix light source color temperature adjusting method, system, storage medium and human-computer interaction terminal
CN111258157B (en) * 2018-11-30 2023-01-10 中强光电股份有限公司 Projector and brightness adjusting method
CN110337158B (en) * 2019-07-01 2021-11-05 深圳和而泰智能照明有限公司 Light emitting control method and device of light emitting diode
CN111010765A (en) * 2019-12-03 2020-04-14 天津工业大学 Six-primary-color light emitting diode white light mixing method based on pulse width modulation and light source module
FR3109919B1 (en) * 2020-05-05 2022-11-11 Valeo Vision Method for controlling a motor vehicle lighting system
CN111741568B (en) * 2020-08-05 2020-11-24 杭州罗莱迪思科技股份有限公司 Multichannel intelligent precise color mixing and dimming method based on brightness priority
CN113347757B (en) * 2021-08-06 2021-11-23 杭州罗莱迪思科技股份有限公司 White balance control method for RGBW lamp and application thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107637171A (en) * 2015-03-11 2018-01-26 Lg伊诺特有限公司 Light emitting module and the lighting device with light emitting module
CN108156728A (en) * 2017-12-04 2018-06-12 生迪智慧科技有限公司 The color matching calibration system and method for RGB lamps

Also Published As

Publication number Publication date
CN117395826A (en) 2024-01-12

Similar Documents

Publication Publication Date Title
US7972028B2 (en) System, method and tool for optimizing generation of high CRI white light, and an optimized combination of light emitting diodes
CN103891412B (en) The method of lighting device is controlled based on current-voltage model
JP4785931B2 (en) System and method for calibrating a solid state lighting panel
CN101536607B (en) Method and driver for determining drive values for driving a lighting device
US8120276B2 (en) Light source emitting mixed-colored light and method for controlling the color locus of such a light source
CN101803454B (en) Limiting the color gamut in solid state lighting panels
CN111741559B (en) Color temperature correction method, system, control terminal and computer readable storage medium
US20060226956A1 (en) LED assembly with a communication protocol for LED light engines
CN204046868U (en) A kind of lighting device
US20110241552A1 (en) Method for maximizing the performance of a luminaire
JP2011222517A (en) Lighting system
EP2177083A1 (en) Systems and methods for protecting display components from adverse operating conditions
CN101996585A (en) RGB three primary colours LED backlight based automatic white balance adjustment system and method thereof
CN101558686B (en) Luminaire control system and method
CN112584573A (en) Seven-primary-color LED mixed light source and drive control circuit thereof
JPH07211462A (en) Variable color lighting device and variable color lighting system
CN117395826B (en) Multi-primary-color light mixing method and system
CN110708797B (en) Accurate dimming method and system for three-color LED light source
KR101338685B1 (en) Apparatus and method for controlling mood lighting in vehicle
US20230262855A1 (en) Illuminant device for emitting light of a continuously adjustable colour, in particular for individualizing and/or illuminating an interior space
CA2848855C (en) Operation of a led lighting system at a target output color using a color sensor
CN112612992A (en) Color temperature optimization method and device, terminal equipment and storage medium
CN106255282A (en) A kind of Lighting Control Assembly and illumination control method
CN102858054A (en) Solid-state light-emitting device, solid-state light-emitting light source, illumination device and control method thereof
JP2017188578A (en) Light source device

Legal Events

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