Alarm method, controller, energy storage system and storage medium for energy storage system

By acquiring and calibrating the gas detection values ​​of the detector in the energy storage system, determining the zero point value, and making relative value judgments, the problem of decreased detection accuracy caused by gas interference within the detector package is solved, and accurate alarm and safety assurance for the energy storage system are achieved.

CN122245050APending Publication Date: 2026-06-19LIGOO (SHAN DONG) NEW ENERGY TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
LIGOO (SHAN DONG) NEW ENERGY TECHNOLOGY CO LTD
Filing Date
2026-02-26
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Gas interference within the detector packages of existing energy storage systems leads to decreased detection accuracy, frequent false alarms and missed alarms, affecting system safety and operating costs, and there is a lack of effective gas interference solutions.

Method used

By deploying detectors in the energy storage system to continuously acquire gas detection values, determine the zero-point value and perform calibration, and use the zero-point value to calibrate subsequent detection values ​​to obtain a relative value, alarm judgment is made based on the relative value, thus eliminating gas environment interference and improving detection accuracy.

🎯Benefits of technology

It enables accurate and reliable alarms for energy storage systems, reduces the frequency of false alarms, reduces maintenance workload, and ensures the safe and stable operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122245050A_ABST
    Figure CN122245050A_ABST
Patent Text Reader

Abstract

This invention discloses an alarm method, controller, energy storage system, and storage medium for energy storage systems, relating to the field of energy storage system technology. A detector is deployed at the target detection point of the energy storage system. The alarm method includes the following steps: continuously acquiring gas detection values ​​from the detector; when n gas detection values ​​satisfying the target conditions are acquired, determining a zero-point value based on the n gas detection values, where n is a positive integer; calibrating subsequent gas detection values ​​using the zero-point value to obtain a relative value; and making an alarm judgment based on the relative value. Therefore, by online self-calibrating the zero-point value and calibrating subsequent gas detection values, interference from the gas environment can be eliminated, improving the detector's detection accuracy and achieving accurate and reliable alarms for safety risks in the energy storage system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of energy storage system technology, and in particular to an alarm method, controller, energy storage system and storage medium for energy storage systems. Background Technology

[0002] To monitor the real-time operating status of energy storage systems and provide timely warnings of potential risks such as thermal runaway, electrolyte leakage, and insulation failure, current industrial and commercial energy storage systems are generally equipped with multiple types of detectors, such as smoke detectors, combustible gas detectors, toxic gas detectors (for electrolyte decomposition products), and temperature sensors. These detectors are usually integrated into independent detector packages, forming modular monitoring units. As the core installation and protection carrier for the detectors, the detector package must simultaneously meet the requirements of dustproof, waterproof, electromagnetic interference resistance, and heat dissipation. Its internal space is usually a relatively sealed structure, with air exchange with the external environment only through limited ventilation holes or breathable membranes. However, in practical applications, the gas environment inside the detector package can significantly interfere with the detector's detection accuracy and response speed, leading to safety warning failures or false alarms, seriously threatening the operational safety of the energy storage system. Specifically, this type of interference problem mainly manifests in the following two aspects: Firstly, existing detector pack designs do not consider adaptability to gas interference. Current industry detector packs primarily focus on structural protection, such as using metal or high-strength plastic shells and waterproof sealing rings, but fail to optimize design for the internal gas flow characteristics and the impact of gas composition on the detector. The gas composition inside the detector pack is complex and prone to accumulation. During energy storage system operation, environmental influences and battery modules cause the temperature inside the detector pack to rise through thermal radiation, leading to the thermal expansion of the air inside. The sealed nature of the detector pack makes it difficult for the internal sealing adhesive to evaporate and for dust particles to be effectively expelled. Detectors (such as catalytic combustion gas sensors) may experience discrepancies between the detected gas values ​​and the actual values ​​inside the energy storage chamber due to cross-interference from accumulated volatile gases and dust particles, resulting in distorted detection results.

