LED lamp bead environment self-adaptive dimming method and system based on intelligent driving

By using intelligent driver power supply to smooth ambient illuminance and adjust the driving current ratio, the problem of frequent dimming and instability in existing LED lamp bead dimming systems under complex environments is solved, achieving a stable adaptive dimming effect.

CN121865462APending Publication Date: 2026-04-14ZHONGSHAN XINCHUANGMING ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHONGSHAN XINCHUANGMING ELECTRONIC TECH CO LTD
Filing Date
2026-03-13
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Existing LED lamp bead environmental adaptive dimming systems are prone to frequent dimming and repeated reversals and unstable dimming effects when faced with changes in natural lighting and obstruction by people walking around. Furthermore, the calculation results are difficult to execute accurately, leading to system instability in complex environments.

Method used

The system collects ambient illuminance data in real time through intelligent drive power supply and performs window smoothing processing. It then calculates the equivalent illuminance output by combining the luminous efficacy calibration coefficient, generates an adaptive start-up threshold and intermediate target lighting state, and adjusts the drive current proportionally to ensure stable dimming within hardware constraints.

Benefits of technology

It achieves stable adaptive dimming of LED beads in complex environments, reduces frequent start-stop cycles, ensures consistency and reliability of dimming effect, adapts to environmental disturbances, and achieves executable dimming effect under hardware constraints.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121865462A_ABST
    Figure CN121865462A_ABST
Patent Text Reader

Abstract

The invention provides an LED lamp bead environment adaptive dimming method and system based on intelligent driving, and the method comprises the steps: collecting the environment illumination data of an intelligent driving power supply side in real time, carrying out the window smoothing processing, adding the environment smooth illumination after the window smoothing processing with the current output equivalent illumination, and generating the current LED lamp bead illumination state; generating a self-adaptive starting threshold value based on an error amplitude and a jump amplitude of the current LED lamp bead illumination state and a preset illumination target; when a dimming starting condition is satisfied, combining the current LED lamp bead illumination state, a preset illumination target and a preset jump suppression weight, and calculating to obtain an unlimited intermediate target illumination state; and calculating to obtain the target equivalent illuminance of the LED lamp bead based on the light modulation state and the environment smooth illuminance, and completing the self-adaptive light modulation in the period. According to the invention, the system can still realize a stable, reproducible and engineering-landing environment self-adaptive dimming effect under the coexistence condition of complex environment disturbance and hardware constraint.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of LED intelligent lighting management, and particularly relates to an environmental adaptive dimming method and system for LED beads based on intelligent driving. Background Technology

[0002] With the maturity of LED chips and their driving power supply technology, multi-channel LED lamps are widely used in office, commercial and residential lighting, and environmental adaptive dimming is gradually becoming an important means to improve comfort and energy saving. Existing solutions typically collect ambient illuminance data using illuminance sensors and adjust brightness or spectrum based on luminaire output status. However, two common engineering contradictions exist in real-world applications: First, many systems directly use changes in environmental parameters as the trigger for dimming. Under conditions such as changes in natural lighting, pedestrian movement obstructing the light, and disturbances in reflection conditions, sensor data exhibits short-term spikes and frequent fluctuations, causing the system to repeatedly trigger and revert near the target, resulting in perceptible flicker and discomfort for the user, while also increasing reliability risks caused by frequent drive actions. Second, some systems prioritize theoretical optimization when calculating target lighting status or channel control quantities, while insufficiently considering the constraints on the achievable capabilities of the drive power supply and multi-channel LED chips. Especially under conditions of current resolution, constant current range, thermal derating, and differences in device consistency, the calculated results are difficult to execute accurately, and the actual output often relies on truncation or empirical correction, resulting in unstable dimming effects and poor repeatability, thus weakening the engineering value of environmental adaptive dimming in long-term operation.

[0003] At the same time, the multi-module strategy superimposed to compensate for the above problems easily introduces the expansion of data types and processing logic, making the system complex and difficult to solve the two core problems of "when to start dimming" and "how to ensure that dimming can be reliably executed" from a mechanism perspective. Therefore, there is an urgent need for an adaptive dimming method and system that is oriented towards the characteristics of real lighting disturbances and the boundaries of drive execution, so that it can still work stably and maintain a consistent dimming effect in complex environments. Summary of the Invention

[0004] The purpose of this invention is to propose an environmental adaptive dimming method and system for LED beads based on intelligent driving, so as to solve the above-mentioned problems.

