LED adjusting method, dimming controller and dimmable lamp

By configuring the turn-on frequency factor and current factor of high color temperature and low color temperature LED circuits in LED lamps, the audio noise and flicker problems when adjusting color temperature are solved, achieving precise color temperature adjustment and improving user experience.

CN119012447APending Publication Date: 2024-11-22CHENGDU LINGQI SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411328820.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Existing LED lighting fixtures are prone to audio noise and flicker when adjusting color temperature, which can negatively impact user experience, especially within a specific color temperature range.

Method used

By constructing an LED adjustment method, a dimming signal is obtained to determine the on-time factor and current factor of high color temperature and low color temperature LED circuits. These factors are configured using a set relationship to control the switching frequency and current of the LED circuit, avoiding simply adjusting the switching frequency to a small value, thus achieving the color temperature adjustment effect.

Benefits of technology

This effectively avoids audio noise and flickering during the color temperature adjustment process of LED lights, ensuring a good user experience while achieving precise color temperature adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119012447A_ABST
    Figure CN119012447A_ABST
Patent Text Reader

Abstract

The invention relates to an LED adjusting method, a dimming controller and a dimmable lamp. The method is used for the dimmable lamp, the dimmable lamp comprises a high color temperature LED circuit and a low color temperature LED circuit, and the method comprises the following steps: acquiring a dimming signal, and determining a color temperature setting coefficient of the high color temperature LED circuit according to the dimming signal; setting at least one of a first turn-on frequency factor, a second turn-on frequency factor, a first current factor and a second current factor according to the color temperature setting coefficient; and outputting a first control signal to the high color temperature LED circuit according to the first turn-on frequency factor and the first current factor, and outputting a second control signal to the low color temperature LED circuit according to the second turn-on frequency factor and the second current factor. According to the invention, the color temperature adjusting effect can be realized, and the audio noise and stroboflash phenomena of the LED can be effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of LED lighting, and in particular to an LED adjustment method, a dimming controller and a dimmable lamp. Background Art

[0002] In the related art, the color temperature adjustment scheme of LED lamps is usually as follows: for example, when the user increases the color temperature, the switching frequency of the high color temperature LED circuit is adjusted to increase, while the switching frequency of the low color temperature LED circuit is adjusted to decrease. As the color temperature continues to increase, the switching frequency of the low color temperature LED circuit becomes smaller and smaller, resulting in audio noise and even flicker in the low color temperature LED circuit. In the process of continuously reducing the color temperature, audio noise and flicker may also occur in the high color temperature LED circuit, especially when the color temperature is adjusted to the range of 1% to 5% and 95% to 99%, noise and flicker are more likely to occur, seriously affecting the user experience. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide an LED adjustment method, a dimming controller and a dimmable lamp.

[0004] The technical solution adopted by the present invention to solve the technical problem is: constructing an LED adjustment method, which is applied to a dimmable lamp. The dimmable lamp includes a high color temperature LED circuit and a low color temperature LED circuit. The LED adjustment method includes:

[0005] Acquire a dimming signal to determine a color temperature setting coefficient of the high color temperature LED circuit according to the dimming signal;

[0006] According to the color temperature setting coefficient, at least one of a first turn-on frequency factor and a second turn-on frequency factor respectively positively correlated with the turn-on frequency of the high color temperature LED circuit and the low color temperature LED circuit in a unit time, and a first current factor and a second current factor respectively positively correlated with the peak current or the turn-on duration of the high color temperature LED circuit and the low color temperature LED circuit each time they are turned on is set; wherein the first turn-on frequency factor, the second turn-on frequency factor, the first current factor and the second current factor are configured to comply with a first setting relationship, and the first setting relationship is: CT=(K1*N1) / (K2*N2), CT represents the color temperature setting coefficient, K1 represents the first current factor, N1 represents the first turn-on frequency factor, K2 represents the second current factor, and N2 represents the second turn-on frequency factor;

[0007] A first control signal is output to the high color temperature LED circuit according to the first turn-on times factor and the first current factor, and a second control signal is output to the low color temperature LED circuit according to the second turn-on times factor and the second current factor.

[0008] Preferably, the process of setting the first switching-on times factor, the first current factor, the second switching-on times factor and the second current factor according to the color temperature setting coefficient includes:

[0009] Converting the color temperature setting coefficient to obtain a simplest ratio that can represent the ratio of high and low color temperatures;

[0010] Factoring the numerator of the simplest ratio into two factors to obtain a first factor and a second factor;

[0011] Factoring the denominator of the simplest ratio into two factors to obtain a third factor and a fourth factor;

[0012] The ratio of the second opening times factor to the first opening times factor and the ratio of the second current factor to the first current factor are determined by setting an expression, the first factor, the second factor, the third factor and the fourth factor; wherein the first expression is: A1 represents the first factor, B1 represents the third factor, A2 represents the second factor, and B2 represents the fourth factor. represents the ratio of the first activation frequency factor to the second activation frequency factor and is recorded as a first ratio, represents a ratio of the first current factor to the second current factor and is recorded as a second ratio;

[0013] The first opening number factor and the second opening number factor are determined according to the first ratio, and the ratio of the second current factor to the first current factor is determined according to the second ratio and the first setting relationship.

[0014] Preferably, the step of determining the first activation number factor and the second activation number factor according to the first ratio includes:

[0015] Comparing the numerator and denominator of the first ratio;

[0016] When the numerator is less than or equal to the denominator, the numerator is multiplied, the multiplied numerator is defined as the first activation frequency factor, and the second activation frequency factor is determined according to the first ratio and the defined second activation frequency factor;

