Dual-drive portable LED emergency lighting method and device
By collecting the market power signal in real time and adjusting the power signal dynamically according to the LED parameters, the problem of unstable voltage and switching delay in portable LED emergency lighting during power switching is solved, and a stable and reliable lighting output is achieved.
Patent Information
- Application Number
- CN202510334425.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2045-03-20
AI Technical Summary
Dual-drive portable LED emergency lighting has voltage instability and switching delay during power switching, resulting in brightness fluctuations and low switching effect.
The preset mains detection circuit collects the mains signal in real time, determines whether an abnormal response is triggered, and determines the current compensation parameters and voltage control strategies based on the LED's battery parameters and mains signal, and dynamically adjusts the power signal to ensure a smooth transition to the LED's lighting state when the mains are abnormal.
It realizes stable lighting output when the mains are abnormal, reduces brightness fluctuations, improves the effect and efficiency of emergency lighting, and ensures the stability and reliability of lighting equipment in various situations.
Smart Images

Figure CN120186841A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of LED lighting, and more particularly, to a dual-drive portable LED emergency lighting method and device. Background Art
[0002] The dual-drive portable light-emitting diode (LED) emergency lighting method is mainly applied to lighting scenarios that require high reliability and portability, such as in homes, outdoors, offices, and factories. Especially in situations where the power supply is unstable or sudden, power failures or emergencies may cause lighting interruptions. The dual-drive portable LED emergency lighting device can be used as backup lighting to provide necessary lighting in emergency situations and ensure the normal progress of life, production, and commercial activities.
[0003] The dual-drive portable LED emergency lighting method requires a more reliable drive circuit to ensure that it can quickly switch to the backup power supply and maintain a stable lighting output when the power is interrupted or the voltage fluctuates. However, in the prior art, during the power supply switching process, the voltage is unstable, and the switching delay is likely to cause visible brightness fluctuations to the naked eye, resulting in a low switching effect. Summary of the Invention
[0004] This application provides a dual-drive portable LED emergency lighting method and device, which can at least to some extent solve the problem of unstable effect during the power supply switching process of dual-drive LED emergency lighting.
[0005] Other features and advantages of this application will become apparent through the following detailed description, or be learned in part through the practice of this application.
[0006] According to one aspect of this application, a dual-drive portable LED emergency lighting method is provided, including: collecting mains power signals in real time through a preset mains power detection circuit; determining whether to trigger an abnormal response according to the mains power signals and a set threshold; when an abnormal response is triggered, determining current compensation parameters based on the battery parameters of the LED and the mains power signals, determining a voltage control strategy based on the gate voltage of the LED drive circuit, and determining a power signal through the current compensation parameters and the voltage control strategy; determining the current distribution ratio of the mains power and the battery during the main and backup dual-drive process and the real-time impedance of the LED based on the impedance information of the LED, and controlling the mains power and the battery to output the power signal according to the current distribution ratio and the real-time impedance; if the mains power is detected to be restored through the mains power detection circuit, switching back to the mains power mode.
[0007] In this application, based on the foregoing solution, the real-time acquisition of the mains power signal through the preset mains power detection circuit includes: collecting the mains power signal based on a set frequency through the preset mains power detection circuit; and filtering the mains power signal through a sliding window.
[0008] In this application, based on the foregoing solution, the determination of whether to trigger an abnormal response according to the mains power signal and a set threshold includes: determining mains power parameters based on the real-time mains power voltage corresponding to the acquired mains power signal; comparing the mains power parameters with a preset first threshold, and if the mains power parameters are greater than the first threshold, triggering an abnormal response.
[0009] In this application, based on the foregoing solution, when an abnormal response is triggered, determining a current compensation parameter based on the battery parameters of the LED and the mains power signal, determining a voltage control strategy based on the gate voltage of the LED driving circuit, and determining a power signal through the current compensation parameter and the voltage control strategy includes: when an abnormal response is triggered, obtaining the current battery parameters of the LED, where the battery parameters include battery current; calculating a current compensation parameter based on the battery current and the mains power current corresponding to the mains power signal; determining a voltage control strategy based on the maximum value of the gate voltage of the LED driving circuit; and determining a power signal based on the current compensation parameter and the voltage control strategy.
[0010] In this application, based on the foregoing solution, determining the current distribution ratio between the mains power and the battery and the real-time impedance of the LED during the main-backup dual-drive process based on the impedance information of the LED, and controlling the mains power and the battery to output the power signal according to the current distribution ratio and the real-time impedance includes: determining the current distribution ratio between the mains power and the battery during the main-backup dual-drive process based on the equivalent output impedance of the mains power and battery drive; predicting the real-time impedance of the LED based on the initial impedance and initial load current of the LED; and dynamically adjusting the power signal output by the mains power and the battery according to the real-time impedance and the current distribution ratio.
[0011] In this application, based on the foregoing solution, if the mains power is detected to have been restored through the mains power detection circuit, switching back to the mains power mode includes: if the mains power is detected to have been restored through the mains power detection circuit, determining whether the mains power signal is stable through the hysteresis voltage of the hysteresis comparator; and if the mains power signal is stable, switching back to the mains power mode.
[0012] In the present application, based on the foregoing solution, if it is detected by the mains power detection circuit that the mains power is restored, it is determined whether the mains power signal is stable by means of the hysteresis voltage of the hysteresis comparator, including: if it is detected by the mains power detection circuit that the mains power is restored, a low-pass filter is used to eliminate high-frequency noise in the mains power signal to generate a smoothed signal; when the real-time voltage in the smoothed signal enters the threshold range corresponding to the hysteresis voltage, a timer is started; when the cumulative time of the timer reaches the set duration and the real-time voltage does not exceed the threshold range, it is determined that the mains power signal is stable.
[0013] According to one aspect of the present application, there is provided a dual-drive portable LED emergency lighting device, including:
[0014] An acquisition unit for real-time acquisition of a mains power signal through a preset mains power detection circuit;
[0015] A judgment unit for judging whether to trigger an abnormal response according to the mains power signal and a set threshold;
[0016] A signal unit for, when an abnormal response is triggered, determining a current compensation parameter based on the battery parameters of the LED and the mains power signal, determining a voltage control strategy based on the gate voltage of the LED drive circuit, and determining a power signal through the current compensation parameter and the voltage control strategy;
[0017] A regulation unit for determining the current distribution ratio between the mains power and the battery and the real-time impedance of the LED during the main and standby dual-drive process based on the impedance information of the LED, and controlling the mains power and the battery to output the power signal according to the current distribution ratio and the real-time impedance;
[0018] A switching unit for switching back to the mains power mode if it is detected by the mains power detection circuit that the mains power is restored.
[0019] According to one aspect of the present application, there is provided a computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, the dual-drive portable LED emergency lighting method as described in the above embodiment is implemented.
[0020] According to one aspect of the present application, there is provided an electronic device, including: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the dual-drive portable LED emergency lighting method as described in the above embodiment.
[0021] According to one aspect of the present application, there is provided a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the dual-drive portable LED emergency lighting method provided in the above various optional implementation manners.
[0022] In the technical solution of the present application, the mains power signal is collected in real time through a preset mains power detection circuit; according to the mains power signal and a set threshold value, it is judged whether to trigger an abnormal response; when an abnormal response is triggered, a current compensation parameter is determined based on the battery parameters of the LED and the mains power signal, a voltage control strategy is determined based on the gate voltage of the LED drive circuit, and a power signal is determined through the current compensation parameter and the voltage control strategy; based on the impedance information of the LED, the current distribution ratio of the mains power and the battery during the main and standby dual-drive process and the real-time impedance of the LED are determined, and the mains power and the battery are controlled to output the power signal according to the current distribution ratio and the real-time impedance; if the mains power is detected to be restored through the mains power detection circuit, the mains power mode is switched back. The real-time monitoring of the mains power state is realized. Through the rapid triggering of the abnormal response and the dynamic adjustment of the power signal, the lighting state of the LED can be smoothly transitioned when the mains power undergoes an abnormal jump, thereby ensuring the stability and reliability of the lighting device in various situations and improving the effect and efficiency of emergency lighting.
[0023] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. Description of the Drawings
[0024] The drawings here are incorporated into the specification and form a part of this specification, showing the embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0025] Figure 1 Schematically shows the flowchart of the dual-drive portable LED emergency lighting method in an embodiment of the present application.
[0026] Figure 2 Schematically shows the flowchart of determining the power signal in an embodiment of the present application.
[0027] Figure 3 Schematically shows the schematic diagram of the dual-drive portable LED emergency lighting device in an embodiment of the present application.
[0028] Figure 4 The structural schematic diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application is shown. Detailed implementation manners
[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art.
[0030] In addition, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the present application. However, those skilled in the art will realize that the technical solutions of the present application can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the present application.
[0031] The block diagrams shown in the drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0032] The flowcharts shown in the drawings are only illustrative and not necessarily include all the content and operations / steps, nor are they necessarily executed in the described order. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to the actual situation.
[0033] The implementation details of the technical solutions of the present application are elaborated in detail below:
[0034] Figure 1 The flowchart of a dual-drive portable LED emergency lighting method according to an embodiment of the present application is shown. Referring to Figure 1 As shown, the dual-drive portable LED emergency lighting method at least includes steps S110 to S150, which are introduced in detail as follows:
[0035] In step S110, the mains power signal is collected in real time through a preset mains power detection circuit.
[0036] In this embodiment, the AC parameters (such as voltage, current, etc.) of the mains power signal are captured and sampled in real time through the mains power detection circuit integrated in the hardware at regular intervals or continuously. These sampled mains power signals are then converted into digital signals and preliminarily processed and analyzed by a microprocessor or a data processing unit to monitor the state of the mains power in real time. This process ensures the real-time, accuracy, and continuity of the mains power signal, providing a reliable data basis for subsequent abnormal determination, power management strategy adjustment, and triggering of the emergency response mechanism.
[0037] In an embodiment of the present application, the mains power signal is collected in real time through a preset mains power detection circuit, including:
[0038] Collecting the mains power signal based on a set frequency through the preset mains power detection circuit;
[0039] Filtering the mains power signal through a sliding window.
[0040] In this embodiment, in order to accurately and efficiently collect the state of the mains power signal, a preset mains power detection circuit is provided. The mains power detection circuit includes components such as a voltage sensor, an amplifier, and an analog-to-digital converter (ADC). Among them, the voltage sensor is responsible for converting the high voltage of the mains power into a low voltage signal for subsequent processing. The amplifier is used to amplify this low voltage signal to a level that the ADC can process. Finally, the ADC converts the analog voltage signal into a digital signal for digital signal processing. At the same time, according to the standard frequency of the mains power, the sampling frequency of the ADC is set, and the set frequency in this embodiment can be 1 kHz.
[0041] In order to remove the noise and interference in the mains power signal and improve the accuracy and stability of the signal. Move a window of a fixed size on the mains power signal and perform statistical operations such as averaging and median on the data within the window to smooth the signal and remove the noise.
[0042] The above process of collecting the mains power signal in real time through the mains power detection circuit can quickly capture the fluctuations or interruptions of the mains power. Then, a sliding window is used to filter the mains power signal, which can effectively remove the noise and interference in the mains power signal and improve the signal quality. This helps to more accurately judge the state of the mains power, avoid unnecessary triggering of the emergency response due to misjudgment, and at the same time ensure the accuracy of subsequent current compensation and voltage control strategies.
[0043] In step S120, according to the mains power signal and the set threshold, it is judged whether to trigger an abnormal response.
[0044] In this embodiment, a real-time mains power signal provided by the mains power detection circuit is received, and the actual measured values of the voltage and current of the mains power signal are determined. Subsequently, these actual measured values are compared with a preset threshold, where the preset threshold is set according to the normal operating range and safety standards of the mains power. If the actual measured values exceed the range of the preset threshold, such as too low or too high voltage, abnormal current fluctuations, etc., it will be automatically determined that the mains power is abnormal, and a preset abnormal response mechanism will be triggered immediately. This process is automated and real-time, ensuring that the system can respond quickly when detecting mains power abnormalities, thus guaranteeing the reliable operation of the emergency lighting equipment.
[0045] In an embodiment of the present application, judging whether to trigger an abnormal response according to the mains power signal and the set threshold includes:
[0046] Based on the real-time mains power voltage corresponding to the obtained mains power signal, mains power parameters are determined;
[0047] The mains power parameters are compared with a preset first threshold. If the mains power parameters are greater than the first threshold, an abnormal response is triggered.
[0048] In an implementation of the present application, based on the real-time mains power voltage in the obtained mains power signal, the mains power parameters are determined as:
[0049]
[0050] Wherein, T represents the power frequency period during detection, t represents the end time of this sampling, and V AC (τ) represents the real-time mains power voltage, and τ represents the current moment.
[0051] In this solution, the first threshold is set to measure the normal situation of the mains power parameters. When the calculated mains power parameters are greater than the first threshold, it is determined that the mains power is abnormal, and an abnormal response is triggered.
[0052] Furthermore, in this embodiment, after judging the abnormality based on the mains power parameters and before triggering the abnormal response, a judgment can be made again. Specifically, the mains power signal and battery parameters are obtained, the mains power quality and battery health are evaluated, and then a dynamic weighted calculation is performed to generate a comprehensive weight. When the comprehensive weight is less than the set second threshold, an abnormal response is triggered. This process combines the battery state on the basis of evaluating the mains power state, improving the reliability of the abnormality judgment.
[0053] It should be noted that in this embodiment, the power supply can include at least two types, namely mains power and battery. The mains power signal represents the current signal under the mains power supply, and the mains power parameters represent the attribute values used to evaluate the current state of the mains power signal.
[0054] In the above process, the abnormal determination is made based on the comparison result between the mains parameters calculated from the real-time mains voltage and the first threshold, which can quantify the standard of mains abnormality and avoid the uncertainty of subjective judgment. Such precise determination conditions ensure the accuracy and timeliness of the emergency response, and also reduce the possibility of false alarms and missed alarms.
[0055] In step S130, when an abnormal response is triggered, the current compensation parameter is determined based on the battery parameters of the LED and the mains signal, the voltage control strategy is determined based on the gate voltage of the LED driving circuit, and the power signal is determined through the current compensation parameter and the voltage control strategy.
[0056] In this embodiment, when an abnormal response is triggered, comprehensive analysis is performed based on the parameters of the current battery (such as remaining power, battery voltage, and internal resistance, etc.) and the real-time data of the mains signal (such as voltage fluctuation and current change, etc.). The aim is to determine appropriate current compensation parameters to make up for the possible current shortage caused by unstable or interrupted mains, and at the same time formulate a suitable voltage control strategy to ensure that the LED lighting device can work stably under different power supply conditions. Based on these calculation results, the output of the power management module can be dynamically adjusted to generate and output a power signal that meets the requirements of LED lighting, thereby ensuring continuous and stable power supply for the emergency lighting device.
[0057] As Figure 2 shown, in an embodiment of the present application, when an abnormal response is triggered, the current compensation parameter is determined based on the battery parameters of the LED and the mains signal, the voltage control strategy is determined based on the gate voltage of the LED driving circuit, and the power signal is determined through the current compensation parameter and the voltage control strategy, including:
[0058] S210, when an abnormal response is triggered, obtain the current battery parameters of the LED, and the battery parameters include battery current;
[0059] S220, calculate the current compensation parameter based on the battery current and the mains current corresponding to the mains signal;
[0060] S230, determine the voltage control strategy based on the maximum value of the gate voltage of the LED driving circuit;
[0061] S240, determine the power signal based on the current compensation parameter and the voltage control strategy.
[0062] In an embodiment of the present application, when an abnormal response is triggered, first obtain the current battery parameters of the LED, such as battery current. Then, based on the battery current and the mains current corresponding to the mains signal, calculate the current compensation parameter Δδ as:
[0063]
[0064] Among them, π represents the circumference ratio, arctan(·) represents the arctangent function, and I BAT (t) represents the battery current, and I AC (t) represents the mains current of the mains signal.
[0065] Exemplarily, if the mains current I AC (t) = 0.35 A and the battery current I BAT (t) = 0.35 A, then Δδ = 45°.
[0066] Optionally, a complementary pulse width modulation (PWM) signal can be generated by a timer to ensure continuous output current phase at the moment of switching.
[0067] After that, based on the maximum value of the gate voltage of the LED driving circuit, the voltage control strategy is determined as:
[0068]
[0069] Among them, V GS (t) represents the gate voltage, and V GS_max represents the maximum value of the gate voltage; t represents the time counted from the start of power supply switching; t rise represents the time when the gate voltage rises from 0 to V GS_max .
[0070] Specifically, according to the above calculation method, the voltage control strategy of this embodiment is obtained. When 0 ≤ t ≤ t rise , the gate voltage is determined as As the counting time progresses, when t > t rise , the gate voltage is determined as V GS_max .
[0071] After determining the current compensation parameter and the voltage control strategy, a power signal is determined based on the current compensation parameter and the voltage control strategy. In the above manner, the conduction slope of the circuit signal can be controlled, and the current impact can be suppressed by precisely adjusting the rising rate of the MOSFET gate voltage, restricting the current impact within ΔI ≤ 0.1 A, making the current impact performance better than the fluctuation amplitude of traditional mechanical relays.
[0072] In the above process, when triggering an abnormal response, the current compensation parameter and the voltage control strategy are determined according to the battery parameters and the mains signal, which can dynamically adjust the power signal to ensure that the LED can still work stably when the mains is unstable or interrupted. This adaptive adjustment mechanism improves the stability and reliability of the lighting device, and also extends the service life of the battery.
[0073] In step S140, based on the impedance information of the LED, determine the current distribution ratio between the mains power and the battery during the primary and backup dual-drive process and the real-time impedance of the LED, and control the mains power and the battery to output the power signal according to the current distribution ratio and the real-time impedance.
[0074] In this embodiment, when it is necessary to determine the current distribution ratio between the mains power and the battery during the primary and backup dual-drive process, first read and analyze the impedance information of the LED lighting device. Based on this impedance information, calculate the current load ratios that the mains power and the battery should respectively bear while ensuring the lighting effect. Subsequently, according to this current distribution ratio, intelligently adjust the power management strategies of the mains power input end and the battery output end to ensure that the two can work together and output the power signal according to the predetermined ratio, thereby realizing the optimal utilization of energy while ensuring the lighting quality.
[0075] In an embodiment of the present application, based on the impedance information of the LED, determining the current distribution ratio between the mains power and the battery during the primary and backup dual-drive process and the real-time impedance of the LED, and controlling the mains power and the battery to output the power signal according to the current distribution ratio and the real-time impedance includes:
[0076] Based on the equivalent output impedance of the mains power and battery drive, determine the current distribution ratio between the mains power and the battery during the primary and backup dual-drive process;
[0077] Based on the initial impedance and initial load current of the LED, predict the real-time impedance of the LED;
[0078] Dynamically adjust the power signals output by the mains power and the battery according to the real-time impedance and the current distribution ratio.
[0079] In an embodiment of the present application, in practical applications, the hot-state impedance of the LED decreases as the temperature of the transistor nodes inside the semiconductor chip increases. Therefore, it is necessary to predict the impedance change in real time to optimize the current distribution. In this embodiment, based on the real-time change of the LED impedance information, the current distribution ratios between the mains power and the battery during the primary and backup dual-drive process are respectively:
[0080]
[0081] where, R AC and R BAT are respectively the equivalent output impedances of the mains power and battery drive, A represents the current distribution ratio of the mains power, and B represents the current distribution ratio of the battery.
[0082] After calculating the current distribution ratio, predict the real-time impedance R LED (k|k - 1) as:
[0083] R LED(k|k - 1)=A·R LED (k - 1)+B·I load (k - 1)+ω(k)
[0084] Wherein, R LED (k - 1) represents the initial impedance of the LED, I load (k - 1) represents the initial load current, ω(k) is the noise during the circuit operation, and k represents time.
[0085] After predicting the real-time impedance, it is judged whether the real-time impedance exceeds the set threshold. If so, the main and backup drive output power signals are dynamically adjusted based on the current distribution ratio, where the main and backup drives are the mains power and the battery respectively.
[0086] Exemplarily, in the actual application scenario, assume the initial impedance R LED (k - 1)=12Ω, and the initial load current I load (k - 1)=0.35A. When the junction temperature rises to 60°C, the predicted value R LED (k|k - 1) drops to 10.5Ω, exceeding the set threshold. Then at this time, the mains power and battery output power signals are dynamically adjusted based on the current distribution ratio.
[0087] In this embodiment, it further includes compensating the power signal based on the mains power signal and the battery parameters, specifically including:
[0088] Constructing an equivalent virtual capacitance model based on the mains power signal and the battery parameters, and determining the capacitance parameters of the equivalent virtual capacitance model;
[0089] When it is detected that the capacitance parameters meet the set conditions, determining the duty ratio of the voltage converter based on the capacitance parameters, and regulating the output voltage based on the duty ratio.
[0090] In an embodiment of the present application, during the dual-drive switching process, the voltage difference between the mains power and battery drive channels will cause transient energy shock, such as the voltage drop between the 220V DC of the mains power and the 48V DC of the battery. To solve this problem, this embodiment constructs an equivalent virtual capacitance model and determines the capacitance parameter C of the equivalent virtual capacitance model eq as:
[0091]
[0092] Wherein, I load is the LED load current. For example, the load current corresponding to a 16W LED is generally 0.35A; t switch is the switching time window; V AC (t), V BAT(t) represents the voltage values of the mains signal and the battery at time t respectively. When it is detected that the capacitance parameter meets the set condition, that is, the capacitance parameter is equal to the set value, the duty cycle of the voltage converter is dynamically adjusted, and the output voltage is regulated based on this duty cycle by the controller.
[0093] In the above process, based on the impedance information of the LED, the current distribution ratio between the mains and the battery during the main-backup dual-drive process is dynamically adjusted, and the power output of the power supply can be adjusted in real time according to the actual load condition of the LED, ensuring the stability and consistency of the lighting effect.
[0094] In step S150, if the mains is detected to be restored by the mains detection circuit, the mains mode is switched back.
[0095] In the embodiment of the present application, if the mains detection circuit detects that the mains has returned to normal through its high-precision sensor, that is, parameters such as voltage and current are stable within the preset safe and efficient operating range, the system will determine that the current conditions meet all the requirements for switching back to the mains mode. Subsequently, the switching program is executed, gradually reducing the power output of the battery while gradually increasing the power supply of the mains, ensuring that this conversion process is smooth and seamless. Finally, when the mains completely takes over the power supply and the system confirms its stability, the computer will officially switch back to the mains mode and continue to monitor the mains status to ensure stable and reliable power support for the LED lighting device in any situation.
[0096] Specifically, in an embodiment of the present application, if the mains is detected to be restored by the mains detection circuit, switching back to the mains mode includes:
[0097] If the mains is detected to be restored by the mains detection circuit, the hysteresis voltage of the hysteresis comparator is used to determine whether the mains signal is stable;
[0098] If the mains signal is stable, switch back to the mains mode.
[0099] Specifically, in an embodiment of the present application, if the mains is detected to be restored by the mains detection circuit, using the hysteresis voltage of the hysteresis comparator to determine whether the mains signal is stable includes:
[0100] If the mains is detected to be restored by the mains detection circuit, a low-pass filter is used to eliminate the high-frequency noise in the mains signal and generate a smooth signal;
[0101] When the real-time voltage in the smooth signal enters the threshold range corresponding to the hysteresis voltage, start the timer;
[0102] When the cumulative time of the timer reaches the set duration and the real-time voltage does not exceed the threshold range, it is determined that the mains signal is stable.
[0103] In an embodiment of the present application, if the mains power is detected to be restored by the mains power detection circuit, there may be instantaneous voltage fluctuations or noise interference in its voltage, and direct switching may cause equipment damage or abnormal operation. The mains voltage is sampled with a high-frequency signal (such as 1 kHz), and high-frequency noise is eliminated through a low-pass filter to generate a smooth signal.
[0104] A hysteresis voltage V is introduced through a hysteresis comparator H , and a threshold range is generated based on the hysteresis voltage: {220 - V H , 220 + V H}}. Only when the mains voltage continuously remains within this threshold range and the maintenance time exceeds a preset value (such as 100 ms), the hysteresis comparator will determine that the current mains power state is stable, trigger the switching action, and then switch back to the mains power mode.
[0105] In the above process, the hysteresis voltage of the hysteresis comparator is used to judge whether the mains power signal is stable, which can effectively avoid frequent switching caused by short-term fluctuations of the mains power, and improve the stability and service life of the lighting equipment. At the same time, a low-pass filter is used to eliminate high-frequency noise, and a timer is used to judge the stable time of the mains power, further enhancing the accuracy and reliability of the judgment.
[0106] Furthermore, after confirming the stability of the mains power, switching back to the mains power mode can make full use of the stability and economy of the mains power, reduce battery consumption, and extend the emergency lighting time. This intelligent switching mechanism ensures that the lighting equipment can operate efficiently when the mains power is normal, and at the same time provides a strong guarantee for emergency lighting in case of emergencies.
[0107] In the technical solution of the present application, the mains power signal is collected in real time through a preset mains power detection circuit; according to the mains power signal and a set threshold, it is judged whether to trigger an abnormal response; when an abnormal response is triggered, current compensation parameters are determined based on the battery parameters of the LED and the mains power signal, a voltage control strategy is determined based on the gate voltage of the LED drive circuit, and a power signal is determined through the current compensation parameters and the voltage control strategy; based on the impedance information of the LED, the current distribution ratio of the mains power and the battery during the main and standby dual-drive process and the real-time impedance of the LED are determined, and the mains power and the battery are controlled to output the power signal according to the current distribution ratio and the real-time impedance; if the mains power is detected to be restored by the mains power detection circuit, then switch back to the mains power mode. It realizes the real-time monitoring of the mains power state, the rapid triggering of abnormal responses, the dynamic adjustment of power signals, and the stable judgment after the restoration of the mains power, thereby ensuring the stability and reliability of the lighting equipment in various situations and improving the effect and efficiency of emergency lighting.
[0108] The following introduces the device embodiments of the present application, which can be used to execute the dual-drive portable LED emergency lighting method in the above embodiments of the present application. It can be understood that the device can be a computer program (including program code) running in a computer device. For example, the device is an application software; the device can be used to execute the corresponding steps in the method provided by the embodiments of the present application. For the details not disclosed in the device embodiments of the present application, please refer to the embodiments of the above dual-drive portable LED emergency lighting method of the present application.
[0109] Figure 3 The block diagram of a dual-drive portable LED emergency lighting device according to an embodiment of the present application is shown.
[0110] Referring to Figure 3 As shown, a dual-drive portable LED emergency lighting device according to an embodiment of the present application includes:
[0111] An acquisition unit 310, configured to collect mains power signals in real time through a preset mains power detection circuit;
[0112] A judgment unit 320, configured to judge whether to trigger an abnormal response according to the mains power signal and a set threshold;
[0113] A signal unit 330, configured to, when an abnormal response is triggered, determine a current compensation parameter based on the battery parameters of the LED and the mains power signal, determine a voltage control strategy based on the gate voltage of the LED drive circuit, and determine a power signal through the current compensation parameter and the voltage control strategy;
[0114] A regulation unit 340, configured to determine the current distribution ratio between the mains power and the battery and the real-time impedance of the LED during the main and standby dual-drive process based on the impedance information of the LED, and control the mains power and the battery to output the power signal according to the current distribution ratio and the real-time impedance;
[0115] A switching unit 350, configured to switch back to the mains power mode if the mains power is detected to be restored through the mains power detection circuit.
[0116] In the present application, based on the foregoing solution, the real-time collection of mains power signals through a preset mains power detection circuit includes: collecting mains power signals based on a set frequency through a preset mains power detection circuit; performing filtering processing on the mains power signals through a sliding window.
[0117] In the present application, based on the foregoing solution, the judgment of whether to trigger an abnormal response according to the mains power signal and a set threshold includes: determining mains power parameters based on the real-time mains power voltage corresponding to the obtained mains power signal; comparing the mains power parameters with a preset first threshold, and if the mains power parameters are greater than the first threshold, triggering an abnormal response.
[0118] In this application, based on the foregoing solution, when an abnormal response is triggered, the current compensation parameter is determined based on the battery parameters of the LED and the mains signal, the voltage control strategy is determined based on the gate voltage of the LED driving circuit, and the power supply signal is determined by the current compensation parameter and the voltage control strategy, including: when an abnormal response is triggered, obtaining the current battery parameters of the LED, where the battery parameters include the battery current; calculating the current compensation parameter based on the battery current and the mains current corresponding to the mains signal; determining the voltage control strategy based on the maximum value of the gate voltage of the LED driving circuit; and determining the power supply signal based on the current compensation parameter and the voltage control strategy.
[0119] In this application, based on the foregoing solution, based on the impedance information of the LED, determining the current distribution ratio between the mains and the battery during the primary and secondary dual-drive process and the real-time impedance of the LED, and controlling the mains and the battery to output the power supply signal according to the current distribution ratio and the real-time impedance, including: determining the current distribution ratio between the mains and the battery during the primary and secondary dual-drive process based on the equivalent output impedance of the mains and battery drives; predicting the real-time impedance of the LED based on the initial impedance and the initial load current of the LED; and dynamically adjusting the power supply signals output by the mains and the battery according to the real-time impedance and the current distribution ratio.
[0120] In this application, based on the foregoing solution, if the mains is detected to have recovered by the mains detection circuit, then switching back to the mains mode, including: if the mains is detected to have recovered by the mains detection circuit, then judging whether the mains signal is stable through the hysteresis voltage of the hysteresis comparator; if the mains signal is stable, then switching back to the mains mode.
[0121] In this application, based on the foregoing solution, if the mains is detected to have recovered by the mains detection circuit, then judging whether the mains signal is stable through the hysteresis voltage of the hysteresis comparator, including: if the mains is detected to have recovered by the mains detection circuit, then using a low-pass filter to eliminate the high-frequency noise in the mains signal to generate a smoothed signal; when the real-time voltage in the smoothed signal enters the threshold range corresponding to the hysteresis voltage, starting a timer; and when the cumulative time of the timer reaches the set duration and the real-time voltage does not exceed the threshold range, determining that the mains signal is stable.
[0122] In the technical solution of this application, the mains power signal is collected in real time through a preset mains power detection circuit; according to the mains power signal and a set threshold value, it is judged whether to trigger an abnormal response; when an abnormal response is triggered, the current compensation parameter is determined based on the battery parameters of the LED and the mains power signal, the voltage control strategy is determined based on the gate voltage of the LED driving circuit, and the power signal is determined through the current compensation parameter and the voltage control strategy; based on the impedance information of the LED, the current distribution ratio of the mains power and the battery during the main and standby dual-drive process and the real-time impedance of the LED are determined, and the mains power and the battery are controlled to output the power signal according to the current distribution ratio and the real-time impedance; if the mains power is detected to be restored through the mains power detection circuit, the mains power mode is switched back. The real-time monitoring of the mains power state, the rapid triggering of abnormal responses, the dynamic adjustment of the power signal, and the stable judgment after the mains power is restored are realized, thereby ensuring the stability and reliability of the lighting device in various situations and improving the effect and efficiency of emergency lighting.
[0123] Figure 4 FIG. shows a schematic structural diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application.
[0124] It should be noted that the computer system of the electronic device in this embodiment is only an example and should not bring any limitation to the functions and usage scopes of the embodiments of the present application.
[0125] In this embodiment, the computer system includes a central processing unit 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory 402 or the program loaded from the storage part 408 into the random access memory 403, such as performing the dual-drive portable LED emergency lighting method described in the above embodiments. In the random access memory 403, various programs and data required for system operation are also stored. The central processing unit 401, the read-only memory 402, and the random access memory 403 are connected to each other through a bus 404. The input / output interface 405 is also connected to the bus 404.
[0126] The following components are connected to the input / output interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the input / output interface 405 as required. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as required so that a computer program read out therefrom is installed into the storage section 408 as required.
[0127] Specifically, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 409, and / or installed from the removable medium 411. When the computer program is executed by the central processing unit 401, various functions defined in the system of the present application are executed.
[0128] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0129] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. Among them, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code, and the above module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0130] The units involved in the embodiments of the present application can be implemented in software or in hardware, and the described units can also be provided in a processor. Among them, the names of these units do not constitute a limitation on the units themselves in some cases.
[0131] According to one aspect of the present application, there is provided a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above various alternative implementation manners.
[0132] As another aspect, the present application further provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or may exist alone without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the one or more programs are executed by an electronic device, the electronic device implements the dual-drive portable LED emergency lighting method described in the above embodiments.
[0133] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0134] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented in software or in a manner combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (such as a personal computer, a server, a touch terminal, or a network device, etc.) to execute the methods according to the embodiments of the present application.
[0135] After considering the specification and practicing the disclosed embodiments herein, those skilled in the art will readily conceive of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include common general knowledge or conventional technical means in the technical field not disclosed in the present application.
[0136] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.
Claims
1. A dual-drive portable LED emergency lighting method, characterized in that: include: The mains power signal is collected in real time through the preset mains power detection circuit; Determining whether to trigger an abnormal response based on the mains power signal and a set threshold; When an abnormal response is triggered, a current compensation parameter is determined based on the battery parameter of the LED and the mains signal, a voltage control strategy is determined based on the gate voltage of the LED drive circuit, and a power supply signal is determined by the current compensation parameter and the voltage control strategy; Based on the impedance information of the LED, determine the current distribution ratio of the mains and the battery in the main and standby dual driving process and the real-time impedance of the LED, and control the mains and the battery to output the power signal according to the current distribution ratio and the real-time impedance; If the mains power detection circuit detects that the mains power is restored, the mode is switched back to the mains power mode.
2. The dual-driven portable LED emergency lighting method according to claim 1, characterized in that: The preset mains detection circuit collects mains signals in real time, including: The mains signal is collected based on the set frequency through a preset mains detection circuit; The mains power signal is filtered through a sliding window.
3. The dual-drive portable LED emergency lighting method according to claim 1, characterized in that: Determining whether to trigger an abnormal response according to the mains signal and a set threshold value includes: Determine the mains parameters based on the real-time mains voltage corresponding to the acquired mains signal; The mains power parameter is compared with a preset first threshold value, and if the mains power parameter is greater than the first threshold value, an abnormal response is triggered.
4. The dual-driven portable LED emergency lighting method according to claim 1, characterized in that: When an abnormal response is triggered, a current compensation parameter is determined based on the battery parameter of the LED and the mains signal, a voltage control strategy is determined based on the gate voltage of the LED driving circuit, and a power supply signal is determined by the current compensation parameter and the voltage control strategy, including: When an abnormal response is triggered, obtaining current battery parameters of the LED, wherein the battery parameters include battery current; Calculating a current compensation parameter based on the battery current and the mains current corresponding to the mains signal; Determine a voltage control strategy based on a maximum value of a gate voltage of an LED driving circuit; Based on the current compensation parameter and the voltage control strategy, a power signal is determined.
5. The dual-driven portable LED emergency lighting method according to claim 1, characterized in that: Based on the impedance information of the LED, determining the current distribution ratio of the mains power and the battery in the main and standby dual driving process and the real-time impedance of the LED, and controlling the mains power and the battery to output the power signal according to the current distribution ratio and the real-time impedance, including: Based on the equivalent output impedance of the AC power and battery drive, determine the current distribution ratio of the AC power and battery in the main and standby dual drive process; Predicting a real-time impedance of the LED based on an initial impedance and an initial load current of the LED; The AC power and battery output power signals are dynamically adjusted according to the real-time impedance and the current distribution ratio.
6. The dual-driven portable LED emergency lighting method according to claim 1, characterized in that: If the mains power detection circuit detects that the mains power is restored, switching back to the mains power mode includes: If the mains power detection circuit detects that the mains power is restored, the hysteresis voltage of the hysteresis comparator is used to determine whether the mains power signal is stable; If the mains power signal is stable, switch back to the mains power mode.
7. The dual-driven portable LED emergency lighting method according to claim 6, characterized in that: If the mains power detection circuit detects that the mains power is restored, judging whether the mains power signal is stable by using the hysteresis voltage of the hysteresis comparator, including: If the mains power detection circuit detects that the mains power is restored, a low-pass filter is used to eliminate high-frequency noise in the mains power signal to generate a smooth signal; When the real-time voltage in the smoothed signal enters a threshold range corresponding to the hysteresis voltage, starting a timer; When the accumulated time of the timer reaches the set time and the real-time voltage does not exceed the threshold range, it is determined that the mains power signal is stable.
8. A dual-drive portable LED emergency lighting device, characterized in that: include: An acquisition unit, used for collecting mains power signals in real time through a preset mains power detection circuit; A judgment unit, used for judging whether to trigger an abnormal response according to the mains power signal and a set threshold; A signal unit, used for determining a current compensation parameter based on a battery parameter of the LED and the mains signal, determining a voltage control strategy based on a gate voltage of the LED drive circuit, and determining a power supply signal through the current compensation parameter and the voltage control strategy when an abnormal response is triggered; A control unit, for determining the current distribution ratio of the mains power and the battery in the main and standby dual driving process and the real-time impedance of the LED based on the impedance information of the LED, and controlling the mains power and the battery to output the power signal according to the current distribution ratio and the real-time impedance; The switching unit is used to switch back to the mains mode if the mains detection circuit detects that the mains is restored.
9. The dual-driven portable LED emergency lighting device according to claim 8, characterized in that: The preset mains detection circuit collects mains signals in real time, including: The mains signal is collected based on the set frequency through a preset mains detection circuit; The mains power signal is filtered through a sliding window.
10. The dual-driven portable LED emergency lighting device according to claim 8, characterized in that: Determining whether to trigger an abnormal response according to the mains signal and a set threshold value includes: Determine the mains parameters based on the real-time mains voltage corresponding to the acquired mains signal; The mains power parameter is compared with a preset first threshold value, and if the mains power parameter is greater than the first threshold value, an abnormal response is triggered.
Citation Information
Patent Citations
Multi-power supply device of embedded equipment, and intelligent switching method of multi-power supply device
CN104037926A
Uninterrupted emergency lighting system
CN104806955A
Regional network-connected intelligent solar compensation streetlamp system and control system thereof
CN105744674A
Composite power supply with emergency power supply and active filter function
CN106159951A
Emergency power supply system with uninterrupted switchover output
CN107124033A