CN115052387B - Black body track and isotherm color modulation control method and application thereof - Google Patents

Black body track and isotherm color modulation control method and application thereof Download PDF

Info

Publication number
CN115052387B
CN115052387B CN202210964521.3A CN202210964521A CN115052387B CN 115052387 B CN115052387 B CN 115052387B CN 202210964521 A CN202210964521 A CN 202210964521A CN 115052387 B CN115052387 B CN 115052387B
Authority
CN
China
Prior art keywords
color
brightness
black body
isotherm
inherent
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
CN202210964521.3A
Other languages
Chinese (zh)
Other versions
CN115052387A (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.)
Hangzhou Roledith Technology Co ltd
Original Assignee
Hangzhou Roledith 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 Hangzhou Roledith Technology Co ltd filed Critical Hangzhou Roledith Technology Co ltd
Priority to CN202210964521.3A priority Critical patent/CN115052387B/en
Publication of CN115052387A publication Critical patent/CN115052387A/en
Application granted granted Critical
Publication of CN115052387B publication Critical patent/CN115052387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • 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]

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application provides a black body track and isotherm toning control method and application thereof, comprising the following steps: acquiring inherent maximum brightness of each primary color of a light source, inherent color coordinates corresponding to each primary color and color mixing parameters input by a user; calculating a u 'v' color coordinate in a CIE1976-u 'v' system according to a set abscissa, and taking the u 'v' color coordinate as an intersection point of a black body trajectory line and a corresponding isothermal line; calculating a target color mixing coordinate according to the greenish color mixing parameter or the reddish color mixing parameter, the u 'v' color coordinate and the adjustment step length of the isotherm; acquiring a total value of mixed brightness of each primary color and brightness corresponding to each primary color according to the target mixed color coordinate; and calculating the duty ratio according to the inherent highest brightness of each primary color and the brightness corresponding to each primary color and outputting to control the light source. The black body locus expression can conveniently and continuously adjust the light, so that a user can freely adjust the color on the isotherm according to the scene requirement, and more light color requirements are met.

Description