[0005] To achieve the above objectives, a first aspect of the present invention provides an environmental adaptive dimming method for LED chips based on intelligent driving, the method comprising the following steps: The system collects ambient illuminance data from the intelligent driver power supply side in real time and performs window smoothing processing. At the same time, it calculates the output equivalent illuminance of the LED beads based on the real-time current value of each channel and the preset luminous efficacy calibration coefficient. The system adds the window smoothed ambient illuminance to the output equivalent illuminance to generate the current LED bead lighting state. Based on the error range between the current LED lighting state and the preset lighting target, and the jump range of the current LED lighting state relative to the previous cycle lighting state, an adaptive start threshold is generated; wherein, when the error range reaches or exceeds the start threshold, it is determined that the dimming start condition is met. When the dimming activation conditions are met, the intermediate target lighting state without amplitude limitation is calculated by combining the current LED lamp bead lighting state, the preset lighting target, and the preset jump suppression weight; the intermediate target lighting state is projected onto the achievable illuminance range to obtain the achievable dimming state for this cycle. Based on the dimming state and the smooth ambient illuminance, the target equivalent illuminance of the LED beads is calculated; according to the ratio between the target equivalent illuminance of the LED beads and the current equivalent illuminance of the LED, the current driving current of each channel is adjusted by the same ratio, the target current of each channel is generated and sent to the driver chip for execution, and the adaptive dimming of this cycle is completed.

[0006] Furthermore, the window smoothing process specifically includes: The ambient illuminance data collected multiple times in succession are stored in a circular buffer, and their arithmetic mean is calculated as the smoothed ambient illuminance.

[0007] Furthermore, the luminous efficacy calibration coefficient is obtained by conducting an integrating sphere test during the product manufacturing stage to establish the correspondence between the driving current of each channel and the equivalent illuminance contribution, and is pre-stored in the non-volatile memory of the driving power supply.

[0008] Furthermore, the adaptive start threshold is calculated based on a preset basic allowable deviation threshold and the jump amplitude based on the disturbance suppression coefficient.

[0009] Furthermore, the intermediate target lighting state is obtained by minimizing a cost function; wherein the cost function includes the squared target lighting deviation from the current lighting state to the preset lighting target, and the squared jump relative to the current lighting state.

[0010] Furthermore, the step of projecting the intermediate target illumination state onto the achievable illuminance range to obtain the achievable dimming state for this cycle specifically involves: When the dimming activation condition is 0, the final achievable dimming state is equal to the current lighting state; When the dimming activation condition is 1, the final achievable dimming state is equal to the value of the intermediate target lighting state after it is limited. That is, the maximum value between the intermediate target lighting state and the lower limit of achievable illuminance in this cycle is taken first, and then the minimum value between that value and the upper limit of achievable illuminance in this cycle is taken.

[0011] Furthermore, the current and illuminance contribution relationship of each channel is calibrated in the integrating sphere according to the factory stage within the illuminance range, and the MCU reads the upper / lower limit of the current setting and the temperature derating table of the driver chip to determine the illuminance range during operation.

[0012] Furthermore, adjusting the current drive current of each channel by the same proportion specifically means: Calculate the ratio of the target equivalent illuminance of the LED bead to the current equivalent illuminance of the LED, use this ratio as a scaling factor, multiply it by the current driving current of each channel to obtain the target current of each channel.

[0013] Furthermore, after generating the target current for each channel, the target current value is quantized in conjunction with the minimum current step supported by the driver chip, and the current is limited according to the upper and lower limits allowed by the channel before being written to the register.

[0014] A second aspect of the invention provides an environmentally adaptive dimming system for LED chips based on intelligent driving, the system comprising: The ambient illuminance acquisition and smoothing module is used to acquire ambient illuminance data from the intelligent driver power supply side in real time and perform window smoothing processing. At the same time, it calculates the output equivalent illuminance of the LED beads based on the real-time current value of each channel and the preset luminous efficacy calibration coefficient. The window smoothed ambient illuminance is added to the output equivalent illuminance to generate the current LED bead lighting state. The state construction module is used to generate an adaptive start threshold based on the error range between the current LED lamp bead lighting state and the preset lighting target, and the jump range of the current LED lamp bead lighting state relative to the previous cycle lighting state; wherein, when the error range reaches or exceeds the start threshold, it is determined that the dimming start condition is met. The start-up determination module is used to calculate the unlimited intermediate target lighting state when the dimming start-up conditions are met, by combining the current LED lamp bead lighting state, the preset lighting target, and the preset jump suppression weight; and to project the intermediate target lighting state onto the achievable illuminance range to obtain the achievable dimming state for this cycle. The current mapping and execution module is used to calculate the target equivalent illuminance of the LED beads based on the dimming state and the ambient smooth illuminance; according to the ratio between the target equivalent illuminance of the LED beads and the current equivalent illuminance of the LED, the current driving current of each channel is adjusted by the same ratio, the target current of each channel is generated and sent to the driver chip for execution, and the adaptive dimming of this cycle is completed.

