CN-121815479-B - Low-power-consumption brightness self-adaptive control method and system based on photosensitive sensing
Abstract
The invention discloses a low-power consumption brightness self-adaptive control method and system based on photosensitive sensing, and relates to the technical field of LED brightness control. The method comprises the steps of S1, collecting brightness control data in real time, screening amplitude, extracting ambient light characteristics, S2, analyzing the relative relation between local and expansion fluctuation, carrying out weighted fusion on the light characteristics to form a trend light track, S3, analyzing the change rhythm of local average light, identifying the continuous change stage of the light, constructing a mutation judgment index, judging short-time pseudo mutation, S4, calculating target brightness, constructing an error suppression mechanism, generating a brightness adjustment step length, obtaining an updated duty ratio, and executing boundary and change rate limitation, S5, judging the working state, and executing different sampling frequency adjustment and power consumption management strategies. The problems that the real illumination change is difficult to distinguish from the short-time pseudo mutation under the complex outdoor illumination environment, and the brightness adjustment is easy to flicker and unstable are solved.
Inventors
- GAO RUI
- LI ZHIJIAN
- WU ZEKAI
Assignees
- 珠海市睿特光电技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260310
- Priority Date
- 20260309
Claims (10)
- 1. The low-power consumption brightness self-adaptive control method based on photosensitive perception is characterized by comprising the following steps of: S1, acquiring brightness control data in real time, performing amplitude screening on the brightness control data, constructing a local window and an extended window, extracting the characteristics of ambient light, and obtaining a basic brightness state set; S2, analyzing the relative relation between the local and the expansion fluctuation degree based on the brightness state set, carrying out weighted fusion on the illumination characteristics to form a continuous and stable trend illumination track, and completing succession and correction of trend illumination by combining a historical time sequence; S3, analyzing the change rhythm of local average illumination according to the brightness state set, identifying the illumination continuous change stage, combining historical data to obtain a reference parameter set, fusing brightness control data, the change rhythm and illumination continuous change time to construct mutation discrimination indexes, distinguishing real illumination change from short-time pseudo mutation, and outputting mutation shielding marks; S4, obtaining target brightness according to the trend illumination track and the mapping relation, constructing an error suppression mechanism, and generating a brightness adjustment step length by combining the mutation judgment index; S5, judging working states according to vibration intensity and trend illumination track change, and executing corresponding sampling frequency adjustment and power consumption management strategies according to different working states.
- 2. The photosensitive perception-based low-power consumption brightness self-adaptive control method according to claim 1, wherein the specific processes of collecting brightness control data in real time, performing amplitude screening on the brightness control data, constructing a local window and an extended window, extracting ambient light characteristics and obtaining a basic brightness state set are as follows: The brightness control data are collected in real time, and the brightness control data comprise a photosensitive original value, vibration count, duty ratio of LED drive and time stamp, wherein the amplitude check is carried out based on the difference value of the photosensitive original value at adjacent time and the standard deviation of the photosensitive original value in a sliding window, if the difference value exceeds the maximum illumination variation amplitude threshold value and the standard deviation is smaller than the fluctuation threshold value, the sampling point is marked as an abnormal point and is removed; The method comprises the steps of respectively constructing a local sampling window and an extended sampling window based on fixed sampling numbers N and M, respectively calculating an average value and a standard deviation of photosensitive original values in the local sampling window to obtain a local average illumination value and a local fluctuation degree, respectively calculating the average value and the standard deviation of the photosensitive original values based on the extended sampling window to obtain an extended average illumination value and an extended fluctuation degree, constructing a brightness control database, and writing brightness control data, the local average illumination value, the local fluctuation degree, the extended average illumination value and the extended fluctuation degree into the brightness control database.
- 3. The photosensitive perception-based low-power consumption brightness self-adaptive control method according to claim 1, wherein the specific processes of analyzing the relative relation between local and expansion fluctuation degree based on the brightness state set, performing weighted fusion on illumination characteristics to form a continuous stable trend illumination track, and completing succession and correction of trend illumination by combining a historical time sequence are as follows: The local fluctuation degree and the extended fluctuation degree are read and summed, and the summation result is added with the minimum constant value to obtain a smooth normalization reference value; Multiplying the trend illumination weighted value with the trend illumination value at the previous moment to obtain an extended weighted inheritance item, and if the initial calculation is performed, assigning the trend illumination value at the previous moment as an extended average illumination value; and calculating a trend illumination value in real time, performing boundary check and time synchronization on the trend illumination value sequence, and writing the trend illumination value sequence into a brightness control database.
- 4. The photosensitive perception-based low-power consumption brightness self-adaptive control method according to claim 1, wherein the specific process of analyzing the local average illumination change rhythm according to the brightness state set and identifying the illumination continuous change phase and combining the historical data to obtain the reference parameter set is as follows: Reading a continuous local average illumination value sequence, calculating the absolute change rate of local average illumination values at adjacent moments through a difference method based on time stamping, simultaneously calculating the difference value between the current local average illumination value and the local average illumination value at the last moment at each sampling moment, considering illumination change to be in a continuous phase if the difference value exceeds a minimum effective change threshold, tracing forward from the current moment and accumulating the time stamp difference values of the continuous phase to form duration, and taking the accumulated duration as illumination change duration; Based on the sliding time window, the absolute change rate sequence, the vibration counting sequence and the illumination change duration sequence of the local average illumination value are read, and the median is respectively screened out and used as the change rate reference value, the vibration counting reference value and the illumination change duration reference value of the local average illumination value.
- 5. The low-power consumption brightness self-adaptive control method based on photosensitive perception according to claim 1, wherein the specific process of constructing the mutation discrimination index by fusing brightness control data, change rhythm and illumination duration change time is as follows: Dividing the current illumination change duration by an illumination change duration reference value, taking the opposite number as an exponent power to perform natural exponential operation to obtain a duration attenuation item, dividing the absolute change rate of the current local average illumination value by a local average illumination value change rate reference value to obtain a normalized change rate item, dividing the current vibration count by a vibration count reference value to obtain a normalized vibration intensity item, and multiplying the duration attenuation item, the normalized change rate item and the normalized vibration intensity item to obtain an illumination pseudo mutation discrimination value.
- 6. The low-power consumption brightness self-adaptive control method based on photosensitive perception according to claim 1, wherein the specific process of distinguishing real illumination change from short-time pseudo mutation and outputting mutation shielding marks is as follows: simultaneously calculating the average value of the illumination pseudo-mutation discrimination values based on a sliding time window, and executing time smoothing processing on the pseudo-mutation discrimination value sequence; Comparing the smoothed pseudo-mutation discrimination value with a mutation threshold value, namely entering a brightness adjustment flow if the pseudo-mutation discrimination value is smaller than the mutation threshold value, generating a pseudo-mutation shielding mark if the pseudo-mutation discrimination value is larger than or equal to the mutation threshold value, outputting a shielding instruction, suspending the brightness adjustment flow, and keeping the brightness output at the last moment; Writing the original illumination pseudo-mutation discrimination value, the smoothed pseudo-mutation discrimination value and the pseudo-mutation shielding mark into a brightness control database.
- 7. The low-power consumption brightness self-adaptive control method based on photosensitive perception according to claim 1, wherein the specific process of obtaining target brightness according to trend illumination track and mapping relation, constructing an error suppression mechanism, and generating brightness adjustment step length by combining mutation discrimination indexes is as follows: Acquiring a fixed illumination brightness mapping function, mapping the current trend illumination value into a target duty ratio, and calculating a difference value between the target duty ratio and the duty ratio at the current moment to obtain a duty ratio error; The method comprises the steps of reading a smoothed pseudo mutation discrimination value, performing compression processing on the pseudo mutation discrimination value by using a Sigmoid function to obtain a pseudo mutation compression discrimination value, dividing a typical adjustment scale value by the sum of a constant one and the pseudo mutation compression discrimination value to obtain a pseudo mutation adjustment item, dividing a current duty ratio error by the typical adjustment scale value, performing hyperbolic tangent operation to obtain a normalization error suppression item, and multiplying the typical adjustment scale value by the normalization error suppression item to obtain a brightness update step value.
- 8. The photosensitive perception-based low-power consumption luminance adaptive control method according to claim 1, wherein the specific processes of obtaining the updated duty ratio according to the luminance adjustment step size and executing the boundary limitation and the change rate limitation are as follows: Adding the brightness update step value and the duty ratio at the current moment to obtain an updated duty ratio, and writing the updated duty ratio into the LED driving unit as a new brightness adjustment instruction to adjust the actual light-emitting brightness at the current moment; Performing boundary limitation on the updated duty cycle, comparing the updated duty cycle with a highest duty cycle limiting threshold value and a lowest duty cycle limiting threshold value, and limiting the updated duty cycle to be within a section between the lowest duty cycle limiting threshold value and the highest duty cycle limiting threshold value; Executing change rate limitation on the updated duty cycle, and if the absolute difference value between the updated duty cycle and the current duty cycle is larger than the maximum duty cycle change threshold value, limiting the updated duty cycle in a range between the current duty cycle minus the maximum duty cycle change threshold value and the current duty cycle plus the maximum duty cycle change threshold value; writing the updated duty ratio into a brightness control database, and generating a brightness adjustment completion zone bit.
- 9. The photosensitive perception-based low-power consumption brightness self-adaptive control method according to claim 1, wherein the specific process of judging the working state according to the vibration intensity and the trend illumination track change and executing the corresponding sampling frequency adjustment and power consumption management strategy according to different working states is as follows: After brightness adjustment is completed, reading vibration count and trend illumination value change amplitude, and performing state detection, wherein the trend illumination value change amplitude is obtained by calculating absolute difference values of adjacent trend illumination values, judging as a static state if the vibration count is lower than a vibration threshold value and the trend illumination value change amplitude is lower than a trend illumination change threshold value, reducing the sampling frequency of a photosensitive original value, enabling the MCU to enter low-power-consumption operation, judging as a use state if the vibration count is greater than or equal to the vibration threshold value or the trend illumination value change amplitude is greater than or equal to the trend illumination change threshold value, and improving the sampling frequency of the photosensitive original value.
- 10. Low-power consumption luminance self-adaptation control system based on photosensitive perception, characterized by comprising: The brightness data acquisition processing module is used for acquiring brightness control data in real time, performing amplitude screening on the brightness control data, constructing a local window and an extended window, extracting the characteristics of ambient light and obtaining a basic brightness state set; The trend illumination smoothing calculation module is used for analyzing the relative relation between the local part and the expansion fluctuation degree based on the brightness state set, carrying out weighted fusion on illumination characteristics to form a continuous and stable trend illumination track, and completing succession and correction of trend illumination by combining a historical time sequence; The illumination pseudo-mutation detection module is used for analyzing the change rhythm of local average illumination according to the brightness state set, identifying the illumination continuous change stage, combining historical data to obtain a reference parameter set, fusing brightness control data, the change rhythm and illumination continuous change time to construct mutation discrimination indexes, distinguishing real illumination change from short-time pseudo-mutation, and outputting mutation shielding marks; The anti-flicker brightness adjusting module is used for obtaining target brightness according to the trend illumination track and the mapping relation, constructing an error suppression mechanism, and generating a brightness adjusting step length by combining the mutation judging index; The low-power consumption state management module is used for judging the working state according to the vibration intensity and the trend illumination track change and executing corresponding sampling frequency adjustment and power consumption management strategies according to different working states.
Description
Low-power-consumption brightness self-adaptive control method and system based on photosensitive sensing Technical Field The invention relates to the technical field of LED brightness control, in particular to a low-power consumption brightness self-adaptive control method and system based on photosensitive perception. Background With the wide application of portable electronic devices, outdoor aiming devices and low-power consumption visual auxiliary equipment, the devices are increasingly used in indoor and outdoor environments, multi-shielding environments, multi-reflection environments and rapid illumination changing environments. Such devices typically rely on photosensitive elements to obtain ambient light level information to achieve adaptive adjustment of display brightness or indication light source brightness, thereby improving visual clarity, reducing visual burden, and compromising power endurance. In a dynamic illumination condition, in order to ensure stability, timeliness and power consumption efficiency of brightness adjustment, real-time processing and analysis are generally required to be performed on ambient light data so as to realize finer brightness control. For example, the invention patent with the publication number of CN111624892A discloses intelligent furniture based on the Internet of things, relates to the technical field of furniture, and especially relates to intelligent furniture based on the Internet of things, and the intelligent furniture comprises a wireless Internet communication module, a control processor and a dressing table base plate, wherein a U-shaped frame is fixedly arranged on one side of the dressing table base plate, the wireless Internet communication module and the control processor are fixedly connected to one side in the U-shaped frame, a table plate is fixedly arranged on one side of the U-shaped frame, a guide hole is formed in one side of the table plate, a mounting plate is slidably arranged on the inner side of the guide hole, a mounting groove is formed in one side of the mounting plate, and a dressing mirror is fixedly arranged on the inner side of the mounting groove. According to the invention, the wireless internet communication module, the control processor, the brightness-adjustable light supplementing lamp, the photosensitive sensor, the threaded rod, the motor, the electric telescopic rod A, the jacking lifting device, the electric telescopic rod B and the dustproof plate are arranged, so that the intelligent light supplementing device has the functions of automatic light supplementing, automatic brightness adjusting, automatic lifting, automatic storage protection, dustproof and the like. For example, the invention patent with publication number CN118244658B discloses an intelligent control method, device, monitoring equipment, chip and storage medium for lighting device, and in particular relates to an intelligent control method, device, monitoring equipment, chip and storage medium for lighting device. The method comprises the steps of obtaining a current switching state of a lighting device, obtaining first current environment brightness when the current switching state of the lighting device is in a closed state, judging whether an on condition is met according to the first current environment brightness and a dynamic on threshold, switching the lighting device to an on state if the on condition is met, obtaining second current environment brightness and a first current color temperature value after the current switching state of the lighting device is switched from the closed state to the on state, determining a dynamic off threshold according to the second current environment brightness and the first current color temperature value, judging whether the off condition is met according to the dynamic off threshold, and switching the lighting device to the closed state if the off condition is met. Therefore, the limitation of hardware photosensitive is solved, and the control precision of the switch of the lighting device is improved. However, in outdoor, woodland, building shadow boundaries and other scenes, abrupt jump of millisecond level occurs to the illumination value sampled by the photosensitive tube, such as short-time strong light/weak light disturbance such as hand shielding, sunlight reflection, leaf gap flickering and the like. If the duty ratio of the LED is directly adjusted according to the real-time sampling result, the brightness is severely fluctuated and even frequently flickers, so that the aiming view field is unstable, and the visual comfort and the aiming precision of a user are seriously affected. The existing system is difficult to reliably distinguish 'real light environment change' from 'short-time pseudo-mutation', so that the false triggering rate of brightness adjustment is higher. Therefore, in view of the above problems, there is a need for a low-power consumption luminance adaptive control method and syst