LED control method and device, electronic equipment and storage medium

By dynamically adjusting the dimming period and protection threshold of the LED signal group when the visibility decreases, the problems of overload protection malfunction and fault detection and false alarms caused by brightness improvement are solved, dynamic dimming and precise fault isolation are achieved under special weather conditions, and the system power consumption is maintained.

CN119907160AActive Publication Date: 2025-04-29SINOWATCHER TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510395179.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-04-29
Estimated Expiration
2045-03-31

AI Technical Summary

Technical Problem

Under special weather conditions, the brightness increase of the LED signal light group may trigger the overload protection malfunction, which will affect the normal operation of the signal light. At the same time, the existing technology is prone to false alarms in fault detection, resulting in unnecessary protection mechanism activation and system power consumption surge.

Method used

When the visibility decreases, the dimming period of the LED signal group is dynamically adjusted, divided into dimming window, detection window and protection window, and the dynamic overload protection threshold is calculated based on real-time working parameters to avoid overload protection malfunction and achieve accurate fault isolation.

Benefits of technology

Under special weather conditions, avoid overload protection malfunctions caused by brightness increase, realize dynamic dimming and precise fault isolation, while maintaining stable system power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119907160A_ABST
    Figure CN119907160A_ABST
Patent Text Reader

Abstract

The invention provides an LED control method and device, electronic equipment and a storage medium, and relates to the technical field of LED control, and the key points of the technical scheme are that the method comprises the steps: obtaining the real-time working parameters of an LED signal lamp group when the visibility is lower than a threshold value; dividing a dimming period into a dimming window, a detection window and a protection window according to the real-time working parameters; in the dimming window, dynamic dimming operation is executed, and overload protection triggering is restrained; executing fault scanning in the detection window; in the protection window, calculating a dynamic overload protection threshold according to the data of the dimming window and the detection window; and according to the dynamic overload protection threshold value, overload protection of the LED signal lamp group is executed. The LED control method and device, the electronic equipment and the storage medium provided by the invention have the advantage that overload protection misoperation caused by brightness improvement can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of LED control technology, and more specifically, to an LED control method, device, electronic device and storage medium. Background Art

[0002] In a city with a complex road network with multiple intersections, the traffic light system faces multiple challenges. The existing traffic light protection circuit has defects under special weather conditions. When visibility is reduced due to factors such as heavy rain and fog, the LED light group needs to increase the brightness to ensure visibility. However, the brightness increase may trigger the fixed threshold overload protection module to malfunction, affecting the normal operation of the signal light. In addition, there may be a timing conflict between the pulse width modulation signal of the dynamic dimming circuit and the pulse detection of the protection circuit, further affecting the stability of the system operation.

[0003] In terms of fault detection, existing circuits are prone to false alarms when brightness changes suddenly, resulting in unnecessary activation of protection mechanisms. The superposition of multiple protection mechanisms will also cause a surge in system power consumption, exceeding the original design limit. Traditional solutions use independent redundant modules to handle dimming, protection, and detection functions separately. Although the functions are separated, the circuit structure is complex and it is difficult to meet the strict requirements of signal interruption limits.

[0004] Under extreme weather conditions, on the one hand, visibility needs to be dynamically enhanced to ensure traffic safety, and on the other hand, accurate fault isolation must be achieved while keeping the energy consumption of the entire system stable.

[0005] In view of the above problems, the existing technology needs to be improved urgently. Summary of the invention

[0006] The purpose of this application is to provide an LED control method, device, electronic device and storage medium, which have the advantages of avoiding malfunction of overload protection caused by increased brightness under special weather conditions, and achieving dynamic dimming and precise fault isolation.

[0007] In a first aspect, the present application provides an LED control method for controlling an LED signal light group in the case of reduced visibility. The technical solution is as follows: The method includes: When visibility is lower than the threshold, the real-time working parameters of the LED signal light group are obtained; According to the real-time working parameters, the dimming cycle is divided into a dimming window, a detection window and a protection window; In the dimming window, a dynamic dimming operation is performed and overload protection triggering is suppressed; Performing fault scanning within the detection window; In the protection window, a dynamic overload protection threshold is calculated according to data of the dimming window and the detection window; The overload protection of the LED signal light group is performed according to the dynamic overload protection threshold.

[0008] Further, in the present application, the step of dividing the dimming cycle into a dimming window, a detection window and a protection window according to the real-time working parameters includes: Obtaining the current change rate and voltage fluctuation parameters of the LED signal light group; Determining a timing allocation rule for each functional window based on the current change rate and voltage fluctuation parameters; According to the timing allocation rule, the dimming cycle is divided into a dimming window, a detection window and a protection window which are isolated from each other.

[0009] Further, in the present application, the step of determining the timing allocation rule of each functional window based on the current change rate and the voltage fluctuation parameter includes: Calculating the degree of deviation from a preset threshold value based on the acquired current change rate and voltage fluctuation parameters; Determining the priority relationship between the dimming window and the detection window according to the degree of deviation from the preset threshold; When the current change rate exceeds the first critical value, the dimming window duration is preferentially extended and the detection window duration is shortened; When the voltage fluctuation parameter exceeds the second critical value, the protection window duration is allocated preferentially and the dimming window ratio is dynamically compressed; A dynamic timing allocation rule is generated based on the priority relationship.

[0010] Furthermore, in the present application, the steps of the method also include: When the current change rate and the voltage fluctuation parameter simultaneously exceed their respective critical values, a dimming urgency index reflecting the degree of visibility reduction and a protection urgency index reflecting the circuit safety risk are calculated; Compare the dimming urgency index with the protection urgency index, and dynamically adjust the window allocation according to the comparison result: When the dimming urgency index is higher, priority is given to extending the dimming window and compressing the protection window; When the protection urgency index is higher, the current dimming operation is suspended and the protection window is started immediately; When the current change rate and the voltage fluctuation parameters do not exceed the critical value, the duration of each window is allocated according to a preset ratio, while ensuring that the duration of the detection window is not less than the safety threshold.

[0011] Further, in the present application, the step of calculating the dynamic overload protection threshold according to the data of the dimming window and the detection window includes: Acquire current data I(t), voltage data V(t) within the dimming window, and fault characteristic data F(t) within the detection window; Obtain current visibility Vis, historical fault data H(t) and preset safety parameters S; Set the basic protection threshold Pbase, emergency threshold Visemerg, emergency mode coefficient β, normal mode coefficient γ and historical fault impact attenuation coefficient λ; When the current visibility Vis is less than the emergency threshold Visemerg, the emergency mode is entered and the following steps are performed: Calculate the current change rate ΔI(t)=(I(t)-Iavg) / Iavg, where Iavg is the historical average current; Calculate the voltage change rate ΔV(t)=(V(t)-Vavg) / Vavg, where Vavg is the historical average voltage; Calculate the dynamic correction factor: α(t)=1+β*(ΔI(t)+ΔV(t)-F(t)-(1-Vis / Visemerg))*exp(-λH(t)); Calculate the dynamic overload protection threshold Pth(t)=Pbase*α(t)*S in emergency mode; When the current visibility Vis is greater than or equal to the emergency threshold Visemerg, the system enters the normal mode and performs the following steps: Calculate the current change rate ΔI(t)=(I(t)-Iavg) / Iavg; Calculate the dynamic overload protection threshold Pth(t)=Pbase*(1+γ*ΔI(t)) in normal mode; The calculated dynamic overload protection threshold value Pth(t) is applied to the overload protection of the LED signal light group.

