An adaptive dimming method for multi-color LED light source based on IC control
By conducting stability analysis of the color temperature data of LED light sources in different installation areas, and combining with Smith estimator to improve the regulation algorithm, identify and adjust the unstable color temperature areas, the blind and time-consuming problems of dimming process in the existing technology are solved, and efficient and personalized LED light source dimming effect is achieved.
Patent Information
- Application Number
- CN202510254063.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-04-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing colorful LED light source dimming technology cannot effectively identify and deal with the problem of color temperature instability in different installation areas, resulting in the dimming process being blind and time-consuming, and it is difficult to quickly respond to users' personalized needs.
By obtaining the LED light source color temperature data in different installation areas for stability analysis, the fluctuating light source in the same area is identified, and combined with the Smith estimater to improve the proportion-integral-differential algorithm, the color temperature of the LED light source is accurately controlled. In addition, the user's regulatory behavior data is obtained, the regulation intervention ratio and hysteresis intervention ratio are calculated, its concentration is analyzed, the color temperature optimization signal is generated, and the light source color temperature is adjusted to meet user needs.
It improves the dimming efficiency of LED light sources, reduces dimming time and resource consumption, ensures the stability and user experience of the light source color temperature, and can be dynamically adjusted to adapt to different environments and user needs.
Smart Images