[0015] The beneficial technical effects of the present invention are at least as follows: This invention uses an intelligent driving power supply as the core execution and judgment entity, establishing a unified engineered dimming process around "stability of start-up judgment" and "feasibility of execution target": First, on the driver side, a current lighting state capable of characterizing the superposition effect of ambient illuminance and lamp output is constructed, and dimming start-up conditions are generated based on a preset lighting target. This ensures that the start-up judgment has the ability to resist short-term disturbances near the target, thereby reducing frequent start-stops and repeated callbacks caused by transient environmental fluctuations. When the start-up conditions are met, an intermediate target subject to smoothing constraints is further generated based on the current lighting state and the preset lighting target. The target lighting state is mapped to the achievable illuminance boundary determined by the operating constraints of the multi-channel LED beads and the driver power supply, forming an executable target lighting state and avoiding truncation distortion caused by the output target exceeding the driving capability. Finally, the achievable target lighting state is decomposed into the target equivalent illuminance that the lamp needs to supplement, and multi-channel drive current commands are generated according to the channel calibration coefficient and the current channel current ratio. The actual dimming is completed by updating the driver chip register, so that the system can still achieve a stable, reproducible and engineering-applicable environmental adaptive dimming effect under the coexistence of complex environmental disturbances and hardware constraints. Attached Figure Description

[0016] The present invention will be further described with reference to the accompanying drawings, but the embodiments in the drawings do not constitute any limitation on the present invention. For those skilled in the art, other drawings can be obtained based on the following drawings without creative effort.

[0017] Figure 1 This is a flowchart of the intelligent driving-based LED lamp bead environmental adaptive dimming method of the present invention. Detailed Implementation

[0018] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0019] like Figure 1 As shown in the embodiment of the present invention, an adaptive dimming method for LED beads based on intelligent driving is provided. The method includes: S1. Real-time acquisition of ambient illuminance data from the intelligent drive power supply side and window smoothing processing are performed. At the same time, the output equivalent illuminance of the LED beads is calculated based on the real-time current value of each channel and the preset luminous efficacy calibration coefficient. The window smoothed ambient illuminance is added to the output equivalent illuminance to generate the current LED bead lighting state.

[0020] Specifically, this step involves constructing state variables on the intelligent driver power supply side to characterize the actual lighting effect under the current environmental conditions. This state variable reflects the superposition of ambient natural light and the output of the LED beads themselves, and serves as the sole input for subsequent dimming decisions.

[0021] Among them, ambient lighting status parameters Illuminance data is collected by a digital illuminance sensor mounted on the lamp housing or control module surface. This sensor employs a photodiode array structure and integrates an analog-to-digital converter unit. It is connected to the driver power supply's main control MCU via an I²C bus. The MCU reads the 16-bit illuminance data from the register at 100ms intervals and converts it to a lux value. Current output status parameters of the LED beads. The current is obtained from the internal current sampling circuit of the driver power supply. Each LED channel is connected in series with a precision sampling resistor. The MCU reads the channel voltage drop through the internal ADC and calculates the drive current value (unit mA).

[0022] During the product manufacturing stage, an integrating sphere test is used to establish a calibration relationship between "drive current and equivalent illuminance contribution," and the luminous efficacy coefficient of each channel is written into non-volatile memory. During operation, the MCU multiplies the real-time current value by the corresponding calibration coefficient to obtain the equivalent illuminance contribution value of each channel, and then sums these values ​​to obtain the current equivalent illuminance output by the LED. The unit is lux.

[0023] Furthermore, considering that ambient light in real-world scenarios may fluctuate briefly due to personnel movement or changes in natural light, the MCU internally sets up a circular buffer of length 5 to continuously store the ambient lighting state parameters of the most recent 5 samples. The values ​​are calculated (corresponding to a time window of 0.5 seconds), and the arithmetic mean of these 5 sampled values ​​is calculated at each update to obtain the ambient illuminance after sliding window processing. The unit is lux. Then, the current LED lighting state is constructed. The calculation method is as follows: ; in, The current LED illumination status is expressed in lux. The ambient illuminance after processing via a sliding window is expressed in lux. This represents the equivalent illuminance currently output by the LED chip, measured in lux. Both the left and right sides use lux as the unit, ensuring consistent dimensions and making the calculation physically valid. This unified state quantity integrates ambient light and luminaire output into a single engineering quantity, allowing subsequent dimming decisions to be based solely on a single lighting state parameter.