[0017] When the numerator is greater than the denominator, the denominator is multiplied, and the multiplied denominator is defined as the first activation frequency factor. The second activation frequency factor is determined according to the first ratio and the defined first activation frequency factor.

[0018] Preferably, the LED adjustment method further includes:

[0019] also determining a brightness setting percentage of the high color temperature LED circuit according to the dimming signal;

[0020] The first turn-on times factor, the second turn-on times factor, the first current factor and the second current factor are also configured to conform to a second setting relationship, the second setting relationship is L=(K1*N1+K2*N2) / IF, L represents the brightness setting percentage, IF represents the total current with percent brightness in the unit time.

[0021] Preferably, the process of setting the first switching-on times factor, the first current factor, the second switching-on times factor and the second current factor according to the color temperature setting coefficient further includes:

[0022] Determine K1*N1 and K2*N2 according to the first setting relationship and the second setting relationship;

[0023] After the first opening number factor and the second opening number factor are determined, the first current factor and the second current factor are determined according to K1*N1, K2*N2 and the second ratio.

[0024] Preferably, when the dimming signal is a PWM signal, the process of determining the color temperature setting coefficient and the brightness setting percentage includes:

[0025] Detecting the frequency and duty cycle of the dimming signal;

[0026] The color temperature setting coefficient and the brightness setting percentage are determined according to the setting parameters respectively represented by the frequency and duty cycle of the dimming signal; wherein the setting parameters include the color temperature coefficient and the total current setting value of any LED circuit, or the current setting values ​​of the high color temperature LED circuit and the low color temperature LED circuit in the unit time.

[0027] Preferably, when the setting parameters include a color temperature coefficient and a total current setting value of any LED circuit, the step of determining the color temperature setting coefficient and the brightness setting percentage according to the setting parameters respectively represented by the frequency and the duty cycle of the dimming signal includes:

[0028] If the color temperature coefficient is the color temperature coefficient of the high color temperature LED circuit, then the color temperature coefficient is defined as the color temperature setting coefficient;

[0029] If the color temperature coefficient is the color temperature coefficient of the low color temperature LED circuit, the reciprocal of the color temperature coefficient is defined as the color temperature setting coefficient;

[0030] defining the total current setting value as the brightness setting percentage;

[0031] When the setting parameters include current setting values ​​of the high color temperature LED circuit and the low color temperature LED circuit, the step of determining the color temperature setting coefficient and the brightness setting percentage according to the setting parameters respectively represented by the frequency and duty cycle of the dimming signal comprises:

[0032] Calculating a current sum of the current setting value of the high color temperature LED circuit and the current setting value of the low color temperature LED circuit, and defining a ratio of the current sum to the 100% brightness total current as the brightness setting percentage;

[0033] The ratio of the current setting value of the high color temperature LED circuit to the current setting value of the low color temperature LED circuit is defined as the color temperature setting coefficient.

[0034] The present invention also constructs a dimming controller, which is applied to a dimmable lamp. The dimmable lamp includes a high color temperature LED circuit and a low color temperature LED circuit. The dimming controller includes:

[0035] A dimming detection unit, used to obtain a dimming signal and determine a color temperature setting coefficient of the high color temperature LED circuit according to the dimming signal; wherein the dimming signal includes the color temperature setting coefficient;

[0036] a control unit, configured to set at least one of a first turn-on frequency factor and a second turn-on frequency factor respectively positively correlated with the turn-on frequency of the high color temperature LED circuit and the low color temperature LED circuit in a unit time, and a first current factor and a second current factor respectively positively correlated with the peak current or the turn-on duration of each turn-on of the high color temperature LED circuit and the low color temperature LED circuit according to the color temperature setting coefficient; wherein the first turn-on frequency factor, the second turn-on frequency factor, the first current factor and the second current factor are configured to comply with a first setting relationship, and the first setting relationship is: CT=(K1*N1) / (K2*N2), CT represents the color temperature setting coefficient, K1 represents the first current factor, N1 represents the first turn-on frequency factor, K2 represents the second current factor, and N2 represents the second turn-on frequency factor; and

[0037] A driving unit is used to output a first control signal to the high color temperature LED circuit according to the first turn-on number factor and the first current factor, and to output a second control signal to the low color temperature LED circuit according to the second turn-on number factor and the second current factor.

[0038] Preferably, the dimming detection unit is further used to determine the brightness setting percentage of the high color temperature LED circuit according to the dimming signal;

[0039] The control unit is also used to configure the first turn-on times factor, the second turn-on times factor, the first current factor and the second current factor to comply with a second setting relationship; wherein the second setting relationship is L=(K1*N1+K2*N2) / IF, L represents the brightness setting percentage, and IF represents the total current with percent brightness in the unit time.

[0040] The present invention also constructs a dimmable lamp, comprising a high color temperature LED circuit, a low color temperature LED circuit and the dimming controller described above.

[0041] By implementing the technical solution of the present invention, by introducing the first current factor and the second current factor, the peak current or the on-time duration of the high color temperature LED circuit and the low color temperature LED circuit each time they are turned on can be achieved, so that there is no need to blindly adjust the number of times the LED circuit is turned on per unit time to meet the color temperature adjustment demand, that is, there is no need to set any switching frequency of the high color temperature LED circuit and the low color temperature LED circuit to a smaller value, and the color temperature adjustment effect can be achieved, which can effectively avoid audio noise and flickering of the LED. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0043] Figure 1 is a flowchart of a LED dimming method in some embodiments of the present invention;

