Dimming and color temperature adjusting method, computer readable storage medium, equipment and light emitting system

CN119364608APending Publication Date: 2025-01-24FOSHAN ELECTRICAL & LIGHTING +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411211339.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

When the existing dimming and color temperature technology achieves light effect changes, the brightness and color temperature adjustment are not smooth, the transition is unnatural, and it is costly and has low flexibility.

Method used

By obtaining the minimum variable ratio, maximum variable ratio, variable index and real -time regulation ratio of the luminous device, calculate the target variable ratio, and adjust the light source of the first light source and the second light source according to the target variable ratio transition.

Benefits of technology

The smooth transition of changes in light efficiency has been achieved, the user experience is improved, the cost of light source is reduced, and the system's flexibility is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364608A_ABST
    Figure CN119364608A_ABST
Patent Text Reader

Abstract

The invention discloses a dimming and color temperature adjusting method, a computer readable storage medium, equipment and a light-emitting system, and relates to the technical field of illumination, the method comprises the steps that the lowest variable proportion, the highest variable proportion, the variable index and the real-time control proportion of a light-emitting device are acquired, the light-emitting device comprises a first light source and a second light source, the power of the first light source is smaller than or equal to that of the second light source, and the color temperature of the first light source is smaller than that of the second light source; calculating a target variable proportion according to the lowest variable proportion, the highest variable proportion, the variable index and the real-time regulation and control proportion; and adjusting the light-emitting states of the first light source and the second light source in the light-emitting device according to the target variable proportion. According to the invention, uniform transition among different lighting effects can be realized, the actual demand of a user is effectively met, and the use comfort is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of lighting technology, and in particular to a method for dimming and adjusting color temperature, a computer-readable storage medium, a device and a light-emitting system. Background Art

[0002] With the advancement of science and technology and social development, people's requirements for lighting environment are increasing day by day. They are not limited to basic lighting functions, but also pursue more comfortable, intelligent and energy-saving lighting experience. In the field of intelligent lighting, dimming and color temperature adjustment technology has become one of the key factors to improve user experience. By adjusting the brightness and color temperature of light, a light environment suitable for different scenes and needs can be created. For example, soft warm tones are suitable for rest and relaxation, while bright cool tones are more suitable for work and study.

[0003] At present, most dimming and color temperature adjustment technologies on the market often have problems such as uneven brightness and color temperature adjustment and unnatural transition when achieving light effect changes. These problems mainly stem from the fact that traditional dimming and color temperature adjustment methods cannot accurately control the power distribution and color temperature change rate between light sources, especially when it is necessary to quickly switch from one light effect to another, such as switching from a low-brightness and low-color-temperature night light mode to a high-brightness and high-color-temperature working mode, which can easily cause visual discomfort and affect user experience.

[0004] In addition, the existing dimming and color temperature adjustment technology often relies on complex hardware devices and control algorithms during implementation, which increases costs and reduces system flexibility. Therefore, developing a dimming and color temperature adjustment technology that can achieve smooth transition, easy operation and low cost has become a research hotspot in the current lighting field. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a dimming and color temperature adjusting method, a computer-readable storage medium, a device and a light-emitting system, which can achieve a uniform transition between different light effects and improve the comfort of use.

[0006] In order to solve the above technical problems, the present invention provides a method for dimming and adjusting color temperature, including: obtaining a minimum variable ratio, a maximum variable ratio, a variable index and a real-time control ratio of a light-emitting device, the light-emitting device including a first light source and a second light source, the power of the first light source is less than or equal to the power of the second light source, and the color temperature of the first light source is less than the color temperature of the second light source; calculating a target variable ratio according to the minimum variable ratio, the maximum variable ratio, the variable index and the real-time control ratio; and adjusting the light-emitting state of the first light source and the second light source in the light-emitting device according to the target variable ratio.

[0007] As an improvement of the above scheme, the step of calculating the target variable ratio according to the minimum variable ratio, the maximum variable ratio, the variable index and the real-time control ratio includes: according to the formula Calculate the target variable ratio; where M Out is the target variable ratio, M Min is the preset minimum variable ratio, M Max is the preset maximum variable ratio, I M is the preset variable index, M In To adjust the ratio in real time.