[0024] In a specific implementation scenario, suppose the environmental sensor's five consecutive sampling values ​​are 168, 172, 175, 178, and 182 lux, then... The value is 175 lux. At this time, the currents of the three LED channels are 120mA, 100mA, and 80mA, respectively, corresponding to calibration factors of 2.5, 2.3, and 2.1 lux / mA. for lux, from which we obtain: ; This value represents the actual lighting level after the current environment and the lighting fixtures are combined, and can be directly used as the input parameter for the subsequent dimming start-up determination step.

[0025] S2. Based on the error range between the current LED lighting state and the preset lighting target, and the jump range of the current LED lighting state relative to the previous cycle lighting state, an adaptive start threshold is generated; wherein, when the error range reaches or exceeds the start threshold, it is determined that the dimming start condition is met.

[0026] Specifically, the dimming activation conditions are generated based on the current LED lighting state output in step one. Above (unit: lux). This step represents the total illuminance resulting from the superposition of current ambient lighting and LED light output. The total illuminance is compared with a preset lighting target to form a start-up decision that can be directly executed by the intelligent driver. (Preset lighting target) (Unit: lux) The lighting target is written to the non-volatile memory of the drive power supply during the engineering debugging phase, for example, 850 lux for office desks and 200 lux for corridors; during runtime, the MCU reads the preset lighting target from the parameter area. Similarly, during the debugging phase, the basic data is allowed to deviate from the threshold. (Unit: lux) This indicates the allowable bandwidth near the target illuminance. The drive power supply retains the lighting state from the previous cycle during the control cycle. (Unit: lux), which is obtained by calculating the current LED lighting status from the previous cycle. The data is directly stored in the RAM status register and read at the start of the current calculation cycle. In lighting scenarios, factors such as fluctuations in sunlight near windows and reflections caused by people blocking light can lead to short-term spikes or drops in illuminance between adjacent cycles. In engineering, "dead-band / threshold triggering" logic is commonly used to suppress frequent actions near the target. Its classic origins can be traced back to the concepts of deadband control and Schmitt triggering in control engineering: action is only initiated when the error amplitude exceeds a threshold. This step is based on this classic threshold triggering, extending the threshold from a fixed constant to a threshold that adaptively changes with the intensity of jumps between adjacent cycles, thus allowing the initiation decision to simultaneously consider target deviation and short-term disturbance intensity. The jump intensity between adjacent cycles uses first-order differential amplitude. The expression, that the first-order difference is used as the source of the disturbance intensity measurement is a classic practice in signal processing (the first-order difference of discrete time series is used to characterize the rate of change), this step introduces it into the threshold term to form "threshold regularization", so that when the lighting state has a large jump in adjacent periods, the trigger threshold is increased accordingly, so that the judgment is more biased towards responding to stable deviations.

[0027] Furthermore, the error amplitude is first calculated in the MCU firmware. With jump amplitude (Both can be implemented using integer fixed-point numbers, for example, stored in units of 0.1 lux), and then the adaptive startup threshold is calculated based on this. : ; in, The adaptive start threshold (lux) is used. The threshold (lux) allowed is based on configuration parameters written during engineering debugging; This is the disturbance suppression coefficient (dimensionless), which is also written into the configuration parameters during the debugging phase. The typical value can be between 0.2 and 1.0 to adapt to the disturbance strength in different scenarios. The current lighting state (lux) is output from step one; The previous cycle's lighting state (lux) is derived from the driver power supply RAM status register. Dimensional check: The dimension is lux. Since it is dimensionless, The dimension is lux; and (lux) added together to get (lux), with consistent dimensions and in accordance with common sense. Then, based on the classic threshold triggering (dead-zone control) principle, the error amplitude is compared with... The dimming start conditions were compared and obtained. : ; in, Dimming start-up conditions (dimensionless binary quantity) This indicates that the system has entered the subsequent dimming state. (This indicates that the current output should be maintained). The deviation from the target (lux); The adaptive start threshold (lux) is calculated using the above formula. Dimensional check: If both sides are lux, the relationship is considered dimensionally valid; the output is a logical quantity and does not introduce physical dimensions. The logical relationship between the two formulas is: first, calculate using the first formula... Then, substitute it into the second equation to complete the start-up determination. The MCU executes the process in the order of "calculate threshold - compare and determine - generate binary result" to obtain the gating condition that can be directly used in step three.