Black body track and isotherm color modulation control method and application thereof
Technical Field
The application relates to the technical field of light control, in particular to a black body track and isotherm color modulation control method and application thereof.
Background
The color temperature is closely related to life, and different color temperatures are adjusted by using the light source to create different atmospheres for people. Color temperature is one physical quantity used in illumination optics to define the color of a light source. For example, the color temperature of yellow light is 3000K, and the daytime color temperature in sunlight is 6500K.
In the CIE1931-xy chromaticity diagram (FIG. 2), the inner transverse arc curve is the blackbody trajectory, with different points on the blackbody trajectory representing different color temperatures. The line intersecting the black body trajectory is an isotherm, and the points on the isotherm represent the same correlated color temperature. For example, the isotherm 6000K in the figure, where all points indicate a correlated color temperature of 6000K, may have a greenish color (above the black body trace) and a reddish color (below the black body trace) for the same correlated color temperature.
In the prior art, when the LED light source package is manufactured, the light color of a packaged product is directly influenced by the processes of chip difference, the type and concentration ratio of fluorescent powder, glue quantity uniformity and the like, so that the color coordinate of a white light source is difficult to fall on a black body locus line. For example, the chinese patent CN108021536A discloses "a method for obtaining chromaticity coordinates corresponding to a color temperature on a color temperature black body trajectory", which instructs that LEDs are divided into BINs (i.e., isotherms (which are separated from the black body trajectory) are divided into several segments to be divided into different BINs. However, different batches of light sources or different models of light sources with the same correlated color temperature use light sources with different BINs. Light sources of different BIN will produce color cast.
In addition, the abstract of the patent states that "chromaticity coordinates ccx and ccy corresponding to each color temperature (CCT) are sequentially obtained from 1500K to 100000K every 100K by this method", it is obvious that the calculation amount is large and the obtained chromaticity coordinates are only discrete points on the blackbody locus. In practical dimming and toning application scenarios, there is a need to freely and continuously tone on the blackbody locus line without paying attention to specific values of the current corresponding color temperature.
Therefore, it is urgently needed to develop a function of freely and continuously color-adjusting on the black body locus line and color-adjusting on the isotherm to integrate light sources with different correlated color temperatures, so as to satisfy more light color requirements of users.
Disclosure of Invention
The embodiment of the application provides a black body locus and isotherm color modulation control method and application thereof, aiming at the problems that the prior art cannot freely and continuously modulate color on the black body locus line and can modulate color on the isotherm.
The core technology of the invention is mainly to realize the control method of color matching on the isotherm, for a multi-primary color light source, receiving the color temperature input of a user, receiving the color cast adjustment of the user, outputting a corresponding PWM driving light source through color matching operation, and realizing the free adjustment of the target color on the isotherm.
In a first aspect, the present application provides a black body locus and isotherm toning control method, comprising the steps of:
s00, acquiring inherent maximum brightness of each primary color of a light source, inherent color coordinates corresponding to each primary color and color mixing parameters input by a user, wherein the color mixing parameters comprise a set abscissa of a black body track line, a greenish color mixing parameter and a reddish color mixing parameter;
s10, calculating a u 'v' color coordinate in a CIE1976-u 'v' system according to a set abscissa, and taking the u 'v' color coordinate as an intersection point of a black body trajectory line and a corresponding isotherm;
s20, calculating a target color mixing coordinate according to a greenish color mixing parameter or a reddish color mixing parameter, a u 'v' color coordinate and an adjustment step length of an isotherm;
s30, acquiring a total value of mixed brightness of each primary color and brightness corresponding to each primary color according to the target mixed color coordinate;
and S40, calculating a duty ratio according to the inherent highest brightness of each primary color and the brightness corresponding to each primary color and outputting to control the light source.
Further, in step S10, a corresponding ordinate is calculated according to the set abscissa and the black body trajectory line, so as to obtain a u 'v' color coordinate.
Further, the green-bias toning parameter and the red-bias toning parameter are both the product of the toning step length and the respective adjustment level.
Further, in step S30, when the total value of the mixed luminances of the respective primary colors is 0, the duty ratio is maintained in the last state.
Further, in step S30, the target mixed color coordinate is substituted into the linear programming model to obtain the total mixed brightness value of the primary colors and the brightness corresponding to the primary colors, wherein the linear programming model is established based on the inherent highest brightness of the primary colors, the inherent color coordinate of the primary colors, and the target mixed color coordinate.
Further, in step S40, the specific steps are:
and dividing the brightness corresponding to each primary color by the inherent highest brightness of each primary color to obtain a duty ratio, and outputting the duty ratio as a PWM signal to control the light source.
Further, in step S00, the inherent maximum brightness and the corresponding inherent color coordinates of each primary color of the light source are obtained in a dark closed environment.
In a second aspect, the present application provides a black body locus and isotherm toning control apparatus, including:
the input unit is used for acquiring inherent maximum brightness of each primary color of the light source, inherent color coordinates corresponding to each primary color and color mixing parameters input by a user, wherein the color mixing parameters comprise a set abscissa of a black body trajectory, a greenish color mixing parameter and a reddish color mixing parameter;
the signal analysis unit is used for calculating a u 'v' color coordinate in a CIE1976-u 'v' system according to a set abscissa, and taking the u 'v' color coordinate as an intersection point of a black body trajectory line and a corresponding isothermal line;
the isothermal line adjusting unit is used for calculating a target color mixing coordinate according to the greenish color mixing parameter or the reddish color mixing parameter, the u 'v' color coordinate and the adjusting step length of the isothermal line;
the color matching operation unit is used for acquiring the total value of the mixed brightness of each primary color and the brightness corresponding to each primary color according to the target mixed color coordinate;
and the output control unit is used for calculating the duty ratio according to the inherent highest brightness of each primary color and the brightness corresponding to each primary color and outputting to control the light source.
In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to execute the black body locus and isotherm toning control method.
In a fourth aspect, the present application provides a readable storage medium having stored therein a computer program comprising program code for controlling a process to execute a process, the process comprising a method of toning according to a blackbody locus and isotherm as described above.
The main contributions and innovation points of the invention are as follows: 1. compared with the prior art, the method calculates the coordinate of the black body locus corresponding to the color temperature as a discrete point, and is inconvenient for continuous color matching. The invention provides an accurate blackbody locus coordinate expression, and can conveniently and continuously adjust the light;
2. compared with the prior art, the invention receives the input of the horizontal coordinate of the black body track of the user, receives the color cast adjustment of the user and outputs the corresponding PWM driving light source through color matching operation for the multi-primary-color lamp, thereby realizing the free adjustment of the target color on the isotherm;
3. compared with the prior art, the method is implemented by using a CIE1976-u 'v' chromaticity diagram, so that the accuracy of an isotherm can be ensured, and the isotherm is ensured to be visually and uniformly changed when being adjusted according to step length;
4. compared with the prior art, the control method for realizing color matching on the isotherm enables users to freely color on the isotherm according to scene requirements so as to meet more light color requirements, and the color matching arithmetic unit introduces the brightness and chromaticity parameters of each base color of the system to accurately match colors in a closed loop.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more concise and understandable description of the application, and features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow chart of a blackbody locus and isotherm toning control method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of the blackbody trajectory in the CIE1931-xy chromaticity diagram;
FIG. 3 is a CIE1976-u 'v' chromaticity diagram as employed herein;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims which follow.
It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described herein. In some other embodiments, the method may include more or less steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
At present, different batches of light sources or different types of light sources with the same correlated color temperature use light sources with different BIN (grading). Light sources of different BIN (binning) will produce color cast.
Based on the control method for realizing color matching on the isotherm, the invention receives the color temperature input of a user and the color cast adjustment of the user for a multi-primary-color light source, outputs a corresponding PWM driving light source through color matching operation, and realizes the free adjustment of the target color on the isotherm.
Example one
Specifically, an embodiment of the present application provides a black body locus and isotherm toning control method, and specifically, with reference to fig. 1, the method includes the following steps:
s00, obtaining the inherent maximum brightness of each primary color of the light source, the inherent color coordinate corresponding to each primary color and a color mixing parameter input by a user, wherein the color mixing parameter comprises a set abscissa of a black body trajectory, a greenish color mixing parameter and a reddish color mixing parameter;
in this embodiment, the inherent maximum brightness and the corresponding inherent color coordinates of each primary color of the light source are obtained in a dark enclosed environment.
Wherein, the value ranges of the green color matching parameter and the red color matching parameter are both more than 0 and less than or equal to 0.03.
S10, calculating u 'v' color coordinates in a CIE1976-u 'v' system according to the set abscissa, and taking the u 'v' color coordinates as the intersection point of a black body trajectory line (f (u ', v') in FIG. 3) and a corresponding isotherm (h (u ', v') in FIG. 3), which is shown as M in FIG. 3T
In the present embodiment, the prior art uses the most CIE1931-xy chromaticity diagram, which is not visually uniform and inconsistent with human vision. The CIE1960-uv chromaticity diagram is further visually uniform. Whereas the CIE1976-u 'v' chromaticity diagram is visually uniform. The present application is therefore implemented using the CIE1976-u 'v' chromaticity diagram to ensure the accuracy of the isotherm and to ensure that it is visually uniform when adjusted in steps on the isotherm.
S20, calculating a target color mixing coordinate according to the greenish color mixing parameter or the reddish color mixing parameter, the u 'v' color coordinate and the adjustment step length of the isotherm, referring to greenish P in figure 3T-nAnd red bias QT-n
S30, acquiring a total value of mixed brightness of each primary color and brightness corresponding to each primary color according to the target mixed color coordinate;
in this embodiment, the target mixed color coordinate is substituted into the linear programming model to obtain the total value of the mixed brightness of the primary colors and the brightness corresponding to the primary colors, where the linear programming model is established based on the inherent maximum brightness of the primary colors, the inherent color coordinates of the primary colors, and the target mixed color coordinate.
In the present embodiment, when the total value of the mixed luminances of the respective primary colors is 0, the duty ratio is maintained in the last state.
And S40, calculating a duty ratio according to the inherent highest brightness of each primary color and the brightness corresponding to each primary color and outputting to control the light source.
The brightness corresponding to each primary color is divided by the inherent highest brightness of each primary color one by one to obtain a duty ratio, and the duty ratio is output as a PWM signal to control the light source.
Example two
Based on the same design, this application has still provided a black body orbit and isotherm mixing of colors controlling means, includes:
the input unit is used for acquiring the inherent maximum brightness of each primary color of the light source, the inherent color coordinate corresponding to each primary color and the color mixing parameter input by a user, wherein the color mixing parameter comprises a set abscissa of a black body trajectory, a greenish color mixing parameter and a reddish color mixing parameter;
in this embodiment, the input unit is used for receiving the set abscissa of the black body trajectory of the user (by pushing the push rod on the console), and receiving the input of the greenish toning parameter d and the reddish toning parameter d' of the user;
before signal analysis, it is also necessaryObtaining the maximum brightness value L 'of each primary color'1+L'2 +…+L'm(ii) a Obtaining color coordinates (u ') of each primary color'1,v'1)、(u'2,v'2) 、…、(u'm,v'm);
The signal analysis unit is used for calculating a u 'v' color coordinate in a CIE1976-u 'v' system according to a set abscissa, and taking the u 'v' color coordinate as an intersection point of a black body trajectory line and a corresponding isotherm;
in this embodiment, the signal analysis unit is used for analyzing the set abscissa into the corresponding color coordinate M on the black body locus lineT(u'T,v'T);
The analysis method is to set the abscissa u'TThe expression substituted into the blackbody trajectory f (u ', v'):
Figure DEST_PATH_IMAGE002
wherein (0.18 < u' < 0.41), the color coordinate M can be calculatedT(u'T,v'T) Of ordinate v'TThen, the color coordinate M can be obtainedT(u'T,v'T)。
The isothermal line adjusting unit is used for calculating a target color mixing coordinate according to the greenish color mixing parameter or the reddish color mixing parameter, the u 'v' color coordinate and the adjusting step length of the isothermal line;
in the present embodiment, the method is used for calculating the target color coordinates PT-n(u'mix,v'mix),PT-nRepresents the nth level adjustment of T color temperature when the color is more green, and when receiving the parameter d (0) of more green color adjustment of the user<d is less than or equal to 0.03), the following equation is used for establishing:
Figure DEST_PATH_IMAGE004
in the present embodiment, the method is used for calculating the target color coordinates QT-n(u'mix,v'mix),QT-nRepresents the nth level adjustment of T color temperature when the color is more red, and when receiving the parameter d' (0) of more red color adjustment of the user<d’≤0.03 Time) is established using the following equation:
Figure DEST_PATH_IMAGE006
the color matching operation unit is used for acquiring the total value of the mixed brightness of each primary color and the brightness corresponding to each primary color according to the target mixed color coordinate;
in this embodiment, the color matching arithmetic unit is established based on the following linear programming model for any light source with no less than 3 primary colors:
an objective function: max Lmix=L'1+L'2 +…+L'm
Figure DEST_PATH_IMAGE008
Wherein, subscript m is a positive integer not less than 3 to represent the number of primary colors; l'1、L'2、…、L'mTarget brightness to be determined of each primary color belongs to decision variables; l ismixIs the pending total brightness of the color mixture; l is a radical of an alcohol1、L2、.....、LmIs the inherent maximum luminance of each primary color; (u'mix,v'mix) Is the color coordinate of the target color mixture; (u'1,v'1)、(u'2,v'2) 、…、(u'm,v'm) Are the inherent color coordinates of each primary color.
Wherein, the optimal solution L of the linear programming modelmixWhen =0, the target color coordinate P determined by the user input parameter is representedT-n(u'mix,v'mix) Out of the gamut of m primaries, the operations performed at this time are: keeping the output of the duty ratio D in the last state; and also can return information prompt at the same time.
And the output control unit is used for calculating the duty ratio according to the inherent highest brightness of each primary color and the brightness corresponding to each primary color and outputting to control the light source.
Wherein, the duty cycle is denoted as D:
Figure DEST_PATH_IMAGE010
wherein L'1、L'2、…、L'mIs the color matching result brightness of each primary color, L1、L2、.....、LmIs the inherent maximum luminance of each primary color.
EXAMPLE III
Based on the first embodiment or the second embodiment, this embodiment places a certain 4-primary-color RGBW (red, green, blue, white) lamp in a black room, and measures the maximum brightness of each primary color as:
LR=850;LG=2500;LB=450;LW=2050。
and simultaneously measuring the color coordinates of each primary color, and respectively recording as:
u'R=0.5442, v'R =0.5180;
u'G=0.0553, v'G =0.5715;
u'B=0.1691, v'B =0.1241;
u'W=0.1702, v'W =0.4133;
at this time, for example, the user performs a color adjustment operation for the light source, and pushes the slide bar on the console to input the set abscissa u'T= 0.1996, and the corresponding ordinate V 'is calculated according to the blackbody locus expression in the second embodiment'T:
Figure DEST_PATH_IMAGE012
The u 'v' color locus marker in the CIE1976-u 'v' system was obtained as MT(u'T,v'T) = (0.1996, 0.4639). The point is the intersection point of the black body trajectory line and the corresponding isotherm.
The toning step length set on the isotherm is λ =0.002, and when 1-level of conditioning is input on the greenish channel, i.e., d =1 × λ =0.002, the target color mixing adjustment point is written as PT-1(u'mix,v'mix)。
Substituted into (u'T,v'T) Numerical value of (1) and numerical value of dTo the following equation, the target color mixing coordinate P can be solvedT-1(u'mix,v'mix):
Figure DEST_PATH_IMAGE014
To obtain PT-1(u'mix,v'mix) And = (0.1978, 0.4646), namely, the target mixed color coordinate.
The data are substituted into the following linear programming model:
an objective function: max Lmix=L'R+L'G +L'B +L'w
Figure DEST_PATH_IMAGE016
Solving the model by substituting data to obtain the maximum value L of the mixed brightnessmix=L'R+L'G +L'B +L'w=4634.517, and the luminances of the RGBW primaries are: l'R=850;L'G=1680.737;L'B=53.780;L'W=2050。
Thus, the duty ratio D of PWM at this time is obtained:
Figure DEST_PATH_IMAGE018
by integrating the processes, the user performs color mixing operation on the light source, pushes the slide bar on the console to input the set abscissa u'T= 0.1996, and the regulation level is 1 at the greenish channel input. And the color matching operation unit returns the PWM duty ratio, namely the PWM signal duty ratio output of each primary color of the RGBW is D = {1,0.6723,0.1195,1}, and is sent to the driver, and each primary color of the driving light source emits light as required and is subjected to color mixing. The color temperature after color mixing is still the current point M on the black body locus lineTThe corresponding color temperature is shifted by 1 step only in the green direction.
Example four
On the basis of the third embodiment, the user inputs 2-level adjustment on the greenish channelIf d =2 × λ =0.004, the target color mixture coordinate P is obtained by the same formula as in example fourT-2(u'mix,v'mix)=( 0.1960,0.4654);
Maximum value of mixed luminance Lmix=L'R+L'G +L'B +L'w=4707.677
The brightness of each primary color of RGBW is: l'R=850;L'G=1751.990;L'B=55.688;L'W=2050;
Final duty ratio D = {1,0.7008,0.1238,1}.
Integrating the processes, the user performs color matching operation on the light source, pushes the slide bar on the console to input the set abscissa u'T= 0.1996, and the regulation level is 2 at the greenish channel input. And the color matching operation unit returns the PWM duty ratio, namely the PWM signal duty ratio output of each primary color of the RGBW is D = {1,0.7008,0.1238,1}, and the output is sent to a driver, so that each primary color of the light source is driven to emit light and mix colors as required. The color temperature after color mixing is still the current point M on the black body locus lineTThe corresponding color temperature is shifted only by 2 steps in the green direction.
EXAMPLE five
On the basis of the third embodiment, when the user inputs 1-level adjustment on the red-biased channel (green-biased adjustment data before being covered at this time), that is, d' =1 × λ =0.002, the target color mixing coordinate is recorded as QT-1(u'mix,v'mix)。
Substituting (u 'into the formula in example III'T,v'T) The values of (d') to the following equation, the target color-mixing coordinate Q can be solvedT-1(u'mix,v'mix):
Figure DEST_PATH_IMAGE020
Obtaining QT-1(u'mix,v'mix) And = 0.2014,0.4629, namely, the target mixed color coordinate.
Will QT-1(u'mix,v'mix) Substituting the linear programming model:
an objective function: max Lmix=L'R+L'G +L'B +L'w
Figure DEST_PATH_IMAGE022
Solving the model by substituting the data, and the mixed brightness has a maximum value Lmix=L'R+L'G +L'B +L'w=4494.104, and the brightness of each primary color RGBW at this time is: l'R=850;L'G=1543.654;L'B=50.450;L'W=2050;
Thus, the duty ratio D of PWM at this time is obtained:
Figure DEST_PATH_IMAGE024
integrating the processes, the user performs color matching operation on the light source, pushes the slide bar on the console to input the set abscissa u'T= 0.1996, and the regulation level is 1 at the red-biased channel input. The color matching operation unit returns the PWM duty ratio, namely the PWM signal duty ratio output of each primary color of the RGBW is D = {1, 0.6175, 0.1121, 1}, and the output is sent to a driver, so that each primary color of the driving light source emits light as required and is mixed with color. The color temperature after color mixing is still the current point M on the black body locus lineTThe corresponding color temperature is shifted by 1 step only in the red direction.
EXAMPLE six
The same operation as in the fifth embodiment is different in that when the user inputs 2-level adjustment on the reddish channel in this embodiment, that is, d' =2 × λ =0.004. At this time, Q is obtainedT-2(u'mix,v'mix)=(0.2032,0.4621)
Maximum value of mixed luminance Lmix=L'R+L'G +L'B +L'w=4425.251;
The brightness of each primary color of RGBW is: l'R=850;L'G=1476.692;L'B=48.559;L'W=2050;
Final duty cycle D = {1, 0.5907, 0.1079, 1}
By integrating the processes, the user performs color mixing operation on the light source, pushes the slide bar on the console to input the set abscissa u'T= 0.1996, and the regulation level is 2 at the red-biased channel input. And the color matching operation unit returns the PWM duty ratio, namely the PWM signal duty ratio output of each primary color of the RGBW is D = {1, 0.5907, 0.1079, 1}, and the output is sent to a driver, so that each primary color of the driving light source emits light as required and is subjected to color mixing. The color temperature after color mixing is still the current point M on the black body locus lineTThe corresponding color temperature is shifted by 2 steps only in the red direction.
EXAMPLE seven
The present embodiment also provides an electronic device, referring to fig. 4, comprising a memory 404 and a processor 402, wherein the memory 404 stores a computer program, and the processor 402 is configured to execute the computer program to perform the steps of any of the above method embodiments.
Specifically, the processor 402 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
Memory 404 may include, among other things, mass storage 404 for data or instructions. By way of example, and not limitation, memory 404 may include a hard disk drive (hard disk drive, HDD for short), a floppy disk drive, a solid state drive (SSD for short), flash memory, an optical disk, a magneto-optical disk, tape, or a Universal Serial Bus (USB) drive or a combination of two or more of these. Memory 404 may include removable or non-removable (or fixed) media, where appropriate. The memory 404 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 404 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, memory 404 includes Read-only memory (ROM) and Random Access Memory (RAM). The ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or FLASH memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a static random-access memory (SRAM) or a dynamic random-access memory (DRAM), where the DRAM may be a fast page mode dynamic random-access memory 404 (FPMDRAM), an extended data output dynamic random-access memory (EDODRAM), a synchronous dynamic random-access memory (SDRAM), or the like.
The memory 404 may be used to store or cache various data files that are required for processing or communication purposes, as well as possibly computer program instructions for execution by the processor 402.
The processor 402 reads and executes computer program instructions stored in the memory 404 to implement any of the black body locus and isotherm toning control methods in the above embodiments.
Optionally, the electronic apparatus may further include a transmission device 406 and an input/output device 408, where the transmission device 406 is connected to the processor 402, and the input/output device 408 is connected to the processor 402.
The transmitting device 406 may be used to receive or transmit data via a network. Specific examples of the network described above may include wired or wireless networks provided by communication providers of the electronic devices. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmitting device 406 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The input and output devices 408 are used to input or output information. In the present embodiment, the input information may be a color matching parameter or the like, and the output information may be a duty ratio or the like.
Example four
The embodiment also provides a readable storage medium, in which a computer program is stored, where the computer program includes program code for controlling a process to execute the process, and the process includes the black body locus and isotherm toning control method according to the first embodiment.
It should be noted that, for specific examples in this embodiment, reference may be made to examples described in the foregoing embodiments and optional implementations, and details of this embodiment are not described herein again.
In general, the various embodiments may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. Some aspects of the invention may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto. While various aspects of the invention may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.
Embodiments of the invention may be implemented by computer software executable by a data processor of the mobile device, such as in a processor entity, or by hardware, or by a combination of software and hardware. Computer software or programs (also called program products) including software routines, applets or macros can be stored in any device readable data storage medium and they include program instructions for performing particular tasks. The computer program product may comprise one or more computer-executable components configured to perform embodiments when the program is run. The one or more computer-executable components may be at least one software code or a portion thereof. Further in this regard it should be noted that any block of the logic flow as in the figures may represent a program step, or an interconnected logic circuit, block and function, or a combination of a program step and a logic circuit, block and function. The software may be stored on physical media such as memory chips or memory blocks implemented within the processor, magnetic media such as hard or floppy disks, and optical media such as, for example, DVDs and data variants thereof, CDs. The physical medium is a non-transitory medium.
It should be understood by those skilled in the art that various features of the above embodiments can be combined arbitrarily, and for the sake of brevity, all possible combinations of the features in the above embodiments are not described, but should be considered as within the scope of the present disclosure as long as there is no contradiction between the combinations of the features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not to be construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (9)

1. The black body track and isothermal line color modulation control method is characterized by comprising the following steps of:
s00, obtaining inherent maximum brightness of each primary color of a light source, inherent color coordinates corresponding to each primary color and color mixing parameters input by a user, wherein the color mixing parameters comprise a set abscissa, a greenish color mixing parameter and a reddish color mixing parameter of a black body trajectory;
s10, calculating a u 'v' color coordinate in a CIE1976-u 'v' system according to a set abscissa, and taking the u 'v' color coordinate as an intersection point of a black body trajectory line and a corresponding isotherm;
s20, calculating a target mixed color coordinate according to a greenish color mixing parameter or a reddish color mixing parameter, a u 'v' color coordinate and an adjustment step length of an isothermal line;
s30, substituting the target mixed color coordinate into a linear programming model to obtain a total value of mixed brightness of each primary color and brightness corresponding to each primary color, wherein the linear programming model is established based on the inherent highest brightness of each primary color, the inherent color coordinate of each primary color and the target mixed color coordinate;
and S40, calculating a duty ratio according to the inherent highest brightness of each primary color and the brightness corresponding to each primary color and outputting to control the light source.
2. The method as claimed in claim 1, wherein in step S10, the corresponding ordinate is calculated according to the set abscissa and the black body locus, so as to obtain the u 'v' chromaticity coordinates.
3. The black body locus and isotherm toning control method of claim 1, wherein the greenish toning parameter and the reddish toning parameter are both the product of a toning step size and a respective adjustment level.
4. The black body locus and isotherm toning method of claim 1, wherein in step S30, when the total value of the mixed brightness of the primary colors is 0, the duty ratio is maintained in the last state.
5. The black body locus and isotherm toning control method of claim 4, wherein in step S40, the specific steps are:
and dividing the brightness corresponding to each primary color by the inherent highest brightness of each primary color to obtain a duty ratio, and outputting the duty ratio as a PWM signal to control the light source.
6. The black body locus and isotherm toning control method of claim 1, wherein in step S00, the inherent maximum brightness of each primary color of the light source and the corresponding inherent color coordinates are obtained in a dark enclosed environment.
7. The utility model provides a black body orbit and isotherm mixing of colors controlling means which characterized in that includes:
the input unit is used for acquiring inherent maximum brightness of each primary color of the light source, inherent color coordinates corresponding to each primary color and color mixing parameters input by a user, wherein the color mixing parameters comprise a set abscissa, a greenish color mixing parameter and a reddish color mixing parameter of a black body trajectory;
the signal analysis unit is used for calculating a u 'v' color coordinate in a CIE1976-u 'v' system according to a set abscissa, and taking the u 'v' color coordinate as an intersection point of a black body trajectory line and a corresponding isotherm;
the isothermal line adjusting unit is used for calculating a target mixed color coordinate according to the greenish color matching parameter or the reddish color matching parameter, the u 'v' color coordinate and the adjusting step length of the isothermal line;
the color matching operation unit is used for obtaining the total value of the mixed brightness of each primary color and the brightness corresponding to each primary color by substituting the target mixed color coordinate into a linear programming model, wherein the linear programming model is established based on the inherent highest brightness of each primary color, the inherent color coordinate of each primary color and the target mixed color coordinate;
and the output control unit is used for calculating the duty ratio according to the inherent highest brightness of each primary color and the brightness corresponding to each primary color and outputting to control the light source.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the black body locus and isotherm toning control method of any one of claims 1 to 6.
9. A readable storage medium having stored therein a computer program comprising program code for controlling a process to execute a process, the process comprising the black body locus and isotherm toning control method according to any one of claims 1 to 6.
CN202210964521.3A 2022-08-12 2022-08-12 Black body track and isotherm color modulation control method and application thereof Active CN115052387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210964521.3A CN115052387B (en) 2022-08-12 2022-08-12 Black body track and isotherm color modulation control method and application thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210964521.3A CN115052387B (en) 2022-08-12 2022-08-12 Black body track and isotherm color modulation control method and application thereof

Publications (2)

Publication Number Publication Date
CN115052387A CN115052387A (en) 2022-09-13
CN115052387B true CN115052387B (en) 2022-11-01

Family

ID=83168187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210964521.3A Active CN115052387B (en) 2022-08-12 2022-08-12 Black body track and isotherm color modulation control method and application thereof

Country Status (1)

Country Link
CN (1) CN115052387B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334710B (en) * 2022-08-12 2023-03-31 杭州罗莱迪思科技股份有限公司 Isothermal line color matching control method and application thereof
CN117615481B (en) * 2024-01-24 2024-04-09 杭州罗莱迪思科技股份有限公司 Dynamic correction color mixing system and method for influence of self-adaptive temperature on color coordinates

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5532848A (en) * 1992-11-25 1996-07-02 Canon Information Systems, Inc. Method and apparatus for adjusting correlated color temperature
JP3944972B2 (en) * 1997-10-28 2007-07-18 松下電工株式会社 COLOR TEMPERATURE CONTROLLED LIGHTING DEVICE AND SLEEPING DEVICE, WAKE UP DEVICE, AND SLEEP Awakening Device Using The Same
CN1165183C (en) * 2000-05-15 2004-09-01 北京北达华彩科技有限公司 Adaptive chroma compensation method and compensator
JP2007141737A (en) * 2005-11-21 2007-06-07 Sharp Corp Lighting system, liquid crystal display device, control method of lighting system, lighting system control program and recording medium
US8687147B2 (en) * 2011-11-14 2014-04-01 Planck Co., Ltd. Color regulating device for illumination and apparatus using the same, and method of regulating color
US10054272B2 (en) * 2012-03-19 2018-08-21 Philips Lighting Holding B.V. Apparatus, systems and methods for a multichannel white light illumination source
US9607575B2 (en) * 2013-05-13 2017-03-28 Asustek Computer Inc. Display mode adjusting method of display device and display mode adjusting module thereof
US10477636B1 (en) * 2014-10-28 2019-11-12 Ecosense Lighting Inc. Lighting systems having multiple light sources
CN115623630A (en) * 2016-09-14 2023-01-17 路创技术有限责任公司 Lighting device and method for adjusting periodic changes in analog output
CN117676954A (en) * 2016-09-14 2024-03-08 路创技术有限责任公司 Lighting system for controlling color temperature as a function of brightness
CN108811252A (en) * 2018-07-16 2018-11-13 常州星宇车灯股份有限公司 A kind of control system for realizing automobile room lamp light modulation toning
CN109496035B (en) * 2018-11-02 2020-06-23 广州市浩洋电子股份有限公司 Color matching method, color matching method and system for automatically realizing maximum brightness of colored lamp
CN111050444B (en) * 2019-02-01 2021-04-09 靳鹏 Method for simulating CIE standard illuminant by using multi-channel LED and illumination system
CN113597045A (en) * 2021-07-02 2021-11-02 厦门天力源光电科技有限公司 Light color control method of LED lamp
CN114466476A (en) * 2022-01-12 2022-05-10 林璧光 Light color adjusting method of LED illuminating lamp and light source and adjusting device thereof
CN114126145B (en) * 2022-01-24 2022-04-22 杭州罗莱迪思科技股份有限公司 Method for adjusting linear perception of color temperature of lamp and application thereof
CN114727452B (en) * 2022-06-09 2022-09-02 杭州罗莱迪思科技股份有限公司 Multi-primary color light control method based on RGB mode and application thereof

Also Published As

Publication number Publication date
CN115052387A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN115052387B (en) Black body track and isotherm color modulation control method and application thereof
CN115334710B (en) Isothermal line color matching control method and application thereof
CN114727452B (en) Multi-primary color light control method based on RGB mode and application thereof
EP1958483B1 (en) Method and apparatus for controlling a variable-colour light source
US8981672B2 (en) Color control of dynamic lighting
US7972028B2 (en) System, method and tool for optimizing generation of high CRI white light, and an optimized combination of light emitting diodes
US8177389B1 (en) Deterministically calculating dimming values for four or more light sources
US8497871B2 (en) Color generation using multiple illuminant types
CN109496035B (en) Color matching method, color matching method and system for automatically realizing maximum brightness of colored lamp
CN110167242B (en) Mixed light adjusting method, device, system and storage medium
CN115297590B (en) Color non-shift control method for dimming lamp and application thereof
US10492256B2 (en) Method and device for calibrating LED lighting
CN106304527A (en) A kind of Lighting Control Assembly and illumination control method
CN105101517B (en) The configuration equipment and system of lamps and lanterns driving parameter
CN113453396A (en) WRGB color mixing method and device based on additive color mixing, terminal equipment and storage medium
CN108401314B (en) Stepless dimming and toning method based on polar coordinates
JP2007250350A (en) Continuously variable color temperature lighting system and continuously variable color temperature lighting method
CN114900925B (en) Multi-primary color light control method and application thereof
CN114340080A (en) Light mixing method, system and device of RGB-LED light source
Tanaka et al. Color control of a lighting system using RGBW LEDs
CN106255282A (en) A kind of Lighting Control Assembly and illumination control method
JP3382008B2 (en) Variable color lighting system
CN114828337B (en) Control method and application of outdoor LED dyeing lamp
TW201539422A (en) Correcting method, correcting apparatus and a method for establishing color performance database for display apparatus
CN115696691B (en) Intelligent lamp dimming method and device, intelligent lamp and storage medium

Legal Events

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