[0003] Secondly, the safety risks caused by gas interference are difficult to manage effectively. Fault early warning systems for industrial and commercial energy storage systems require extremely high timeliness and accuracy. If detectors issue false alarms due to gas interference within the detector housing, maintenance personnel will have to frequently start and stop the system, increasing operating costs. If false alarms occur, the optimal time to handle faults such as thermal runaway and gas leaks may be missed, potentially leading to safety accidents such as fires and explosions. Currently, there is no standardized solution in the industry for addressing gas interference within detector housings. Maintenance personnel often alleviate the problem by periodically cleaning detectors and replacing sensors, but this cannot fundamentally eliminate the impact of gas interference on detection performance and increases maintenance workload and costs. In summary, as commercial and industrial energy storage systems develop towards higher capacity and higher density, the impact of the gas environment inside the detector package on detection performance is becoming increasingly prominent. Existing technologies have significant shortcomings in terms of detector package structural design, gas interference adaptability, and risk management. There is an urgent need for a technical solution that can effectively solve the problem of gas interference inside the package in order to improve the detection reliability of the detector and ensure the safe and stable operation of commercial and industrial energy storage systems. Summary of the Invention

[0004] The purpose of this invention is to provide an alarm method, controller, energy storage system, and storage medium for energy storage systems, so as to eliminate gas environment interference of detectors, improve the detection accuracy of detectors, and realize accurate and reliable alarm for safety risks of energy storage systems.

[0005] In a first aspect, embodiments of the present invention propose an alarm method for an energy storage system, wherein a detector is arranged at a target detection point of the energy storage system, and the method includes the following steps: continuously acquiring gas detection values ​​from the detector; when it is determined that n gas detection values ​​satisfying the target conditions have been acquired, determining a zero-point value based on the n gas detection values, where n is a positive integer; calibrating the subsequently acquired gas detection values ​​using the zero-point value to obtain a relative value; and making an alarm judgment based on the relative value.

[0006] In some embodiments, determining that n gas detection values ​​satisfying the target conditions have been obtained includes: sequentially calculating a first difference between two adjacent gas detection values; if n-1 consecutive first differences greater than a rate of change threshold are detected, then determining that n gas detection values ​​satisfying the target conditions have been obtained.

[0007] In some embodiments, determining the zero point value based on the n gas detection values ​​includes: taking the first gas detection value among the n gas detection values ​​as the zero point value; or taking the average value of the n gas detection values ​​as the zero point value.

[0008] In some embodiments, the rate of change threshold is negatively correlated with n, and the method further includes: calculating the rate of change characteristics of the n gas detection values; updating n according to the rate of change characteristics for the determination of the next zero point value.

[0009] In some embodiments, calibrating the subsequently acquired gas detection values ​​using the zero-point value to obtain a relative value includes: for each subsequently acquired gas detection value, calculating a second difference between the gas detection value and the zero-point value, and using the second difference as the relative value of the gas detection value.

[0010] In some embodiments, the alarm determination based on the relative value includes: comparing the relative value with a preset alarm threshold; if the relative value is greater than or equal to the preset alarm threshold, then issuing a first alarm message.

[0011] In some embodiments, the method further includes: comparing the gas detection value with the range of the detector; and issuing a second alarm message if the gas detection value is greater than or equal to a preset percentage of the range.

[0012] Secondly, embodiments of the present invention provide a controller, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the alarm method for an energy storage system described in the first aspect of the embodiments.

[0013] Thirdly, embodiments of the present invention provide an energy storage system, comprising: an energy storage chamber; a detector arranged at a target detection point within the energy storage chamber; and a controller as described in the second aspect embodiment, connected to the detector.

[0014] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the alarm method for an energy storage system described in the first aspect embodiment.

[0015] The alarm method, controller, energy storage system, and storage medium for energy storage systems of this invention continuously acquire gas detection values ​​from detectors. When n gas detection values ​​satisfying target conditions are obtained, a zero-point value is determined based on these n values, where n is a positive integer. The zero-point value is used to calibrate subsequent gas detection values ​​to obtain a relative value. An alarm judgment is then made based on this relative value. Therefore, by online self-calibrating the zero-point value and calibrating subsequent gas detection values, interference from the gas environment of the detector is eliminated, improving the detector's detection accuracy and achieving accurate and reliable alarms for safety risks in energy storage systems. Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0016] Figure 1 This is a flowchart of an alarm method for an energy storage system according to an embodiment of the present invention; Figure 2 This is a structural block diagram of a controller according to an embodiment of the present invention; Figure 3 This is a structural block diagram of the energy storage system implemented in this invention. Detailed Implementation

