CN115334710B - Isothermal line color matching control method and application thereof - Google Patents

Isothermal line color matching control method and application thereof Download PDF

Info

Publication number
CN115334710B
CN115334710B CN202210964505.4A CN202210964505A CN115334710B CN 115334710 B CN115334710 B CN 115334710B CN 202210964505 A CN202210964505 A CN 202210964505A CN 115334710 B CN115334710 B CN 115334710B
Authority
CN
China
Prior art keywords
color
brightness
primary
inherent
isotherm
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
CN202210964505.4A
Other languages
Chinese (zh)
Other versions
CN115334710A (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 CN202210964505.4A priority Critical patent/CN115334710B/en
Publication of CN115334710A publication Critical patent/CN115334710A/en
Application granted granted Critical
Publication of CN115334710B publication Critical patent/CN115334710B/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/30Driver circuits
    • 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
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
    • G06F17/12Simultaneous equations, e.g. systems of linear equations
    • 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
    • G06F17/15Correlation function computation including computation of convolution 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]

Landscapes

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

Abstract

The application provides an isothermal line color matching 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; converting the color temperature into u 'v' color coordinates in a CIE1976-u 'v' system, and taking the u 'v' color coordinates as the intersection point of the black body trajectory and an isotherm of the set color temperature; 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 control method for color matching on the isotherm can be realized, so that a user can freely color match on the isotherm according to scene requirements, and more light color requirements can be met.

Description