[0028] For example, a set of debugging implementation examples calculated based on proportional values ​​and configuration parameters are provided to demonstrate the operability of this judgment relationship. Assume the lighting fixtures are used in an office workstation area, and the debugging process involves writing... , , The control cycle is 100ms. The output of step one in a certain cycle is... The previous cycle record in RAM The MCU first calculates the transition amplitude. Substituting into the first equation, we get Then calculate the deviation range. Substitute into the second equation for comparison ,get Let's look at another set of typical disturbance scenario parameters: a certain period Previous cycle (Corresponding to rapid jumps caused by short-term occlusion or changes in reflection). The jump amplitude is... The threshold is Deviation range is ,Compare Not valid, obtained .

[0029] S3. When the dimming start condition is met, the intermediate target lighting state without amplitude limit is calculated by combining the current LED lamp bead lighting state, the preset lighting target and the preset jump suppression weight; the intermediate target lighting state is projected into the achievable illuminance range to obtain the achievable dimming state for this cycle.

[0030] Specifically, this step involves the dimming activation conditions output in step two. Current LED LED lighting status Execution under constraints, used to determine the target lighting state that can be directly applied to the smart driver power supply execution layer. (Unit: lux). Among them, The threshold triggering logic in step two is obtained and stored as a binary quantity (0 / 1) within the MCU. Constructed in step one and transmitted along with step two, this represents the total illuminance resulting from the superposition of the current ambient light and the luminaire output. Simultaneously, the driver power supply reads the preset lighting target written during the debugging phase. (Unit: lux) and smoothing weight parameter (Dimensionless, fixed-point number storage, e.g., integer magnified 1000 times), and calculates the total illuminance boundary achievable in this cycle based on driving capability and thermal constraints within the operating cycle. and (Unit: lux). and The source is a combination of factory calibration and operational constraints: At the factory stage, the current-illuminance contribution relationship of each channel is calibrated in the integrating sphere and written into the drive parameter area. During operation, the MCU reads the upper / lower limits of the current setting and the temperature derating table of the drive chip (temperature from the onboard NTC / digital thermometer), maps the "current allowable current range" to the "current allowable LED equivalent illuminance range," and then superimposes it with the ambient illuminance to the same lux dimension to obtain the current cycle's illuminance. and At this point, all calculations in this step are based on the output of step two. , For direct input, and with configuration parameters , and operating boundary , For constraints.

[0031] Furthermore, the determination of the target illumination state adopts an integrated derivation of "target approximation + jump suppression". The initial source of the formula is the least squares / quadratic form optimization in mathematics, as well as the classic Tikhonov regularization idea: by simultaneously constraining the target error and the amount of change in the cost function, the solution remains smooth while satisfying the target.

[0032] Specifically, let the intermediate target illumination state to be determined be: (Unit: lux), construct the cost function The first term represents the square of the target illumination deviation (least squares interpretation), and the second term represents the square of the jump relative to the current illumination state, weighted (regularization term). Finding the minimum value of this quadratic function is a classical derivation: first, ... Differentiation yields Setting the derivative to 0, we get Thus, the intermediate target illumination state without amplitude limiting is obtained. : ; in, The intermediate target illumination state (lux) without amplitude limiting; Preset lighting target (lux, from the non-volatile memory configuration area of ​​the driver power supply); The current lighting state (lux) is constructed for step one and passed to this step by step two; For jump suppression weights (dimensionless, from the placement region). Dimensionality check: molecule For lux, The numerator is dimensionless × lux = lux, and the denominator is lux. It is dimensionless; therefore The character is lux, consistent with its physical meaning.

[0033] Furthermore, after obtaining the intermediate target illumination state Then, it is mapped to the final goal of this cycle that is "achievable and subject to start-up conditions". The initial source of this mapping is the saturation constraint and projection operator in control engineering: when the expected value exceeds the actuator's capability range, the expected value is projected onto the executable region. Simultaneously, the gating parameter determines whether to execute the projection. This step will output the dimming start condition from step two. Directly incorporate into the synthesis relationship to enable dimming activation conditions The target remains in its current state. The target at the time is after the limit ,get: ; in, This outputs the dimming state (lux) that can be achieved in this step. The dimming start condition output in step two (dimensionless, 0 / 1); The current lighting status (lux); The intermediate target (lux) is calculated using the above formula. , These represent the lower and upper limits (lux, calculated from the operational boundary) of total illuminance achievable in this cycle. Dimensional check: and Since it is dimensionless, multiplying it by lux will still result in lux; and Both input and output are lux; the sum of the two parts on the right is still lux, and the sum of the two parts on the left is also lux. (lux) are consistent. The logical relationship between the two equations is first derived through quadratic form optimization. Then With boundary , Perform projection limiting, and by Controlling whether to use the projection result, ultimately generating .