[0012] Further, in the present application, the step of performing overload protection of the LED signal light group according to the dynamic overload protection threshold comprises: When the real-time working current exceeds the dynamic overload protection threshold, the overload response coefficient is determined according to the degree of deviation between the current visibility parameter and the threshold; Based on the overload response coefficient and the excess amplitude of the real-time working current, select and execute a corresponding dynamic protection measure, wherein the dynamic protection measure includes at least one of current regulation, circuit switching and load optimization operation; When implementing the dynamic protection measures, the visibility change trend is monitored simultaneously; When the real-time working current drops back to the dynamic overload protection threshold and the visibility parameters recover to a safe range, the working state of the LED signal light group is gradually restored according to the preset recovery curve.

[0013] Furthermore, in the present application, the steps of the method also include: Real-time monitoring of the remaining time of the protection window during the process of extending the dimming window; When it is detected that the remaining time of the protection window is lower than the preset minimum protection threshold, the window compensation control is started: Obtain current visibility decrease rate and circuit temperature parameters; Based on the composite relationship between visibility decrease rate and temperature parameters, the maximum allowable dimming window extension is calculated; In the next dimming cycle, reallocate the duration of each functional window according to the maximum dimming window extension amplitude; When the protection window time of three consecutive dimming cycles is lower than the minimum protection threshold, an independent protection period is forcibly inserted.

[0014] In a second aspect, the present application further proposes an LED control device for controlling an LED signal light group in the case of reduced visibility, the device comprising: A parameter acquisition module, used to obtain the real-time working parameters of the LED signal light group when the visibility is lower than the threshold; A timing division module, used to divide the dimming cycle into a dimming window, a detection window and a protection window according to the real-time working parameters; A dimming control module, used to perform dynamic dimming operations and suppress overload protection triggering within the dimming window; A fault detection module, used to perform fault scanning within the detection window; A threshold calculation module, used to calculate a dynamic overload protection threshold within the protection window according to data of the dimming window and the detection window; The protection execution module is used to execute overload protection of the LED signal light group according to the dynamic overload protection threshold.

[0015] In a third aspect, the present application further proposes an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are executed.

[0016] In a fourth aspect, the present application further proposes a computer-readable storage medium having a computer program stored thereon, wherein the computer program runs the steps in the above method when executed by a processor.

[0017] From the above, it can be seen that the LED control method, device, electronic device and computer-readable storage medium provided by the present application solve the conflict problem between the brightness increase of the LED light group and the malfunction of the overload protection under special weather conditions in the prior art by dynamically adjusting the dimming, detection and protection mechanisms of the LED signal light group when visibility decreases. It has the characteristics of avoiding the malfunction of the overload protection caused by the increase in brightness under special weather conditions, realizing dynamic dimming and precise fault isolation, and keeping the system power consumption stable. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic flow chart of an LED control method provided in this application.

[0019] Figure 2 A schematic diagram of the structure of an LED control device provided in this application.

[0020] In the figure: 210, parameter acquisition module; 220, timing division module; 230, dimming control module; 240, fault detection module; 250, threshold calculation module; 260, protection execution module. DETAILED DESCRIPTION

[0021] The technical solutions in the present application will be clearly and completely described below in conjunction with the drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0022] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0023] In the complex road network with multiple intersections in the city, the LED traffic light system faces the technical challenge of how to effectively control when visibility decreases. When visibility decreases, the LED light group needs to increase the brightness to ensure visibility, but this brightness increase may trigger the fixed threshold overload protection module to malfunction. At the same time, there may be a timing conflict between the pulse width modulation signal of the dynamic dimming circuit and the pulse detection of the protection circuit. In addition, the fault detection circuit is prone to false alarms when the brightness changes suddenly, and the superposition of multiple protection mechanisms causes a surge in system power consumption. These problems directly affect the reliability, stability and energy efficiency of the LED signal light group under low visibility conditions.

[0024] For example, a key intersection is equipped with an LED traffic light group. The system uses a traditional fixed-threshold overload protection mechanism and independent dimming, protection, and detection modules. When encountering heavy rain and visibility drops sharply to less than 50 meters, the system automatically triggers the brightness boost mode. The LED drive current is rapidly increased from the normal working 700mA to 1200mA to enhance the visibility of the signal light. However, this sudden current increase may trigger the overload protection threshold fixed at 1000mA, causing the protection circuit to malfunction and cut off the power supply of the LED light group. At the same time, the dynamic dimming module is performing pulse width modulation at a frequency of 1kHz, while the sampling frequency of the protection circuit is 500Hz. The timing mismatch between the two causes signal interference. In addition, the fault detection module detects the sudden change in current and misjudges it as a short-circuit fault, further activating the backup circuit, causing the power consumption of the entire system to increase sharply from the original 100W to 180W. This complex interaction causes the signal light to flicker, go out, or even fail completely at critical moments, seriously affecting traffic safety and traffic efficiency.

[0025] In this regard, refer to Figure 1 The present application proposes an LED control method for controlling an LED signal light group in the case of reduced visibility, the method comprising: S110, when visibility is lower than a threshold, obtaining real-time working parameters of the LED signal light group; S120, dividing the dimming cycle into a dimming window, a detection window and a protection window according to the real-time working parameters; S130, performing dynamic dimming operation within the dimming window and suppressing overload protection triggering; S140, performing fault scanning within the detection window; S150, within the protection window, calculating a dynamic overload protection threshold according to data of the dimming window and the detection window; S160: Execute overload protection of the LED signal light group according to the dynamic overload protection threshold.

[0026] Among them, the LED signal light group refers to a traffic light device composed of multiple LED lamp beads, which is used to display traffic signals at locations such as road intersections. In this application, the LED signal light group needs to be dynamically controlled when visibility decreases to ensure the visibility of the signal and the safety of the system.

[0027] Among them, real-time working parameters refer to the current operating status data of the LED signal light group, such as current, voltage, temperature, etc. The acquisition of these parameters is crucial for subsequent dimming and protection operations, which can reflect the real-time status of the system and provide a basis for dynamic control.

[0028] The dimming cycle refers to the time period required to complete a complete brightness adjustment. Dividing the dimming cycle into different functional windows can achieve time division multiplexing of various functions, avoid mutual interference, and improve the stability and reliability of the system.

[0029] Dynamic dimming is the process of adjusting the brightness of LED signal lights in real time based on current visibility and other environmental factors. This can optimize energy consumption while ensuring signal visibility.

[0030] The dynamic overload protection threshold refers to the overload protection trigger value dynamically calculated according to the real-time working status. Compared with the fixed threshold, the dynamic threshold can better adapt to different working conditions, reduce false triggering, and ensure the necessary protection functions.

[0031] The core innovation of this application is to divide the dimming cycle into dimming window, detection window and protection window, so as to achieve effective isolation and coordination of dynamic dimming, fault detection and overload protection functions. This method solves the problem of mutual interference among functions in traditional control schemes and improves the reliability and stability of the system under low visibility conditions. At the same time, the concept of dynamic overload protection threshold is introduced, so that the system can flexibly adjust the protection strategy according to the real-time working status, which not only ensures the safe operation of the LED signal light group, but also avoids unnecessary protection triggering.

[0032] The working principle of this application can be described in detail as follows: First, the system continuously monitors the environmental visibility through sensors. When the visibility is detected to be lower than the preset threshold, a special control mode is triggered. In this mode, the real-time working parameters of the LED signal light group are first obtained, including but not limited to current, voltage, temperature and other data. These data are collected in real time through built-in sensors and data acquisition modules.