[0008] As an improvement of the above-mentioned scheme, the lowest variable ratio is the lowest color temperature ratio, the highest variable ratio is the highest color temperature ratio, the variable index is the color temperature index, and the target variable ratio is the target color temperature ratio; and / or the lowest variable ratio is the lowest brightness ratio, the highest variable ratio is the highest brightness ratio, the variable index is the brightness index, and the target variable ratio is the target brightness ratio.

[0009] As an improvement of the above scheme, the step of calculating the target color temperature ratio according to the minimum color temperature ratio, the maximum color temperature ratio, the color temperature index and the real-time control ratio includes: according to the formula Calculate the target color temperature ratio;

[0010] Among them, C Out is the target color temperature ratio, C Min is the preset minimum color temperature ratio, C Max is the preset maximum color temperature ratio, I C is the preset color temperature index, M In To adjust the ratio in real time.

[0011] As an improvement of the above scheme, when the color temperature index is greater than a preset first color temperature index and less than a preset second color temperature index, the smaller the color temperature index, the greater the proportion of light emission occupied by the second light source; when the color temperature index is greater than the second color temperature index, the greater the color temperature index, the greater the proportion of light emission occupied by the first light source, wherein the first color temperature index is less than the second color temperature index.

[0012] As an improvement of the above scheme, the step of calculating the target brightness ratio according to the minimum brightness ratio, the maximum brightness ratio, the brightness index and the real-time control ratio includes: according to the formula Calculate the target brightness ratio; where L Out is the target brightness ratio, L Min is the preset minimum brightness ratio, L Max is the preset maximum brightness ratio, I L is the preset brightness index, M In To adjust the ratio in real time.

[0013] As an improvement of the above solution, when the brightness index is greater than 1, the larger the brightness index is, the flatter the brightness adjustment curve in the initial adjustment period is.

[0014] As an improvement of the above solution, the minimum color temperature ratio is the ratio of the power occupied by the second light source when the first light source is turned on alone; the maximum color temperature ratio is the ratio of the power occupied by the second light source when the second light source is turned on alone.

[0015] As an improvement of the above solution, the lowest color temperature ratio is the ratio of the power occupied by the second light source when the first light source is lit alone; the highest color temperature ratio is the ratio of the power occupied by the second light source when the first light source and the second light source are lit at the same time.

[0016] As an improvement of the above solution, the lowest color temperature ratio is 0, and the highest color temperature ratio is: C Max =C2 / (C1+C2); the highest brightness ratio is 1, and the lowest brightness ratio is: L Min =W Min / (C1+C2); where C1 is the power of the first light source, C2 is the power of the second light source, W M in is the minimum power of the light-emitting device.

[0017] As an improvement of the above scheme, when the power of the first light source is equal to the power of the second light source, the CCT dimming method is used to adjust the light-emitting state of the first light source and the second light source in the light-emitting device, or the CW dimming method is used to adjust the light-emitting state of the first light source and the second light source in the light-emitting device; when the power of the first light source is less than the power of the second light source, the CW dimming method is used to adjust the light-emitting state of the first light source and the second light source in the light-emitting device.

[0018] Correspondingly, the present invention further provides a computer-readable storage medium on which a computer program is stored, wherein the computer program implements the steps of the above-mentioned dimming and color temperature adjusting method when executed by a processor.

[0019] Correspondingly, the present invention further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the above-mentioned dimming and color temperature adjustment method when executing the computer program.

[0020] Correspondingly, the present invention also provides a light-emitting system, characterized in that it includes a light-emitting device and the above-mentioned computer equipment, and the computer equipment is arranged inside the light-emitting device; the light-emitting device includes a first light source and a second light source, the power of the first light source is less than or equal to the power of the second light source, and the color temperature of the first light source is less than the color temperature of the second light source.

[0021] The implementation of the present invention has the following beneficial effects:

[0022] The present invention can form light emission modes with different brightness and color temperature by using two light sources with different power or the same power and different color temperature, which can effectively reduce the cost of light source;

[0023] At the same time, the present invention can effectively and accurately calculate the target variable ratio by constructing the relationship between the minimum variable ratio, the maximum variable ratio, the variable index, the real-time control ratio and the target variable ratio, thereby achieving a uniform transition between different lighting modes, which can effectively meet the actual needs of users and improve comfort. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a flow chart of a first embodiment of the method for dimming light and adjusting color temperature of the present invention;

[0025] Figure 2 is a flow chart of a second embodiment of the method for dimming light and adjusting color temperature of the present invention;

[0026] Figure 3 It is the color temperature adjustment curve when the color temperature index is 2;

[0027] Figure 4 is a flow chart of a third embodiment of the method for dimming and adjusting color temperature of the present invention;

[0028] Figure 5 It is the brightness adjustment curve when the brightness index is 2;

[0029] Figure 6 is a flow chart of a fourth embodiment of the method for dimming and adjusting color temperature of the present invention;

[0030] Figure 7 It is a schematic diagram of the structure of an embodiment of the light emitting system of the present invention. DETAILED DESCRIPTION

[0031] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0032] See also Figure 1 , Figure 1 The flowchart of the first embodiment of the dimming and color temperature adjustment method of the present invention is shown, which includes:

[0033] S101, obtaining a minimum variable ratio, a maximum variable ratio, a variable index and a real-time control ratio of a light-emitting device;

[0034] It should be noted that the light emitting device includes a first light source and a second light source, wherein the power of the first light source is less than or equal to the power of the second light source, and the color temperature of the first light source is less than the color temperature of the second light source;

[0035] In practical applications, the first light source can be a low color temperature light source (i.e., a warm light source) or a low power and low color temperature light source (i.e., a low brightness warm light source), and the second light source can be a high color temperature light source (i.e., a cold light source) or a high power and high color temperature light source (i.e., a high brightness cold light source). Among them, low brightness and low color temperature can be used as a night light or leisure mode scene, and high brightness and high color temperature can be used for reading and writing scenes. In general, color temperatures below 3300k are considered low color temperatures (i.e., warm light), and color temperatures above 5300k are considered high color temperatures (i.e., cold light); and high and low power are relative concepts. For example, if the power of the first light source is 1W and the power of the second light source is 4W, then the first light source is a low power light source (i.e., a low brightness light source), and the second light source is a high power light source (i.e., a high brightness light source). For another example, if the power of the first light source is 10W and the power of the second light source is 15W, then the first light source is a low power light source (i.e., a low brightness light source), and the second light source is a high power light source (i.e., a high brightness light source).

[0036] Accordingly, the variables in this embodiment may be brightness, color temperature, etc., but are not limited thereto and may be selected according to actual conditions.

[0037] S102, calculating the target variable ratio according to the minimum variable ratio, the maximum variable ratio, the variable index and the real-time control ratio;

[0038] Specifically, the target variable ratio M is calculated according to the following formula: Out :

[0039]

[0040] in,

[0041] M Min is the preset minimum variable ratio;

[0042] M Max is the preset maximum variable ratio;

[0043] I M is the preset variable index;

[0044] M In To adjust the ratio in real time.

[0045] Therefore, by constructing the relationship between the minimum variable ratio, the maximum variable ratio, the variable index, the real-time control ratio and the target variable ratio, the target variable ratio can be calculated effectively and accurately, thereby achieving targeted control of the variables.

[0046] S103, adjusting the light-emitting states of the first light source and the second light source in the light-emitting device according to the target variable ratio.

[0047] It should be noted that the present invention can adopt a CCT dimming method (i.e., 1 PWM to control color temperature and 1 PWM to control brightness) to adjust the luminous state of the first light source and the second light source in the light-emitting device, or adopt a CW dimming method (i.e., 1 PWM to control the warm light source and 1 PWM to control the cold light source) to adjust the luminous state of the first light source and the second light source in the light-emitting device.