Isothermal line color matching control method and application thereof
Technical Field
The application relates to the technical field of light control, in particular to an isotherm color-mixing 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 in illumination optics that defines the color of a light source. For example, the color temperature of yellow light is 3000K, and the color temperature in sunlight is 6500K in daytime.
In the CIE1931-xy chromaticity diagram (fig. 2), the inner transverse curved line is the black body trajectory line, and different points on the black body trajectory line represent different color temperatures. The straight line intersecting the black body trajectory line 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.
When the LED light source package in the prior art is manufactured, the light color of the packaged product is directly influenced by the processes of chip difference, the type and concentration ratio of fluorescent powder, the glue quantity uniformity and the like, so that the color coordinate of the white light source is difficult to fall on the 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 BIN. Light sources of different BIN will produce color cast.
Therefore, it is highly desirable to develop a light source capable of color modulation 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 an isotherm color matching control method and application thereof, aiming at solving the problem that the prior art cannot match colors 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 an 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 set color temperature, greenish color mixing parameters and reddish color mixing parameters;
s10, converting the color temperature into a u 'v' color coordinate in a CIE1976-u 'v' system, and taking the u 'v' color coordinate as an intersection point of a black body trajectory line and an isotherm of the set color temperature;
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 isothermal line;
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 S30, when the total value of the mixed luminances of the primary colors is 0, the duty ratio is maintained in the last state.
Further, the greenish toning parameter and the reddish toning parameter are both the product of the toning step length and the respective adjustment level.
Furthermore, 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.
Further, in step S30, 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, wherein the linear programming model is established based on the inherent maximum brightness of the primary colors, the inherent color coordinate of each primary color, 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 an isotherm toning control device, comprising:
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 matching parameters input by a user, wherein the color matching parameters comprise set color temperature, greenish color matching parameters and reddish color matching parameters;
the signal analysis unit is used for converting the color temperature into u 'v' color coordinates in a CIE1976-u 'v' system, and taking the u 'v' color coordinates as an intersection point of a black body trajectory line and an isothermal line of the set color temperature;
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 above-mentioned 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 an isotherm toning control method according to the above.
The main contributions and innovation points of the invention are as follows: 1. compared with the prior art, the control method capable of realizing color matching on the isotherm has the advantages that for a multi-primary-color light source, color temperature input of a user is received, color cast adjustment of the user is received, a corresponding PWM driving light source is output through color matching operation, and free adjustment of target colors on the isotherm is realized;
2. compared with the prior art, the control method for color matching on the isotherm is realized, so that a user can freely color on the isotherm according to scene requirements to meet more light color requirements;
3. compared with the prior art, the method is implemented by using a CIE1976-u 'v' chromaticity diagram, and can ensure the accuracy of the isotherm and ensure that the isotherm is uniformly changed visually when adjusted according to step sizes.
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 thorough understanding 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 of an isotherm toning control method according to an embodiment of the present application;
FIG. 2 is a schematic illustration 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. The following description refers to the accompanying drawings in which the same 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 that 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 in this specification. In some other embodiments, the methods may include more or fewer steps than are 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). Different BIN light sources produce color cast.
Based on the control method, for the multi-primary-color light source, the color temperature input of a user is received, the color cast adjustment of the user is received, the corresponding PWM driving light source is output through color matching operation, and the free adjustment of the target color on the isotherm is realized.
Example one
Specifically, an embodiment of the present application provides an isotherm toning control method, specifically, with reference to fig. 1, the method includes the following steps:
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 set color temperature, greenish color mixing parameters and reddish color mixing parameters;
in this embodiment, the inherent maximum brightness of each primary color of the light source and the corresponding inherent color coordinates are obtained in a dark closed environment.
Wherein, the value ranges of the greenish toning parameters and the reddish toning parameters are both more than 0 and less than or equal to 0.03.
S10, converting the color temperature into u 'v' color coordinate in a CIE1976-u 'v' system, taking the u 'v' color coordinate as an intersection point of a black body trajectory line (f (u ', v') in figure 3) and an isotherm (h (u ', v') in figure 3) of the set color temperature, and referring to M in figure 3 T
In this embodiment, the prior art uses the most CIE1931-xy chromaticity diagram, which is visually non-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 3 T-n And inclined to red Q T-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 conception, the application also provides an isotherm toning control device, which comprises:
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 matching parameters input by a user, wherein the color matching parameters comprise set color temperature, greenish color matching parameters and reddish color matching parameters;
in this embodiment, the input unit is configured to receive an input of a color temperature parameter T of a user, and receive an input of a greenish toning parameter d and a reddish toning parameter d' of the user;
before signal analysis, the maximum brightness value L 'of each primary color is acquired' 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 converting the color temperature into u 'v' color coordinates in a CIE1976-u 'v' system, and taking the u 'v' color coordinates as an intersection point of a black body trajectory line and an isothermal line of the set color temperature;
in this embodiment, the signal analyzing unit is configured to analyze the user color temperature parameter T into a corresponding color coordinate M on the black body locus line T (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, for calculating the targetColor coordinate P T-n (u' mix ,v' mix ),P T-n Represents 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 BDA0003794257970000061
in the present embodiment, the method is used for calculating the target color coordinates Q T-n (u' mix ,v' mix ),Q T-n Indicating the nth level of adjustment of T color temperature when the user is receiving the reddish tone parameter d' (0)<d' is less than or equal to 0.03), the following equation is established:
Figure BDA0003794257970000071
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 operation unit establishes, for any light source with no less than 3 primary colors, based on the following linear programming model:
an objective function: max L mix =L' 1 +L' 2 +…+L' m
Figure BDA0003794257970000072
Wherein, subscript m is a positive integer not less than 3 to represent the number of primary colors; l' 1 、L' 2 、…、L' m Target brightness to be determined of each primary color belongs to decision variables; l is a radical of an alcohol mix Is the undetermined total brightness of the color mixture; l is 1 、L 2 、.....、L m Is 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 ) Is the inherent color seat of each primary colorAnd (4) marking.
Wherein when the optimal solution L of the linear programming model is mix When =0, the target color coordinate P determined by the user input parameter is represented T-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 BDA0003794257970000081
wherein L' 1 、L' 2 、…、L' m Is the brightness of the color matching result of each primary color, L 1 、L 2 、.....、L m Is 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 the black room, and measures the maximum brightness of each primary color as:
L R =850;L G =2500;L B =450;L W =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, a user performs a color tuning operation on the light source, inputs a color temperature T =6667K on the console, and converts the color temperature into a u 'v' color coordinate denoted M in CIE1976-u 'v' system using the conventional technique T (u' T ,v' T )=(0.1996,0.4639). This point is the intersection of the blackbody trajectory and the 6667K isotherm.
The color mixing step length set on the isotherm is λ =0.002, and when 1-level adjustment is input on the greenish channel, that is, d =1 × λ =0.002, the target color mixing adjustment point is denoted as P T-1 (u' mix ,v' mix )。
Substituted into (u' T ,v' T ) The numerical value of (d) and the numerical value of (d) to the following equation, the target color mixing coordinate P can be solved T-1 (u' mix ,v' mix ):
Figure BDA0003794257970000091
To obtain P T-1 (u' mix ,v' mix ) And = (0.1978, 0.4646), namely, the target mixed color coordinate.
The above data was substituted into the following linear programming model:
an objective function: max L mix =L' R +L' G +L' B +L' w
Figure BDA0003794257970000092
Solving the model by substituting the data, and the mixed brightness has a maximum value L mix =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。
The duty ratio D of the PWM at this time is then obtained:
Figure BDA0003794257970000093
by combining the processes, the user can color the light source, input the color temperature T =6667K on the console, and input the adjustment level of 1 on the greenish channel. 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 the PWM signal duty ratio output is sent to a driver, and each primary color of the driving light source emits light according to the requirement and mixes the light. The color temperature after toning is still 6667K, but shifted by 1 level in the green direction.
Example four
In addition to the third embodiment, when the user inputs 2-level adjustment on the greenish channel, d =2 × λ =0.004, and at this time, the target color mixture coordinate P is obtained by using the same formula as that of the fourth embodiment T-2 (u' mix ,v' mix ) = (0.1960, 0.4654); maximum value L of mixed brightness mix =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}.
By combining the above processes, the user performs the color adjustment operation on the light source, inputs the color temperature T =6667K on the console, and inputs the adjustment level of 2 on the greenish channel. 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 is sent to the driver, and each primary color of the driving light source emits light and mixes the color as required. The color temperature after toning is still 6667K, but shifted by 2 steps in the green direction.
EXAMPLE five
In addition to 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 Q T-1 (u' mix ,v' mix )。
Substituting (u 'into the formula in example III' T ,v' T ) The values of (c) and (d') to the following equation, the target mixed-color coordinate Q can be solved T-1 (u' mix ,v' mix ):
Figure BDA0003794257970000101
Finding Q T-1 (u' mix ,v' mix ) = (0.2014, 0.4629), namely the target mixed color coordinate。
Will Q T-1 (u' mix ,v' mix ) Substituting the linear programming model:
an objective function: max L mix =L' R +L' G +L' B +L' w
Figure BDA0003794257970000111
Solving the model by substituting data to obtain the maximum value L of the mixed brightness mix =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 BDA0003794257970000112
by combining the processes, the user performs color modulation operation on the light source, inputs the color temperature T =6667K on the console, and inputs the adjustment level of 1 on the red channel. 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 is sent to the driver, and each primary color of the driving light source emits light as required and is mixed with color. The color temperature after toning is still 6667K, but shifted by 1 step 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 obtained T-2 (u' mix ,v' mix )=(0.2032,0.4621)
Maximum value of mixed luminance L mix =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 combining the above processes, the user performs the color adjustment operation on the light source, inputs the color temperature T =6667K on the console, and inputs the adjustment level of 2 on the red channel. 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, and each primary color of the driving light source emits light according to the requirement and mixes the light. The color temperature after toning is still 6667K, but shifted by 2 steps 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 method embodiments described above.
Specifically, the processor 402 may include a Central Processing Unit (CPU), or an Application 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, the memory 404 may include a hard disk drive (hard disk drive, abbreviated HDD), a floppy disk drive, a solid state drive (solid state drive, abbreviated SSD), 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 certain 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), and 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 implements any of the isotherm toning control methods in the embodiments described above by reading and executing computer program instructions stored in the memory 404.
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 to communicate with the internet. In one example, the transmitting device 406 may be a Radio Frequency (RF) module configured to communicate with the internet via wireless.
The input-output device 408 is used to input or output information. In this 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 present embodiment also 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 the 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 the examples described in the foregoing embodiment and optional implementation manners, 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 include 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, which falls 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 (4)