[0033] Next, based on the acquired real-time working parameters, the dimming cycle is divided into three functional windows: dimming window, detection window, and protection window. This division is dynamic and is adjusted in real time according to the current working status and environmental conditions. For example, in extremely low visibility conditions, the proportion of the dimming window may be increased to ensure sufficient brightness adjustment time. This division allows the system to focus on different tasks in different time periods, effectively avoiding mutual interference between functions. The division is determined by real-time working parameters, ensuring the matching of the timing arrangement with the current working status and improving the system's ability to adapt to environmental changes.

[0034] Within the dimming window, the system performs dynamic dimming operations. This includes calculating the required brightness level based on the current visibility and implementing brightness changes by adjusting the LED drive current. At the same time, within this window, the system temporarily suppresses overload protection triggering to ensure the continuity and effectiveness of dimming operations.

[0035] Within the detection window, the system performs fault scanning. This includes checking the working status of the LED lamp beads, the performance of the drive circuit, temperature changes, etc. Through this regular inspection, potential faults can be discovered in time and overall reliability can be improved.

[0036] Within the protection window, the dynamic overload protection threshold is calculated based on the data collected in the previous window. This calculation process takes into account factors such as the current operating current, voltage, temperature, and historical operating data. The calculated dynamic threshold can better adapt to the current working conditions, ensuring the necessary protection functions while avoiding false triggering.

[0037] Finally, the system performs overload protection for the LED signal light group based on the calculated dynamic overload protection threshold. If it detects that the actual operating parameters exceed this dynamic threshold, the system will take corresponding protection measures, such as reducing the drive current or starting the backup circuit.

[0038] As a specific embodiment, an LED traffic light group is installed at a main intersection in a city. The signal light group is composed of multiple high-brightness LED lamp beads, with a normal operating current of 700mA and a rated power of 100W. The system is equipped with a visibility sensor, a current sensor, a voltage sensor and a temperature sensor.

[0039] When the visibility sensor detects that visibility drops to 30 meters (below the preset 50-meter threshold), the system enters a special control mode. First, the system obtains real-time operating parameters: the current operating current is 680mA, the voltage is 24V, and the temperature is 45°C.

[0040] Based on these parameters, the system divides the 1-second dimming cycle into three windows: a 500-ms dimming window, a 300-ms detection window, and a 200-ms protection window.

[0041] Within the 500ms dimming window, the system calculates that in order to ensure visibility, the brightness needs to be increased by 30%. Therefore, the drive current is gradually increased to 884mA. During this process, the overload protection function is temporarily suppressed to ensure the smooth completion of the dimming operation.

[0042] In the subsequent 300ms detection window, the system performed a fast fault scan. The inspection results showed that all LED lamp beads were working properly, the drive circuit performance was stable, and the temperature rose to 48°C, which was within the acceptable range.

[0043] In the 200ms protection window, the system calculates the dynamic overload protection threshold based on the collected data. Taking into account the current high-brightness working state and temperature rise, the system dynamically adjusts the overload protection threshold from the original 1000mA to 1100mA.

[0044] Finally, the system performs overload protection based on this new dynamic threshold. Since the current operating current (884mA) is lower than the new protection threshold (1100mA), the system continues to maintain the current working state while closely monitoring the changes in various parameters.

[0045] In this way, the LED signal light group can provide sufficient brightness in low visibility conditions while maintaining the stability and safety of the system. The dynamically adjusted overload protection threshold ensures that the system will not falsely trigger the protection mechanism due to temporary high power operation, thus ensuring the continuity and reliability of traffic signals.

[0046] In some of the above embodiments of the present application, it is proposed to divide the dimming cycle into a dimming window, a detection window, and a protection window according to real-time working parameters, so as to control the LED signal light group when visibility decreases. However, in this process, how to accurately divide each functional window according to real-time working parameters and how to determine appropriate timing allocation rules still remain challenges. Simple fixed timing division may not be able to adapt to complex and changeable actual working conditions, affecting the performance and reliability of the LED signal light group.

[0047] In this regard, the present application further proposes the steps of dividing the dimming cycle into a dimming window, a detection window and a protection window according to the real-time working parameters, including: obtaining the current change rate and voltage fluctuation parameters of the LED signal light group; based on the current change rate and voltage fluctuation parameters, determining the timing allocation rules of each functional window; according to the timing allocation rules, dividing the dimming cycle into mutually isolated dimming windows, detection windows and protection windows.

[0048] This solution uses the current change rate and voltage fluctuation parameters of the LED signal light group as the basis for dividing the functional window. These two parameters can reflect the real-time working status and potential risks of the LED signal light group. Determining the timing allocation rules based on these parameters can make the window division more flexible and accurate.

[0049] Specifically, the current change rate can be obtained by continuously sampling the current value of the LED signal light group and calculating the ratio of the current change amount and the time interval between adjacent sampling points. For example, the current change rate can be expressed by the formula ΔI / Δt, where ΔI is the current change amount and Δt is the sampling time interval. The voltage fluctuation parameter can be characterized by calculating the standard deviation or peak value of the voltage within a certain period of time.

[0050] When determining the timing allocation rules based on the current change rate and voltage fluctuation parameters, a variety of strategies can be used. For example, when the current change rate is large, it may mean that the LED signal light group is experiencing rapid brightness changes. At this time, the proportion of the dimming window can be increased to ensure the smoothness of the dimming operation. When the voltage fluctuation parameter is large, it may indicate that the power supply is unstable or there is a potential fault. At this time, the proportion of the detection window and the protection window can be appropriately increased to enhance the safety of the system.

[0051] Furthermore, the timing distribution rule can adopt a dynamic weight algorithm. For example, the thresholds of the current change rate and voltage fluctuation parameters can be set. When the parameters exceed the thresholds, the weights of the corresponding windows are increased accordingly. The specific weight distribution can use the following formula: W_dimming = α * (ΔI / Δt) / (ΔI / Δt + σV); W_detection = β * σV / (ΔI / Δt + σV); W_Protect = 1 - W_Dimming - W_Detect; Where W represents the weight of each window, α and β are adjustable coefficients, and σV represents the standard deviation of the voltage.

[0052] According to the calculated weights, the dimming cycle can be divided into isolated dimming windows, detection windows and protection windows. For example, if a dimming cycle is 100ms, the calculated weights are W_dimming = 0.5, W_detection = 0.3, W_protection = 0.2, then the dimming window can be set to the first 50ms, the detection window to the middle 30ms, and the protection window to the last 20ms.

[0053] Through this dynamic adjustment mechanism, the technical solution of the present application can flexibly allocate the timing of each functional window according to the real-time working status of the LED signal light group, effectively solving the problem that fixed timing division cannot adapt to complex working conditions. This method can maximize the visibility and reliability of the LED signal light group in the case of reduced visibility while ensuring system safety.

[0054] As a preferred implementation, the dynamic division of the above functional windows can be implemented in a microcontroller. The microcontroller can collect the current and voltage data of the LED signal light group in real time through an analog-to-digital converter (ADC) to calculate the current change rate and voltage fluctuation parameters. Then, the microcontroller calculates the weight of each window according to a preset algorithm and controls the switching of each functional window through a timer interrupt.

[0055] For example, assuming a microcontroller is used, a basic timer can be set with a period of 100μs to sample current and voltage. At each interrupt, the ADC conversion result is read and the current change rate and voltage fluctuation parameters are updated. The weight is calculated every 1000 interrupts (i.e. 100ms) and the allocation of the function window is updated.