[0017] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0018] The alarm method, controller, energy storage system, and storage medium for an energy storage system according to embodiments of the present invention are described below with reference to the accompanying drawings.

[0019] Figure 1 This is a flowchart of an alarm method for an energy storage system according to an embodiment of the present invention.

[0020] In an embodiment of the present invention, a detector is arranged at the target detection point of the energy storage system, wherein the target detection point may be located inside the energy storage compartment of the energy storage system. An alarm method for the energy storage system may be executed by a controller equipped with the energy storage system, which may be located inside the energy storage compartment.

[0021] Taking a lithium-ion battery energy storage container as an example, the energy storage compartment is the battery compartment, and the target detection point is the area on top of the battery compartment where gas tends to accumulate. The detector is a combustible gas sensor, which can be fixed to the top plate of this area using a mounting bracket. The probe of the gas sensor points vertically downward to directly detect the concentration of combustible gas (mainly hydrogen concentration) released in the early stages of battery thermal runaway. The signal output of the detector is connected to a controller located in the battery compartment via a cable. The analog-to-digital converter in the controller continuously acquires the analog voltage signal output by the detector (i.e., the gas detection value, which is linearly positively correlated with the hydrogen concentration) and executes the alarm method described below for the energy storage system.

[0022] like Figure 1 As shown, the alarm method for energy storage systems includes the following steps: S11 continuously acquires the gas detection values ​​from the detector.

[0023] Specifically, the controller can read the detector's output signal via an analog-to-digital converter at a fixed sampling frequency (e.g., 1 Hz). The detector output is an analog voltage or current signal, the amplitude of which is proportional to the detected physical quantity (e.g., combustible gas concentration). The raw digital values ​​read can undergo preliminary digital filtering (e.g., moving average filtering) to suppress high-frequency noise, generating a sequence of gas detection values ​​that can be used for subsequent processing, and storing it in a buffer. Simultaneously, the controller can monitor in real time whether the gas detection values ​​are out-of-limit or illegal, marking and discarding out-of-limit and illegal values ​​to ensure the reliability of the input data.

[0024] For example, the buffer is a circular buffer that removes the first data after it is full and stores the latest data starting from the next value.

[0025] Using a circular buffer enables continuous data sliding updates with a fixed memory footprint, ensuring that the algorithm always makes judgments based on the latest real-time data, thus combining high memory efficiency with low computational overhead.

[0026] S12, when it is determined that n gas detection values ​​that meet the target conditions have been obtained, the zero point value is determined based on the n gas detection values.

[0027] Where n is a positive integer. n can be a fixed value and can be adjusted through the configuration interface; n can also be an adaptive value, which will be explained in detail in the following implementation methods.

[0028] In some embodiments of the present invention, determining that n gas detection values ​​satisfying the target conditions are obtained includes: sequentially calculating a first difference between two adjacent gas detection values; if n-1 consecutive first differences greater than the rate of change threshold are detected, then it is determined that n gas detection values ​​satisfying the target conditions are obtained.

[0029] Specifically, the controller reads the latest n consecutive gas detection values ​​from the circular buffer, obtaining a gas detection value sequence. For this sequence, starting from the first value, the difference between each subsequent value and the previous value is calculated sequentially, resulting in n-1 first differences. Each first difference is compared with a rate of change threshold. When all n-1 first differences are greater than the rate of change threshold, it is determined that the current gas detection value sequence shows a continuous, stable, and significant upward trend, and it is confirmed that n gas detection values ​​satisfying the target condition have been acquired. At this point, the trigger condition for zero-point calibration is met.

[0030] Therefore, by using a strict continuous rise criterion, miscalibration caused by instantaneous noise or random fluctuations can be effectively avoided, ensuring the accuracy and reliability of subsequent zero-point value determination and laying the foundation for precise calibration.

[0031] The rate of change threshold can be set comprehensively based on the detector's sensitivity, physical properties (such as hydrogen diffusion rate), and safety standards, and can be adjusted through the configuration interface. For example, for sealing materials with different volatility characteristics, corresponding thresholds can be set to filter their specific slow release rates; for scenarios with different ventilation conditions or safety level requirements, the threshold can be adjusted to balance warning sensitivity and anti-interference capability.