[0034] Calculation examples are provided to demonstrate operability and computational accuracy, and intermediate values ​​are retained as debugging records. Example 1: Assume the target configuration of the office workstation is... Smoothing weight configuration is Step 2 output Step two input The driving power supply's operating boundary calculations for this cycle are obtained. , Substituting into the first equation, we get... .Will Projected onto interval get Substituting into the second equation, we get This process can be implemented in a fixed-point manner within an MCU; for example, to store a lux magnified 100 times, then... , This facilitates recording and comparison. Example 2: Let... , , This period The boundary is , (For example, temperature derating leads to a decrease in the upper limit). The first equation yields... Projection limiting The second equation yields Example 3 (Gated Verification): When step two outputs... And transmitted At any time, regardless Regardless of the calculation results, the second equation yields all the desired outcomes. This makes it easier to access the debug logs. and The corresponding relationship is used to verify the validity of the gating. The above substitution and calculation results can be directly used to form the drive power supply debugging record field ( , , , , , ), used for on-site verification and parameter tuning.

[0035] S4. Based on the dimming state and the smooth ambient illuminance, calculate the target equivalent illuminance of the LED beads; according to the ratio between the target equivalent illuminance of the LED beads and the current equivalent illuminance of the LED, adjust the current driving current of each channel by the same ratio, generate the target current of each channel and send it to the driver chip for execution, and complete the adaptive dimming of this cycle.

[0036] Specifically, this step uses the dimming state output from step three as an example. (Unit: lux) is used as a direct input. On the intelligent driver power supply side, the "target total illuminance" is converted into an "executable drive current command" for the multi-channel LED beads, and the actual dimming action is completed by updating the registers of the driver chip. Step three has been determined within the operational constraints and capability boundaries. Therefore, this step revolves around "illuminance decomposition—channel current mapping—register write execution". The drive power supply's main control MCU calls the environmental smoothing illuminance stored in RAM from step one within the same control cycle. (Unit: lux) and current LED equivalent illuminance (Unit: lux), where The result is the summation of the current sampling values ​​of each channel after conversion with the factory calibration coefficients from step one. The channel current setting value on the driver chip side is written to the constant current setting register or PWM duty cycle register by the MCU via I²C or SPI bus, so that the constant current source of each channel outputs the corresponding current and drives the LED beads to light up.

[0037] Furthermore, the target total illuminance is first decomposed into the target equivalent illuminance that the LED chips need to provide. The initial source of this decomposition is the principle of illuminance superposition (linear superposition assumption) in lighting engineering: on the same illuminated surface, the illuminance generated by ambient natural light and the illuminance generated by luminaires can be approximately linearly added photometrically, therefore the total illuminance... It can be represented as Thus, the illuminance of the target luminaire is obtained. This derivation is obtained directly by substituting terms into the superposition principle. The driver power supply implements subtraction operations in the firmware using integers or fixed-point numbers. ; in, The target equivalent illuminance (lux) for LED lamp beads; The output of step three is the dimming state (lux). The ambient smooth illuminance (lux) obtained by averaging through a sliding window in step one and stored in RAM is then used.

[0038] Dimensional check: The right side is lux minus lux, the result is lux, compared with the left side. The dimensions are consistent, and it corresponds to the common sense meaning of "the illuminance that the lamps should supplement".