[0048] It should be noted that when the power of the first light source is less than the power of the second light source (i.e., the power of the low color temperature light source is small, and the power of the high color temperature light source is large), the CCT method may make the instantaneous current of the low color temperature light source larger than the rated current, affecting the life of the lamp beads; and when the power of the first light source is equal to the power of the second light source, it will not affect the life of the lamp beads, therefore:

[0049] When the power of the first light source is equal to the power of the second light source, a CCT or CW dimming method is used to adjust the light emitting state of the first light source and the second light source in the light emitting device;

[0050] When the power of the first light source is less than the power of the second light source, the CW dimming method is used to adjust the light emitting states of the first light source and the second light source in the light emitting device.

[0051] In summary, this embodiment achieves the effects of warm light and cold light, or low-brightness warm light and high-brightness cold light by using two light sources of low power and low color temperature and high power and high color temperature, or two light sources of low color temperature and high color temperature with the same power, and the transition process between different effects is uniform; at the same time, this embodiment can also arbitrarily adjust the variables to change within the configured range, thereby effectively reducing the cost of the light source.

[0052] See also Figure 2 , Figure 2 The flowchart of the second embodiment of the dimming and color temperature adjustment method of the present invention is shown, which includes:

[0053] S201, obtaining a minimum color temperature ratio, a maximum color temperature ratio, a color temperature index, and a real-time control ratio of a light-emitting device;

[0054] and Figure 1 The difference from the first embodiment shown is that in this embodiment, the variable may be color temperature; accordingly, the lowest variable ratio is the lowest color temperature ratio, the highest variable ratio is the highest color temperature ratio, the variable index is the color temperature index, and the target variable ratio is the target color temperature ratio;

[0055] It should be noted that the color temperature ratio refers to the ratio of the power occupied by the second light source (i.e., the cold light source); generally, the lowest color temperature ratio can be the ratio of the power occupied by the second light source (i.e., the cold light source) when the first light source is turned on alone (the second light source is turned off); the highest color temperature ratio can be the ratio of the power occupied by the second light source (i.e., the cold light source) when the second light source is turned on alone (the first light source is turned off).

[0056] In this embodiment, the lowest color temperature ratio is the ratio of the power occupied by the second light source (i.e., the cold light source) when the first light source is turned on alone and the second light source is turned off; the highest color temperature ratio is the ratio of the power occupied by the second light source (i.e., the cold light source) when the first light source and the second light source are 100% lit at the same time.

[0057] Accordingly, the minimum color temperature ratio C M in can be set to: C Min =0 / (C1+C2); Maximum color temperature ratio C M ax can be set to: C Max =C2 / (C1+C2); wherein C1 is the power of the first light source, and C2 is the power of the second light source.

[0058] For example, when using a 1W low color temperature light source (i.e., the first light source) and a 4W high color temperature light source (i.e., the second light source), the lowest color temperature (i.e., the warmest color temperature) can be designed to be the color temperature when the first light source is lit alone, and the highest color temperature (i.e., the coldest color temperature) is when the first light source and the second light source are 100% lit at the same time, then:

[0059] The minimum color temperature ratio is: C Min =0 / (C1+C2)=0 / (1+4)=0%

[0060] The highest color temperature ratio is: C Max =C2 / (C1+C2)=4 / (1+4)=80%

[0061] That is, when the power is always 100%, the output of the light source when the color temperature changes is as follows: the first light source always maintains 100% power output, and the second light source changes from 0% to 100%.

[0062] Accordingly, the real-time control ratio can be obtained by the user in real time by rotating the knob or sliding the touch panel, which is easy to operate and flexible.

[0063] S202, calculating a target color temperature ratio according to the minimum color temperature ratio, the maximum color temperature ratio, the color temperature index, and the real-time control ratio;

[0064] Since a low-power, low-color-temperature light source (first light source) and a high-power, high-color-temperature light source (second light source) are used, in order to make the transition color temperature appear uniform to the human eye, and to ensure that the minimum color temperature and the maximum color temperature meet the design requirements, this embodiment calculates the target color temperature ratio C according to the following formula: Out :

[0065]

[0066] in,

[0067] C Min is the preset minimum color temperature ratio;