[0032] Taking a combustible gas sensor as an example, the long-term, slow volatilization of organic matter (such as sealant) within the detector package causes the background concentration detected by the sensor to show a slow, linear upward trend. This differs in rate of change from the rapid, nonlinear, sharp increase in gas concentration at the initial stage of battery thermal runaway. To accurately distinguish between these two modes, this invention introduces a criterion based on the rate of change (slope). The rate of change of a continuous sequence of gas detection values ​​is calculated and compared with a rate of change threshold. Only when the detected rate of change exceeds this threshold is it determined to be a rapid release consistent with thermal runaway characteristics, thereby triggering zero-point calibration or an immediate alarm. Furthermore, by configuring different rate of change thresholds according to different operating conditions, a reliable distinction can be made between "slow background volatilization" and "rapid thermal runaway release," thereby eliminating false alarms caused by material volatilization while ensuring a timely and accurate response to actual thermal runaway.

[0033] In other embodiments of the present invention, determining that n gas detection values ​​satisfying the target conditions are obtained includes: acquiring gas detection values ​​of the detector within a target duration window to form a gas detection value sequence; calculating the monotonicity or overall rate of change of the gas detection value sequence; when the monotonicity satisfies the condition of continuous increase, or the overall rate of change is greater than a preset overall threshold, then determining that n gas detection values ​​satisfying the target conditions are obtained, where n is the number of gas detection values ​​within the target duration window.

[0034] In this implementation, a target duration window (e.g., 10 seconds, which can be a preset fixed value or an adaptively updated value) can be determined first. Within this target duration window, the controller continuously acquires the detector's output to obtain a sequence of gas detection values ​​consisting of multiple consecutive gas detection values, where the number of data points in the sequence is n. Subsequently, an overall trend analysis is performed on this sequence, as follows: 1) Monotonicity assessment: By calculating the first difference of the sequence or using a trend fitting algorithm (such as linear regression), assess whether the sequence remains strictly monotonically increasing throughout the entire time window. If all adjacent differences are positive, the "continuous increase condition" is met.

[0035] 2) Calculation of overall rate of change: Calculate the overall rate of change of the sequence, for example, by dividing the difference between the first and last values ​​of the sequence by the target time window length, or by calculating the slope of a linear regression. Compare this overall rate of change with an overall threshold.

[0036] When the monotonicity of the sequence satisfies the condition of continuous increase, or when its overall rate of change is greater than the overall threshold, the n gas detection values ​​within the target time window are determined to meet the target condition.

[0037] This implementation focuses on examining the macroscopic upward trend of physical quantities over a fixed time period. Compared with strict point-by-point difference comparison, it has better fault tolerance for short-term fluctuations in the data and is suitable for scenarios with slightly higher noise or slightly unstable upward trends, thus improving the robustness of zero-point calibration triggering.

[0038] For example, determining the zero point value based on n gas detection values ​​includes: taking the first gas detection value among the n gas detection values ​​as the zero point value; or taking the average value of the n gas detection values ​​as the zero point value.

[0039] Specifically, when determining the zero-point value based on n gas detection values ​​that meet the target conditions, the following two methods can be used: Method 1: Starting point value method The first gas detection value in a sequence of n consecutive gas detection values ​​is directly designated as the zero point, meaning the starting point where the trend begins to rise significantly and continuously is taken as the new environmental baseline. When n-1 consecutive first differences are detected that are greater than the rate of change threshold, it indicates that the physical quantity has begun to deviate from its previous stable state from that starting point. At this point, by locking this starting point value as the zero point, the beginning of the state change can be most directly reflected. All subsequent relative values ​​are calculated based on this point, intuitively reflecting the cumulative change since the trend began.

[0040] Method 2: Mean method Calculate the arithmetic mean of n gas detection values ​​and determine this mean as the zero-point value. This method focuses on obtaining a representative level at the beginning of an upward trend. By averaging, it can smooth out minor fluctuations or measurement noise that may exist in the sequence to some extent, making the determined zero-point value more robust and less susceptible to the influence of a single starting point that may contain errors. The zero-point value obtained by this method is an "average starting point," and subsequent relative values ​​represent the current value's offset from this average starting point. This may provide a more stable calibration benchmark in scenarios where the data has some noise.

[0041] In actual implementation, one of the methods can be automatically selected for zero-point value determination based on preset configuration or assessment of data noise level.

