CN114126145A - Method for adjusting linear perception of color temperature of lamp and application thereof - Google Patents

Method for adjusting linear perception of color temperature of lamp and application thereof Download PDF

Info

Publication number
CN114126145A
CN114126145A CN202210077471.7A CN202210077471A CN114126145A CN 114126145 A CN114126145 A CN 114126145A CN 202210077471 A CN202210077471 A CN 202210077471A CN 114126145 A CN114126145 A CN 114126145A
Authority
CN
China
Prior art keywords
color temperature
adjusting
lamp
color
brightness
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.)
Granted
Application number
CN202210077471.7A
Other languages
Chinese (zh)
Other versions
CN114126145B (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 CN202210077471.7A priority Critical patent/CN114126145B/en
Publication of CN114126145A publication Critical patent/CN114126145A/en
Application granted granted Critical
Publication of CN114126145B publication Critical patent/CN114126145B/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
    • H05B45/32Pulse-control circuits
    • H05B45/325Pulse-width modulation [PWM]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light

Abstract

The invention relates to a method for adjusting linear perception of color temperature of a lamp and application thereof, wherein the scheme comprises the following steps: acquiring set parameters of the lamp; respectively calculating an initial value and an adjusting step length according to set parameters; and obtaining a curve formula according to the bending coefficient, the target adjusting stage number, the initial value and the adjusting step length, and taking the curve formula as an adjusting curve of the lamp. And converting the color temperature in the adjusting curve into a chromaticity coordinate, converting the chromaticity coordinate into a primary color matching ratio according to inherent light color parameters of the lamp, unifying the brightness of mixed light of the primary color matching ratio, converting the primary color matching ratio with unified brightness into a corresponding PWM signal, and outputting the PWM signal to the light source to generate a target color temperature and a target brightness. The method and the device have the advantages of being in line with human eye perception rules, efficient in conversion and uniform in brightness.

Description

Method for adjusting linear perception of color temperature of lamp and application thereof
Technical Field
The invention relates to the technical field of LED lamp application, in particular to a method for adjusting linear perception of lamp color temperature and application thereof.
Background
Color temperature is one physical quantity used in illumination optics to define the color of a light source. And the correlated Color temperature cct (correlated Color temperature) is a measure for describing the Color of light located near the planckian locus. For example, the color temperature of yellow light is 3000K, and the color temperature in sunlight is 6500K in daytime.
The color is closely related to life, and different color temperatures are adjusted by the lamp, so that different atmospheres are created for people. In some scenes, color temperature gradual adjustment is needed, for example, the color temperature is uniformly changed from 3000K to 6500K within a set time, and the adjustment mode in the prior art is linear adjustment. However, the perception of color temperature changes by the human eye is not simply a linear relationship, and such adjustment may cause the human eye to perceive an unnatural abrupt change in color temperature.
Secondly, in the prior art, the matching relation between each correlated color temperature CCT and the corresponding RGB primary colors is obtained through one-by-one test and measurement by a manual experiment method, and the CCT-RGB table look-up data is mapped one by one, so that the method is time-consuming, labor-consuming and low in efficiency.
In addition, in CCT-RGB table look-up data obtained by the prior art, the uniformity of brightness cannot be guaranteed among each group of data. Since the color temperature CCT represents only colors and not brightness. This results in a flickering change in brightness during the gradual adjustment of the color temperature.
Therefore, a method for adjusting the linear perception of the color temperature of a lamp and an application thereof, which can solve the above technical problems, are needed.
Disclosure of Invention
The invention aims to solve the problems in the prior art and provides a method for adjusting the linear perception of the color temperature of a lamp and an application thereof.
In order to realize the first purpose of the invention, the invention adopts the following technical scheme: a method for adjusting linear perception of lamp color temperature is based on a correlated color temperature CCT curve, and comprises the following steps:
s000, acquiring set parameters of the lamp, wherein the set parameters comprise a current color temperature value, a target color temperature value, a bending coefficient of a correlated color temperature curve and an adjusting stage number, and the bending coefficient is a numerical value conforming to the feeling of human eyes;
s100, respectively calculating an initial value and an adjusting step length according to set parameters;
s200, obtaining a curve formula according to the bending coefficient, the target adjusting stage number, the initial value and the adjusting step length, and taking the curve formula as an adjusting curve of the lamp, wherein the target adjusting stage number is any one of the adjusting stage numbers.
The working principle and the beneficial effects are as follows: 1. compared with the prior art, the curve formula can be independently set according to each lamp, particularly the curve coefficient which accords with human eye feeling numerical values is utilized, the curve formula is not linear change in the prior art, but more accords with the curve change felt by human eyes, and therefore the problem that the human eyes feel unnatural color temperature mutation in the prior art can be solved.
Further, in step S100, the current color temperature value is taken as the initial level color temperature in the adjustment level number, and the initial value = the bending coefficient/the initial level color temperature.
Further, in step S100, the target color temperature value is used as the color temperature of the highest level in the adjustment level, and the adjustment step = bending coefficient (highest level color temperature-initial level color temperature)/(adjustment maximum level initial level color temperature) highest level color temperature.
Further, in step 200, the adjustment curve = bending coefficient/(initial value-adjustment step · target adjustment order).
Further, the bending coefficient has a value range of 105~106
In order to achieve the second purpose of the invention, the invention adopts the following technical scheme:
a matching method for adjusting linear perception of lamp color temperature is based on the method for adjusting linear perception of lamp color temperature, and comprises the following steps:
s300, converting each level of color temperature into a corresponding color coordinate;
s400, obtaining a light color parameter of the lamp, wherein the light color parameter comprises the maximum brightness of each primary color of the lamp and a color coordinate corresponding to each primary color, and the lamp at least comprises two primary colors;
s500, sequentially obtaining the target brightness of each primary color in each level of color temperature through a linear programming model according to the color coordinates corresponding to the primary colors and the light color parameters of the lamp, taking the target brightness as a target brightness set of the lamp, and obtaining a target total brightness set of the lamp according to the target brightness set.
The working principle and the beneficial effects are as follows: 2. compared with the prior art that the matching relation between each correlated color temperature CCT and the corresponding RGB primary colors is obtained through one-by-one test and measurement through a manual experiment method and is mapped into CCT-RGB table look-up data one by one, the method for adjusting the linear perception of the color temperature of the lamp is converted into the corresponding color coordinates based on the application, the color temperature of each level is converted into the corresponding color coordinates, then the maximum brightness and the corresponding color coordinates of each primary color of the lamp are obtained, and therefore the target brightness set of the lamp and the target total brightness set of the lamp can be obtained through the existing linear programming model, the matching relation is completed in this way, compared with the prior art, the method does not need multiple experimental tests, and is convenient to operate, accurate and efficient.
In order to achieve the third object of the invention, the invention adopts the following technical scheme:
a brightness unifying method for adjusting linear perception of lamp color temperature is based on the proportioning method for adjusting linear perception of lamp color temperature, and the method further comprises the following steps:
s600, calculating a brightness adjusting coefficient according to the target total brightness set, and calculating a set after target brightness correction according to the brightness adjusting coefficient;
and S700, obtaining the duty ratio of the PWM according to the set after the target brightness correction.
The working principle and the beneficial effects are as follows: 3. compared with CCT-RGB table look-up data obtained in the prior art, each group of data cannot ensure the uniformity of brightness, and the brightness changes suddenly and suddenly when the color temperature is adjusted gradually, the brightness adjusting coefficient is calculated through the target total brightness set in the proportioning method for adjusting the linear perception of the color temperature of the lamp, then the set after the target brightness is corrected is obtained according to the brightness adjusting coefficient, and the duty ratio of PWM is obtained according to the set after the target brightness is corrected, so that the brightness of the lamp when the color temperature is adjusted is corrected, the global uniformity is ensured, and the stable and accurate effect is achieved.
A system for adjusting the linear perception of the color temperature of a light fixture, comprising:
the color temperature adjusting module is used for adjusting the color temperature of the lamp by the adjusting curve in the method for adjusting the linear perception of the color temperature of the lamp;
the color temperature conversion module is used for converting the color temperature in the adjusting curve into CIE 1931 chromaticity coordinates;
the color matching operation module is used for converting the chromaticity coordinate into a primary color matching according to inherent photochromic parameters of the lamp, wherein the photochromic parameters comprise the maximum brightness of each primary color of the lamp and the corresponding color coordinate of each primary color;
the brightness unification module is used for unifying the brightness of the mixed light with the primary color proportion;
and the signal conversion module is used for converting the primary color ratio with uniform brightness into a corresponding PWM signal, outputting the PWM signal to the light source driver and then driving the light source to generate a target color temperature and target brightness.
A readable storage medium having stored therein a computer program comprising program code for controlling a process to execute a process comprising a method of adjusting a linear perception of a color temperature of a luminaire according to one of the above.
An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the method for adjusting the linear perception of the color temperature of the lamp.
Drawings
FIG. 1 is a flow chart of example 1 of the present invention;
FIG. 2 is a flowchart of embodiment 2 of the present invention;
FIG. 3 is a flowchart of embodiment 3 of the present invention;
FIG. 4 is a diagram of the variation of the number of adjustment steps n with the color temperature CCT;
fig. 5 is a schematic diagram of the system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
It will be understood by those skilled in the art that in the present disclosure, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for ease of description and simplicity of description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and thus, the above terms should not be construed as limiting the present invention.
In the case of the example 1, the following examples are given,
as shown in fig. 1, the method for adjusting the linear perception of the color temperature of a lamp, based on a correlated color temperature CCT curve, includes the following steps:
s000, acquiring set parameters of the lamp, wherein the set parameters comprise a current color temperature value, a target color temperature value, a bending coefficient of a correlated color temperature curve and an adjusting stage number, and the bending coefficient is a numerical value conforming to the feeling of human eyes; wherein the bending coefficient has a value in the range of 105~106The total number of adjustment stages may be 100, 200, 256, 65536, etc., the total number of general stages is 256, and the current color temperature value and the target color temperature value may be 2000K, 3000K, 4000K, 8000K, etc.
S100, respectively calculating an initial value and an adjusting step length according to set parameters;
the current color temperature value is used as an initial level color temperature in an adjusting level number, and the initial value = a bending coefficient/the initial level color temperature;
taking the target color temperature value as the highest-level color temperature in the adjusting series, and adjusting the step length = bending coefficient (highest-level color temperature-initial-level color temperature)/(adjusting maximum-level initial-level color temperature-highest-level color temperature);
s200, obtaining a curve formula according to the bending coefficient, the target adjusting stage number, the initial value and the adjusting step length, and taking the curve formula as an adjusting curve of the lamp, wherein the target adjusting stage number is any one of the adjusting stage numbers.
Wherein the adjustment curve = bending coefficient/(initial value-adjustment step size × target adjustment stage).
Thus, the color temperature gradient transition is natural and comfortable according with the perception rule of human eyes.
In the case of the example 2, the following examples are given,
as shown in fig. 2, the embodiment 2 is a matching method for adjusting linear perception of color temperature of a lamp, and the method for adjusting linear perception of color temperature of a lamp based on the embodiment 1 includes the following steps:
s300, converting each level of color temperature into a corresponding color coordinate;
s400, obtaining a light color parameter of the lamp, wherein the light color parameter comprises the maximum brightness of each primary color of the lamp and a color coordinate corresponding to each primary color, and the lamp at least comprises two primary colors;
if the color temperature of the initial level is 3000K, the corresponding color coordinate after the conversion by the prior art is
Figure DEST_PATH_IMAGE002
=(0.4370,0.4039);
S500, sequentially obtaining the target brightness of each primary color in each level of color temperature through a linear programming model according to the color coordinates corresponding to the primary colors and the light color parameters of the lamp, taking the target brightness as a target brightness set of the lamp, and obtaining a target total brightness set of the lamp according to the target brightness set.
Thus, the method of embodiment 2 is used for automatically converting data, and is accurate and efficient.
In the case of the example 3, the following examples are given,
as shown in fig. 3, this embodiment 3 is a brightness unifying method for adjusting linear perception of color temperature of a lamp, and based on the proportioning method for adjusting linear perception of color temperature of a lamp of embodiment 3, the method further includes the following steps:
s600, calculating a brightness adjusting coefficient according to the target total brightness set, and calculating a set after target brightness correction according to the brightness adjusting coefficient;
and S700, obtaining the duty ratio of the PWM according to the set after the target brightness correction.
Therefore, the brightness of the lamp during color temperature adjustment is corrected, the global unification of the lamp is guaranteed, and the stable and accurate effect is achieved.
In the case of the example 4, the following examples are given,
this example 4 was combined with examples 1 to 3 as a practical method. In this embodiment, a certain lamp needs to realize color temperature gradual change adjustment of color temperatures of 3000K to 8000K, the total number of adjustment steps is 256, that is, N =0 to 255, there are 0 th-order color temperatures T (0) =3000, and N th-order, that is, 255 th-order color temperatures T (N) = 8000. Generally, the number of adjustment stages N may be N =99 or 255 or 65535, and N =255 is preferred in this embodiment. The bending coefficient k is in the range of 105To 106Preferably 10 in this embodiment6
Thus, the initial value
Figure DEST_PATH_IMAGE003
Step length adjustment
Figure DEST_PATH_IMAGE004
While
Figure DEST_PATH_IMAGE005
Wherein T (N) is a correlated color temperature CCT curve, i.e., the tuning curve in embodiment 1, k is a curve bending coefficient, N is a tuning step number, N is a maximum step number, d is a tuning step length, a0For the initial value, T (0) is the set color temperature of the 0 th level, i.e., the initial level color temperature in embodiment 1, N is the maximum value of the set number of adjustment levels, and T (N) is the set color temperature of the nth level.
The graph of the relationship between the number of adjustment steps n and the color temperature CCT shown in fig. 4 is obtained, the dashed line in the graph is the prior art, the CCT value is linearly changed, but the color temperature change of the lamp is not linear to the human eye. In the figure, a solid line is an adjusting curve of the invention, CCT value is curve change, and the color temperature change shown by the lamp is proved to be linear comfortable change by using the curvature k value of the invention.
By determining the distribution of the color temperature CCT (modulation curve), it is necessary to convert the electrical signal to a controllable light source step by step, i.e. for the combined application of embodiments 2 and 3.
Firstly, the color temperature is converted into color coordinates, for example, the color temperature 3000K of the n =0 th level (initial level color temperature) is converted into corresponding color coordinates by using a calculation method or algorithm of the prior art
Figure 535519DEST_PATH_IMAGE002
=(0.4370,0.4039)。
The parameters of the inherent light color of the lamp are then determined. For example, when a color lamp with four primary colors RGBW is placed in a black room, the maximum luminance of each primary color RGBW is measured, and R, G, B, W is represented by subscripts 1, 2, 3, and 4, respectively, then the maximum luminance of each primary color is denoted as L1=1755;L2=2530;L3=1310;L4=2020。
Then, the color coordinates of the primary colors RGBW of the lamp are determined, and the subscripts 1, 2, 3, and 4 are also used to represent R, G, B, W, respectively, so that the color coordinates of the primary colors are respectively expressed as:
x1=0.713; y1=0.295;
x2=0.152; y2=0.715;
x3=0.141; y3=0.044;
x4=0.241; y4=0.253;
the above data are all put into a linear programming model of the following formula:
an objective function:
Figure DEST_PATH_IMAGE007
constraint conditions are as follows:
Figure DEST_PATH_IMAGE009
wherein, subscript m is a positive integer not less than 2 to represent the number of primary colors;
L'1L'2、...、L'mtarget brightness to be determined of each primary color belongs to decision variables;
Figure DEST_PATH_IMAGE011
is the pending total brightness of the color mixture;L 1L 2、...、L mis the inherent maximum luminance of each primary color;
Figure 905189DEST_PATH_IMAGE002
is the color coordinate of the target color mixture; (x)1,y1)、(x2,y2)、...、(xm,ym) Are the inherent color coordinates of each primary color.
The model is solved to obtain the model,
at a color temperature of 3000K of the order of n =0,
i.e. the target color temperature
Figure 153768DEST_PATH_IMAGE002
In the case of = 0.4370,0.4039, the mixed luminance has the maximum value
Figure 142452DEST_PATH_IMAGE011
=L'1+L'2+L'3+L'4=5032.258, where the brightness of each primary color RGBW is:
L'1=1723.075
L'2=2530.000
L'3=0.000000
L'4=779.1828;
for n =0 at this time, the result may be further recorded as:
Figure DEST_PATH_IMAGE013
=5032.258
L'01=1723.075
L'02=2530.000
L'03=0.000000
L'04=779.1828;
when n =255, the color temperature is 8000K, and the target color temperature is obtained by the prior art
Figure 287651DEST_PATH_IMAGE002
If = (0.2953, 0.3047), the formula is determined by the same method:
Figure DEST_PATH_IMAGE015
=5803.085
L'2551=1083.732
L'2552=2530.000
L'2553=169.3525
L'2554=2020.000;
similarly, repeating the above steps to obtain a target brightness set with undetermined all primary colors corresponding to the CCT color temperature when N = 0-N:
Figure DEST_PATH_IMAGE017
where m represents the number of primary colors of the luminaire.
And all mixed color undetermined target total brightness sets:
Figure DEST_PATH_IMAGE019
and calculating a brightness adjusting coefficient according to the two sets:
Figure DEST_PATH_IMAGE021
wherein (N =0,1, …, N), min means TabmixMinimum value of (1);
thus, the lamp has 256 mixed colors in the present embodiment, wherein the brightness of the mixed colorsThe smallest group is min (Tab)mix) =5000, when n =0, the corresponding luminance adjustment coefficient:
Figure DEST_PATH_IMAGE023
continuously calculating the brightness coefficients of all levels, and calculating a set of n groups of primary colors after target brightness correction:
Figure DEST_PATH_IMAGE025
the set of PWM duty cycles D can then be obtained from the set corrected for the target brightness:
Figure DEST_PATH_IMAGE027
wherein, the subscript n represents the nth group of data, and the subscript m represents the mth base color;
from the above set, when n =0 (initial stage color temperature 3000K), the corresponding RGBW duty cycle of the luminaire:
Figure DEST_PATH_IMAGE029
by integrating the processes, the lamp can output the color temperature of 3000K, and only needs to output the duty ratio of the PWM signals of the primary colors of RGBW as {0.98,0.99,0,0.38} to the driver, so as to drive the primary colors of the light source to emit light and mix colors as required. When the output color temperature is 8000K (the highest color temperature), the duty ratio output of the PWM signal of each primary color of RGBW is {0.53,0.86,0,0.86} to the driver by using the above formula, and each primary color of the driving light source emits light and mixes the colors as required.
So, can automatic switching data, accurate high efficiency, and the automatic brightness of revising guarantees that its global is unified, reaches stable accurate effect.
In the case of the example 5, the following examples were conducted,
based on embodiments 1 to 4, as shown in fig. 5, this embodiment is a linear perception system for adjusting a color temperature of a lamp, including:
the color temperature adjusting module is used for adjusting the color temperature of the lamp by the adjusting curve in the embodiment 1;
a color temperature conversion module, which adopts the method of embodiment 2, and is used for converting the color temperature in the adjusting curve into CIE 1931 chromaticity coordinates;
a color matching operation module, which uses the method of embodiment 2, and is configured to convert chromaticity coordinates into primary color matching according to inherent photochromic parameters of the lamp, where the photochromic parameters include maximum brightness of each primary color of the lamp and a color coordinate corresponding to each primary color;
the brightness unification module is used for unifying the brightness of the mixed light with the primary color proportion by adopting the method of the embodiment 3;
the signal conversion module, which adopts the method of embodiment 3, is used for converting the primary color ratio with uniform brightness into a corresponding PWM signal, outputting the PWM signal to the light source driver, and driving the light source to generate a target color temperature and a target brightness;
the control unit is used for receiving user input parameters to control each module.
In the whole process, the control unit receives the color temperature gradual change duration and the color temperature interval input by a user, and outputs the current PWM duty ratio corresponding to the current color temperature to the driver according to the CCT curve and each module so as to enable the light source to shine and mix colors according to the current PWM duty ratio.
In the case of the example 6, it is shown,
this embodiment is based on embodiments 1-4, which is a readable storage medium having stored therein a computer program comprising program code for controlling a process to execute a process comprising a method of adjusting a linear perception of a color temperature of a luminaire according to one of the above-mentioned embodiments.
In the case of the example 7, the following examples are given,
this embodiment is based on embodiments 1 to 4, and is an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the above-mentioned method for adjusting linear perception of color temperature of a lamp.
The present invention is not described in detail in the prior art, and therefore, the present invention is not described in detail.
The computer system of the server for implementing the method of the present embodiment includes a Central Processing Unit (CPU) that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage section into a Random Access Memory (RAM). In the RAM, various programs and data necessary for system operation are also stored. The CPU, ROM, and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.
The following components are connected to the I/O interface: an input section including a keyboard, a mouse, and the like; an output section including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section including a hard disk and the like; and a communication section including a network interface card such as a LAN card, a modem, or the like. The communication section performs communication processing via a network such as the internet. The drive is also connected to the I/O interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program performs the above-described functions defined in the system of the present invention when executed by a Central Processing Unit (CPU).
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described modules may also be disposed in a processor.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to perform the process steps corresponding to the following method.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for adjusting linear perception of color temperature of a lamp is based on a correlated color temperature CCT curve and is characterized by comprising the following steps:
s000, acquiring set parameters of the lamp, wherein the set parameters comprise a current color temperature value, a target color temperature value, a bending coefficient of a correlated color temperature curve and an adjusting stage number, and the bending coefficient is a numerical value conforming to the feeling of human eyes;
s100, respectively calculating an initial value and an adjusting step length according to the set parameters;
s200, obtaining a curve formula according to the bending coefficient, the target adjusting stage number, the initial value and the adjusting step length, and taking the curve formula as an adjusting curve of the lamp, wherein the target adjusting stage number is any one of the adjusting stage numbers.
2. The method for adjusting linear perception of color temperature of a lamp according to claim 1, wherein in step S100, the current color temperature value is used as an initial level color temperature in an adjustment level, and the initial value = bending coefficient/initial level color temperature.
3. The method according to claim 2, wherein in step S100, the target color temperature value is used as the color temperature of the highest level in the adjustment series, and the adjustment step = bending coefficient (highest level color temperature-initial level color temperature)/(adjustment maximum level-initial level color temperature-highest level color temperature).
4. A method for adjusting linear perception of color temperature of a lamp according to claim 3, wherein in step 200, the adjustment curve = bending coefficient/(initial value-adjustment step size + target adjustment level).
5. The method for adjusting linear perception of color temperature of a lamp according to any one of claims 1-4, wherein the bending coefficient has a value in a range of 105~106
6. A matching method for adjusting linear perception of color temperature of a lamp, based on any one of claims 1-5, comprising the steps of:
s300, converting each level of color temperature into a corresponding color coordinate;
s400, obtaining a light color parameter of the lamp, wherein the light color parameter comprises the maximum brightness of each primary color of the lamp and a color coordinate corresponding to each primary color, and the lamp at least comprises two primary colors;
s500, sequentially obtaining the target brightness of each primary color in each level of color temperature through a linear programming model according to the color coordinates corresponding to the primary colors and the light color parameters of the lamp, taking the target brightness as a target brightness set of the lamp, and obtaining a target total brightness set of the lamp according to the target brightness set.
7. A brightness unifying method for adjusting linear perception of lamp color temperature is characterized in that a proportioning method for adjusting linear perception of lamp color temperature based on claim 6 further comprises the following steps:
s600, calculating a brightness adjusting coefficient according to the target total brightness set, and calculating a set after target brightness correction according to the brightness adjusting coefficient;
and S700, obtaining the duty ratio of the PWM according to the set after the target brightness correction.
8. A linear perception system for adjusting color temperature of a lamp, comprising:
a color temperature adjusting module, for adjusting the color temperature of the lamp according to the adjusting curve in the method for adjusting the linear perception of the color temperature of the lamp according to any one of claims 1-5;
the color temperature conversion module is used for converting the color temperature in the adjusting curve into CIE 1931 chromaticity coordinates;
the color matching operation module is used for converting the chromaticity coordinate into a primary color matching according to inherent photochromic parameters of the lamp, wherein the photochromic parameters comprise the maximum brightness of each primary color of the lamp and the corresponding color coordinate of each primary color;
the brightness unification module is used for unifying the brightness of the mixed light with the primary color proportion;
and the signal conversion module is used for converting the primary color ratio with uniform brightness into a corresponding PWM signal, outputting the PWM signal to the light source driver and then driving the light source to generate a target color temperature and target brightness.
9. A readable storage medium, in which a computer program is stored, the computer program comprising program code for controlling a process to perform the process, the process comprising a method of adjusting a linear perception of a color temperature of a luminaire according to any one of claims 1-5.
10. 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 a method of adjusting a linear perception of a color temperature of a luminaire according to any one of claims 1-5.
CN202210077471.7A 2022-01-24 2022-01-24 Method for adjusting linear perception of color temperature of lamp and application thereof Active CN114126145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210077471.7A CN114126145B (en) 2022-01-24 2022-01-24 Method for adjusting linear perception of color temperature of lamp and application thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210077471.7A CN114126145B (en) 2022-01-24 2022-01-24 Method for adjusting linear perception of color temperature of lamp and application thereof