[0056] In specific implementation, three independent timers can be used to control the start and end of each function window. When entering the dimming window, the PWM output is started to perform the dimming operation; when entering the detection window, the PWM output is paused and the fault scanning program is started; when entering the protection window, the overload protection calculation and threshold update are performed.

[0057] Through this implementation, the technical solution of the present application can achieve precise timing control, ensure the isolation between the functional windows, and avoid mutual interference. At the same time, due to the use of a dynamic allocation mechanism, the system can quickly respond to changes in the working state of the LED signal light group, improving the overall control accuracy and reliability.

[0058] In some of the above embodiments of the present application, a control method for optimizing the LED signal light group is proposed by determining the timing allocation rules of each functional window based on the current change rate and voltage fluctuation parameters. However, in this process, how to dynamically adjust the allocation ratio of each functional window according to the changes in real-time electrical parameters, and how to balance the dimming requirements and circuit protection requirements under different working conditions, there are still challenges. Especially under extreme weather conditions, current and voltage may fluctuate violently at the same time. How to respond quickly and make reasonable window allocation decisions has become an urgent problem to be solved.

[0059] In this regard, the present application further proposes to calculate the degree of deviation from a preset threshold based on the current change rate and the voltage fluctuation parameters; determine the priority relationship between the dimming window and the detection window according to the degree of deviation from the preset threshold; when the current change rate exceeds the first critical value, prioritize extending the dimming window duration and shortening the detection window duration; when the voltage fluctuation parameter exceeds the second critical value, prioritize allocating the protection window duration and dynamically compress the dimming window ratio; generate dynamic timing allocation rules based on the priority relationship.

[0060] This application achieves flexible allocation of various functional windows by introducing a dynamic priority mechanism based on real-time electrical parameters. Specifically, the degree of deviation of the current change rate and voltage fluctuation parameters from the preset threshold is first calculated. This step can be implemented in a variety of ways, such as using percentage deviation, standard deviation or adaptive threshold methods. The calculated degree of deviation directly reflects the current electrical state of the system and provides a quantitative basis for subsequent decision-making.

[0061] According to the calculated deviation degree, the present application determines the priority relationship between the dimming window and the detection window. This process can adopt methods such as a weighted scoring system or a fuzzy logic controller. For example, the weight coefficients of the current change rate and the voltage fluctuation parameters can be set, and a priority index can be obtained by comprehensive calculation. When the index exceeds a certain threshold, the corresponding window adjustment strategy is triggered.

[0062] Furthermore, the present application introduces two key critical values: the first critical value is used for the current change rate, and the second critical value is used for the voltage fluctuation parameter. When the current change rate exceeds the first critical value, the system will give priority to extending the duration of the dimming window and shortening the detection window. The purpose of this strategy is to ensure sufficient time for precise dimming when the current changes drastically to maintain the stable output of the LED signal light group. In specific implementation, a dynamic proportional adjustment algorithm can be used to increase the duration of the dimming window linearly or nonlinearly according to the degree of excess of the current change rate.

[0063] Accordingly, when the voltage fluctuation parameter exceeds the second critical value, the system will prioritize the protection window duration and dynamically compress the dimming window ratio. This mechanism is designed to respond to possible voltage anomalies and ensure system safety by promptly initiating protection measures. The implementation method may include using a preset protection window duration increment table and selecting the corresponding increment value according to the degree of voltage fluctuation. At the same time, in order to maintain the overall balance of the system, the compression ratio of the dimming window can be inversely proportional to the increase ratio of the protection window.

[0064] Finally, based on the above priority relationship, this application generates a dynamic timing allocation rule. This rule is not static, but is constantly updated as the electrical parameters change in real time. The generated rules need to take into account the continuity and stability of the system to avoid frequent window switching from interfering with the normal operation of the LED signal light group.

[0065] The technical solution of the present application realizes dynamic optimization of the control system of the LED signal light group by real-time monitoring and analysis of the current change rate and voltage fluctuation parameters. This method can flexibly allocate resources under different working conditions and effectively balance the dimming requirements and circuit protection requirements. Especially in extreme weather conditions, when the current and voltage fluctuate violently at the same time, the solution of the present application can respond quickly and make reasonable window allocation decisions.

[0066] In some of the above embodiments of the present application, a timing allocation rule for each functional window is proposed based on the current change rate and voltage fluctuation parameters to reasonably allocate dimming, detection and protection windows when visibility decreases. However, in this process, when the current change rate and voltage fluctuation parameters exceed their respective critical values ​​at the same time, there may be a conflict between the dimming demand and the protection demand. In this case, simply allocating the window duration according to the preset rules may not meet the actual needs of the system, and it may not be possible to ensure sufficient dimming time to improve the visibility of the signal light, and it may not be possible to activate the protection mechanism in time to ensure system safety.

[0067] In this regard, the present application further proposes that when the current change rate and the voltage fluctuation parameters simultaneously exceed their respective critical values, a dimming urgency index reflecting the degree of visibility reduction and a protection urgency index reflecting the circuit safety risk are calculated; the dimming urgency index and the protection urgency index are compared, and the window allocation is dynamically adjusted according to the comparison result: when the dimming urgency index is higher, the dimming window is preferentially extended and the protection window is compressed; when the protection urgency index is higher, the current dimming operation is paused and the protection window is immediately started; when neither the current change rate nor the voltage fluctuation parameters exceed the critical value, the duration of each window is allocated according to a preset ratio, while ensuring that the duration of the detection window is not lower than the safety threshold.

[0068] This application introduces a dimming urgency index and a protection urgency index, which reflect the visibility degradation and circuit safety risk respectively. By calculating and comparing these two indexes, the system can make more intelligent and flexible decisions in complex situations.

[0069] Specifically, the dimming urgency index can be calculated in a variety of ways. For example, it can be calculated based on the difference between the current visibility and the preset safety visibility threshold, combined with the ratio of the current brightness of the LED signal light group to the maximum adjustable brightness. The calculation formula can be expressed as: Dimming urgency index = α1 * (1 - current visibility / safe visibility threshold) + β1 * (1 - current brightness / maximum adjustable brightness); Among them, α1 and β1 are weight coefficients, which can be adjusted according to the actual application scenario.

[0070] The protection urgency index can be calculated based on the current change rate, voltage fluctuation parameters and historical fault data. The calculation formula can be expressed as: Protection urgency index = γ1 * (current change rate / current critical value) + δ * (voltage fluctuation parameter / voltage critical value) + ε * historical fault frequency; Among them, γ1, δ and ε are weight coefficients, which can be adjusted according to system characteristics. The historical fault frequency can be obtained by counting the number of faults within a certain time window.

[0071] By comparing these two indicators, the system can make more reasonable decisions. When the dimming urgency index is higher, the dimming window is extended and the protection window is compressed first, which ensures that when visibility drops sharply, the LED signal light group can increase the brightness in time to ensure traffic safety. For example, the dimming window can be extended to 1.5 times the original, while the protection window can be compressed to 0.8 times the original.

[0072] When the protection urgency index is higher, the system will immediately suspend the dimming operation and start the protection window. This fast response mechanism can effectively prevent circuit overload or other potential safety risks. In this case, the protection window can be extended to 2 times the original value and the dimming operation can be suspended for a full cycle.

[0073] Under normal circumstances, that is, when the current change rate and voltage fluctuation parameters do not exceed the critical value, the system will allocate the duration of each window according to the preset ratio, and ensure that the duration of the detection window is not less than the safety threshold. For example, the duration ratio of the dimming window, detection window and protection window can be set to 6:2:2, and ensure that the duration of the detection window is not less than 10ms.