1. The isothermal line color mixing control method is characterized by comprising the following steps of:
s00, obtaining inherent maximum brightness and corresponding inherent color coordinates of each primary color of a light source in a dark closed environment, and obtaining color matching parameters input by a user, wherein the color matching parameters comprise a set color temperature, a greenish color matching parameter and a reddish color matching parameter;
s10, converting the color temperature into u 'v' color coordinates in a CIE1976-u 'v' system, and taking the u 'v' color coordinates as the intersection point of a black body trajectory line and an isotherm of the set color temperature;
s20, 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 adjustment step length of the isotherm;
wherein, the greenish toning parameter and the reddish toning parameter are both the product of toning step length and respective regulation grade; the value ranges of the green toning parameters and the red toning parameters are both more than 0 and less than or equal to 0.03;
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;
when the total value of the mixed brightness of each primary color is 0, keeping the duty ratio in the last state;
and S40, 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.
2. An isotherm toning control apparatus comprising:
the input unit is used for acquiring inherent maximum brightness and corresponding inherent color coordinates of each primary color of the light source in a dark closed environment and acquiring color matching parameters input by a user, wherein the color matching parameters comprise set color temperature, greenish color matching parameters and reddish color matching parameters;
the signal analysis unit is used for converting the color temperature into u 'v' color coordinates in a CIE1976-u 'v' system, and taking the u 'v' color coordinates as an intersection point of a black body trajectory line and an isotherm of the set color temperature;
the isothermal line adjusting unit is used for calculating a target mixed color 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; wherein, the green color matching parameter and the red color matching parameter are the product of the color matching step length and the respective adjusting grade; 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;
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 coordinates of the target mixed color into a linear programming model, wherein the linear programming model is established on the basis of the inherent highest brightness of each primary color, the coordinates of the inherent color of each primary color and the coordinates of the target mixed color; when the total value of the mixed brightness of each primary color is 0, keeping the duty ratio in the last state;
and the output control unit is used for correspondingly dividing the brightness corresponding to each primary color 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.
3. An electronic device comprising a memory and a processor, wherein the memory has a computer program stored therein, and the processor is configured to run the computer program to perform the isotherm toning control method of claim 1.
4. 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 isotherm toning control method as recited in claim 1.
CN202210964505.4A 2022-08-12 2022-08-12 Isothermal line color matching control method and application thereof Active CN115334710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210964505.4A CN115334710B (en) 2022-08-12 2022-08-12 Isothermal line color matching control method and application thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210964505.4A CN115334710B (en) 2022-08-12 2022-08-12 Isothermal line color matching control method and application thereof