Publications (2)

Publication Number Publication Date
CN114126145A true CN114126145A (en) 2022-03-01
CN114126145B CN114126145B (en) 2022-04-22

Family

ID=80361090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210077471.7A Active CN114126145B (en) 2022-01-24 2022-01-24 Method for adjusting linear perception of color temperature of lamp and application thereof

Country Status (1)

Country Link
CN (1) CN114126145B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727452A (en) * 2022-06-09 2022-07-08 杭州罗莱迪思科技股份有限公司 Multi-primary color light control method based on RGB mode and application thereof
CN115052387A (en) * 2022-08-12 2022-09-13 杭州罗莱迪思科技股份有限公司 Black body track and isotherm color modulation control method and application thereof

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018052572A1 (en) * 2016-09-14 2018-03-22 Ketra, Inc. Illumination system for controlling color temperature as a function of brightness
CN108668401A (en) * 2017-03-31 2018-10-16 松下知识产权经营株式会社 The stage regulating method and device of lamps and lanterns
CN110809346A (en) * 2019-11-20 2020-02-18 天一照明(深圳)有限公司 Light adjusting method, light adjusting device and terminal equipment
US10624189B1 (en) * 2019-07-08 2020-04-14 TieJun Wang Brightness adjustment for a white-light lamp
US10660181B1 (en) * 2019-08-02 2020-05-19 Champ Tech Optical (Foshan) Corporation Controllable silicon light regulation apparatus
US20200243042A1 (en) * 2019-01-30 2020-07-30 Beijing Xiaomi Mobile Software Co., Ltd. Screen color conversion method, storage medium, and electronic device
US10912171B1 (en) * 2019-07-31 2021-02-02 Lumileds Llc Control design for perceptually uniform color tuning
CN112867198A (en) * 2019-11-28 2021-05-28 欧司朗股份有限公司 Color temperature adjusting method and device for lighting device, lighting device and storage medium
CN113133162A (en) * 2021-03-24 2021-07-16 南京物联传感技术有限公司 Sectional type knob adjusting light control module group
US20210307139A1 (en) * 2020-03-31 2021-09-30 Lutron Technology Company Llc Color temperature control of a lighting device
CN113597045A (en) * 2021-07-02 2021-11-02 厦门天力源光电科技有限公司 Light color control method of LED lamp
CN113841465A (en) * 2019-03-28 2021-12-24 亮锐有限责任公司 Color tunable Light Emitting Diode (LED) system, LED lighting system, and method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018052572A1 (en) * 2016-09-14 2018-03-22 Ketra, Inc. Illumination system for controlling color temperature as a function of brightness
CN108668401A (en) * 2017-03-31 2018-10-16 松下知识产权经营株式会社 The stage regulating method and device of lamps and lanterns
US20200243042A1 (en) * 2019-01-30 2020-07-30 Beijing Xiaomi Mobile Software Co., Ltd. Screen color conversion method, storage medium, and electronic device
CN113841465A (en) * 2019-03-28 2021-12-24 亮锐有限责任公司 Color tunable Light Emitting Diode (LED) system, LED lighting system, and method
US10624189B1 (en) * 2019-07-08 2020-04-14 TieJun Wang Brightness adjustment for a white-light lamp
US10912171B1 (en) * 2019-07-31 2021-02-02 Lumileds Llc Control design for perceptually uniform color tuning
US10660181B1 (en) * 2019-08-02 2020-05-19 Champ Tech Optical (Foshan) Corporation Controllable silicon light regulation apparatus
CN110809346A (en) * 2019-11-20 2020-02-18 天一照明(深圳)有限公司 Light adjusting method, light adjusting device and terminal equipment
CN112867198A (en) * 2019-11-28 2021-05-28 欧司朗股份有限公司 Color temperature adjusting method and device for lighting device, lighting device and storage medium
US20210307139A1 (en) * 2020-03-31 2021-09-30 Lutron Technology Company Llc Color temperature control of a lighting device
WO2021202754A1 (en) * 2020-03-31 2021-10-07 Lutron Technology Company Llc Color temperature control of a lighting device
CN113133162A (en) * 2021-03-24 2021-07-16 南京物联传感技术有限公司 Sectional type knob adjusting light control module group
CN113597045A (en) * 2021-07-02 2021-11-02 厦门天力源光电科技有限公司 Light color control method of LED lamp

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727452A (en) * 2022-06-09 2022-07-08 杭州罗莱迪思科技股份有限公司 Multi-primary color light control method based on RGB mode and application thereof
CN114727452B (en) * 2022-06-09 2022-09-02 杭州罗莱迪思科技股份有限公司 Multi-primary color light control method based on RGB mode and application thereof
CN115052387A (en) * 2022-08-12 2022-09-13 杭州罗莱迪思科技股份有限公司 Black body track and isotherm color modulation control method and application thereof