[0044] Figure 2 is a circuit diagram of a first embodiment of a dimmable lamp of the present invention;

[0045] Figure 3 is a circuit schematic diagram of a dimming detection unit in some embodiments of the present invention;

[0046] Figure 4 is a circuit schematic diagram of a control unit in some embodiments of the present invention;

[0047] Figure 5 is a circuit schematic diagram of a second embodiment of a dimmable lamp provided by the present invention;

[0048] Figure 6 is a circuit schematic diagram of a third embodiment of a dimmable lamp provided by the present invention; DETAILED DESCRIPTION

[0049] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.

[0050] It should be noted that the flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor do they have to be executed in the order described. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0051] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0052] See also Figure 1 The present invention provides an LED adjustment method, which is applied to a dimming controller in a dimmable lamp. In addition, the dimmable lamp includes a high color temperature LED circuit and a low color temperature LED circuit. The method can achieve a dimming effect by controlling the power of the high color temperature LED circuit and the low color temperature LED circuit respectively.

[0053] See also Figure 1 The LED adjustment method may include step S10, step S20 and step S30.

[0054] Step S10 includes: acquiring a dimming signal to determine a color temperature setting coefficient of the high color temperature LED circuit according to the dimming signal.

[0055] In this step, the dimming signal can be a signal in the form of a PWM signal, an analog signal or a digital signal. The way to obtain the dimming signal can include operating a button (including a light touch button, a capacitive button, etc.) or operating a potentiometer, etc. Of course, the dimming signal can also be obtained by a circuit module composed of a single-chip microcomputer or a processor. For example, in an infrared remote control solution, the user can issue an instruction to the infrared communication module by operating the remote control, and then after processing by the infrared communication module and the processor, the corresponding dimming signal is input to the dimming controller. In addition, the color temperature setting coefficient is preferably expressed in the form of a ratio, which can directly express the high color temperature ratio. For example, the color temperature setting coefficient can be It can express the color temperature ratio of high color temperature LED circuit and low color temperature LED circuit in unit time.

[0056] Considering that it is not intuitive and convenient for users to set the ratio of high and low color temperatures, in some embodiments, the color temperature setting coefficient can also be expressed in the form of percentage, such as the percentage coefficient of a certain color temperature LED circuit. If the color temperature setting coefficient represents the percentage of the number of switching times of the high color temperature LED circuit in unit time as Z, then the color temperature ratio of the high color temperature LED circuit and the low color temperature LED circuit in unit time can be calculated using formula (1), and formula (1) is expressed as: Taking Z equal to 97% as an example, it can be calculated that the proportion of the number of switching times of the low color temperature LED circuit in a unit time is 1 minus 97% equal to 3%. Further, it can be calculated that the color temperature ratio of the high color temperature LED circuit and the low color temperature LED circuit in a unit time is

[0057] Step S20 includes: setting at least one of a first turn-on frequency factor positively correlated with the turn-on frequency of the high color temperature LED circuit in unit time, a second turn-on frequency factor positively correlated with the turn-on frequency of the low color temperature LED circuit in unit time, a first current factor positively correlated with the peak current or turn-on duration of each turn-on of the high color temperature LED circuit, and a second current factor positively correlated with the peak current or turn-on duration of each turn-on of the low color temperature LED circuit according to the color temperature setting coefficient; wherein the first turn-on frequency factor, the second turn-on frequency factor, the first current factor, and the second current factor are configured to comply with a first setting relationship, and the first setting relationship is: CT = (K1*N1) / (K2*N2), CT represents the color temperature setting coefficient, K1 represents the first current factor, N1 represents the first turn-on frequency factor, K2 represents the second current factor, and N2 represents the second turn-on frequency factor.

[0058] In this step, the first turn-on times factor and the second turn-on times factor are positively correlated with the turn-on times of the high color temperature LED circuit and the low color temperature LED circuit in a unit time, respectively. Therefore, as long as the first turn-on times factor and the second turn-on times factor are not less than a certain set value, the switching frequency of the high color temperature LED circuit and the low color temperature LED circuit can be ensured to be not less than a certain frequency. It can be seen from the first setting relationship that when the user adjusts the color temperature, the first turn-on times factor, the second turn-on times factor, the first current factor, and the second current factor can be adjusted to adjust the size of any one or more factors, and theoretically, the first setting relationship can be established.

[0059] It is understandable that, since some high color temperature LED circuits or low color temperature LED circuits are driven by switching power supplies, and some switching power supplies are based on the peak current of the LED circuit (high color temperature LED circuit or low color temperature LED circuit) to achieve switch control, that is, when the operating current of a certain LED circuit is greater than or equal to its corresponding peak current, the dimming controller will turn off the LED circuit, so the greater the peak current means the longer the LED circuit is turned on, and the greater the average current or power. Of course, some high color temperature LED circuits or low color temperature LED circuits may also be directly driven by a DC power supply, so adjusting the on-time duration of the high color temperature LED circuit or the low color temperature LED circuit each time it is turned on can also control the average current or power of the LED circuit.

[0060] In some embodiments, the process of setting the first turn-on times factor, the first current factor, the second turn-on times factor and the second current factor according to the color temperature setting coefficient may include steps S201, S202, S203, S204 and S205.

[0061] Step S201 includes: converting the color temperature setting coefficient to obtain the simplest ratio that can represent the ratio of high and low color temperatures. The purpose of this step is to reduce the color temperature setting coefficient to the simplest form of a fraction, that is, to obtain the simplest ratio. If the color temperature setting coefficient is a ratio that can directly represent the high color temperature ratio, the simplest ratio can be obtained by directly reducing the ratio to the simplest fraction. If the color temperature setting coefficient is a percentage coefficient, taking the color temperature setting coefficient equal to 55% as an example, first use formula (1) to convert it into a color temperature ratio to obtain Reducing 55 / 45 can get 11 / 9, that is, in this embodiment, the simplest ratio is