[0074] This dynamic adjustment mechanism can find the best balance between visibility reduction and circuit safety risks, ensuring both the visibility of the LED signal light group and the safe and stable operation of the system. By calculating and comparing the dimming urgency index and the protection urgency index in real time, the system can flexibly adjust the allocation of each functional window according to the actual situation, so as to better cope with complex environmental changes.

[0075] In some of the above embodiments of the present application, it is proposed to calculate a dynamic overload protection threshold value based on the data of the dimming window and the detection window to perform overload protection of the LED signal light group. However, in this process, the prior art lacks a method that can dynamically adjust the overload protection threshold value according to real-time working parameters and environmental conditions. Especially in the case of reduced visibility, the fixed overload protection threshold value may not meet the dynamic dimming requirements of the LED signal light group, and it is also unable to effectively deal with the circuit safety risks under different working modes.

[0076] In this regard, the present application further proposes the steps of calculating the dynamic overload protection threshold value based on the data of the dimming window and the detection window, including: obtaining the current data I(t), voltage data V(t) in the dimming window, and the fault feature data F(t) in the detection window; obtaining the current visibility Vis, the historical fault data H(t) and the preset safety parameter S; setting the basic protection threshold Pbase, the emergency threshold Visemerg, the emergency mode coefficient β, the normal mode coefficient γ and the historical fault impact attenuation coefficient λ; when the current visibility Vis is less than the emergency threshold Visemerg, entering the emergency mode, and executing the following steps: calculating the current change rate ΔI(t)=(I(t)-Iavg) / Iavg, where Iavg is the historical average current; calculating the voltage change rate ΔV(t)=(V(t)-V avg) / Vavg, where Vavg is the historical average voltage; calculate the dynamic correction coefficient: α(t)=1+β*(ΔI(t)+ΔV(t)-F(t)-(1-Vis / Visemerg))*exp(-λH(t)); calculate the dynamic overload protection threshold Pth(t)=Pbase*α(t)*S in the emergency mode; when the current visibility Vis is greater than or equal to the emergency threshold Visemerg, enter the normal mode and perform the following steps: calculate the current change rate ΔI(t)=(I(t)-Iavg) / Iavg; calculate the dynamic overload protection threshold Pth(t)=Pbase*(1+γ*ΔI(t)) in the normal mode; apply the calculated dynamic overload protection threshold Pth(t) to the overload protection of the LED signal light group.

[0077] Among them, the fault characteristic data F(t) refers to the quantitative data obtained by performing fault scanning within the detection window, which is used to characterize the current fault state or potential fault risk of the LED signal light group. This is a parameter collected in real time, reflecting the fault characteristics of the system at the current time t. It is a numerical indicator obtained by checking the working state of the LED lamp beads, the performance of the drive circuit, temperature changes and other factors. The larger the value, the more obvious the current fault characteristics of the system or the higher the fault risk.

[0078] The historical fault data H(t) refers to the statistical value of the accumulated fault conditions of the system over a period of time, which is used to characterize the fault frequency or severity in the historical operation of the LED signal light group. This is a cumulative parameter that is updated over time and reflects the comprehensive situation of the system's historical faults. In the calculation of the dynamic overload protection threshold, the historical fault impact attenuation coefficient λ is used in conjunction with H(t) to form the exp(-λH(t)) term, so that the system with more historical faults is more cautious when adjusting the dynamic overload protection threshold.

[0079] The technical solution of the present application effectively solves the problem that fixed thresholds cannot adapt to different working conditions by dynamically adjusting the overload protection threshold. In the case of reduced visibility, this method can effectively prevent the occurrence of overload while ensuring the normal operation of the signal light group. Specifically, when visibility decreases, the system will enter emergency mode, and the calculation of the dynamic overload protection threshold will consider more factors, including the rate of change of current and voltage, fault characteristics, visibility changes, and historical fault data. This comprehensive consideration enables the system to more accurately control the overload protection of the LED signal light group under low visibility conditions.

[0080] For example, when visibility suddenly drops to 30 meters, the system will immediately switch to emergency mode. In this case, the LED signal light group needs to increase the brightness to ensure visibility, which may cause significant changes in current and voltage. By dynamically calculating the correction factor α(t), the system is able to appropriately increase the overload protection threshold according to these changes, allowing the LED signal light group to operate at a higher power for a short period of time without triggering unnecessary protection actions. At the same time, because the fault characteristic data F(t) and historical fault data H(t) are taken into account in the calculation, the system can still maintain sensitivity to potential faults, ensuring that the safety of the equipment is not compromised while increasing the brightness.

[0081] When visibility returns to normal levels (such as 100 meters), the system automatically switches back to normal mode. In this mode, the calculation of the overload protection threshold is mainly based on the current change rate. This simplified calculation method can provide adequate protection under normal working conditions, while reducing unnecessary calculation complexity, which is conducive to the long-term stable operation of the system.

[0082] Through this dynamic adjustment mechanism, the technical solution of the present application can maintain the reliability and safety of the LED signal light group under various environmental conditions. In particular, under severe weather conditions, the method can effectively prevent the occurrence of overload while ensuring the normal operation of the signal light group, thereby improving the overall reliability of the traffic signal system.

[0083] As a preferred implementation, assume that the LED signal light group in a city traffic signal light system is configured as follows: Basic protection threshold Pbase = 100W; Emergency threshold Visemerg = 50m; The emergency mode coefficient β = 0.2; Normal mode coefficient γ = 0.1; The attenuation coefficient of historical fault impact λ = 0.05; The preset safety parameter S = 1.1; On a rainy day, visibility gradually decreased. When visibility dropped to 45 meters, the system entered emergency mode. At this time, the system obtained the following data: Current current I(t) = 2.2A, historical average current Iavg = 2.0A; Current voltage V(t) = 48V, historical average voltage Vavg = 45V; Fault characteristic data F(t) = 0.02; Current visibility Vis = 45m; Historical fault data H(t) = 0.1; The following calculation steps are performed: Calculate the current change rate: ΔI(t) = (2.2 - 2.0) / 2.0 = 0.1; Calculate the voltage change rate: ΔV(t) = (48 - 45) / 45 ≈ 0.067; Calculate the dynamic correction factor: α(t) = 1 + 0.2 * (0.1 + 0.067 - 0.02 - (1 - 45 / 50)) * exp(-0.05 *0.1)≈ 1.0296; Calculate the dynamic overload protection threshold in emergency mode: Pth(t) = 100 * 1.0296 * 1.1 ≈ 113.256W.

[0084] Through this dynamic adjustment, the system increases the overload protection threshold from the original 110W (100W * 1.1) to approximately 113.256 W. This small but important adjustment allows the LED signal light cluster to run at a slightly higher power in low visibility conditions to increase brightness and visibility while still maintaining effective protection for the equipment.

[0085] In some of the above embodiments of the present application, it is proposed to perform overload protection of the LED signal light group according to the dynamic overload protection threshold to cope with the LED control requirements under the condition of reduced visibility. However, in this process, how to flexibly adjust the protection measures according to the changes in the real-time working current and visibility parameters, and how to continuously monitor the system status during the protection process and achieve smooth recovery, there are still challenges. Simply implementing a fixed overload protection strategy may not be able to adapt to complex and changing environmental conditions, and it is difficult to strike a balance between protecting system safety and maintaining the function of the signal light.