Figure CN119789263A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of LED dimming, and in particular to an adaptive dimming method of a multi-color LED light source based on IC control. Background Art
[0002] In the current lighting field, LED light sources have been widely used due to their advantages such as energy saving, environmental protection, and long life. However, the existing colorful LED light source dimming technology still has many shortcomings and it is difficult to meet users' needs for high-quality lighting environment.
[0003] The existing dimming methods usually do not make detailed distinctions and analyses of LED light sources in different installation areas, and are unable to determine areas where the color temperature of the light source is unstable. When adjusting the color temperature, the existing technology often adopts a unified color temperature control strategy, which treats all light sources indiscriminately, resulting in a blind and time-consuming dimming process, and it is difficult to improve the dimming efficiency. If the color temperature data of LED light sources in different installation areas is obtained and stability analysis is performed, it is possible to identify fluctuating light sources in the same area, providing an accurate basis for subsequent targeted color temperature control and improving the dimming efficiency.
[0004] Existing dimming technology relies on simple control algorithms, which are difficult to effectively deal with the problem of delayed response of LED light sources. In actual regulation, it takes a long time for the color temperature of the light source to reach the target value, and it is also prone to over- or under-regulation. If the Smith predictor is combined with the proportional-integral-differential LED light source color temperature control algorithm to be improved, the Smith predictor can compensate for the lag of the LED light source in color temperature regulation, predict the impact of the control amount on the system output in advance, make the regulation more timely, effectively reduce the adjustment time, avoid over-regulation, and reduce energy consumption and equipment loss.
[0005] The existing technology fails to obtain the user's personalized needs for the color temperature of the LED light source. During the dimming process, the color temperature of the light source cannot be adjusted in time according to the user's actual operation and feedback, resulting in a large deviation between the target light source color temperature and the user's expectations. The existing dimming technology is difficult to quickly detect and correct this deviation, affecting the user experience. If the user's LED light source color temperature regulation behavior is obtained for in-depth analysis, the regulation intervention ratio and the lag intervention ratio are calculated and a concentration analysis is performed, the deviation between the target light source color temperature and the user's actual expectations can be discovered in time. Combined with the analysis of the lag intervention moment and the color temperature prediction model, the final light source color temperature can be more in line with user needs and the user experience can be improved.
[0006] To this end, the present invention provides an adaptive dimming method for a multi-color LED light source based on IC control. Summary of the invention
[0007] The object of the present invention is to provide an adaptive dimming method for a multi-color LED light source based on IC control, so as to solve at least one of the above-mentioned problems in the prior art.
[0008] In a first aspect, the present invention provides an adaptive dimming method for a multi-color LED light source based on IC control, comprising the following steps: Step 1: Obtain color temperature data of LED light sources in different installation areas, perform stability analysis on the color temperature data of LED light sources in different installation areas, and obtain fluctuating light sources in the same area; Step 2: numerically analyze the color temperature of the light source of the fluctuating light source in the same area to obtain the target color temperature of the light source, improve the control algorithm of the color temperature of the LED light source, obtain the color temperature control amount and adjust it to make the color temperature data of the LED light source reach a stable state; Step 3: Obtain the number of times the user controls the color temperature of the LED light source, and perform numerical analysis to obtain the control intervention ratio and the hysteresis intervention ratio, and perform concentration analysis on the control intervention ratio and the hysteresis intervention ratio. If the hysteresis intervention ratio is more concentrated, generate a color temperature optimization signal; Step 4: Based on the color temperature optimization signal, the user's color temperature control time is obtained, the delayed intervention time is obtained, and the distribution of the delayed intervention time is analyzed to see whether it is regular; Step 5: If it is irregular, obtain the user's color temperature control value, build a color temperature control data set and a color temperature prediction model, output the color temperature prediction value as the target color temperature of the light source, and adjust the color temperature of the LED light source.
[0009] In a second aspect, the present invention provides an adaptive dimming system for a multi-color LED light source based on IC control, comprising the following modules: a regional analysis module: used to obtain color temperature data of LED light sources in different installation areas, perform stability analysis on the color temperature data of LED light sources in different installation areas, obtain LED light sources corresponding to installation areas with unstable light source color temperature data, and mark them as fluctuating light sources in the same area; Automatic control module: Based on the fluctuating light source in the same area, the automatic control module is used to perform numerical analysis on the color temperature of the light source to obtain the target color temperature of the light source. Combined with the Smith predictor, the proportional-integral-differential algorithm is improved to obtain the color temperature control amount of the LED light source color temperature, and the color temperature of the LED light source is controlled to make the LED light source color temperature data reach a stable state; User control module: Based on the LED light source color temperature reaching a stable state, the user control module is used to obtain the number of times the user controls the LED light source color temperature, and perform numerical analysis to obtain the control intervention ratio and the hysteresis intervention ratio. The control intervention ratio and the hysteresis intervention ratio are analyzed for concentration. If the hysteresis intervention ratio is more concentrated, a color temperature optimization signal is generated; Regularity analysis module: used to obtain the user's color temperature control time, obtain the delayed intervention time, and analyze whether the distribution of the delayed intervention time is regular in the time dimension; Prediction and analysis module: If it is irregular, the prediction and analysis module is used to obtain the user's color temperature control value, build a color temperature control data group and a color temperature prediction model, output the color temperature prediction value as the target color temperature of the light source, and adjust the color temperature of the LED light source.
[0010] Beneficial effects of the present invention: 1. By acquiring the color temperature data of LED light sources in different installation areas and performing stability analysis, it is possible to accurately identify unstable fluctuating light sources in the same area, provide a basis for subsequent targeted color temperature control, avoid blind control of all light sources, thereby improving dimming efficiency and saving the time and resources required for dimming. Based on the fluctuating light sources in the same area, the Smith predictor is combined with the improved proportional-integral-differential algorithm to control the color temperature of the LED light source. The Smith predictor can compensate for the lag of the LED light source in color temperature control, predict the impact of the control amount on the system output in advance, make the control more timely, and help the color temperature of the LED light source to stabilize and reach the target color temperature of the light source more quickly.
[0011] 2. Obtain the user's control behavior on the color temperature of the LED light source and conduct quantitative analysis to obtain the control intervention ratio and the hysteresis intervention ratio, and conduct concentration analysis. If the hysteresis intervention ratio is more concentrated, the deviation between the target light source color temperature and the user's actual expectations can be discovered in time, thereby generating a color temperature optimization signal; based on the color temperature optimization signal, obtain the hysteresis intervention moment and analyze its rules. When the distribution is irregular, build a color temperature prediction model to determine the target light source color temperature, so that the final light source color temperature is more in line with user needs.
[0012] 3. Dynamically adjust the color temperature of LED light sources according to different environments and user needs. When faced with complex usage scenarios and diverse user preferences, adaptive control of the color temperature of LED light sources can be achieved through data processing and algorithm optimization. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 It is a flow chart of a method for adaptive dimming of a multi-color LED light source based on IC control provided by the present invention; Figure 2 is a flow chart of the color temperature optimization signal generation conditions provided by the second embodiment of the present invention; Figure 3 This is a module diagram of a multi-color LED light source adaptive dimming system based on IC control provided in the third embodiment of the present invention; Figure 4 It is a structural diagram of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0015] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0016] Example 1
[0017] like Figure 1 As shown, an embodiment of the present invention provides an adaptive dimming method for a multi-color LED light source based on IC control, comprising the following steps: Step 1: Obtain color temperature data of LED light sources in different installation areas, perform stability analysis on the color temperature data of LED light sources in different installation areas, obtain LED light sources corresponding to installation areas with unstable light source color temperature data, and mark them as fluctuating light sources in the same area; In some embodiments, the color temperature data of the LED light source in the environment is obtained by using a color temperature sensor. 2 C bus, sending the LED light source color temperature data to the IC controller; Obtain the installation positions of the LED light sources, and mark the LED light sources with installation positions in the same area as light sources in the same area; For example, in a family living room, there are small lights around the ceiling, a main light in the center of the ceiling, and ambient lights on the furniture. The small lights around the ceiling are grouped into one area, the main light in the center of the ceiling is grouped into one area, and the ambient lights are grouped into one area, and the LED light sources in the area are grouped into the same area light sources; Based on the color temperature data of LED light sources in the same area, a color temperature group in the same area is constructed; For the color temperature groups in the same area, all data sets are combined and subtracted from each other to obtain the color temperature difference of the light source; It should be noted that if there are three LED light source color temperature data of A, B, and C in the same zone color temperature group, each group of data is fully combined, and the two-by-two subtraction operations refer to the light source color temperature difference between A and B, the light source color temperature difference between A and C, and the light source color temperature difference between B and C; Obtain the variance of the light source color temperature difference within the same color temperature group, and mark it as the color temperature variation value; The color temperature variation value is compared with the preset color temperature variation threshold value to determine whether the color temperature data of the LED light sources in the same-zone color temperature group are stable. If not, the same-zone light sources corresponding to the same-zone color temperature group, that is, the LED light sources corresponding to the installation area where the color temperature data of the LED light sources are unstable, are marked as same-zone fluctuating light sources; Specifically, the method for determining whether the color temperature data of LED light sources in the same color temperature group is stable is as follows: If the color temperature variation value is lower than the preset color temperature variation threshold, the color temperature data of the LED light sources in the same color temperature group are considered stable; If the color temperature variation value is higher than the preset color temperature variation threshold, it is considered that the color temperature data of the LED light sources in the same color temperature group are unstable; It should be noted that the role of identifying the fluctuating light source in the same area is: Role 1, identifying the fluctuating light source in the same area can locate the LED light source area with unstable color temperature; Role 2: identifying the fluctuating light source in the same area, the dimming system only operates on the area that needs to be adjusted, reducing the adjustment frequency of the LED light source and reducing the possibility of over-adjustment.
[0018] Step 2: Based on the fluctuating light source in the same area, the color temperature of the light source is numerically analyzed to obtain the target color temperature of the light source. The proportional-integral-differential algorithm is improved by combining the Smith predictor to obtain the control amount of the color temperature of the LED light source, and the color temperature of the LED light source is controlled to make the color temperature data of the LED light source reach a stable state. Based on the fluctuating light source in the same area, the proportional-integral-differential (PID) control algorithm is improved using the Smith predictor to obtain the color temperature control value of the LED light source in the fluctuating light source in the same area. , t represents the monitoring time; Specifically, obtaining a color temperature group of a fluctuating light source in a same area; By formula: Get the target color temperature T of the fluctuating light source in the same area tar ,in, is the mean value of the color temperature group in the same area, is the color temperature variation value of the color temperature group in the same area; From the color temperature group in the same area, the color temperature data of each LED light source is obtained in real time, and the color temperature data of each LED light source and the target color temperature T of the light source are calculated within the monitoring time t. tar The color temperature difference of the light source is marked as w(t); By formula: Get the initial control value of LED light source color temperature , where K p , K i , K d They are 1.21, 0.25, and 0.07 respectively; It should be noted that Indicates time point The light source color temperature data and the light source target color temperature T tar The color temperature difference of the light source, the integral variable is a variable that changes continuously from 0 to t; The proportional-integral-derivative (PID) control algorithm is optimized using the Smith predictor. Specifically: By formula: Construct the transfer function G(s) of the Smith predictor, where G0 represents the transfer function value without pure lag in the controlled object. represents the pure lag time, s is the Laplace operator; By formula: Get the transfer function value G0 without pure lag, where K is the system gain, which represents the proportional relationship between the steady-state output and input of the LED light source, provided by the IC controller, and Ts is the sampling period constant, Ts=1ms; In some embodiments, the time delay between the IC controller issuing the color temperature control instruction and the LED light source actually responding is obtained through the IC controller, and is marked as the pure lag time. ; The color temperature data of each LED light source is compared with the target color temperature T tar The light source color temperature difference w(t) and the initial control value of the LED light source color temperature , perform Laplace transform to obtain the complex function w(s) of the light source color temperature difference and the complex function of the initial control amount ; It should be noted that the Laplace transform is used to convert a time domain function into a complex frequency domain function; By formula: Obtain the control output value y(s), perform inverse Laplace transform on y(s), and obtain y(t), which is the color temperature control value of the color temperature of the LED light source corresponding to the monitoring time t; It should be noted that the role of the color temperature control amount is to calculate and adjust the specific value of the light source color temperature so that the color temperature of the LED light source can approach the target color temperature of the light source and meet people's requirements for light color temperature.
[0019] The color temperature control amount based on the color temperature of the LED light source uses an IC controller to control the color temperature of each LED light source in the same area according to the color temperature of the fluctuating light source , adjust the color temperature of LED light source; Based on the color temperature of the LED light source after adjustment, the color temperature variation value of the fluctuating light source in the same area is calculated to determine whether the color temperature data of the LED light source is stable. If it is stable, it is considered that the adjustment is successful. Otherwise, continue to adjust until the color temperature data of the LED light source is stable. It should be noted that the PID algorithm performs proportional, integral and differential adjustments based on the error, but the delay effect on the response of the LED light source is difficult to solve. The Smith predictor can compensate for the lag in the color temperature control of the LED light source, predict the impact of the control amount on the system output in advance, make the control more timely, reduce the adjustment time, and enable the color temperature of the LED light source to stably reach the target color temperature T of the light source. tar .
[0020] The technical solution of this embodiment is: obtaining color temperature data of LED light sources in different installation areas, performing stability analysis on the color temperature data of LED light sources in different installation areas, obtaining LED light sources corresponding to installation areas where the color temperature data of the light sources are unstable, marking them as same-area fluctuating light sources, providing a basis for subsequent targeted color temperature regulation, avoiding blind regulation of all light sources, thereby improving dimming efficiency, and saving time and resources required for dimming; based on the same-area fluctuating light sources, performing numerical analysis on the color temperature of the light source to obtain the target color temperature of the light source, combining the Smith predictor to improve the proportional-integral-differential algorithm to obtain the control amount of the color temperature of the LED light source, and regulating the color temperature of the LED light source so that the color temperature data of the LED light source reaches a stable state, making the regulation more timely, and facilitating the color temperature of the LED light source to stabilize and reach the target color temperature of the light source more quickly.
[0021] Example 2 like Figure 1 As shown, a method for adaptive dimming of a colorful LED light source based on IC control also includes the following steps: Step 3: Based on the LED light source color temperature that has reached a stable state, obtain the number of times the user controls the LED light source color temperature, and perform numerical analysis to obtain the control intervention ratio and the hysteresis intervention ratio. Perform concentration analysis on the control intervention ratio and the hysteresis intervention ratio. If the hysteresis intervention ratio is more concentrated, generate a color temperature optimization signal. Based on the fluctuating light source in the same area in a stable state, determine whether the user adjusts the color temperature of the LED light source of the fluctuating light source in the same area; If the user adjusts the color temperature of the LED light source of the fluctuating light source in the same area, the user's color temperature adjustment time is obtained from the IC controller; It should be noted that the user's color temperature adjustment time refers to the time when the user adjusts the color temperature of the LED light source; Obtain the time from when the LED light source color temperature starts to be adjusted to when the LED light source color temperature data reaches stability, and obtain the adjustment time range; Calculate the number of times the user's color temperature control moment is within the control time range, and obtain the number of control interventions; Calculate the number of times the user's color temperature control moment is higher than the maximum value of the control time range, and obtain the number of delayed interventions; It should be noted that when the user's color temperature control moment is within the control time range, it means that the color temperature control of the LED light source fails to meet the user's expectations of the LED color temperature. For example, in the color temperature control of each LED light source of the same area fluctuating light source, the color temperature of the LED light source varies greatly and fails to meet the user's expectations, and the user begins to intervene in the control of the LED light source; When the user's color temperature adjustment moment is higher than the maximum value of the adjustment time range, the color temperature of the LED light source is adjusted to the target color temperature T tar When the color temperature of the LED light source fails to meet the user's expectations, the user begins to intervene in the regulation of the LED light source; The total number of user controls is obtained, and the control intervention number is processed as a ratio with the total number of user controls to obtain a control intervention ratio; The number of delayed interventions is processed as a ratio to the total number of user controls to obtain a delayed intervention ratio; Obtain the control intervention ratio and lag intervention ratio in different monitoring periods, calculate the KS statistics of the control intervention ratio and lag intervention ratio respectively through the KS (Kolmogorov-Smirnov) test method, and determine the concentration degree of the control intervention ratio and lag intervention ratio in the time dimension; Specifically, based on the control intervention ratio and hysteresis intervention ratio of different monitoring periods, the hypothesis of whether the control intervention ratio of different monitoring periods obeys the cumulative distribution function Fu of uniform distribution and whether the hysteresis intervention ratio of different monitoring periods obeys the cumulative distribution function Fu of uniform distribution is proposed; Based on the control-intervention ratio of different monitoring cycles, a control-intervention group was constructed, and based on the delayed-intervention ratio of different monitoring cycles, a delayed-intervention group was constructed; Sort the control intervention ratios of the control intervention groups in ascending order, and mark the control intervention ratios of different monitoring periods as a i , i is the number of the monitoring period, the value range of i is [1,n], a1≤a2≤...≤a n ; Based on the sorted control intervention groups, construct the empirical cumulative distribution function Fa(i) of the control intervention ratio; By formula: , construct the empirical cumulative distribution function Fa(i) of the regulation intervention ratio, where x a is the cumulative distribution function value of uniform distribution, x a The value range of is [0,1]; It should be noted that since the range of the control intervention ratio and the hysteresis intervention ratio is [0,1], x a The value range of is [0,1]; The delayed intervention ratios of the delayed intervention groups are sorted in ascending order, and the delayed intervention ratios of different monitoring periods are marked as b i , b1≤b2≤...≤b n ; Based on the sorted lagged intervention groups, construct the empirical cumulative distribution function Fb(i) of the lagged intervention ratio; By formula: , construct the empirical cumulative distribution function Fb(i) of the lagged intervention ratio, where x b is the function value of the uniformly distributed cumulative distribution function Fu, x b The value range of is [0,1]; By formula: Get the KS statistic Da of the control intervention ratio, Represents x a In the value range [0,1], The maximum value of ; By formula: Get the KS statistic Db of the lagged intervention ratio, Represents x b In the value range [0,1], The maximum value of ; In some embodiments, the pa value of whether the control intervention ratio of different monitoring periods obeys the cumulative distribution function Fu hypothesis of uniform distribution and the pb value of whether the hysteresis intervention ratio of different monitoring periods obeys the cumulative distribution function Fu hypothesis of uniform distribution are calculated respectively through the SciPy library of Python; It should be noted that the calculation of pa and pb values is based on the distribution of KS statistics; If pa and pb are higher than the expected significance level α, it is considered that the cumulative distribution function Fu of the control intervention ratio of different monitoring periods and the cumulative distribution function Fu of the lag intervention ratio of different monitoring periods are uniformly distributed, otherwise, it is not in compliance; Preferably, α=0.05; If the hypothesis is met, the size of the KS statistic Da of the control intervention ratio and the KS statistic Db of the lag intervention ratio are determined, and the concentration of the control intervention ratio and the lag intervention ratio in the time dimension is determined; It should be noted that the role of analyzing the concentration of the control intervention ratio and the lag intervention ratio is: Role 1, it reflects the deviation between the target color temperature of the light source and the actual expectations of the user; Role 2, the results of the concentration analysis provide data support for the dimming system, which helps to optimize the overall dimming strategy; Role 3, the concentration analysis helps to meet the user's personalized needs for the color temperature of the light source.
[0022] If Da is higher than Db, the post-regulation intervention ratio is more concentrated in the time dimension than the lagged intervention ratio, whereas the lagged intervention ratio is more concentrated; It should be noted that if the hysteresis intervention ratio is more concentrated, it reflects the target color temperature T of the light source. tar There is a large and concentrated deviation from the actual expectations of users. For example, in a conference room scenario, the system presets the target color temperature of the light source T tar The color temperature is too cold, which causes users to adjust the color temperature after it reaches the target value, in order to achieve a warm environment suitable for meetings. like Figure 2 As shown, if the hysteresis intervention ratio is more concentrated, a color temperature optimization signal is generated to the IC controller; Step 4: Based on the color temperature optimization signal, the user's color temperature control time is obtained, the delayed intervention time is obtained, and the distribution of the delayed intervention time is analyzed in the time dimension to see whether it is regular; Based on the color temperature optimization signal, the color temperature control moment of the user corresponding to the hysteresis intervention ratio is obtained to obtain the hysteresis intervention moment; Obtaining the hysteresis intervention time in all monitoring cycles, performing regularity analysis on the hysteresis intervention time in all monitoring cycles, and determining the hysteresis regularity value; Specifically, the number of identical hysteresis intervention moments in all monitoring periods is obtained to obtain identical hysteresis values; Obtaining the number of all hysteresis intervention moments in all monitoring cycles, performing ratio processing on the hysteresis identical value and the number of all hysteresis intervention moments, and obtaining the hysteresis identical ratio; Use the run test method to obtain the number of consecutive lag intervention moments in the entire monitoring period, and perform ratio processing on the number of consecutive lag intervention moments and the number of all lag intervention moments to obtain the consecutive lag ratio; It should be noted that the run test method arranges the lag intervention moments in chronological order to determine the runs therein, regards the continuous lag intervention moment segments as a run, and then counts all runs consisting of continuous lag intervention moments, and counts the lag intervention moments in these runs, and the total number obtained is the number of continuous lag intervention moments; By formula: Get the hysteresis law value gl, where a1 and a2 are 0.75 and 0.43, xt is the hysteresis ratio, and lx is the continuous hysteresis ratio; Compare the hysteresis regularity value with the preset hysteresis regularity threshold value to determine whether the distribution of the hysteresis intervention moments in the time dimension is regular; If the hysteresis regularity value is higher than the preset hysteresis regularity threshold, it is considered that the hysteresis intervention moment is distributed regularly in the time dimension; If the distribution is regular, obtain the color temperature control value of the LED light source by the user at the time of delayed intervention in the entire monitoring cycle from the IC controller and mark it as the color temperature control value; Calculate the color temperature control value with the most identical values during the entire monitoring period as the target color temperature T of the light source. tar ; It should be noted that if there are multiple color temperature control values with the same value, the average of the multiple color temperature control values with the same value is taken as the target color temperature T of the light source. tar ; If the hysteresis regularity value is lower than the preset hysteresis regularity threshold, it is considered that the hysteresis intervention time has no regularity in the time dimension distribution; Step 5: If it is irregular, obtain the user's color temperature control value, build a color temperature control data set and a color temperature prediction model, output the color temperature prediction value as the target color temperature of the light source, and control the color temperature of the LED light source; If the distribution of the delayed intervention time is irregular in the time dimension, the color temperature control values of the user at all delayed intervention times in the entire monitoring period are obtained to construct a color temperature control data group; Based on the color temperature control data set, the support vector machine algorithm is used to build a color temperature prediction model to determine the target color temperature T of the light source. tar ; Specifically, the method for constructing the color temperature prediction model includes the following steps: S1. Preprocessing the color temperature control data group; Obtain the missing values of the color temperature control data group, and use the median filling method to fill the missing values of the color temperature control data group; Acquire abnormal values of the color temperature control data group, including color temperature control values with incorrect formats and color temperature control values exceeding a normal range in the color temperature control data group, and remove them; For example, if the format of the non-numeric character 'abc' is incorrect in the delayed intervention moment, if the normal range is 2000-6500K and the color temperature control value is 8000K, then 8000K and 'abc' are abnormal values of the color temperature control data group; S2, dividing the color temperature control data group; The color temperature control data group that has been preprocessed is divided into a training set and a test set in a ratio of 8:2; The training set is used for color temperature prediction model training, and the test set is used for testing the prediction results of the color temperature prediction model; S3, selecting a radial basis kernel function as a kernel function, constructing a color temperature prediction model, and training the color temperature prediction model with the divided color temperature control data group; Get the color temperature prediction value output by the color temperature prediction model as the target color temperature T of the light source tar ; Based on the target color temperature T of the light source tar, using the Smith predictor's proportional-integral-differential LED light source color temperature control algorithm, the color temperature control amount of the LED light source color temperature is obtained, and the LED light source color temperature is controlled to make the LED light source color temperature data reach a stable state; The technical solution of this embodiment is: based on the color temperature of the LED light source that has reached a stable state, the number of times the user controls the color temperature of the LED light source is obtained, and numerical analysis is performed to obtain the control intervention ratio and the hysteresis intervention ratio, and a concentration analysis is performed on the control intervention ratio and the hysteresis intervention ratio. If the hysteresis intervention ratio is more concentrated, a color temperature optimization signal is generated, and based on the color temperature optimization signal, the color temperature control moment of the user corresponding to the hysteresis intervention ratio is obtained to obtain the hysteresis intervention moment, and whether the distribution of the hysteresis intervention moment is regular in the time dimension is analyzed. If it is irregular, the color temperature control values of all the hysteresis intervention moments are obtained, a color temperature control data group is constructed, a color temperature prediction model is constructed, and the color temperature prediction value is output as the target color temperature of the light source, and the color temperature of the LED light source is regulated. When the distribution is irregular, a color temperature prediction model is constructed to determine the target light source color temperature, so that the final light source color temperature is more in line with user needs.
[0023] Example 3
[0024] like Figure 3 As shown, a multi-color LED light source adaptive dimming system based on IC control is used to implement a multi-color LED light source adaptive dimming method based on IC control, including the following modules: Regional analysis module: used to obtain color temperature data of LED light sources in different installation areas, perform stability analysis on the color temperature data of LED light sources in different installation areas, obtain the LED light sources corresponding to the installation areas with unstable color temperature data, and mark them as fluctuating light sources in the same area; Automatic control module: Based on the fluctuating light source in the same area, the automatic control module is used to perform numerical analysis on the color temperature of the light source to obtain the target color temperature of the light source. Combined with the Smith predictor, the proportional-integral-differential algorithm is improved to obtain the color temperature control amount, and the color temperature of the LED light source is controlled to make the color temperature data of the LED light source reach a stable state; User control module: Based on the LED light source color temperature reaching a stable state, the user control module is used to obtain the number of times the user controls the LED light source color temperature, and perform numerical analysis to obtain the control intervention ratio and the hysteresis intervention ratio. The control intervention ratio and the hysteresis intervention ratio are analyzed for concentration. If the hysteresis intervention ratio is more concentrated, a color temperature optimization signal is generated; Regularity analysis module: used to obtain the user's color temperature control time, obtain the delayed intervention time, and analyze whether the distribution of the delayed intervention time is regular in the time dimension; Prediction and analysis module: If it is irregular, the prediction and analysis module is used to obtain the user's color temperature control value, build a color temperature control data group and a color temperature prediction model, output the color temperature prediction value as the target color temperature of the light source, and adjust the color temperature of the LED light source.
[0025] Example 4
[0026] Reference Figure 4 The embodiment of the present invention further provides a computer device 3, comprising: a memory 302 and a processor 301 and a computer program 303 stored in the memory 302. When the computer program 303 is executed on the processor 301, an adaptive dimming method of a multi-color LED light source based on IC control as described in any one of the above methods is implemented.
[0027] The computer device 3 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 3 may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 4 It is only an example of computer device 3 and does not constitute a limitation on computer device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.
[0028] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0029] In some embodiments, the memory 302 may be an internal storage unit of the computer device 3, such as a hard disk or memory of the computer device 3. In other embodiments, the memory 302 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FlashCard), etc. equipped on the computer device 3. Further, the memory 302 may also include both an internal storage unit and an external storage device of the computer device 3. The memory 302 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 302 may also be used to temporarily store data that has been output or is to be output.
[0030] Example 5
[0031] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements an adaptive dimming method of a multi-color LED light source based on IC control as described in any one of the above methods.
[0032] In this embodiment, if the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0033] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0034] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can 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 this application.
[0035] In the embodiments disclosed in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0036] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0037] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0038] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A method for adaptive dimming of a multi-color LED light source based on IC control, characterized in that: The following steps are involved: Perform stability analysis on the color temperature data of LED light sources in different installation areas to obtain the fluctuating light sources in the same area; The color temperature of the light source of the fluctuating light source in the same area is numerically analyzed to obtain the target color temperature of the light source, and the control algorithm of the color temperature of the LED light source is improved to obtain the color temperature control amount and control it to make the color temperature data of the LED light source reach a stable state; The number of times the color temperature of the LED light source is adjusted is numerically analyzed to obtain the adjustment intervention ratio and the hysteresis intervention ratio. The concentration analysis of the adjustment intervention ratio and the hysteresis intervention ratio is performed to generate a color temperature optimization signal. Based on the color temperature optimization signal, the user's color temperature control time is obtained, the delayed intervention time is obtained, and the distribution of the delayed intervention time is analyzed to see whether it is regular; If it is irregular, obtain the user's color temperature control value, build a color temperature control data group and a color temperature prediction model, output the color temperature prediction value as the target color temperature of the light source, and adjust the color temperature of the LED light source.
2. According to claim 1, a method for adaptive dimming of a multi-color LED light source based on IC control, characterized in that: The method for obtaining the same-area wave light source is as follows: Obtain the installation positions of the LED light sources, and mark the LED light sources with installation positions in the same area as light sources in the same area; Obtain the color temperature data of LED light sources in the same area and perform variance calculation to obtain the color temperature variation value; If the color temperature variation value is higher than a preset color temperature variation threshold, the light source in the same area is recorded as a same-area fluctuating light source, wherein the light source in the same area is an LED light source in the same environmental area.
3. The method for adaptive dimming of a multi-color LED light source based on IC control according to claim 1, characterized in that: The stable state is determined as follows: Based on the color temperature control amount, the IC controller is used to control the color temperature of the LED light source; The color temperature of the LED light source after adjustment is used to determine the stability of the color temperature data of the LED light source through the color temperature variation value.
4. The method for adaptive dimming of a multi-color LED light source based on IC control according to claim 3, characterized in that: The color temperature control value of the LED light source color temperature is obtained in the following manner: Obtain the color temperature group of the fluctuating light source in the same area, and calculate the target color temperature of the light source of the fluctuating light source in the same area through the summation formula; Acquire the color temperature data of each LED light source in real time, and calculate the color temperature difference w(t) between the color temperature data of each LED light source and the target color temperature of the light source within the monitoring time t; Based on the light source color temperature difference w(t), the initial control value of the LED light source color temperature is obtained through the proportional-integral-differential LED light source color temperature control algorithm. ; The proportional-integral-differential color temperature control algorithm of LED light source is improved to obtain the color temperature control value y(t) of the LED light source color temperature.
5. The method for adaptive dimming of a multi-color LED light source based on IC control according to claim 3, characterized in that: The method for improving the control algorithm of the color temperature of the LED light source is: Through the IC controller, the time delay between the IC controller issuing the color temperature control command and the LED light source actually responding is obtained, which is marked as pure lag time; The initial control value of the light source color temperature difference w(t) and the LED light source color temperature , perform Laplace transform to obtain the complex function w(s) of the light source color temperature difference and the complex function of the initial control amount , where s represents the Laplace factor; Construct the transfer function G(s) of the Smith predictor based on G(s), the complex function w(s) of the light source color temperature difference, and the complex function of the initial control amount , pure lag time, and obtain the control output value y(s) through the summation formula. Perform an inverse Laplace transform on y(s) to obtain y(t), which is the color temperature control value of the LED light source color temperature corresponding to the monitoring time t.
6. The method for adaptive dimming of a multi-color LED light source based on IC control according to claim 1, characterized in that: The concentration analysis method is: Based on the same-zone fluctuating light source in a stable state, if the user adjusts the color temperature of the LED light source of the same-zone fluctuating light source, the user's color temperature adjustment time is obtained; Obtain the number of times the user regulates the LED light source, and conduct quantitative analysis to obtain the regulation intervention ratio and hysteresis intervention ratio; Obtain the control intervention ratio and the lag intervention ratio in different monitoring periods, calculate the KS statistics of the control intervention ratio and the lag intervention ratio respectively through the KS test method, and determine the concentration degree of the control intervention ratio and the lag intervention ratio in the time dimension; If the KS statistic of the hysteresis intervention ratio is higher than the KS statistic of the control intervention ratio, a color temperature optimization signal is generated.
7. The method for adaptive dimming of a multi-color LED light source based on IC control according to claim 6, characterized in that: The control intervention ratio and the hysteresis intervention ratio are obtained as follows: Obtain the time from when the color temperature of the LED light source starts to be adjusted to a stable color temperature state, and obtain the adjustment time range; Obtain the user's color temperature control time, calculate the number of times the user's color temperature control time is within the control time range, and obtain the number of control interventions; Calculate the number of times the user's color temperature control moment is higher than the maximum value of the control time range, and obtain the number of delayed interventions; The total number of user controls is obtained, and the control intervention number is processed as a ratio with the total number of user controls to obtain a control intervention ratio; The number of delayed interventions is ratioed to the total number of user controls to obtain the delayed intervention ratio.
8. The method for adaptive dimming of a multi-color LED light source based on IC control according to claim 1, characterized in that: The method for judging whether the distribution of the delayed intervention time is regular is as follows: The hysteresis intervention time is numerically analyzed to obtain the continuous hysteresis ratio and the hysteresis same ratio; The hysteresis law values of the continuous hysteresis ratio and the hysteresis same ratio are calculated through the summation formula. If the hysteresis law value is higher than the preset hysteresis law threshold, it is considered that the hysteresis intervention moment is distributed regularly in the time dimension.
9. The method for adaptive dimming of a multi-color LED light source based on IC control according to claim 8, characterized in that: The continuous hysteresis ratio and the hysteresis consistency ratio are obtained as follows: Obtain the color temperature control moment of the user corresponding to the hysteresis intervention ratio to obtain the hysteresis intervention moment; Obtain the same number of hysteresis intervention moments in all monitoring cycles, obtain the same hysteresis value, and the number of all hysteresis intervention moments; The lag identical value is processed by ratio with the number of all lag intervention moments to obtain the lag identical ratio; The runs test method is used to obtain the number of consecutive lag intervention moments in the entire monitoring period, and the number of consecutive lag intervention moments is ratioed to the number of all lag intervention moments to obtain the consecutive lag ratio.
10. The method for adaptive dimming of a multi-color LED light source based on IC control according to claim 1, characterized in that: The color temperature prediction value is obtained in the following manner: If the distribution of the delayed intervention time is irregular, the color temperature control values of the user at all delayed intervention times in all monitoring periods are obtained to construct a color temperature control data group; Based on the color temperature control data set, a color temperature prediction model is constructed using the support vector machine algorithm to obtain the color temperature prediction value as the target color temperature of the light source.
Citation Information
Cited By
Colorful LED appliance self-adaptive dimming method based on IC control
CN120456377A