[0068] C Max The preset maximum color temperature ratio;

[0069] I C is the preset color temperature index, and I C ﹥0;

[0070] M In To adjust the ratio in real time, the value range is 0% to 100%.

[0071] For example, the minimum color temperature ratio C Min 0%, the highest color temperature ratio is C Max is 80%, then the corresponding target color temperature ratio is:

[0072] S203, adjusting the light emitting states of the first light source and the second light source in the light emitting device according to the target color temperature ratio.

[0073] It should be noted that when the color temperature index is greater than a preset first color temperature index and less than a preset second color temperature index, the smaller the color temperature index, the greater the proportion of light emission occupied by the second light source; when the color temperature index is greater than the second color temperature index, the greater the color temperature index, the greater the proportion of light emission occupied by the first light source, wherein the first color temperature index is less than the second color temperature index.

[0074] More preferably, the first color temperature index is preferably 0, and the second color temperature index is preferably 1. That is to say:

[0075] When 0﹤I C ﹤1, I C The smaller it is, the greater the proportion of light emitted by the second light source, that is, the greater the proportion of cold light in the color temperature adjustment process, and the color temperature change rate decreases as the real-time control ratio increases;

[0076] When I C >1, I C The larger the value is, the greater the proportion of the first light source, that is, the greater the proportion of warm light in the color temperature adjustment process, and the color temperature change rate increases with the increase of the real-time control ratio (see Figure 3, the horizontal axis represents the real-time control ratio M In , the vertical axis represents the target color temperature ratio C Out ).

[0077] See also Figure 4 , Figure 4 The flowchart of the third embodiment of the method for dimming and adjusting color temperature of the present invention is shown, which includes:

[0078] S301, obtaining the minimum brightness ratio, maximum brightness ratio, brightness index and real-time control ratio of the light-emitting device;

[0079] and Figure 1 The difference from the first embodiment shown is that in this embodiment, the variable may be brightness; accordingly, the lowest variable ratio is the lowest brightness ratio, the highest variable ratio is the highest brightness ratio, the variable index is the brightness index, and the target variable ratio is the target brightness ratio;

[0080] Generally speaking, the minimum brightness ratio L M in can be set to: L Min =W Min / (C1+C2); Maximum brightness ratio L Max Can be set to 1; where C1 is the power of the first light source, C2 is the power of the second light source, W Min is the minimum power of the light emitting device.

[0081] For example, when using a low color temperature light source with a power of 1W (i.e., the first light source) and a high color temperature light source with a power of 4W (i.e., the second light source), the lowest color temperature (i.e., the warmest color temperature) can be designed to be the color temperature when the first light source is lit alone, and the highest color temperature (i.e., the coldest color temperature) can be designed to be the color temperature when the first light source and the second light source are 100% lit at the same time. The minimum power is 0.01W, and the maximum power is 5W, then:

[0082] Minimum brightness ratio L M in is: L Min =0.01 / (1+4)=0.2%

[0083] Maximum brightness ratio L Max For: L Max =1

[0084] in,

[0085] The ratio of the first light source at the lowest brightness is: L WMin =(0.01×100%) / 1=1%

[0086] The ratio of the second light source at the lowest brightness is: L CMin =(0.01×0%) / 4=0%

[0087] Similarly, the real-time control ratio can be obtained by the user by rotating the knob or sliding the touch panel, which is easy to operate and flexible.

[0088] S302, calculating a target brightness ratio according to the minimum brightness ratio, the maximum brightness ratio, the brightness index and the real-time control ratio;

[0089] In order to make the brightness transition visually uniform and the minimum brightness meet the design requirements, this embodiment calculates the target brightness ratio L according to the following formula: Out :

[0090]

[0091] in,

[0092] L Min is the preset minimum brightness ratio;

[0093] L Max It is the preset maximum brightness ratio;

[0094] I L is the preset brightness index, and I L ﹥1;

[0095] M In To adjust the ratio in real time, the value range is 0% to 100%.

[0096] For example, the minimum brightness ratio L Min 0.2%, the maximum brightness ratio L Max is 1, then the corresponding target brightness ratio is:

[0097] S303, adjusting the lighting states of the first light source and the second light source in the lighting device according to the target brightness ratio.

[0098] It should be noted that when the brightness index is greater than 1, the larger the brightness index, the flatter the brightness adjustment curve in the initial adjustment period (see Figure 5 , the horizontal axis represents the real-time control ratio M In , the ordinate represents the target brightness ratio L Out ).

[0099] See also Figure 6 , Figure 6 The flowchart of the fourth embodiment of the method for dimming and adjusting color temperature of the present invention is shown, which includes:

[0100] S401, obtaining a minimum color temperature ratio, a maximum color temperature ratio, a color temperature index, a minimum brightness ratio, a maximum brightness ratio, a brightness index, and a real-time control ratio of a light-emitting device;

[0101] and Figure 1What is different from the first embodiment shown is that in this embodiment, the variables may be color temperature and brightness, thereby achieving synchronous / separate adjustment of color temperature and brightness.

[0102] It should be noted that the color temperature control ratio and the brightness control ratio can be acquired simultaneously using the same acquisition method. For example, the real-time control ratio acquired by the user by sliding the touch panel can be used as both the color temperature control ratio and the brightness control ratio. Different acquisition methods can also be used to acquire them separately. For example, the real-time control ratio acquired by the user by rotating knob A can be used as the color temperature control ratio, and the real-time control ratio acquired by the user by rotating knob B can be used as the brightness control ratio.

[0103] S402, calculating a target color temperature ratio according to the minimum color temperature ratio, the maximum color temperature ratio, the color temperature index, and the real-time control ratio;

[0104] S403, calculating the target brightness ratio according to the minimum brightness ratio, the maximum brightness ratio, the brightness index and the real-time control ratio;

[0105] S404, adjusting the light emitting states of the first light source and the second light source in the light emitting device according to the target color temperature ratio and the target brightness ratio.

[0106] Therefore, this embodiment can make the transition of brightness and / or color temperature visually uniform, thereby improving the comfort of the user.

[0107] Accordingly, the present invention also discloses a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the dimming and color temperature adjusting method are implemented. At the same time, the present invention also discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein when the processor executes the computer program, the steps of the dimming and color temperature adjusting method are implemented.

[0108] See also Figure 7 , Figure 7 The specific structure of the light-emitting system 100 of the present invention is shown, which includes a light-emitting device 1 and a computer device 2, wherein the computer device 2 is arranged inside the light-emitting device 1; wherein the light-emitting device 1 includes a first light source 11 and a second light source 12, the power of the first light source 11 is less than or equal to the power of the second light source 12, and the color temperature of the first light source 11 is less than the color temperature of the second light source 12; the computer device 2 implements the above-mentioned dimming and color temperature adjustment method to adjust the light-emitting state of the first light source 11 and the second light source 12 in the light-emitting device.

[0109] Therefore, the light-emitting system of the present invention can form light-emitting modes with different brightness and color temperature by using only two light sources of different power / same power and different color temperature, which can effectively reduce the cost of the light source; at the same time, the present invention adopts a unique dimming and color temperature adjustment method to achieve a uniform transition between the effects of low-brightness warm light and high-brightness cold light, which can effectively meet the actual needs of users and improve the comfort of use.

[0110] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for dimming light and adjusting color temperature, characterized in that: include: Obtaining a minimum variable ratio, a maximum variable ratio, a variable index, and a real-time control ratio of a light-emitting device, wherein the light-emitting device includes a first light source and a second light source, the power of the first light source is less than or equal to the power of the second light source, and the color temperature of the first light source is less than the color temperature of the second light source; Calculate the target variable ratio according to the minimum variable ratio, the maximum variable ratio, the variable index and the real-time control ratio; The light emitting states of the first light source and the second light source in the light emitting device are adjusted according to the target variable ratio.