[0086] In this regard, the present application further proposes that the steps of performing overload protection of the LED signal light group according to the dynamic overload protection threshold include: when the real-time working current exceeds the dynamic overload protection threshold, determining the overload response coefficient according to the degree of deviation of the current visibility parameter from the threshold; based on the overload response coefficient and the excess amplitude of the real-time working current, selecting to perform corresponding dynamic protection measures, the dynamic protection measures include at least one of current regulation, circuit switching and load optimization operations; when implementing the dynamic protection measures, synchronously monitoring the visibility change trend; when the real-time working current drops back to the dynamic overload protection threshold and the visibility parameter returns to a safe range, gradually restoring the working state of the LED signal light group according to a preset recovery curve.

[0087] This application introduces an overload response coefficient to achieve dynamic adjustment of protection measures. The overload response coefficient can be calculated in a variety of ways, such as using a linear mapping method to map the degree of deviation between the visibility parameter and the threshold to a range of 0-1.

[0088] When dynamic protection measures are selected based on the overload response coefficient and the current excess amplitude, multiple threshold intervals can be set. For example, when the overload response coefficient is between 0-0.3, current regulation is mainly performed; when it is between 0.3-0.7, circuit switching is performed; when it is above 0.7, load optimization operation is performed. This hierarchical response mechanism ensures the pertinence and flexibility of the protection measures. For example, a two-dimensional matrix is ​​used, with the horizontal axis being the overload response coefficient and the vertical axis being the current excess amplitude, and each unit in the matrix corresponds to a protection measure. When the overload response coefficient is between 0-0.3 and the current excess amplitude is <5%, the mildest current regulation is performed; when the overload response coefficient is between 0-0.3 but the current excess amplitude is between 5%-15%, a stricter current regulation is performed; when the overload response coefficient is between 0.3-0.7 or the current excess amplitude is between 15%-25%, circuit switching is performed; when the overload response coefficient is >0.7 or the current excess amplitude is >25%, load optimization operation is performed.

[0089] While implementing protection measures, this application introduces a real-time monitoring mechanism for visibility change trends. The sliding window method can be used to calculate short-term trends, or time series analysis methods such as exponential smoothing can be used to predict future changes. This continuous monitoring ensures that the system can respond to environmental changes in a timely manner and avoid over-protection or under-protection.

[0090] Finally, the present application designs a progressive recovery mechanism based on a preset recovery curve. The recovery curve can be linear or nonlinear, such as an S-shaped curve, to meet different recovery requirements. This gentle recovery process helps to avoid sudden changes in the LED signal light group when it returns to normal working state, thereby improving the stability and reliability of the system.

[0091] Through the above technical means, this application effectively solves the flexibility and adaptability of overload protection of LED signal light groups under visibility changes. It can not only dynamically adjust the protection strategy according to the real-time situation, but also continuously monitor the system status during the protection process and achieve smooth recovery. This method not only ensures system safety, but also maintains the normal function of the signal light to the maximum extent, providing an efficient and reliable solution for LED signal light control in complex and changing environments.

[0092] This application achieves dynamic adjustment of protection measures by introducing an overload response coefficient. The overload response coefficient takes into account the degree of deviation between the current visibility and the threshold, so that the protection measures can be accurately adjusted according to the actual environmental conditions. Specifically, the overload response coefficient can be calculated in the following way: First, define the visibility deviation δ = (Vis_threshold - Vis_current) / Vis_threshold, where Vis_threshold is the visibility threshold and Vis_current is the current visibility.

[0093] The overload response factor α can then be calculated using the nonlinear mapping function: α = 1 / (1 + e^(-k * δ)); Where k is the adjustment coefficient, which is used to control the steepness of the response curve. This S-shaped curve mapping can provide a small response when visibility is close to the threshold, and quickly increase the response strength when visibility decreases significantly.

[0094] Based on the overload response coefficient α and the excess amplitude ΔI of the real-time working current, the present application selects to execute the corresponding dynamic protection measures. For example, the following rules can be set: When α <0.3 and ΔI <10%, a mild current regulation is performed, such as reducing the operating current by 5%.

[0095] When 0.3 ≤ α <0.7 or 10% ≤ ΔI<20%, circuit switching is performed, such as activating a backup circuit or redistributing the load.

[0096] When α ≥ 0.7 or ΔI ≥ 20%, load optimization operations are performed, such as turning off some non-critical LED light groups.

[0097] When implementing dynamic protection measures, this application simultaneously monitors visibility trends. These trends can be calculated using the exponentially weighted moving average (EWMA) method: EWMA(t) = λ1 * Value(t) + (1 - λ) * EWMA(t-1); Where λ is the smoothing factor (0 < λ1 <1), and Value(t) is the measured value at the current moment. This method can effectively filter short-term fluctuations while maintaining sensitivity to long-term trends.

[0098] When the real-time working current drops back to the dynamic overload protection threshold and the visibility parameter returns to a safe range, the present application gradually restores the working state of the LED signal light group according to a preset recovery curve. The following S-shaped recovery curve can be used: I(t) = Imax / (1 + e^(-r * (t - t0))); Where Imax is the target operating current, r is the recovery rate parameter, and t0 is the recovery midpoint time. This curve can provide a slower rate of change at the beginning and end of recovery, and quickly approach the target value in the middle, thereby achieving a smooth transition.

[0099] Through the synergy of these technical means, this application can not only flexibly adjust the protection strategy according to changes in visibility, but also continuously optimize the system status during the protection process and achieve smooth recovery. This method not only ensures system safety, but also maintains the normal function of the signal light to the maximum extent, providing an efficient and reliable solution for LED signal light control in complex and changing environments.

[0100] As a preferred implementation, the present application can be implemented in a traffic signal control system as follows: First, the system is equipped with a high-precision visibility sensor that can measure environmental visibility in real time with an accuracy of ±1 meter. At the same time, a current detection module is integrated into the driving circuit of the LED signal light group with a sampling frequency of 1kHz, which can accurately capture current fluctuations.

[0101] The system sets the initial visibility threshold Vis_threshold to 100 meters. When the visibility is detected to be lower than this value, the dynamic overload protection mechanism is activated. Assuming that the current visibility Vis_current is 80 meters at a certain moment, the visibility deviation δ is calculated to be (100 - 80) / 100 = 0.2.

[0102] Use the S-curve mapping function above to calculate the overload response factor α, setting k = 10: α = 1 / (1 + e^(-10 * 0.2)) ≈ 0.62; At the same time, assuming that the real-time operating current is detected to be 2.2A and the dynamic overload protection threshold is 2A, the excess amplitude ΔI = (2.2 - 2) / 2 = 10%.

[0103] According to the values ​​of α and ΔI, the system selects to perform circuit switching operation. Specifically, the standby LED driving circuit is activated and part of the load is transferred to the circuit to distribute the power burden.

[0104] While executing the protection measures, the system uses the EWMA method to monitor visibility and current change trends, setting λ = 0.1: EWMA_vis(t) = 0.1 * 80 + 0.9 * EWMA_vis(t-1); EWMA_current(t) = 0.1 * 2.2 + 0.9 * EWMA_current(t-1); The system updates the EWMA value once a second to continuously monitor trend changes.

[0105] When the real-time working current is detected to be below 2A and the visibility rises to 95 meters, the system starts the recovery procedure. Using the S-shaped recovery curve, set Imax = 2A, r = 0.5, t0 = 10s: I(t) = 2 / (1 + e^(-0.5 * (t - 10))); The system smoothly restores the normal working state of the LED signal light group within 20 seconds according to this curve, ensuring the continuity and stability of the traffic signal.