[0039] Then The mapping is applied to the multi-channel drive current. The mapping method is based on the approximately linear luminous efficacy relationship within the small-signal dimming range of the LED (an empirical model in photometry and device engineering): under constant current drive and with minimal junction temperature change over a short period, the luminous flux of the LED is approximately proportional to the drive current. For multi-channel systems, scaling the current of each channel by the same proportion allows adjustment of the total illuminance without altering the relative proportions of each channel, thus maintaining the stability of the spectral structure corresponding to the channel ratio. The derivation of this scaling ratio is as follows: the current total LED equivalent illuminance is... The target total LED equivalent illuminance is Then the proportionality coefficient ;No. The current current of the channel is (mA), then the target current is The driver power supply is obtained in the firmware by reading the current channel current (from the driver chip setting register or ADC sampling). Then perform proportional calculations to obtain And write to the register: ; in, For the first Channel target current (mA); The target LED equivalent illuminance (lux) is calculated using the above formula; The current LED equivalent illuminance (lux, sourced from the LED output equivalent illuminance calculation result saved in step one); For the first Current channel current (mA, sourced from driver chip register or ADC sampling). Dimension check: lux / lux, dimensionless; multiplied by (mA) yields mA, and The dimensions are consistent, which conforms to the common sense of "scaling current proportionally". The logical relationship between the two equations is: first calculate using the first equation. Then substitute it into the second formula to calculate the value of each channel. The MCU executes the process of "first illuminance decomposition, then proportional mapping" to obtain a current setting value that can be directly written to the driver chip.

[0040] Furthermore, a set of calculation examples are given to demonstrate the parameter substitution and result acquisition. Let the output of step three be... Step 1 saves the environmental smoothing illumination. Substituting into the first equation, we get Let the current LED equivalent illuminance saved in step one be... Then the proportionality coefficient is If the current of the three channels are respectively , , Substituting into the second equation, we get , , The MCU quantizes the above results according to the minimum step size supported by the driver chip (e.g., 1mA or 0.1mA), and limits the current before writing it by combining the upper and lower limits of the channel allowable current (from the driver chip specifications and the operating derating table). Then, it transmits the quantized result via I²C / SPI. Write the value to the constant current setting register or PWM duty cycle register of the driver chip. The driver chip adjusts the constant current output of each channel based on the updated register value, causing a change in the actual luminous intensity of the LED beads, thereby adjusting the total illuminance. This corresponds to a horizontal approximation. The above calculation process can retain fields in the debugging log. , , , , , This is to facilitate on-site verification and parameter adjustment.

[0041] This invention also provides an environmental adaptive dimming system for LED beads based on intelligent driving, the system comprising: The ambient illuminance acquisition and smoothing module is used to acquire ambient illuminance data from the intelligent driver power supply side in real time and perform window smoothing processing. At the same time, it calculates the output equivalent illuminance of the LED beads based on the real-time current value of each channel and the preset luminous efficacy calibration coefficient. The window smoothed ambient illuminance is added to the output equivalent illuminance to generate the current LED bead lighting state. The state construction module is used to generate an adaptive start threshold based on the error range between the current LED lamp bead lighting state and the preset lighting target, and the jump range of the current LED lamp bead lighting state relative to the previous cycle lighting state; wherein, when the error range reaches or exceeds the start threshold, it is determined that the dimming start condition is met. The start-up determination module is used to calculate the unlimited intermediate target lighting state when the dimming start-up conditions are met, by combining the current LED lamp bead lighting state, the preset lighting target, and the preset jump suppression weight; and to project the intermediate target lighting state onto the achievable illuminance range to obtain the achievable dimming state for this cycle. The current mapping and execution module is used to calculate the target equivalent illuminance of the LED beads based on the dimming state and the ambient smooth illuminance; according to the ratio between the target equivalent illuminance of the LED beads and the current equivalent illuminance of the LED, the current driving current of each channel is adjusted by the same ratio, the target current of each channel is generated and sent to the driver chip for execution, and the adaptive dimming of this cycle is completed.

[0042] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0043] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or units may be electrical, mechanical, or other forms.

[0044] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0045] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. An environmental adaptive dimming method for LED lamp beads based on intelligent driving, characterized in that, The method includes: The system collects ambient illuminance data from the intelligent driver power supply side in real time and performs window smoothing processing. At the same time, it calculates the output equivalent illuminance of the LED beads based on the real-time current value of each channel and the preset luminous efficacy calibration coefficient. The system adds the window smoothed ambient illuminance to the output equivalent illuminance to generate the current LED bead lighting state. Based on the error range between the current LED lighting state and the preset lighting target, and the jump range of the current LED lighting state relative to the previous cycle lighting state, an adaptive start threshold is generated; wherein, when the error range reaches or exceeds the start threshold, it is determined that the dimming start condition is met. When the dimming activation conditions are met, the intermediate target lighting state without amplitude limitation is calculated by combining the current LED lamp bead lighting state, the preset lighting target, and the preset jump suppression weight; the intermediate target lighting state is projected onto the achievable illuminance range to obtain the achievable dimming state for this cycle. Based on the dimming state and the smooth ambient illuminance, the target equivalent illuminance of the LED beads is calculated; according to the ratio between the target equivalent illuminance of the LED beads and the current equivalent illuminance of the LED, the current driving current of each channel is adjusted by the same ratio, the target current of each channel is generated and sent to the driver chip for execution, and the adaptive dimming of this cycle is completed.