[0042] S13, use the zero-point value to calibrate the subsequently acquired gas detection values ​​to obtain a relative value.

[0043] In some embodiments of the present invention, the zero-point value is used to calibrate the subsequently acquired gas detection values ​​to obtain a relative value, including: for each subsequently acquired gas detection value, calculating a second difference between the gas detection value and the zero-point value, and using the second difference as the relative value of the gas detection value.

[0044] Specifically, after determining the zero-point value, it can be locked and stored in non-volatile memory or latched in a dedicated register, serving as a fixed reference for subsequent calibration. For each newly sampled gas detection value after the zero-point value is determined, the controller performs real-time calibration calculations. Calibration is accomplished by calculating a second difference between the gas detection value and the zero-point value, specifically using the formula: Relative Value = Gas Detection Value - Zero-Point Value. This relative value is used for subsequent alarm judgment or simultaneously stored in a historical database for trend analysis, thereby filtering out interference from the gas environment and improving the accuracy and reliability of subsequent alarms.

[0045] It should be noted that, since the physical quantity itself is non-negative, when the second difference is negative (i.e., the current gas detection value is below zero), the relative value can be forced to zero; if the second difference is positive or zero, the value is directly output as the valid relative value. Thus, the obtained relative value is used to characterize the net change of the current physical quantity relative to the stable zero-point reference.

[0046] In other embodiments of the present invention, the zero-point value is used to calibrate the subsequently acquired gas detection values ​​to obtain relative values, including: performing linear transformation or normalization processing on the subsequently acquired gas detection values ​​based on the zero-point value and a preset gain coefficient, and using the processed result as the relative value of the gas detection value; wherein, the gain coefficient is used to dynamically adjust the calibration sensitivity according to the characteristics of the detector or environmental parameters.

[0047] Specifically, after determining the zero-point value, a preset gain coefficient (which can be a real number greater than 0) can be dynamically determined or obtained from a lookup table based on the individual characteristics of the detector (such as sensitivity differences and nonlinear range) or current environmental parameters (such as the influence coefficients of temperature and pressure on the detector output). For each subsequently acquired gas detection value, a linear transformation with gain is performed to generate a relative value: relative value = gain coefficient × (gas detection value - zero-point value).

[0048] The gain coefficient is used to amplify or reduce the difference after zero-point calibration. For example, when the detector is not sensitive enough in the low-concentration region, the gain coefficient can be set to be greater than 1 to amplify the effective signal; in a high background noise environment, the gain coefficient can be set to be less than 1 to smooth fluctuations and suppress false alarms.

[0049] For example, the calibration results can be mapped to a uniform alarm judgment range, such as by dividing "gain coefficient × (gas detection value - zero point value)" by the detector's full-scale value or a normalized reference to obtain a dimensionless relative percentage value, thereby making the alarm threshold setting standardized and no longer dependent on the original output range of a specific detector.

[0050] This method allows for flexible adjustment of system sensitivity and linearity through software parameters, enhancing the adaptability and consistency of the alarm method to different detector models and varying operating conditions.

[0051] S14, alarm judgment is made based on relative value.

[0052] In some embodiments of the present invention, alarm judgment based on relative values ​​includes: comparing the relative value with a preset alarm threshold; if the relative value is greater than or equal to the preset alarm threshold, then issuing a first alarm message.

[0053] Specifically, at least one preset alarm threshold can be set. This threshold is comprehensively set based on safety regulations, critical values ​​of physical quantities, and system redundancy, and can be adjusted in the configuration interface. For each relative value obtained after calibration, real-time threshold comparison logic is executed as follows: 1) Single Threshold Comparison: When the relative value is greater than or equal to the preset alarm threshold, a dangerous state is immediately determined, triggering the first alarm message. This message may include: generating and activating a local audible and visual alarm (such as a buzzer or warning light), and simultaneously sending a structured alarm message containing a timestamp, detection point location, and current relative value to the upper-level monitoring platform or cloud server via a communication interface (such as a CAN bus, RS485, or wireless module). Furthermore, it can also trigger preset safety control commands, such as activating emergency ventilation, disconnecting relevant electrical circuits, and notifying maintenance personnel.