Also Published As

Publication number Publication date
CN114126145B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN114126145B (en) Method for adjusting linear perception of color temperature of lamp and application thereof
JP5543214B2 (en) Lighting system with four primary colors
CN102404918B (en) LED color temperature adjusting system and method
EP2103189B1 (en) Device for generating light with a variable color
US8497871B2 (en) Color generation using multiple illuminant types
US9370064B2 (en) LED driver having non-linear compensation
US20140035472A1 (en) Reducing lumen variability over a range of color temperatures of an output of tunable-white led lighting devices
US20120126707A1 (en) Deterministically calculating dimming values for four or more light sources
US20110241552A1 (en) Method for maximizing the performance of a luminaire
CN105430790B (en) Light mixing method for LED light source and linear lighting lamp
EP2664218A1 (en) Systems and methods for controlling an output of a light fixture
US9578713B2 (en) Color control system with variable calibration
EP2481262A1 (en) Color control of lighting system
CN112616225A (en) Color light lamp illumination control method and terminal equipment
JP2006147171A (en) Light source device
US11259377B2 (en) Color temperature and intensity configurable lighting fixture using de-saturated color LEDs
EP1659830B1 (en) Combined exponential/linear RGB LED I-sink digital-to-analog converter
JP2013536406A (en) Relative luminous flux sensor and method, controller, color tunable lamp, luminaire, and computer program for determining the ratio between maximum light intensities
CN106993356A (en) Photochromic method of adjustment, device, dimming driving circuit and illuminator
US20170041992A1 (en) Light source driving device and dimming/toning control method
CN110213855A (en) A kind of the index light-dimming method and system of light emitting diode
Perumal et al. Design and Simulation of a Circadian Lighting Control System Using Fuzzy Logic Controller for LED Lighting Technology
CN112992043B (en) Display screen brightness adjusting method and display screen brightness adjusting system
CN115484709A (en) Intelligent lamp control system and light environment regulation and control method thereof
JP3382008B2 (en) Variable color lighting system

Legal Events

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