Publications (2)

Publication Number Publication Date
CN115334710A CN115334710A (en) 2022-11-11
CN115334710B true CN115334710B (en) 2023-03-31

Family

ID=83924381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210964505.4A Active CN115334710B (en) 2022-08-12 2022-08-12 Isothermal line color matching control method and application thereof

Country Status (1)

Country Link
CN (1) CN115334710B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117295206B (en) * 2023-11-24 2024-04-12 杭州罗莱迪思科技股份有限公司 Constant brightness constant power color mixing control method and lamp
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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106163001B (en) * 2016-07-26 2018-09-07 深圳市索佳光电实业有限公司 A kind of Intelligent LED lighting control system based on Android, IOS and ZigBee
CN109819546B (en) * 2017-11-21 2023-07-28 上海航空电器有限公司 Wide color gamut dimming and mixing method and atmosphere lamp
US10887960B2 (en) * 2019-03-28 2021-01-05 Lumileds Llc Color tunable light emitting diode (LED) systems, LED lighting systems, and methods
US11076461B2 (en) * 2019-05-17 2021-07-27 Lumileds Llc User control modality for LED color tuning
WO2020236525A1 (en) * 2019-05-17 2020-11-26 Lumileds Llc User control modality for led color tuning
US10883672B1 (en) * 2019-10-29 2021-01-05 Ideal Industries Lighting Llc Reflector structures for lighting devices
CN115052387B (en) * 2022-08-12 2022-11-01 杭州罗莱迪思科技股份有限公司 Black body track and isotherm color modulation control method and application thereof

Also Published As

Publication number Publication date
CN115334710A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN115334710B (en) Isothermal line color matching control method and application thereof
CN115052387B (en) Black body track and isotherm color modulation control method and application thereof
CN114727452B (en) Multi-primary color light control method based on RGB mode and application thereof
US8981672B2 (en) Color control of dynamic lighting
CN109496035B (en) Color matching method, color matching method and system for automatically realizing maximum brightness of colored lamp
EP2732206B1 (en) Polychromatic solid-state light sources for the control of colour saturation of illuminated surfaces
CN110167242B (en) Mixed light adjusting method, device, system and storage medium
JP2006525634A (en) User interface for controlling light emitting diodes
CN109379813B (en) Color temperature adjustable illumination module and color temperature adjusting method of illumination module
CN113453396A (en) WRGB color mixing method and device based on additive color mixing, terminal equipment and storage medium
CN103906325B (en) Illumination control method and system
CN115297590A (en) Color non-shift control method for dimming lamp and application thereof
CN110677954A (en) Precise dimming method and system for super-three-color LED light source
CN114900925B (en) Multi-primary color light control method and application thereof
CN105101517A (en) Configuration equipment and configuration system for lamp driving parameter
Murdoch Dynamic color control in multiprimary tunable LED lighting systems
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
CN111083834B (en) LED calibration method, device, equipment and system
US9626892B2 (en) Optimization method and system of real-time LCD white balance selection
US9679531B2 (en) Correcting method, correcting apparatus and method for establishing color performance database for display apparatus
CN106255282A (en) A kind of Lighting Control Assembly and illumination control method
CN114828337B (en) Control method and application of outdoor LED dyeing lamp
CN105869582B (en) LCD white balances switch the optimization method and system of selection in real time
GB2522862A (en) Controlling apparatus and method for controlling a lighting apparatus having at least two light sources

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