[0106] Through this implementation, the present application can accurately control the working state of the LED signal light group under severe weather conditions, effectively prevent the occurrence of overload conditions, and ensure the visibility and functionality of the signal lights. This not only improves the reliability of the traffic signal system, but also provides a safer traffic environment for road users.

[0107] In some of the above embodiments of the present application, it is proposed to extend the dimming window to optimize the dimming effect of the LED signal light group under reduced visibility. However, in this process, the protection window time may be insufficient, affecting the safety and stability of the system. Specifically, when the dimming window is excessively extended, the protection window time may be squeezed, making it impossible for the system to perform necessary protection measures in time, thereby increasing the risk of overload or failure of the LED signal light group.

[0108] In this regard, the present application further proposes to monitor the remaining time of the protection window in real time during the process of extending the dimming window; when it is detected that the remaining time of the protection window is lower than the preset minimum protection threshold, start the window compensation control: obtain the current visibility decrease rate and circuit temperature parameters; based on the composite relationship between the visibility decrease rate and the temperature parameters, calculate the maximum allowable dimming window extension amplitude; in the next dimming cycle, reallocate the duration of each functional window according to the maximum dimming window extension amplitude; when the protection window time of three consecutive dimming cycles is lower than the minimum protection threshold, forcibly insert an independent protection period.

[0109] The technical solution proposed in this application effectively solves the problem of insufficient protection window time due to excessive extension of the dimming window by monitoring the remaining time of the protection window in real time and starting the window compensation control when the remaining time is lower than the preset minimum protection threshold. Real-time monitoring of the remaining time of the protection window can be achieved by setting a timer or a counter, and when the remaining time is lower than the preset minimum protection threshold, the window compensation control mechanism is triggered.

[0110] The window compensation control mechanism first obtains the current visibility reduction rate and circuit temperature parameters. The visibility reduction rate can be obtained by continuously sampling the data of the ambient light sensor and calculating its rate of change. The circuit temperature parameter can be directly measured by the temperature sensor to measure the temperature of the LED drive circuit. These two parameters reflect the current environmental conditions and the working status of the LED signal light group, providing a basis for calculating the maximum dimming window extension.

[0111] Based on the composite relationship between the visibility decrease rate and the temperature parameter, the maximum allowable dimming window extension is calculated. This step can use a preset algorithm or a lookup table method. For example, a basic extension can be set and then adjusted according to the visibility decrease rate and the temperature parameter. Specifically, when the visibility decrease rate is high, the extension can be appropriately increased to ensure sufficient dimming effect; when the temperature parameter is high, the extension needs to be limited to prevent the system from overheating.

[0112] In the next dimming cycle, the duration of each functional window is reallocated according to the calculated maximum dimming window extension. This step can be achieved by dynamically adjusting the time ratio of the dimming window, detection window and protection window. For example, if the maximum dimming window extension is 20% of the original dimming window, the dimming window time can be increased by 20%, and the detection window and protection window time can be shortened proportionally, but it is necessary to ensure that the protection window time is not less than the minimum protection threshold.

[0113] When the protection window time of three consecutive dimming cycles is lower than the minimum protection threshold due to factors such as rapid deterioration of environmental conditions, system response delays, sudden changes in system status, inaccurate sensor data, etc., the present application proposes to forcibly insert an independent protection period. This can be achieved by inserting a dedicated protection period in the dimming cycle, which is dedicated to performing necessary protection measures and is not affected by other functional windows. For example, a complete dimming cycle can be temporarily converted into a protection period, or an additional protection period can be inserted between multiple dimming cycles.

[0114] Through the above technical solution, this application achieves a dynamic balance between dimming requirements and protection requirements. When visibility decreases, the system can extend the dimming window according to actual conditions to improve the visibility of the LED signal light group. At the same time, through real-time monitoring and dynamic adjustment, it ensures that the protection window has enough time to execute necessary protection measures, thereby maintaining the safety and stability of the system.

[0115] As a preferred embodiment, the present application can be implemented in an LED traffic signal light control system. The system includes an LED signal light group, a controller, an ambient light sensor, and a temperature sensor. The controller can be an embedded system based on a microprocessor or FPGA, running the control algorithm of the present application.

[0116] In actual applications, when the ambient light sensor detects that the visibility is lower than the preset threshold, the system enters low visibility mode. The controller starts to perform dynamic dimming operations and starts monitoring the remaining time of the protection window. Assuming that under normal circumstances, the time ratio of the dimming window, detection window and protection window is 6:2:2, and each dimming cycle is 100ms.

[0117] When the system detects that the remaining time of the protection window is lower than the preset minimum protection threshold (e.g. 15ms), the window compensation control is triggered. The controller reads the data of the ambient light sensor, calculates the visibility decrease rate, and obtains the data of the temperature sensor at the same time. Assume that the current visibility decrease rate is 5% / min and the circuit temperature is 60℃.

[0118] Based on these parameters, the controller calculates that the maximum allowable dimming window extension is 15%. In the next dimming cycle, the controller increases the dimming window time from 60ms to 69ms, while reducing the detection window time to 16ms and maintaining the protection window time at 15ms (not less than the minimum protection threshold). The new time distribution becomes 69:16:15, and the total is still 100ms.

[0119] Although the system has tried to maintain the protection window not below the minimum threshold, as environmental conditions continue to deteriorate, the protection window time may be further compressed in subsequent dimming cycles. If the system detects that the protection window time is less than 15ms for three consecutive dimming cycles (i.e. 300ms), the controller will force an independent protection period of 50ms. During this 50ms, the system suspends dimming operations and focuses on executing protection measures, such as checking circuit temperature, current monitoring, etc.

[0120] In this way, the application effectively avoids the safety risks caused by insufficient protection window time while ensuring the dimming effect of the LED signal light group. The system can dynamically adjust the time allocation of the functional window according to the actual environment and working conditions, and strike a balance between improving the visibility of the signal light and maintaining the safety of the system, thereby improving the overall performance and reliability of the traffic light system under severe weather conditions. Figure 2 The present application also proposes an LED control device for controlling an LED signal light group in the case of reduced visibility, the device comprising: The parameter acquisition module 210 is used to acquire the real-time working parameters of the LED signal light group when the visibility is lower than the threshold; A timing division module 220, for dividing the dimming cycle into a dimming window, a detection window and a protection window according to real-time working parameters; A dimming control module 230, used to perform dynamic dimming operations and suppress overload protection triggering within a dimming window; A fault detection module 240 is used to perform fault scanning within a detection window; A threshold calculation module 250, used to calculate a dynamic overload protection threshold within the protection window according to data of the dimming window and the detection window; The protection execution module 260 is used to execute overload protection of the LED signal light group according to the dynamic overload protection threshold.

[0121] By dynamically adjusting the dimming, detection and protection mechanisms of the LED signal light group when visibility decreases, the conflict problem between the brightness increase of the LED light group and the false operation of the overload protection under special weather conditions in the prior art is solved. Under special weather conditions, the overload protection false operation caused by the increase in brightness can be avoided, dynamic dimming and precise fault isolation can be achieved, and the system power consumption can be kept stable.

[0122] In a third aspect, the present application also provides an electronic device, including a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are executed.

[0123] Through the above technical solution, the processor and the memory are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms (not marked), and the memory stores computer-readable instructions executable by the processor. When the electronic device is running, the processor executes the computer-readable instructions to execute the method in any optional implementation of the above embodiment to achieve the following functions: when the visibility is lower than the threshold, the real-time operating parameters of the LED signal light group are obtained; according to the real-time operating parameters, the dimming cycle is divided into a dimming window, a detection window and a protection window; within the dimming window, dynamic dimming operation is performed and overload protection triggering is suppressed; within the detection window, fault scanning is performed; within the protection window, the dynamic overload protection threshold is calculated according to the data of the dimming window and the detection window; according to the dynamic overload protection threshold, overload protection of the LED signal light group is performed.