[0062] Step S202 includes: factoring the numerator of the simplest ratio into two factors to obtain a first factor and a second factor. Specifically, taking the numerator equal to 45 as an example, the first factor combination decomposed into 45 includes: 1 and 45, 5 and 9, and 15 and 3. Since a small first turn-on frequency factor means that the turn-on frequency of the high color temperature LED circuit per unit time is small, noise and flicker are prone to occur, and a small first current factor may cause the duration of each turn-on of the high color temperature LED circuit to be short, which may cause the defect of inaccurate control accuracy. Therefore, in order to avoid the first turn-on frequency factor and the first current factor determined in the subsequent steps being too large or too small, in some embodiments, the two factors contained in the first factor combination with the smallest absolute value of the difference between the two factors in the multiple groups of first factor combinations obtained after factoring the numerator of the simplest ratio are determined as the first factor and the second factor. Again, taking 45 as an example, the first factor and the second factor finally obtained are 5 and 9 or 9 and 5, respectively.

[0063] If some large prime numbers (such as prime numbers greater than 7) are factored into two integers, two factors with large difference will be obtained, which is not conducive to designing the number of times the high color temperature LED circuit is turned on per unit time or the duration of each turn-on to a more appropriate value. Therefore, the numerator of the simplest ratio can also be squared to obtain two equal first and second factors.

[0064] Step S203 includes: factoring the denominator of the simplest ratio into two factors to obtain a third factor and a fourth factor. The specific steps of factoring the denominator of the simplest ratio in this step are similar to those of step S202, and will not be repeated here.

[0065] Step S204 includes: determining the ratio of the second opening number factor to the first opening number factor and the ratio of the second current factor to the first current factor by setting an expression, a first factor, a second factor, a third factor and a fourth factor; wherein the first expression is: A1 represents the first factor, B1 represents the third factor, A2 represents the second factor, and B2 represents the fourth factor. represents the ratio of the first opening frequency factor to the second opening frequency factor and is recorded as the first ratio, The ratio of the first current factor to the second current factor is represented and recorded as the second ratio.

[0066] Taking the color temperature setting coefficient equal to 55% as an example, through conversion and simplification (the specific process can be referred to above, and will not be repeated here), the simplest ratio can be obtained as Further, executing steps S201 to S203 can obtain Of course, this is not the only ratio result of the first expression, as This also meets the requirements of the first expression.

[0067] Step S205 includes: determining a first opening number factor and a second opening number factor according to the first ratio, and determining a ratio of the second current factor to the first current factor according to the second ratio and a first set relationship.

[0068] Furthermore, in some embodiments, step S2051 may be executed to determine the first activation frequency factor and the second activation frequency factor according to the first ratio.

[0069] Step S2051 includes: comparing the numerator and denominator of the first ratio; when the numerator is less than or equal to the denominator, doubling the numerator, defining the multiplied numerator as the first activation factor, and determining the second activation factor according to the first ratio and the defined second activation factor; when the numerator is greater than the denominator, doubling the denominator, defining the multiplied denominator as the first activation factor, and determining the second activation factor according to the first ratio and the defined first activation factor.

[0070] Since the first turn-on times factor and the second turn-on times factor are respectively positively correlated with the turn-on times of the high color temperature LED circuit and the low color temperature LED circuit in a set time unit time, this embodiment multiplies the smaller of the numerator and the denominator of the first ratio, and the multiplication is within the set value range, so as to obtain For example, "1" can be multiplied to be within the set numerical range, and the value after "1" is multiplied will be defined as the first opening frequency factor. Then, the first opening frequency factor is substituted into the first ratio to calculate the second opening frequency factor. It should be noted that the set numerical range can be determined according to the length of the unit time. For example, when the unit time is equal to 1 second, considering that the audio noise of the switching power supply generally has a frequency between 20Hz and 20kHz, the lower limit of the set numerical range needs to be set to no less than 20K. For the upper limit of the set numerical range, the operating frequencies of different switching power supplies are different, ranging from 20kHz to 1MHz, and some power supplies even have an operating frequency of more than 1MHz. In order to avoid the later determined opening frequency factor exceeding the maximum operating frequency of the switching power supply, the upper limit of the set numerical range can be set within the range of 60k to 150k. It should be noted that the setting of the numerical range needs to be designed in advance according to the actual situation. For example, when the unit time is equal to 0.1 second, the lower limit and upper limit of the numerical range change with the scaling factor of the unit time. Accordingly, the lower limit of the numerical range needs to be set to no less than 2K, and the upper limit of the numerical range needs to be set within the range of 6k to 15k.

[0071] Step S30 includes: outputting a first control signal to the high color temperature LED circuit according to the first turn-on times factor and the first current factor, and outputting a second control signal to the low color temperature LED circuit according to the second turn-on times factor and the second current factor.

[0072] See also Figure 2 In some embodiments, the high color temperature LED circuit may include a first lamp board 30, a first inductor 34, and a first power switch tube (may include a first switch tube 36 and a second switch tube 14), and the low color temperature LED circuit may include a second lamp board 31, a second inductor 35, and a second power switch tube (may include a third switch tube 15 and a fourth switch tube 37).