2. The LED lamp bead environmental adaptive dimming method based on intelligent driving according to claim 1, characterized in that, The window smoothing process specifically includes: The ambient illuminance data collected multiple times in succession are stored in a circular buffer, and their arithmetic mean is calculated as the smoothed ambient illuminance.

3. The LED lamp bead environmental adaptive dimming method based on intelligent driving according to claim 1, characterized in that, The luminous efficacy calibration coefficient is obtained by conducting an integrating sphere test during the product manufacturing stage to establish the correspondence between the driving current of each channel and the equivalent illuminance contribution, and is pre-stored in the non-volatile memory of the driving power supply.

4. The LED lamp bead environmental adaptive dimming method based on intelligent driving according to claim 1, characterized in that, The adaptive start threshold is calculated based on a preset basic allowable deviation threshold and the jump amplitude based on the disturbance suppression coefficient.

5. The LED lamp bead environmental adaptive dimming method based on intelligent driving according to claim 1, characterized in that, The intermediate target lighting state is obtained by minimizing a cost function; wherein the cost function includes the squared target lighting deviation of the current lighting state from the preset lighting target, and the squared jump relative to the current lighting state.

6. The LED lamp bead environmental adaptive dimming method based on intelligent driving according to claim 5, characterized in that, The step of projecting the intermediate target illumination state onto the achievable illuminance range to obtain the achievable dimming state for this cycle specifically involves: When the dimming activation condition is 0, the final achievable dimming state is equal to the current lighting state; When the dimming activation condition is 1, the final achievable dimming state is equal to the value of the intermediate target lighting state after it is limited. That is, the maximum value between the intermediate target lighting state and the lower limit of achievable illuminance in this cycle is taken first, and then the minimum value between that value and the upper limit of achievable illuminance in this cycle is taken.

7. The LED lamp bead environmental adaptive dimming method based on intelligent driving according to claim 1, characterized in that, The illuminance range can be determined by calibrating the relationship between the current of each channel and the illuminance contribution in the integrating sphere at the factory stage, and at the same time, the MCU reads the upper / lower limit of the current setting and the temperature derating table of the driver chip to determine the illuminance range during operation.

8. The LED lamp bead environmental adaptive dimming method based on intelligent driving according to claim 1, characterized in that, The adjustment of the current drive current of each channel by the same proportion is specifically as follows: Calculate the ratio of the target equivalent illuminance of the LED bead to the current equivalent illuminance of the LED, use this ratio as a scaling factor, multiply it by the current driving current of each channel to obtain the target current of each channel.

9. The LED lamp bead environmental adaptive dimming method based on intelligent driving according to claim 8, characterized in that, After generating the target current for each channel, the target current value is quantized based on the minimum current step supported by the driver chip, and the current is limited according to the upper and lower limits of the channel before being written to the register.

10. An LED lamp bead environmental adaptive dimming system based on intelligent driving, characterized in that, The system includes: The ambient illuminance acquisition and smoothing module is used to acquire ambient illuminance data from the intelligent driver power supply side in real time and perform window smoothing processing. At the same time, it calculates the output equivalent illuminance of the LED beads based on the real-time current value of each channel and the preset luminous efficacy calibration coefficient. The window smoothed ambient illuminance is added to the output equivalent illuminance to generate the current LED bead lighting state. The state construction module is used to generate an adaptive start threshold based on the error range between the current LED lamp bead lighting state and the preset lighting target, and the jump range of the current LED lamp bead lighting state relative to the previous cycle lighting state; wherein, when the error range reaches or exceeds the start threshold, it is determined that the dimming start condition is met. The start-up determination module is used to calculate the unlimited intermediate target lighting state when the dimming start-up conditions are met, by combining the current LED lamp bead lighting state, the preset lighting target, and the preset jump suppression weight; and to project the intermediate target lighting state onto the achievable illuminance range to obtain the achievable dimming state for this cycle. The current mapping and execution module is used to calculate the target equivalent illuminance of the LED beads based on the dimming state and the ambient smooth illuminance; according to the ratio between the target equivalent illuminance of the LED beads and the current equivalent illuminance of the LED, the current driving current of each channel is adjusted by the same ratio, the target current of each channel is generated and sent to the driver chip for execution, and the adaptive dimming of this cycle is completed.