[0054] 2) Multi-level thresholds: Multiple alarm thresholds can be set (such as early warning thresholds and emergency thresholds). When the relative value is greater than or equal to the early warning threshold, an early warning signal is issued, such as an audible and visual alarm; when the relative value is greater than or equal to the emergency threshold, a higher-level emergency alarm is issued and more stringent linkage measures are implemented. This method achieves tiered early warning, balancing safety and operational flexibility.

[0055] This implementation method achieves simple, fast, and reliable alarm judgment by directly comparing the calibrated relative value with a fixed threshold, and is suitable for direct over-limit alarm scenarios with high response speed requirements.

[0056] In other embodiments of the present invention, alarm judgment based on relative values ​​includes: judging based on the changing trend or cumulative effect of multiple relative values; if the rate of increase of the relative value exceeds the trend threshold or the cumulative integral of the relative value exceeds the cumulative threshold within a preset time period, a first alarm message is issued.

[0057] Specifically, within a preset analysis period (e.g., 5 seconds), a series of consecutive relative values ​​can be continuously collected and cached to form an analysis sequence, and the following judgments can be made: 1) Trend Judgment: Calculate the rate of increase of the relative value within the time period, for example, by obtaining the slope through linear regression, or by calculating the ratio of the difference between the first and last values ​​to the time. If the rate of increase exceeds a preset trend threshold, it indicates that the physical quantity is increasing rapidly and there is a risk of acceleration, and the system will immediately trigger the first alarm message.

[0058] 2) Cumulative effect judgment: Calculate the cumulative integral of the relative value within the time period. The relative value-time curve can be approximated by using the trapezoidal rule. If the integral result exceeds the preset cumulative threshold, it indicates that even if the instantaneous value does not exceed the limit, a sufficient total amount of danger has accumulated within the time period (such as a certain concentration of gas exposure or heat accumulation), which will trigger the first alarm information.

[0059] This implementation method not only focuses on instantaneous exceedances but also emphasizes identifying potential risk development patterns. It can provide earlier warnings of gradual hazards such as slow leaks or prolonged exposure to low concentrations, making it suitable for complex scenarios with higher requirements for early warning and risk prevention. Alarm information can also be linked to local alerts and remote reporting.

[0060] The alarm method for energy storage systems in this invention employs online self-calibration technology to establish the current environmental background value as a dynamic "zero point" in real time. Subsequent alarm judgments are based on the net change relative to this zero point. This is equivalent to actively removing slowly changing background interference components from the original signal, maintaining high sensitivity to abnormal increments starting from the current baseline. When the energy storage system experiences thermal runaway and releases a target gas (such as hydrogen), it can reliably capture the initial upward trend and absolute increment of the gas detection value (such as gas concentration), triggering an alarm in a timely manner. Simultaneously, for common background drift caused by changes in ambient temperature and humidity, other coexisting gases, or sensor aging, this method uses these as a new "benchmark" for adaptive tracking, thereby reducing false alarms caused by such factors and improving the reliability and accuracy of alarms in complex real-world environments.

[0061] In some embodiments of the present invention, the alarm method further includes: calculating the rate of change characteristics of n gas detection values; updating n according to the rate of change characteristics for the determination of the next zero point value.

[0062] Specifically, after determining the zero-point value based on n gas detection values ​​each time, the rate of change characteristics of these n sequences can be additionally calculated. This characteristic can be the overall slope of the sequence, the standard deviation of all first differences, or the mean absolute deviation, used to quantify the severity and consistency of the upward trend that triggered the zero-point calibration.

[0063] A mapping relationship can be pre-stored, defining the correspondence between the rate of change feature value and the recommended sampling window length (i.e., the value of n). Based on the calculated rate of change feature, the mapping relationship is queried to dynamically update the value of n. For example, if the calculated rate of change feature value is large (indicating a sharp trend and rapid change), the value of n required for the next calibration can be reduced by querying the mapping relationship. This makes it more sensitive to rapid changes and allows for faster locking of the new zero point. If the rate of change feature value is small (indicating a gentle trend and slow change), the value of n can be increased by querying the mapping relationship, avoiding frequent or unnecessary zero point resets in slowly changing environments. The new value of n is then stored for use in determining the conditions for the next zero-point calibration.

[0064] This adaptive mechanism intelligently optimizes the value of n based on the dynamic characteristics of the actual monitoring environment (such as changes in gas leakage rate), thereby improving the long-term adaptability and alarm accuracy of the method under different operating conditions.