2. The method for dimming light and adjusting color temperature according to claim 1, characterized in that: The step of calculating the target variable ratio according to the minimum variable ratio, the maximum variable ratio, the variable index and the real-time control ratio comprises: According to the formula Calculate the target variable proportion; Among them, M Out is the target variable ratio, M Min is the preset minimum variable ratio, M Max is the preset maximum variable ratio, I M is the preset variable index, M In To adjust the ratio in real time.

3. The method for dimming light and adjusting color temperature according to claim 1, characterized in that: The lowest variable ratio is the lowest color temperature ratio, the highest variable ratio is the highest color temperature ratio, the variable index is the color temperature index, and the target variable ratio is the target color temperature ratio; and / or The lowest variable ratio is the lowest brightness ratio, the highest variable ratio is the highest brightness ratio, the variable index is the brightness index, and the target variable ratio is the target brightness ratio.

4. The method for dimming light and adjusting color temperature as claimed in claim 3, characterized in that: The step of calculating the target color temperature ratio according to the minimum color temperature ratio, the maximum color temperature ratio, the color temperature index and the real-time control ratio comprises: According to the formula Calculate the target color temperature ratio; Among them, C Out is the target color temperature ratio, C Min is the preset minimum color temperature ratio, C Max is the preset maximum color temperature ratio, I C is the preset color temperature index, M In To adjust the ratio in real time.

5. The method for dimming light and adjusting color temperature as claimed in claim 3, characterized in that: When the color temperature index is greater than a preset first color temperature index and less than a preset second color temperature index, the smaller the color temperature index is, the greater the proportion of light emitted by the second light source is; When the color temperature index is greater than the second color temperature index, the greater the color temperature index is, the greater the proportion of light emission occupied by the first light source is, wherein the first color temperature index is less than the second color temperature index.

6. The method for dimming light and adjusting color temperature as claimed in claim 3, characterized in that: The step of calculating the target brightness ratio according to the minimum brightness ratio, the maximum brightness ratio, the brightness index and the real-time control ratio comprises: According to the formula Calculate the target brightness ratio; Among them, L Out is the target brightness ratio, L Min is the preset minimum brightness ratio, L Max is the preset maximum brightness ratio, I L is the preset brightness index, M In To adjust the ratio in real time.

7. The method for dimming light and adjusting color temperature as claimed in claim 3, characterized in that: When the brightness index is greater than 1, the larger the brightness index is, the flatter the brightness adjustment curve in the initial adjustment period is.

8. The method for dimming light and adjusting color temperature as claimed in claim 3, characterized in that: The minimum color temperature ratio is the ratio of the power occupied by the second light source when the first light source is turned on alone; The maximum color temperature ratio is the ratio of the power occupied by the second light source when the second light source is lit alone.

9. The method for dimming light and adjusting color temperature as claimed in claim 3, characterized in that: The minimum color temperature ratio is the ratio of the power occupied by the second light source when the first light source is turned on alone; The maximum color temperature ratio is the ratio of the power occupied by the second light source when the first light source and the second light source are lit at the same time.

10. The method for dimming light and adjusting color temperature as claimed in claim 9, characterized in that: The lowest color temperature ratio is 0, and the highest color temperature ratio is: C Max =C2 / (C1+C2); The maximum brightness ratio is 1, and the minimum brightness ratio is: L Min =W Min / (C1+C2); Where C1 is the power of the first light source, C2 is the power of the second light source, W Min is the minimum power of the light emitting device.

11. The method for dimming light and adjusting color temperature according to claim 1, characterized in that: When the power of the first light source is equal to the power of the second light source, a CCT dimming method is used to adjust the light emitting state of the first light source and the second light source in the light emitting device, or a CW dimming method is used to adjust the light emitting state of the first light source and the second light source in the light emitting device; When the power of the first light source is less than the power of the second light source, a CW dimming method is used to adjust the light emitting states of the first light source and the second light source in the light emitting device.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.

14. A lighting system, characterized in that: comprising a light emitting device and the computer device according to claim 13, wherein the computer device is arranged inside the light emitting device; The light emitting device includes a first light source and a second light source, the power of the first light source is less than or equal to the power of the second light source, and the color temperature of the first light source is less than the color temperature of the second light source.