[0124] In a fourth aspect, the present application also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method are executed.

[0125] Through the above technical solution, when the computer program is executed by the processor, the method in any optional implementation method of the above embodiments is executed to achieve the following functions: when the visibility is lower than the threshold, the real-time operating parameters of the LED signal light group are obtained; according to the real-time operating parameters, the dimming cycle is divided into a dimming window, a detection window and a protection window; within the dimming window, dynamic dimming operations are performed and overload protection triggering is suppressed; within the detection window, fault scanning is performed; within the protection window, the dynamic overload protection threshold is calculated based on the data of the dimming window and the detection window; according to the dynamic overload protection threshold, overload protection of the LED signal light group is performed.

[0126] Among them, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0127] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0128] In addition, 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, and 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.

[0129] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0130] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A LED control method for controlling an LED signal light assembly in the case of reduced visibility, characterized in that: The method includes: When visibility is lower than the threshold, the real-time working parameters of the LED signal light group are obtained; According to the real-time working parameters, the dimming cycle is divided into a dimming window, a detection window and a protection window; In the dimming window, a dynamic dimming operation is performed and overload protection triggering is suppressed; Performing fault scanning within the detection window; In the protection window, a dynamic overload protection threshold is calculated according to data of the dimming window and the detection window; The overload protection of the LED signal light group is performed according to the dynamic overload protection threshold.

2. The LED control method according to claim 1, characterized in that: The step of dividing the dimming cycle into a dimming window, a detection window and a protection window according to the real-time working parameters comprises: Obtaining the current change rate and voltage fluctuation parameters of the LED signal light group; Determining a timing allocation rule for each functional window based on the current change rate and voltage fluctuation parameters; According to the timing allocation rule, the dimming cycle is divided into a dimming window, a detection window and a protection window which are isolated from each other.

3. The LED control method according to claim 2, characterized in that: The step of determining the timing allocation rules of each functional window based on the current change rate and the voltage fluctuation parameter comprises: Calculating the degree of deviation from a preset threshold value based on the acquired current change rate and voltage fluctuation parameters; Determining the priority relationship between the dimming window and the detection window according to the degree of deviation from the preset threshold; When the current change rate exceeds the first critical value, the dimming window duration is preferentially extended and the detection window duration is shortened; When the voltage fluctuation parameter exceeds the second critical value, the protection window duration is allocated preferentially and the dimming window ratio is dynamically compressed; A dynamic timing allocation rule is generated based on the priority relationship.

4. The LED control method according to claim 3, characterized in that: The method also includes the steps of: When the current change rate and the voltage fluctuation parameter simultaneously exceed their respective critical values, a dimming urgency index reflecting the degree of visibility reduction and a protection urgency index reflecting the circuit safety risk are calculated; Compare the dimming urgency index with the protection urgency index, and dynamically adjust the window allocation according to the comparison result: When the dimming urgency index is higher, priority is given to extending the dimming window and compressing the protection window; When the protection urgency index is higher, the current dimming operation is suspended and the protection window is started immediately; When the current change rate and the voltage fluctuation parameters do not exceed the critical value, the duration of each window is allocated according to a preset ratio, while ensuring that the duration of the detection window is not less than the safety threshold.

5. The LED control method according to claim 1, characterized in that: The step of calculating the dynamic overload protection threshold according to the data of the dimming window and the detection window comprises: Acquire current data I(t), voltage data V(t) within the dimming window, and fault characteristic data F(t) within the detection window; Obtain current visibility Vis, historical fault data H(t) and preset safety parameters S; Set the basic protection threshold Pbase, emergency threshold Visemerg, emergency mode coefficient β, normal mode coefficient γ and historical fault impact attenuation coefficient λ; When the current visibility Vis is less than the emergency threshold Visemerg, the emergency mode is entered and the following steps are performed: Calculate the current change rate ΔI(t)=(I(t)-Iavg) / Iavg, where Iavg is the historical average current; Calculate the voltage change rate ΔV(t)=(V(t)-Vavg) / Vavg, where Vavg is the historical average voltage; Calculate the dynamic correction factor: α(t)=1+β*(ΔI(t)+ΔV(t)-F(t)-(1-Vis / Visemerg))*exp(-λH(t)); Calculate the dynamic overload protection threshold Pth(t)=Pbase*α(t)*S in emergency mode; When the current visibility Vis is greater than or equal to the emergency threshold Visemerg, the system enters the normal mode and performs the following steps: Calculate the current change rate ΔI(t)=(I(t)-Iavg) / Iavg; Calculate the dynamic overload protection threshold Pth(t)=Pbase*(1+γ*ΔI(t)) in normal mode; The calculated dynamic overload protection threshold value Pth(t) is applied to the overload protection of the LED signal light group.

6. The LED control method according to claim 1, characterized in that: The step of performing overload protection of the LED signal light group according to the dynamic overload protection threshold comprises: When the real-time working current exceeds the dynamic overload protection threshold, the overload response coefficient is determined according to the degree of deviation between the current visibility parameter and the threshold; Based on the overload response coefficient and the excess amplitude of the real-time working current, select and execute a corresponding dynamic protection measure, wherein the dynamic protection measure includes at least one of current regulation, circuit switching and load optimization operation; When implementing the dynamic protection measures, the visibility change trend is monitored simultaneously; When the real-time working current drops back to the dynamic overload protection threshold and the visibility parameters recover to a safe range, the working state of the LED signal light group is gradually restored according to the preset recovery curve.

7. The LED control method according to claim 4, characterized in that: The method also includes the steps of: Real-time monitoring of the remaining time of the protection window during the process of extending the dimming window; When it is detected that the remaining time of the protection window is lower than the preset minimum protection threshold, the window compensation control is started: Obtain current visibility decrease rate and circuit temperature parameters; Based on the composite relationship between visibility decrease rate and temperature parameters, the maximum allowable dimming window extension is calculated; In the next dimming cycle, reallocate the duration of each functional window according to the maximum dimming window extension amplitude; When the protection window time of three consecutive dimming cycles is lower than the minimum protection threshold, an independent protection period is forcibly inserted.

8. An LED control device for controlling an LED signal light assembly in the case of reduced visibility, characterized in that: The device includes: A parameter acquisition module, used to obtain the real-time working parameters of the LED signal light group when the visibility is lower than the threshold; A timing division module, used to divide the dimming cycle into a dimming window, a detection window and a protection window according to the real-time working parameters; A dimming control module, used to perform dynamic dimming operations and suppress overload protection triggering within the dimming window; A fault detection module, used to perform fault scanning within the detection window; A threshold calculation module, used to calculate a dynamic overload protection threshold within the protection window according to data of the dimming window and the detection window; The protection execution module is used to execute overload protection of the LED signal light group according to the dynamic overload protection threshold.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 7 are executed.

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

Citation Information

Patent Citations

  • Control of environment adjusting device

    CN101801143A

  • Dimmer and lighting system using the same

    JP2011210620A

  • Two-wire dimmer with power supply and load protection circuit in the event of switch failure

    SG137131A1

  • Overvoltage detection in a dimmer

    US9992849B1

  • Apparatus for providing overload protection for a circuit

    WO2002043087A2