[0065] In this embodiment, for example, the rate of change threshold is negatively correlated with n. Specifically, when the system sets or adaptively selects a larger value for n (i.e., a longer continuous data sequence is needed to determine the trend), the rate of change threshold m is reduced accordingly; conversely, when the value of n is small, the rate of change threshold m is increased accordingly.

[0066] This negative correlation design aims to balance detection sensitivity and interference resistance reliability. A larger n means a more persistent trend is needed to trigger calibration. In this case, appropriately reducing the threshold requirement for a single change (decreasing m) can prevent the failure to capture slow but continuous dangerous upward trends due to overly stringent settings. A smaller n is more sensitive to short-term changes. In this case, increasing the threshold for a single change (increasing m) can effectively suppress false triggers caused by noise or transient interference. Therefore, by establishing a matching relationship between (n, m), the stringency and robustness of the zero-point calibration criterion can be adaptively optimized according to different application scenarios (such as different monitoring needs for rapid leakage or slow accumulation) or data noise levels.

[0067] This negative correlation can be achieved through a preset lookup table, a calculation formula (such as m=k / n+c, where k and c are constants), or an empirical model trained based on historical data, and it can be reflected in the system parameter configuration.

[0068] For example, after obtaining the zero-point value, this zero-point value can be locked until n gas detection values ​​that meet the target conditions are obtained again. Then, the zero-point value is unlocked, and the next zero-point value is determined. During the zero-point value locking process, relative values ​​are calculated based on the locked zero-point value, and alarm judgments are made.

[0069] In some embodiments of the present invention, the alarm method for an energy storage system further includes: comparing the gas detection value with the range of the detector; and issuing a second alarm message if the gas detection value is greater than or equal to a preset percentage of the range.

[0070] In this embodiment, two parallel and independent alarm channels can be set up: Channel 1: Trend / Threshold Alarm Based on Relative Values As described in the previous embodiments, after zero-point self-calibration is completed, the relative value obtained from the calibration is used for alarm judgment. This channel focuses on changes in physical quantities and is mainly used to detect incremental risks starting from a stable baseline, such as a slow increase in gas concentration or accelerated leakage.

[0071] Channel 2: Over-range alarm based on absolute value This channel directly uses the raw gas detection value (without zero-point calibration) and compares it to the detector's full-scale range. A preset percentage is set (e.g., 70%). Once the gas detection value is greater than or equal to this percentage of the range, the system immediately issues a second alarm message, regardless of the zero-point value.

[0072] The two alarm decisions are executed in parallel. The second alarm typically indicates that the detector is about to reach or has already reached its measurement limit, potentially indicating extremely rapid hazard development or detector malfunction (such as a short circuit). Its alarm action can be configured for a higher level of emergency response, such as triggering the highest level audible and visual alarm, directly executing an emergency shutdown, or forcibly activating all safety systems. This parallel mechanism provides crucial safety fallback protection through the absolute value alarm even when the relative value alarm is temporarily ineffective due to incomplete or failed zero-point calibration, forming a dual, redundant safety defense covering both "incremental risk" and "absolute over-limit."

[0073] In some examples, gas detection values ​​and relative values ​​can be displayed in real time on the energy storage system's display screen.

[0074] Specifically, after the detector acquires the signal, the controller can send the gas detection value and its corresponding relative value to the display screen via the communication interface. The display screen can be divided into left and right sections. The left side displays the gas detection value, and the right side displays the relative value as a curve or percentage, with color indicators (e.g., green for normal, yellow for warning). Users can view the gas status on the display screen and identify cross-interference when the relative value is continuously rising while the actual value remains stable, thereby improving monitoring reliability and reducing false alarms. Of course, if there is no zero-point value, the relative value cannot be obtained, and only the gas detection value can be displayed.

[0075] In practice, this invention can be packaged into a ready-to-use algorithm library and directly integrated and called through a standard interface.

[0076] In summary, the method of the present invention can effectively distinguish the dynamic characteristics of the target gas and the interfering gas, and while suppressing cross-interference signals, it ensures a rapid response to the target gas detected in the energy storage system, thereby improving the false alarm prevention performance, reducing the frequency of false alarms, reducing unnecessary operation and maintenance intervention, and improving the overall reliability of the system.