[0073] The control principle of the first control signal will be described below by taking a high color temperature LED circuit as an example. If the first current factor is positively correlated with the duration of the high color temperature LED circuit being turned on each time, the first control signal may include a signal VG1 and a signal DrvA. When both the signal VG1 and the signal DrvA are at a high level, the first switch tube 36 and the second switch tube 14 are turned on, the first lamp board 30 is powered on, and emits high color temperature light. The first control signal may be a PWM signal, wherein the first turn-on factor is used to set the frequency of the signal VG1 and the signal DrvA, and the first current factor is used to set the duty cycle of the signal VG1 and the signal DrvA.

[0074] It is understandable that the circuit structure and working principle of the low color temperature LED circuit and the high color temperature LED circuit are similar, so the working principle of the second control signal can be referred to above and will not be repeated here. Among them, the second current factor is used to set the duty cycle of the signal VG2 and the signal DrvB.

[0075] In some embodiments, before step S30, step S21 and step S22 may also be included.

[0076] Step S21 includes: determining a brightness setting percentage of the high color temperature LED circuit according to the dimming signal.

[0077] Further, when the dimming signal is a PWM signal, the process of determining the color temperature setting coefficient and the brightness setting percentage may include step S211 and step S212.

[0078] Step S211 includes: detecting the frequency and duty cycle of the dimming signal.

[0079] Step S212 includes: determining the color temperature setting coefficient and the brightness setting percentage according to the setting parameters represented by the frequency and duty cycle of the dimming signal respectively; wherein the setting parameters include the color temperature coefficient and the total current setting value of any LED circuit, or the current setting value of the high color temperature LED circuit and the low color temperature LED circuit per unit time.

[0080] Further, the step of determining two setting parameters according to the frequency and duty cycle of the dimming signal may include: determining the frequency range of the frequency of the dimming signal based on a pre-stored relationship list, so as to determine the parameter value corresponding to the frequency range as the first setting parameter; determining the duty cycle range of the duty cycle of the dimming signal based on the relationship list, so as to determine the parameter value corresponding to the duty cycle range as the second setting parameter. The relationship list may include multiple frequency ranges, multiple parameter values ​​of the first setting parameters corresponding to the multiple frequency ranges, multiple duty cycle ranges, and multiple parameter values ​​of the second setting parameters corresponding to the multiple duty cycle ranges.

[0081] In some embodiments, the relationship list may be represented as:

[0082] frequency Frequency Range 1 Frequency Range 2 …… Frequency range First set parameters E1 E2 …… En Duty Cycle Duty cycle range 1 Duty cycle range 2 …… Duty cycle range n Second setting parameters R1 R2 …… R

[0083] In some embodiments, the setting parameters include the color temperature coefficient and the total current setting value of any LED circuit. Accordingly, the steps of determining the color temperature setting coefficient and the brightness setting percentage according to the setting parameters represented by the frequency and duty cycle of the dimming signal may include: if the color temperature coefficient is the color temperature coefficient of a high color temperature LED circuit, then defining the color temperature coefficient as the color temperature setting coefficient; if the color temperature coefficient is the color temperature coefficient of a low color temperature LED circuit, then defining the reciprocal of the color temperature coefficient as the color temperature setting coefficient; and defining the total current setting value as the brightness setting percentage.

[0084] In this embodiment, the setting parameter is the color temperature coefficient of any LED circuit, which makes it easier for the user to specifically set the size of the corresponding color temperature.

[0085] For the total current setting value, in order to simplify the user's brightness adjustment operation, in some embodiments, the total current setting value can be expressed in the form of brightness levels. For example, the total current setting value can be set to include multiple brightness levels, and each brightness level corresponds to a brightness percentage. The correspondence between each brightness level and the brightness percentage corresponding to each brightness level is pre-stored in the memory of the dimming controller. In this way, when the user enters a certain brightness level, the corresponding brightness percentage can be determined through the correspondence, and then the determined brightness percentage can be defined as the brightness setting percentage.

[0086] In some embodiments, the total current setting value can also be expressed as a brightness percentage, that is, the user can directly set the total current setting value to any percentage between 1% and 100%, which helps the user to adjust the brightness of the lamp more flexibly and linearly. In this embodiment, the brightness percentage can be directly defined as the brightness setting percentage.

[0087] In some embodiments, the setting parameters include current setting values ​​of a high color temperature LED circuit and a low color temperature LED circuit. Accordingly, the steps of determining a color temperature setting coefficient and a brightness setting percentage according to the setting parameters respectively represented by the frequency and duty cycle of the dimming signal may include: calculating the current sum of the current setting value of the high color temperature LED circuit plus the current setting value of the low color temperature LED circuit, and defining the ratio of the current sum to the total current with 100% brightness as the brightness setting percentage; defining the ratio of the current setting value of the high color temperature LED circuit to the current setting value of the low color temperature LED circuit as the color temperature setting coefficient.

[0088] In this embodiment, the current setting value of the high color temperature LED circuit is used to set the working current of the high color temperature LED circuit, and the current setting value of the low color temperature LED circuit is used to set the working current of the low color temperature LED circuit. The 100% brightness total current represents the total current corresponding to the unit time when the brightness of the lamp is adjusted to 100% (that is, the maximum adjustable current value). Please refer to Figure 2, the total current is generally collected through resistor 38. When the current collected through resistor 38 is greater than the total current, the high color temperature LED circuit and the low color temperature LED circuit will be turned off at the same time to avoid overcurrent. The current sum value obtained by adding the current setting values ​​of the high color temperature LED circuit and the low color temperature LED circuit corresponds to the total working current that the user wants to set. Therefore, the brightness setting percentage can be calculated by dividing the current sum value by the total current with 100% brightness. The ratio of the current setting value of the high color temperature LED circuit to the current setting value of the low color temperature LED circuit is equivalent to the color temperature ratio of the high color temperature LED circuit to the low color temperature LED circuit per unit time. It can be understood that the advantage of this embodiment is that it is convenient for users to adjust the brightness of any color temperature LED circuit in a targeted manner so as to adjust the color temperature and brightness that meet their usage requirements. In addition, in this embodiment, the working current is preferably expressed in the form of a percentage, which is conducive to the precise adjustment of color temperature and brightness.

[0089] Step S22 includes: the first opening number factor, the second opening number factor, the first current factor and the second current factor are further configured to conform to a second setting relationship, the second setting relationship is L=(K1*N1+K2*N2) / IF, L represents the brightness setting percentage, IF represents the total current of 100% brightness in a unit time. This step achieves the effect of adjusting the brightness of the lamp by making the first opening number factor, the second opening number factor, the first current factor and the second current factor conform to the second setting relationship.

[0090] In order to simplify the algorithm and reduce the computational burden of the dimming controller, in some embodiments, the process of setting the first opening frequency factor, the first current factor, the second opening frequency factor and the second current factor according to the color temperature setting coefficient may also include: determining the product K1*N1 of the first current factor and the first opening frequency factor according to the first setting relationship and the second setting relationship, and determining the product K2*N2 of the second current factor and the second opening frequency factor; after determining the first opening frequency factor and the second opening frequency factor by executing step S2051, determining the first current factor and the second current factor according to K1*N1, K2*N2 and the second ratio. It can be understood that since the first opening frequency factor and the second opening frequency factor are directly related to whether the lamp will have audio noise and flicker problems, the present invention first sets the first opening frequency factor and the second opening frequency factor to ensure that the lamp will not have audio noise and flicker problems, and then adjusts the first current factor and the second current factor according to the second ratio so that the brightness and color temperature of the lamp meet the set requirements.

[0091] It can be understood that the present invention can achieve the peak current or turn-on duration of the high color temperature LED circuit and the low color temperature LED circuit each time they are turned on by introducing the first current factor and the second current factor, so that there is no need to blindly adjust the number of times the LED circuit is turned on per unit time to meet the color temperature adjustment requirements, that is, there is no need to set any switching frequency of the high color temperature LED circuit and the low color temperature LED circuit to a smaller value, and the color temperature adjustment effect can be achieved, which can effectively avoid audio noise and flickering of the LED.

[0092] The present invention also provides a dimming controller 10, which is used to control the operation of the high color temperature LED circuit 30 and the low color temperature LED circuit 31 to achieve a dimming effect. Figure 2 The dimming controller 10 may include a dimming detection unit 11 , a control unit 12 and a driving unit 13 .

[0093] The dimming detection unit 11 is used to obtain a dimming signal and determine a color temperature setting coefficient of the high color temperature LED circuit 30 according to the dimming signal. The dimming signal includes the color temperature setting coefficient.

[0094] The control unit 12 is connected to the dimming detection unit 11, and the control unit 12 is used to set at least one of the first turn-on frequency factor and the second turn-on frequency factor, which are respectively positively correlated with the turn-on frequency of the high color temperature LED circuit 30 and the low color temperature LED circuit 31 in unit time, and the first current factor and the second current factor, which are respectively positively correlated with the peak current or the turn-on duration of the high color temperature LED circuit 30 and the low color temperature LED circuit 31 each time they are turned on, according to the color temperature setting coefficient; wherein the first turn-on frequency factor, the second turn-on frequency factor, the first current factor and the second current factor are configured to comply with a first setting relationship, and the first setting relationship is: CT = (K1*N1) / (K2*N2), CT represents the color temperature setting coefficient, K1 represents the first current factor, N1 represents the first turn-on frequency factor, K2 represents the second current factor, and N2 represents the second turn-on frequency factor.

[0095] The driving unit 13 is connected to the control unit 12, and is used to output a first control signal to the high color temperature LED circuit 30 according to the first turn-on times factor and the first current factor, and output a second control signal to the low color temperature LED circuit 31 according to the second turn-on times factor and the second current factor. It should be noted that the specific steps of the driving unit 13 outputting the first control signal and the second control signal can be referred to above, and will not be repeated here.

[0096] In some embodiments, the dimming detection unit 11 is further configured to determine a brightness setting percentage of the high color temperature LED circuit 30 according to the dimming signal.

[0097] In some embodiments, Figure 3As shown, the dimming detection unit 11 may include a frequency detection unit 111 and a duty cycle detection unit 112. The frequency detection unit 111 may include an existing counter capable of recording the number of rising edges or falling edges. The frequency of the dimming signal can be determined by recording the number of rising edges or falling edges. In addition, the specific steps of the frequency detection unit 111 determining the color temperature setting coefficient or the brightness setting percentage can refer to the above, which will not be repeated here. The duty cycle detection unit 112 may include a comparator and a timer. The comparator and the timer cooperate to determine the high level duration and the low level duration of the dimming signal, thereby determining the duty cycle based on the high level duration and the low level duration. In addition, the specific steps of the duty cycle detection unit 112 determining the color temperature setting coefficient or the brightness setting percentage can refer to the above, which will not be repeated here.

[0098] In some embodiments, the control unit 12 is also used to configure the first turn-on number factor, the second turn-on number factor, the first current factor and the second current factor to comply with a second setting relationship; wherein the second setting relationship is L=(K1*N1+K2*N2) / IF, L represents the brightness setting percentage, and IF represents the total current with percent brightness per unit time.