[0077] Based on the alarm method for energy storage systems described in the above embodiments, this invention proposes a computer-readable storage medium.

[0078] In this embodiment, a computer program is stored on a computer-readable storage medium. When the computer program is executed by a processor, it implements the alarm method for an energy storage system described in the above embodiment.

[0079] Figure 2 This is a structural block diagram of a controller according to an embodiment of the present invention.

[0080] like Figure 2 As shown, the controller 200 includes a processor 201 and a memory 203. The processor 201 and the memory 203 are connected, for example, via a bus 202. Optionally, the controller 200 may also include a transceiver 204. It should be noted that in practical applications, the transceiver 204 is not limited to one, and the structure of the controller 200 does not constitute a limitation on the embodiments of the present invention.

[0081] Processor 201 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 201 may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0082] Bus 202 may include a pathway for transmitting information between the aforementioned components. Bus 202 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 202 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 2 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0083] The memory 203 stores a computer program corresponding to the alarm method for an energy storage system according to the above embodiments of the present invention. This computer program is controlled and executed by the processor 201. The processor 201 executes the computer program stored in the memory 203 to implement the content shown in the foregoing method embodiments.

[0084] Figure 3 This is a structural block diagram of an energy storage system according to an embodiment of the present invention.

[0085] like Figure 3 As shown, the energy storage system 300 includes: an energy storage compartment 301, a detector 302, and a controller 200 as described in the above embodiment. The detector 302 is arranged at a target detection point inside the energy storage compartment 301 and is connected to the controller 200.

[0086] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0087] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0088] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0089] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0090] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0091] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.

[0092] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. An alarm method for an energy storage system, characterized in that, A detector is deployed at the target detection point of the energy storage system, and the method includes the following steps: Continuously acquire the gas detection values ​​of the detector; When it is determined that n gas detection values ​​satisfy the target conditions have been obtained, a zero-point value is determined based on the n gas detection values, where n is a positive integer; The zero-point value is used to calibrate the subsequently acquired gas detection values ​​to obtain a relative value; An alarm is determined based on the relative value.

2. The alarm method for an energy storage system according to claim 1, characterized in that, The determination of obtaining n gas detection values ​​that meet the target conditions includes: Calculate the first difference between two adjacent gas detection values ​​in sequence; If n-1 consecutive first differences greater than the rate of change threshold are detected, then it is determined that n gas detection values ​​satisfying the target condition have been obtained.

3. The alarm method for an energy storage system according to claim 1 or 2, characterized in that, The process of determining the zero-point value based on the n gas detection values ​​includes: The first gas detection value among the n gas detection values ​​is taken as the zero-point value; or... The average of the n gas detection values ​​is taken as the zero point value.

4. The alarm method for an energy storage system according to claim 2, characterized in that, The rate of change threshold is negatively correlated with n, and the method further includes: Calculate the rate of change characteristics of the n gas detection values; n is updated based on the rate of change characteristic for the determination of the next zero-point value.

5. The alarm method for an energy storage system according to claim 1, characterized in that, The process of calibrating subsequent gas detection values ​​using the zero-point value to obtain relative values ​​includes: For each gas detection value subsequently acquired, a second difference between the gas detection value and the zero-point value is calculated, and the second difference is used as the relative value of the gas detection value.

6. The alarm method for an energy storage system according to claim 1, characterized in that, The alarm judgment based on the relative value includes: The relative value is compared with a preset alarm threshold. If the relative value is greater than or equal to the preset alarm threshold, a first alarm message is issued.

7. The alarm method for an energy storage system according to claim 1, characterized in that, The method further includes: The gas detection value is compared with the range of the detector; If the gas detection value is greater than or equal to a preset percentage of the range, a second alarm message is issued.

8. A controller, characterized in that, It includes a processor and a memory, the memory storing a computer program that, when executed by the processor, implements an alarm method for an energy storage system as described in any one of claims 1-7.

9. An energy storage system, characterized in that, include: Energy storage compartment; The detector is positioned at the target detection point inside the energy storage compartment. as well as The controller as described in claim 8 is connected to the detector.

10. A computer-readable storage medium, characterized in that, The system contains a computer program that, when executed by a processor, implements an alarm method for an energy storage system as described in any one of claims 1-7.