[0099] In some embodiments, Figure 4 As shown, the control unit 12 may include a first sub-control unit 121 and a second sub-control unit 122. The first sub-control unit 121 is used to configure the first opening number factor, the second opening number factor, the first current factor and the second current factor to comply with the first set relationship. The second sub-control unit 122 is used to cooperate with the first sub-control unit 121 to simultaneously configure the first opening number factor, the second opening number factor, the first current factor and the second current factor to comply with the second set relationship. It should be noted that the specific steps of the first sub-control unit 121 and the second sub-control unit 122 to make the first opening number factor, the second opening number factor, the first current factor and the second current factor comply with the first set relationship and the second set relationship can be referred to above and will not be repeated here.

[0100] In some embodiments, Figure 2 As shown, the dimming controller 10 may further include an output current detection unit 16. The output current detection unit 16 is used to cooperate with the resistor 38 to collect the sampled voltage of the pin CS included in the dimming controller 10 (the voltage value can be the real-time working current of the lamp), and feed the sampled voltage back to the control unit 12 and the driving unit 13.

[0101] For the control unit 12, it can determine the real-time working current of the lamp after it is working stably according to the sampled voltage, and then determine whether the quotient is equal to the brightness setting percentage according to the quotient of the real-time working current divided by the total current with 100% brightness. If the quotient is not equal to the brightness setting percentage, the first current factor and the second current factor can be scaled proportionally until the quotient is equal to the brightness setting percentage. It should be noted that although the first turn-on times factor, the second turn-on times factor, the first current factor and the second current factor calculated based on the algorithm can theoretically make the lamp meet the brightness adjustment requirements, they may be affected by hardware and may have errors. Proportional scaling of the first current factor and the second current factor can fine-tune the brightness without changing the turn-on times factor (ensuring that the lamp does not have noise and flicker), so as to ensure that the final lamp can meet the user's adjustment requirements and improve the user experience.

[0102] For the driving unit 13, the real-time working current of the lamp can be determined by sampling the voltage. When the real-time working current is greater than the 100% brightness total current, the driving unit 13 will immediately turn off the first power switch tube and the second power switch tube to avoid overcurrent in the lamp.

[0103] like Figure 2 As shown, the first power switch tube and the second power switch tube can be embedded in the dimming controller 10 (such as Figure 2 Of course, if Figure 5 As shown, the first power switch tube and the second power switch tube can also be externally arranged in the dimming controller 10. Figure 5 In the embodiment of the present invention, reference numeral 41 corresponds to the first power switch, and reference numeral 42 corresponds to the second power switch. Figure 6 As shown, the dimming controller 10 is also applicable to the BUCK_BOOST switching power supply. It can be understood that the present invention mainly achieves accurate adjustment of color temperature and brightness by specifically adjusting the opening frequency of the high color temperature LED circuit 30 and the low color temperature LED circuit 31 and the working current when each opening, which is not only applicable to Figure 2 , Figure 5 and Figure 6 The switching power supply structure shown is also applicable to switching power supplies with other circuit structures.

[0104] The present invention also provides a dimmable lamp, such as Figure 2 As shown, the dimmable lamp includes a high color temperature LED circuit 30, a low color temperature LED circuit 31 and a dimming controller 10 provided in an embodiment of the present invention.

[0105] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0106] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0107] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0108] It can be understood that the above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, the above technical features can be freely combined without departing from the concept of the present invention, and several deformations and improvements can be made, which all belong to the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should belong to the coverage of the claims of the present invention.

Claims

1. An LED adjustment method, applied to a dimmable lamp, wherein the dimmable lamp comprises a high color temperature LED circuit and a low color temperature LED circuit, characterized in that: The LED adjustment method comprises: Acquire a dimming signal to determine a color temperature setting coefficient of the high color temperature LED circuit according to the dimming signal; According to the color temperature setting coefficient, at least one of a first turn-on frequency factor and a second turn-on frequency factor respectively positively correlated with the turn-on frequency of the high color temperature LED circuit and the low color temperature LED circuit in a unit time, and a first current factor and a second current factor respectively positively correlated with the peak current or the turn-on duration of the high color temperature LED circuit and the low color temperature LED circuit each time they are turned on is set; wherein the first turn-on frequency factor, the second turn-on frequency factor, the first current factor and the second current factor are configured to comply with a first setting relationship, and the first setting relationship is: CT=(K1*N1) / (K2*N2), CT represents the color temperature setting coefficient, K1 represents the first current factor, N1 represents the first turn-on frequency factor, K2 represents the second current factor, and N2 represents the second turn-on frequency factor; A first control signal is output to the high color temperature LED circuit according to the first turn-on times factor and the first current factor, and a second control signal is output to the low color temperature LED circuit according to the second turn-on times factor and the second current factor.

2. The LED adjustment method according to claim 1, characterized in that: The process of setting the first switching frequency factor, the first current factor, the second switching frequency factor and the second current factor according to the color temperature setting coefficient includes: Converting the color temperature setting coefficient to obtain a simplest ratio that can represent the ratio of high and low color temperatures; Factoring the numerator of the simplest ratio into two factors to obtain a first factor and a second factor; Factoring the denominator of the simplest ratio into two factors to obtain a third factor and a fourth factor; The ratio of the second opening times factor to the first opening times factor and the ratio of the second current factor to the first current factor are determined by setting an expression, the first factor, the second factor, the third factor and the fourth factor; wherein the first expression is: A1 represents the first factor, B1 represents the third factor, A2 represents the second factor, and B2 represents the fourth factor. represents the ratio of the first activation frequency factor to the second activation frequency factor and is recorded as a first ratio, represents a ratio of the first current factor to the second current factor and is recorded as a second ratio; The first opening number factor and the second opening number factor are determined according to the first ratio, and the ratio of the second current factor to the first current factor is determined according to the second ratio and the first setting relationship.

3. The LED adjustment method according to claim 2, characterized in that: The step of determining the first activation number factor and the second activation number factor according to the first ratio comprises: Comparing the numerator and denominator of the first ratio; When the numerator is less than or equal to the denominator, the numerator is multiplied, the multiplied numerator is defined as the first activation frequency factor, and the second activation frequency factor is determined according to the first ratio and the defined second activation frequency factor; When the numerator is greater than the denominator, the denominator is multiplied, and the multiplied denominator is defined as the first activation frequency factor. The second activation frequency factor is determined according to the first ratio and the defined first activation frequency factor.

4. The LED adjustment method according to claim 2 or 3, characterized in that: Also includes: also determining a brightness setting percentage of the high color temperature LED circuit according to the dimming signal; The first turn-on times factor, the second turn-on times factor, the first current factor and the second current factor are also configured to conform to a second setting relationship, the second setting relationship is L=(K1*N1+K2*N2) / IF, L represents the brightness setting percentage, IF represents the total current with percent brightness in the unit time.

5. The LED adjustment method according to claim 4, characterized in that: The process of setting the first switching frequency factor, the first current factor, the second switching frequency factor and the second current factor according to the color temperature setting coefficient also includes: Determine K1*N1 and K2*N2 according to the first setting relationship and the second setting relationship; After the first opening number factor and the second opening number factor are determined, the first current factor and the second current factor are determined according to K1*N1, K2*N2 and the second ratio.

6. The LED adjustment method according to claim 5, characterized in that: When the dimming signal is a PWM signal, the process of determining the color temperature setting coefficient and the brightness setting percentage includes: Detecting the frequency and duty cycle of the dimming signal; The color temperature setting coefficient and the brightness setting percentage are determined according to the setting parameters respectively represented by the frequency and duty cycle of the dimming signal; wherein the setting parameters include the color temperature coefficient and the total current setting value of any LED circuit, or the current setting values ​​of the high color temperature LED circuit and the low color temperature LED circuit in the unit time.

7. The LED adjustment method according to claim 6, characterized in that: When the setting parameters include a color temperature coefficient and a total current setting value of any LED circuit, the step of determining the color temperature setting coefficient and the brightness setting percentage according to the setting parameters respectively represented by the frequency and duty cycle of the dimming signal includes: If the color temperature coefficient is the color temperature coefficient of the high color temperature LED circuit, then the color temperature coefficient is defined as the color temperature setting coefficient; If the color temperature coefficient is the color temperature coefficient of the low color temperature LED circuit, the reciprocal of the color temperature coefficient is defined as the color temperature setting coefficient; defining the total current setting value as the brightness setting percentage; When the setting parameters include current setting values ​​of the high color temperature LED circuit and the low color temperature LED circuit, the step of determining the color temperature setting coefficient and the brightness setting percentage according to the setting parameters respectively represented by the frequency and duty cycle of the dimming signal comprises: Calculating a current sum of the current setting value of the high color temperature LED circuit and the current setting value of the low color temperature LED circuit, and defining a ratio of the current sum to the 100% brightness total current as the brightness setting percentage; The ratio of the current setting value of the high color temperature LED circuit to the current setting value of the low color temperature LED circuit is defined as the color temperature setting coefficient.

8. A dimming controller, applied to a dimmable lamp, wherein the dimmable lamp comprises a high color temperature LED circuit and a low color temperature LED circuit, characterized in that: The dimming controller comprises: A dimming detection unit, used to obtain a dimming signal and determine a color temperature setting coefficient of the high color temperature LED circuit according to the dimming signal; wherein the dimming signal includes the color temperature setting coefficient; a control unit, configured to set at least one of a first turn-on frequency factor and a second turn-on frequency factor respectively positively correlated with the turn-on frequency of the high color temperature LED circuit and the low color temperature LED circuit in a unit time, and a first current factor and a second current factor respectively positively correlated with the peak current or the turn-on duration of each turn-on of the high color temperature LED circuit and the low color temperature LED circuit according to the color temperature setting coefficient; wherein the first turn-on frequency factor, the second turn-on frequency factor, the first current factor and the second current factor are configured to comply with a first setting relationship, and the first setting relationship is: CT=(K1*N1) / (K2*N2), CT represents the color temperature setting coefficient, K1 represents the first current factor, N1 represents the first turn-on frequency factor, K2 represents the second current factor, and N2 represents the second turn-on frequency factor; and A driving unit is used to output a first control signal to the high color temperature LED circuit according to the first turn-on number factor and the first current factor, and to output a second control signal to the low color temperature LED circuit according to the second turn-on number factor and the second current factor.

9. The dimming controller according to claim 8, characterized in that: The dimming detection unit is also used to determine the brightness setting percentage of the high color temperature LED circuit according to the dimming signal; The control unit is also used to configure the first turn-on times factor, the second turn-on times factor, the first current factor and the second current factor to comply with a second setting relationship; wherein the second setting relationship is L=(K1*N1+K2*N2) / IF, L represents the brightness setting percentage, and IF represents the total current with percent brightness in the unit time.

10. A dimmable lamp, characterized in that: The device comprises a high color temperature LED circuit, a low color temperature LED circuit and a dimming controller as claimed in claim 8 or 9.