Fault diagnosis method and system for standby power supply system of fuel cell

Through the linear model of fuzzy sets and the Takagi-Sugeno model, combined with state space and interval observers, the problem of treating nonlinear systems as linear systems in fault detection of fuel cell backup power systems is solved, achieving high accuracy and low misjudgment rate. Fault diagnosis enhances the safety and reliability of the system.

CN118693312AInactive Publication Date: 2024-09-24PAN STAR TECH (ZHEJIANG) CO LTD

Patent Information

Application Number
CN202411162089.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the current fault detection of fuel cell backup power systems, nonlinear systems are often described as linear systems, resulting in inaccurate parameter calculations and frequent false alarms, making it difficult to ensure system safety and accuracy.

Method used

The linear model of fuzzy set is used to describe the nonlinear fuel cell backup power system. Through the state space model and the Takagi-Sugeno model, a local model is established and weighted combination is considered. Internal and external uncertainties are considered, and an interval observer is used for fault diagnosis.

Benefits of technology

It improves the accuracy of fault diagnosis and system reliability, reduces the misjudgment rate, provides fault tolerance space, and avoids frequent alarms caused by environmental changes and component aging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118693312A
    Figure CN118693312A
Patent Text Reader

Abstract

The invention provides a fuel cell standby power supply system fault diagnosis method and system, and relates to the technical field of fault detection, and the method comprises the steps: collecting operation data; establishing a state space model of the fuel cell standby power supply system; establishing a fuzzy set of each operation data based on the state space model; based on the fuzzy set, establishing a plurality of local models of each state variable under different fuzzy rules; based on the parameter uncertainty of the TS model, establishing an interval observer of each state variable satisfying a fuzzy rule; collecting real-time operation data and real-time system input; taking the real-time galvanic pile working current as the input of an interval observer, and outputting a prediction interval of each operation data; and when the real-time operation data is in the prediction interval, the output operation data is normal, otherwise, the output operation data is abnormal, and an early warning is given out. And under the condition of ensuring that the system is in a normal operation range, the fault diagnosis accuracy is improved, and the shutdown frequency caused by misdiagnosis is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault detection, and in particular to a method and system for diagnosing a fault of a fuel cell backup power supply system. Background Art

[0002] The main part of the fuel cell backup power system is a device that converts chemical energy directly into electrical energy, generating electricity through chemical reactions rather than through combustion. It works by catalyzing the reaction of hydrogen and oxygen between electrodes to produce electricity, water and heat. When the fuel cell is working, it consumes oxygen and hydrogen according to the current demand of the electrical load and produces water and heat. Hydrogen is provided by the hydrogen supply system. The main components of the system include a pressurized hydrogen storage tank and a supply servo valve to control the flow or pressure of hydrogen. The air supply system mainly consists of a compressor driven by an electric motor to provide air flow. The control of the hydrogen and air supply system is designed to maintain the required partial pressure of hydrogen and air entering the anode and cathode of the stack. In addition, due to the increase in pressure, the air temperature provided by the compressor is higher. The cooling system is used to reduce the temperature of the air entering the stack to prevent damage to the fuel cell membrane. Finally, the humidifier acts on the cathode path to prevent membrane damage due to dehydration.

[0003] Fault detection of fuel cell backup power system is actually the monitoring and fault detection of the dynamic fuel cell working process. Fault diagnosis of fuel cell backup power system is very important to ensure the efficient and safe operation of the system. By timely discovering potential problems, fault diagnosis can help extend the service life of equipment, reduce maintenance costs, prevent greater losses caused by sudden failures, and ensure that the system can provide reliable energy support at critical moments. In addition, systematic fault diagnosis can also help optimize the performance of fuel cells and improve their energy efficiency and environmental adaptability.

[0004] However, for fuel cell fault detection, the existing technology often describes the fuel cell backup power system with a nonlinear state as a constructible linear system, and then calculates accurate parameter values ​​under the linear system to determine whether there is a fault. In this process, there are non-external factors and nonlinear relationships, which cause the calculated parameter values ​​to deviate greatly from the normal operating parameter values. The inaccurate calculation results lead to inaccurate diagnostic results, and false alarms frequently occur, making it difficult to complete and accurately diagnose faults while ensuring system safety. Summary of the invention

[0005] In order to solve the technical problem that the prior art often describes a fuel cell backup power system with a nonlinear state as a constructible linear system, and then calculates accurate parameter values ​​under the linear system to determine whether there is a fault, and in this process there are non-external factors and nonlinear relationships, resulting in a large deviation between the calculated parameter values ​​and the normal operating parameter values, the inaccuracy of the calculation results leads to inaccurate diagnosis results, frequent false alarms, and difficulty in complete and accurate fault diagnosis while ensuring system safety, the present invention provides a fuel cell backup power system fault diagnosis method and system.

[0006] The technical solution provided by the embodiment of the present invention is as follows: First aspect An embodiment of the present invention provides a fuel cell backup power system fault diagnosis method, comprising: S1: Collecting operating data about the fuel cell backup power system, wherein the operating data includes the operating current of the fuel cell stack; S2: Establish a state space model of the fuel cell backup power system based on the operating data; S3: establishing fuzzy sets of various operating data based on the state space model, wherein the fuzzy sets define fuzzy rules of the operating data, and each fuzzy rule is used to describe the degree of membership of the operating data in the normal state; S4: Based on fuzzy sets, the stack operating current is used as the system input, and each operating data is used as a state variable. Multiple local models of each state variable under different fuzzy rules are established. Among them, all local models are weighted to obtain a TS model that describes the operating data of the fuel cell backup power system. S5: Based on the parameter uncertainty of the TS model, establish interval observers for each state variable that satisfies the fuzzy rules; S6: Collect real-time operation data and real-time system input, i.e. real-time stack operating current; S7: taking the real-time stack operating current as the input of the interval observer and outputting the prediction interval of each operating data; S8: When the real-time operation data is within the prediction interval, the output operation data is normal; otherwise, the output operation data is abnormal and an early warning is issued.

[0007] Second aspect An embodiment of the present invention provides a fuel cell backup power system fault diagnosis system, comprising: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the fuel cell backup power system fault diagnosis method as described in the first aspect is implemented.

[0008] The third aspect An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the fuel cell backup power system fault diagnosis method as described in the first aspect is implemented.

[0009] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: In the present invention, a linear model of a set of fuzzy sets is used to describe the nonlinear fuel cell backup power system. Nonlinearity and external disturbances or external noise are introduced into the TS model with fuzzy properties in a bounded form. The complex nonlinear system is weighted combined in the form of a separated linear system to add and split various uncertainties, providing a more accurate description than the global nonlinear model. The interval observer of each state variable established based on the model outputs a prediction interval in which the system can operate normally while comprehensively considering internal and external uncertainties. Faults are isolated in the form of intervals instead of single-point prediction values. The accuracy is high and the misjudgment rate is low. The fault alarm rate can be effectively reduced when the system is in a safe operating state, and the consistency between the fault diagnosis result and the actual fault can be increased. Moreover, this interval prediction method provides a fault-tolerant space for the system to avoid frequent alarms caused by environmental changes or component aging that deviate from the nominal value. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 A schematic flow chart of a method for diagnosing a fuel cell backup power system fault provided by an embodiment of the present invention; Figure 2 A schematic structural diagram of a fuel cell backup power system fault diagnosis system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0012] The technical solution of the present invention is described below in conjunction with the accompanying drawings.

[0013] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a specific way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.

[0014] In the embodiments of the present invention, "image" and "picture" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same.

[0015] In the embodiments of the present invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript such as W1. When the difference is not emphasized, the meanings to be expressed are consistent.

[0016] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0017] Reference Manual Attached Figure 1 , showing a flow chart of a fuel cell backup power system fault diagnosis method provided by an embodiment of the present invention.

[0018] An embodiment of the present invention provides a fuel cell backup power system fault diagnosis method, which can be implemented by a fuel cell backup power system fault diagnosis device, which can be a terminal or a server. The processing flow of the fuel cell backup power system fault diagnosis method can include the following steps: S1: Collect operating data about the fuel cell backup power system.

[0019] Among them, the operating data includes the operating current of the battery stack.

[0020] Among them, the operating data is the operating data of the operating point that needs to be diagnosed for faults. The stack operating current is an important parameter of the battery under normal operating conditions. This is not the "input current" in the traditional sense to power the battery, but refers to the current passing through the stack when the fuel cell system is working, that is, the current involved in the process of generating electrical energy through the chemical reaction of hydrogen and oxygen, that is, the electricity generated inside the battery stack when the battery converts chemical energy into electrical energy. This current is a key variable in the measurement or control system, which is used to monitor and adjust the operating status of the fuel cell to ensure optimal battery performance and safe and stable operation.

[0021] In one possible embodiment, the operating data also includes cathode oxygen mass, anode hydrogen mass, cathode nitrogen mass, supply, supply manifold pressure, return manifold pressure, compressor speed, anode water mass, and cathode water mass.

[0022] Collect operating data through multimodal sensors.

[0023] The supply manifold and the return manifold are key components for directing gas flow. The supply manifold is responsible for transporting hydrogen and oxygen (or air) from the external supply system to the reaction area of ​​the fuel cell. The return manifold is responsible for collecting the gas that is not completely consumed after the fuel cell reaction and exporting it from the fuel cell stack.

[0024] S2: Based on the operating data, a state space model of the fuel cell backup power system is established.

[0025] It should be noted that the establishment of the state space model is the basis for establishing the TS model, which is the pre-fuzzy condition of the TS model. On the basis of the establishment of the pre-fuzzy condition, a TS model that conforms to the actual situation is further established to split the complex nonlinear fuel cell into interpretable linear systems and then perform weighted merging to accurately consider different uncertainty relationships. The establishment of the model provides a mathematical framework for the system, which can describe and analyze the dynamic behavior of the system and its relationship with the input. Through this model, the complex nonlinear system dynamics can be converted into a fuzzy linear representation that is easier to analyze and understand, thereby providing an accurate basis for diagnosis. This method not only improves the speed of fault diagnosis, but also greatly improves the accuracy of the diagnosis process and the reliability of the system.

[0026] In a possible implementation, the state space model is specifically: in, and Represents the cathode oxygen mass The rate of change of the anode hydrogen quality The rate of change and cathode nitrogen quality The rate of change, Indicates the air quality of the supply main The rate of change, Indicates supply main pressure The rate of change, Indicates the return main pressure The rate of change, Indicates compressor speed The rate of change, Indicates the quality of anode water The rate of change, Indicates cathode water quality The rate of change, represents an association matrix having a linear relationship and a connection relationship with the operation data, represents the correlation matrix directly related to the input current, i.e., the working current of the battery stack, T represents transposition, Indicates the fuel cell stack operating current, i.e. the input current.

[0027] Specifically, Each element thereof represents a correlation matrix in which the state variables of a conventional fuel cell, ie, the operating data, have a linearized relationship.

[0028] Each element represents the first i The parameter is the influence of the input current on the operating data, where the two matrices are similar to the matrix elements The tilde-marked elements of are functions of the input current, similar to The elements without tilde signs are represented as constants, and the subscripts represent the row and column positions of the matrix, which describe the interactions and dependencies between different system state variables. The 0 in the matrix means that there is no direct linear relationship between these specific rows and columns. It can be seen that the dynamics of the fuel cell backup power system can be approximated as a linear system, in which most of the interactions are described by fixed coefficients, but the dynamics related to the system input are parameterized, that is, they depend on the input current. Each different value of the input current may result in a different set of coefficients in the coefficient matrix, allowing the model to have different dynamic behaviors in different operating data.

[0029] It should be noted that a fuzzy state space model is established to comprehensively analyze and predict the key operating parameters of the system. This model covers multiple key indicators, from the mass change rate of oxygen and hydrogen to the compressor speed. The entire solution is created based on fuzzy states, so some parameters in the state space model can be set to fuzzy states, and those that can capture specific relationships can also be set to non-fuzzy states. The design of the model uses a linear correlation matrix to describe the direct connection between parameters. At the same time, special emphasis is placed on the impact of the battery stack operating current on these parameters. Through the parameterization method, each different input current value will cause a change in the coefficients in the model, which can accurately capture the behavior of the system under different working conditions, thereby providing accurate dynamic response and prediction capabilities for fault diagnosis. This method not only improves the adaptability of the model, but also enhances its reliability and accuracy in practical applications.

[0030] S3: Establish fuzzy sets of various operating data based on the state space model.

[0031] The fuzzy set defines the fuzzy rules of the operating data, and each fuzzy rule is used to describe the degree to which the operating data belongs to the normal state.

[0032] Among them, fuzzy sets are a tool for describing the state of each operating parameter of a fuel cell system. It allows parameter values ​​to have a range instead of a fixed point, allowing the system to handle uncertainty and ambiguity in actual operation. Fuzzy rules are logical rules defined based on these fuzzy sets to describe the relationship between parameter states and system behavior, such as the system state that may be indicated when the value of a parameter is at a certain degree of membership. The degree of membership is a measure of the quantitative parameter state, representing the position of the parameter relative to the normal operating range.

[0033] The degree of membership can be simply set as low, medium, and high, or it can be quantified using specific mathematical functions (such as triangular or trapezoidal membership functions), making the system more flexible and adaptable in dealing with uncertainty.

[0034] For example, the membership degree can be further divided into, for cathode oxygen quality, low means that the cathode oxygen quality is lower than 25% of the normal operating range. Medium means that the cathode oxygen quality is between 25% and 75% of the normal operating range. High means that the cathode oxygen quality exceeds 75% of the normal operating range. For anode hydrogen quality, low means that the anode hydrogen quality is lower than 20% of the normal operating range. Medium means that the anode hydrogen quality is between 20% and 80% of the normal operating range. High means that the anode hydrogen quality exceeds 80% of the normal operating range. For cathode nitrogen quality, low means that the cathode nitrogen quality is lower than 30% of the normal operating range. Medium means that the cathode nitrogen quality is between 30% and 70% of the normal operating range. High means that the cathode nitrogen quality exceeds 70% of the normal operating range. The fuzzy rule is that if the cathode oxygen quality is low, there may be a problem of insufficient oxygen supply. If the anode hydrogen quality is high, there may be a hydrogen leak or control failure. If the compressor speed is low and the supply main pressure is low, the compressor efficiency may decrease. Other operating data are similar. In the process of establishing the entire fuzzy set, combining the state space model for correlation analysis can obtain the fuzzy rules between the various operating data. The division of membership can be based on the triangular or trapezoidal membership function or customized according to the operating status of the system.

[0035] S4: Based on fuzzy sets, the stack operating current is taken as the system input, each operating data is taken as a state variable, and multiple local models of each state variable under different fuzzy rules are established.

[0036] Among them, all local models are weighted to obtain the TS model that describes the operating data of the fuel cell backup power system.

[0037] Among them, the local model is a simplified model based on the system under different operating conditions, and each model corresponds to a specific fuzzy rule. These models are designed based on system inputs (such as the operating current of the fuel cell stack) and various possible system states (such as the quality of oxygen or hydrogen, etc.). The local model can reflect different system responses according to the actual operating conditions of the system and provide a specific output prediction for each situation. For example, if the model is for a high compressor speed and low supply main pressure, it will predict the system performance under this specific condition.

[0038] The TS model (Takagi-Sugeno model) is a fuzzy model widely used in nonlinear system control and fault diagnosis. It decomposes complex nonlinear behavior into several local linear models, each of which is applicable to a specific operating range of the system. The TS model describes the behavior of the entire fuel cell system by integrating the outputs of all local models. This model can dynamically capture the precise behavior of the system in different states by weighting the outputs of each local model, so that even in the face of complex and nonlinear system dynamics, the TS model can provide accurate prediction and fault diagnosis.

[0039] In general, the local models provide a description of the system's behavior under specific conditions, while the TS model integrates these descriptions to provide a comprehensive system behavior model, making the monitoring and fault diagnosis of the fuel cell system more efficient and accurate. In this step, using the fuzzy sets obtained from step S3, we use the stack operating current as the system input and build independent local models for each operating data. These models capture the system behavior under specific conditions, and then form a comprehensive TS model by weighting the outputs of these local models. This TS model can dynamically describe the behavior of the fuel cell system under different operating conditions, making the system monitoring and fault diagnosis more accurate and efficient. In this way, the system can accurately predict state changes on a real-time basis, detect and diagnose potential faults in a timely manner, and ensure the optimal operation and safety of the system.

[0040] In a possible implementation, the TS model is specifically: in, and Respectively k The system input and state variables at time , express k Moment i The system output corresponding to the fuzzy rule is the output value of the state variable under the influence of the system input. express k +1 time state variables, represents the first state transfer matrix without fuzzy rules or uncertain influences, represents the second state transfer matrix under uncertain influence, and They represent the upper bound and lower bound of the second state transfer matrix, respectively. represents the first i The input matrix of the system input under the fuzzy rules, C represents the output matrix obtained by the state space model, express k Measure the noise at all times, N represents the total number of the fuzzy rules, represents the fuzzy set, Indicates i Fuzzy rules The degree of affiliation, Indicates i Fuzzy rules The weight of .

[0041] It should be noted that in the fuel cell backup power system, the TS model provides more accurate fault diagnosis by combining fuzzy logic to handle uncertainty and dynamic changes. This model uses multiple local models, each of which corresponds to specific fuzzy rules, which are defined based on the current input and state of the system. The system input and state variables are weighted by the weights of the fuzzy rules to produce a comprehensive system output that reflects the expected behavior under the current state. In addition, the model also takes into account uncertainty factors and uses upper and lower bound matrices to describe the potential maximum and minimum system responses to ensure that the system can still operate stably in the face of input fluctuations and external disturbances. In this way, the TS model can dynamically adjust the response, optimize the accuracy of fault detection and prediction, and greatly enhance the reliability and safety of the system.

[0042] S5: Based on the parameter uncertainty of the TS model, interval observers for each state variable that satisfies the fuzzy rules are established.

[0043] The estimated interval describes the range in which the system can operate normally, including all possible state values, allowing the system to continue to operate effectively in the presence of uncertainty. This method avoids the situation where the system does not have redundant state due to the precise definition of the detailed values ​​of the state variables, which in turn leads to the inability to operate. This TS interval observer designed based on regional space enables the observer to provide upper and lower bound estimates of the state under bounded uncertainty and interference, ensuring the normal operation of the system while effectively detecting abnormal fault problems.

[0044] It should be noted that based on the parameter uncertainty of the TS model constructed in the previous steps, the designed interval observers are used to generate estimated intervals for each state variable. These interval observers can take into account the internal and external uncertainties of the model and provide upper and lower bound estimates of the state variables. Through this method, the system can continue to operate reliably even in the face of fluctuations in input data and external interference, effectively isolate and diagnose faults, and greatly improve the stability and reliability of the system.

[0045] In a possible implementation, the interval observer is specifically: in, and Respectively represent i Fuzzy rules k The upper bound and lower bound of the state vector at time , and Respectively represent i Fuzzy rules k+ The upper bound and lower bound of the state vector at time 1, and Respectively represent the upper bound and lower bound of the state vector, and They represent the upper bound and lower bound of the interval observer gain, respectively. and They represent the upper bound of the non-negative second state transfer matrix, the upper bound of the negative second state transfer matrix, the lower bound of the non-negative second state transfer matrix, and the lower bound of the negative second state transfer matrix, respectively. and They represent the upper bound of the non-negative state vector, the upper bound of the negative state vector, the lower bound of the non-negative state vector and the lower bound of the non-negative state vector, respectively. Indicates taking the absolute value, Indicates that the dimension is the total dimension of the system output A column vector whose elements are all 1.

[0046] Among them, the non-negative second state transfer matrix only retains the 0 value and the positive value part of the matrix, and the negative second state transfer matrix only retains the negative value part of the matrix.

[0047] Among them, the interval observer is a key component in the fuel cell backup power system. It enhances the reliability of fault diagnosis by considering the possible range of changes in the system state. This observer uses fuzzy rules to determine the upper and lower bounds of the state variables, providing a prediction interval for the real-time state of the system. By calculating the upper and lower bounds of the gain, and processing the non-negative and negative parts of the state transfer matrix, the interval observer can accurately capture the dynamic behavior of the system in normal and fault states. This approach enables the system to effectively predict and adjust its response when faced with input uncertainty and external disturbances, thereby ensuring the stability and safety of operation and reducing the risk and impact of system failures.

[0048] In a possible implementation, the interval observer gain upper bound and the interval observer gain lower bound are specifically: in, and Respectively for the i The block diagonal matrix of fuzzy rules based on the linear time invariance theorem is The block diagonal upper bound and block diagonal lower bound of , represents the diagonal matrix derived from the linear time invariance theorem P The inverse, Q represents the symmetric matrix derived from the linear time invariance theorem, and are constants greater than zero. T represents transpose, Represents the function for all fuzzy rules Maximum value, represents the two-norm operator, and Both represent intermediate quantities.

[0049] Among them, the observer gain is a parameter in the observer used for system state estimation, which determines the strength and speed of the conversion from measurement data to state estimation. Specifically, the gain affects the system's response speed to input signals and its sensitivity to errors or noise, and is a key factor in optimizing system performance and stability.

[0050] The upper and lower observer gain bounds define the range within which these gains may vary. Ideally, the gains should be chosen so that the system can quickly and accurately track state changes while suppressing errors caused by model inaccuracies or external noise. The setting of the upper and lower gain bounds ensures that the observer operates within these limits, thereby effectively tracking the system state while preventing oscillations or unstable behavior caused by excessive gains.

[0051] The upper and lower bounds of the observer gain obtained based on the linear time-invariant theorem and the stability analysis of the diagonal matrix allow the system to maintain its dynamic and precise control within the framework of fuzzy logic, and adapt to various operating conditions by adjusting the upper and lower bounds of the gain. The use of the inverse of the diagonal matrix and the symmetric matrix, as well as the related constants, ensures the optimization of the observer gain, so that the system can maintain efficient and stable performance even in a complex and changing environment. The application of this technology significantly improves the fault diagnosis capability of the fuel cell system and ensures the reliability and safety of the system.

[0052] S6: Collect real-time operation data and real-time system input, i.e. real-time stack operating current.

[0053] It is understandable that collecting real-time operating data and stack operating current is the data basis for ensuring efficient monitoring and fault diagnosis of the fuel cell backup power system. By continuously tracking these key data, we can capture the operating status of the system in real time and respond to potential abnormal changes in a timely manner. This real-time data collection mechanism ensures the adaptability and response speed of the system in a dynamic environment, provides necessary data support for subsequent fault analysis, and enhances the safety and reliability of the entire system.

[0054] S7: Use the real-time stack operating current as the input of the interval observer and output the predicted interval of each operating data.

[0055] Among them, the prediction interval is a concept used to estimate the range of values ​​that future observations may fall into.

[0056] It provides an upper and lower bound for possible future values, so that the estimate of the future state of the system has a certain confidence interval. In fault diagnosis and system monitoring, by determining the prediction interval, the possible performance of the system in normal operation and abnormal conditions can be foreseen. This interval not only reflects the uncertainty of the prediction, but can also be used to detect abnormal values ​​or changes in system trends, which helps to make timely adjustments or maintenance to ensure the stable operation of the system.

[0057] In a possible implementation, the prediction interval is specifically: in, and Respectively k The system outputs the upper bound and k The system outputs the lower bound at that moment. represents a non-negative output matrix consisting of zero and positive values ​​of the output matrix C, Represents the negative output matrix obtained by extracting the negative values ​​in the output matrix C.

[0058] It should be noted that the prediction interval is the possible range of the system output, that is, the maximum possible fluctuation range of the output value obtained at each moment. The use of non-negative output matrices and negative output matrices further refines these boundaries to ensure that the prediction covers all possible output situations, so that the system can still maintain the accuracy and reliability of the prediction when facing internal changes and external interference.

[0059] S8: When the real-time operation data is within the prediction interval, the output operation data is normal; otherwise, the output operation data is abnormal and an early warning is issued.

[0060] It should be noted that the system determines the equipment status by comparing the operating data with the predicted interval in real time. If the real-time data falls within the predicted interval, it indicates that the system is operating normally and no failure has occurred. On the contrary, if the data exceeds the predicted interval, the system will determine it as abnormal and issue an early warning immediately. This mechanism effectively enhances the reliability and safety of the system, and can identify and respond to potential problems in a timely manner, thereby avoiding greater equipment damage or downtime and ensuring continuous and stable operation.

[0061] In a possible implementation manner, after S8, the method further includes: Update the fuzzy set at preset intervals.

[0062] It is understandable that it is crucial to regularly update the fuzzy sets during system operation. Doing so ensures that the model keeps pace with the current operating environment and adapts to possible changes or new operating conditions, thereby enhancing the accuracy and reliability of diagnosis. This regular evaluation and adjustment method helps to continuously optimize system performance and prevent potential failures.

[0063] In actual application, this fault diagnosis method starts with collecting key operating data of the fuel cell backup power system, building a state space model based on these data, and then establishing fuzzy sets to describe the degree of membership of the operating data. Through fuzzy logic, multiple local models are created for each state variable, which are integrated into a TS model, and an interval observer is built based on this model to monitor the system status. Continuous collection and real-time monitoring of real-time data ensure that the system can respond to any abnormalities immediately, and finally issue an early warning when the operating data exceeds the normal range, thereby ensuring the stability and safety of the system and improving the accuracy and response speed of diagnosis.

[0064] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: In the present invention, a linear model of a set of fuzzy sets is used to describe the nonlinear fuel cell backup power system. Nonlinearity and external disturbances or external noise are introduced into the TS model with fuzzy properties in a bounded form. The complex nonlinear system is weighted combined in the form of a separated linear system to add and split various uncertainties, providing a more accurate description than the global nonlinear model. The interval observer of each state variable established based on the model outputs a prediction interval in which the system can operate normally while comprehensively considering internal and external uncertainties. Faults are isolated in the form of intervals instead of single-point prediction values. The accuracy is high and the misjudgment rate is low. The fault alarm rate can be effectively reduced when the system is in a safe operating state, and the consistency between the fault diagnosis result and the actual fault can be increased. Moreover, this interval prediction method provides a fault-tolerant space for the system to avoid frequent alarms caused by environmental changes or component aging that deviate from the nominal value.

[0065] Reference Manual Attached Figure 2 , showing a structural schematic diagram of a fuel cell backup power system fault diagnosis system provided by the present invention.

[0066] The present invention further provides a fuel cell backup power system fault diagnosis system 20, which is applied to the above-mentioned fuel cell backup power system fault diagnosis method, comprising: Processor 201.

[0067] The memory 202 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 201, the fuel cell backup power system fault diagnosis method of the method embodiment is implemented.

[0068] The fuel cell backup power system fault diagnosis system 20 provided by the present invention can execute the above-mentioned fuel cell backup power system fault diagnosis method and achieve the same or similar technical effects. To avoid repetition, the present invention will not go into details.

[0069] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: In the present invention, a linear model of a set of fuzzy sets is used to describe the nonlinear fuel cell backup power system. Nonlinearity and external disturbances or external noise are introduced into the TS model with fuzzy properties in a bounded form. The complex nonlinear system is weighted combined in the form of a separated linear system to add and split various uncertainties, providing a more accurate description than the global nonlinear model. The interval observer of each state variable established based on the model outputs a prediction interval in which the system can operate normally while comprehensively considering internal and external uncertainties. Faults are isolated in the form of intervals instead of single-point prediction values. The accuracy is high and the misjudgment rate is low. The fault alarm rate can be effectively reduced when the system is in a safe operating state, and the consistency between the fault diagnosis result and the actual fault can be increased. Moreover, this interval prediction method provides a fault-tolerant space for the system to avoid frequent alarms caused by environmental changes or component aging that deviate from the nominal value.

[0070] It should be understood that the processor in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0071] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0072] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0073] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0074] In the present invention, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0075] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0076] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0077] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0078] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0079] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0080] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0081] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0082] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the fuel cell backup power system fault diagnosis method as described in the method embodiment is implemented.

[0083] A computer-readable storage medium provided by the present invention can implement the steps and effects of the fuel cell backup power system fault diagnosis method of the above method embodiment. To avoid repetition, the present invention will not go into details.

[0084] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: In the present invention, a linear model of a set of fuzzy sets is used to describe the nonlinear fuel cell backup power system. Nonlinearity and external disturbances or external noise are introduced into the TS model with fuzzy properties in a bounded form. The complex nonlinear system is weighted combined in the form of a separated linear system to add and split various uncertainties, providing a more accurate description than the global nonlinear model. The interval observer of each state variable established based on the model outputs a prediction interval in which the system can operate normally while comprehensively considering internal and external uncertainties. Faults are isolated in the form of intervals instead of single-point prediction values. The accuracy is high and the misjudgment rate is low. The fault alarm rate can be effectively reduced when the system is in a safe operating state, and the consistency between the fault diagnosis result and the actual fault can be increased. Moreover, this interval prediction method provides a fault-tolerant space for the system to avoid frequent alarms caused by environmental changes or component aging that deviate from the nominal value.

[0085] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0086] There are a few points to note: (1) The drawings of the embodiments of the present invention only involve structures related to the embodiments of the present invention. Other structures may refer to conventional designs.

[0087] (2) For the sake of clarity, in the drawings used to describe the embodiments of the present invention, the thickness of layers or regions is exaggerated or reduced, that is, these drawings are not drawn according to the actual scale. It is understood that when an element such as a layer, film, region or substrate is referred to as being "on" or "under" another element, the element may be "directly" "on" or "under" the other element or there may be intermediate elements.

[0088] (3) In the absence of conflict, the embodiments of the present invention and the features therein may be combined with each other to obtain new embodiments.

[0089] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for diagnosing a fault in a fuel cell backup power system, characterized in that: include: S1: Collecting operation data about the fuel cell backup power system, wherein the operation data includes a stack operating current; S2: establishing a state space model of the fuel cell backup power system based on the operating data; S3: establishing a fuzzy set of each operating data based on the state space model, wherein the fuzzy set defines fuzzy rules of the operating data, and each fuzzy rule is used to describe the degree of membership of the operating data to a normal state; S4: Based on the fuzzy set, the stack operating current is used as the system input, each operating data is used as a state variable, and multiple local models of each state variable under different fuzzy rules are established, wherein all local models are weighted to obtain a TS model that describes the operating data of the fuel cell backup power system; S5: Based on the parameter uncertainty of the TS model, establish interval observers for each state variable that satisfies the fuzzy rules; S6: Collect real-time operation data and real-time system input, i.e. real-time stack operating current; S7: using the real-time stack operating current as the input of the interval observer, and outputting the prediction interval of each operating data; S8: When the real-time operation data is within the prediction interval, the output operation data is normal; otherwise, the output operation data is abnormal and an early warning is issued.

2. The fuel cell backup power system fault diagnosis method according to claim 1, characterized in that: The operating data also includes cathode oxygen mass, anode hydrogen mass, cathode nitrogen mass, supply, supply header pressure, return header pressure, compressor speed, anode water mass, and cathode water mass; The operating data is collected by a multimodal sensor.

3. The fuel cell backup power system fault diagnosis method according to claim 2, characterized in that: The state space model is specifically: in, and Represents the cathode oxygen mass The rate of change of anode hydrogen quality The rate of change and cathode nitrogen quality The rate of change, Indicates the air quality of the supply main The rate of change, Indicates supply main pressure The rate of change, Indicates the return main pressure The rate of change, Indicates compressor speed The rate of change, Indicates the quality of anode water The rate of change, Indicates cathode water quality The rate of change, represents an association matrix having a linear relationship and a connection relationship with the operating data, represents the correlation matrix directly related to the input current, i.e., the working current of the battery stack, T represents the transpose, Indicates the fuel cell stack operating current, i.e. the input current.

4. The fuel cell backup power system fault diagnosis method according to claim 1, characterized in that: The TS model is specifically: in, and Respectively k The system input and state variables at time , express k Moment i The system output corresponding to the fuzzy rule is the output value of the state variable under the influence of the system input. express k +1 time state variables, represents the first state transfer matrix without fuzzy rules, that is, without uncertainty influence, represents the second state transfer matrix under uncertain influence, and They represent the upper bound and lower bound of the second state transfer matrix, respectively. represents the first i The input matrix of the system input under the fuzzy rules, C represents the output matrix obtained by the state space model, express k Measure the noise at all times, N represents the total number of the fuzzy rules, represents the fuzzy set, Indicates i Fuzzy rules The degree of affiliation, Indicates i Fuzzy rules The weight of .

5. The fuel cell backup power system fault diagnosis method according to claim 1, characterized in that: The interval observer is specifically: in, and Respectively represent i Fuzzy rules k The upper bound and lower bound of the state vector at time , and Respectively represent i Fuzzy rules k+ The upper bound and lower bound of the state vector at time 1, and Respectively represent the upper bound and lower bound of the state vector, and They represent the upper bound and lower bound of the interval observer gain, respectively. and They represent the upper bound of the non-negative second state transfer matrix, the upper bound of the negative second state transfer matrix, the lower bound of the non-negative second state transfer matrix, and the lower bound of the negative second state transfer matrix, respectively. and They represent the upper bound of the non-negative state vector, the upper bound of the negative state vector, the lower bound of the non-negative state vector, and the lower bound of the non-negative state vector, respectively. Indicates taking the absolute value, Indicates that the dimension is the total dimension of the system output A column vector whose elements are all 1.

6. The fuel cell backup power system fault diagnosis method according to claim 5, characterized in that: The upper bound of the interval observer gain and the lower bound of the interval observer gain are specifically: in, and Respectively for the i The block diagonal matrix of fuzzy rules based on the linear time invariance theorem is The block diagonal upper bound and block diagonal lower bound of , represents the diagonal matrix derived from the linear time invariance theorem P The inverse, Q represents the symmetric matrix derived from the linear time invariance theorem, and are constants greater than zero. T represents transpose, Represents the function for all fuzzy rules Maximum value, represents the two-norm operator, and Both represent intermediate quantities.

7. The fuel cell backup power system fault diagnosis method according to claim 5, characterized in that: The prediction interval is specifically: in, and Respectively k The system outputs the upper bound and k The system outputs the lower bound at that moment. represents a non-negative output matrix consisting of zero and positive values ​​of the output matrix C, Represents the negative output matrix obtained by extracting the negative values ​​in the output matrix C.

8. The fuel cell backup power system fault diagnosis method according to claim 1, characterized in that: After S8, the method further includes: The fuzzy set is updated at preset time intervals.

9. A fuel cell backup power system fault diagnosis system, characterized in that: include: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the fuel cell backup power system fault diagnosis method as described in any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the fuel cell backup power system fault diagnosis method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Overheating steam temperature predicting fuzzy self-adaptive PID control method for thermal power generating unit

    CN107479389A

  • Robust fuzzy predictive fault-tolerant control method for interval time-varying-delaying system

    CN109212974A

  • Fault diagnosis method and device for proton exchange membrane fuel cell of hydrogen energy storage power station

    CN114492087A

  • OS-ELM fuel cell fault diagnosis method based on optimized FCM training

    CN115799580A

  • Nonlinear model predictive control system of data center cooling unit system

    CN117389146A

Cited By

  • Equipment fault detection method based on instant learning local model

    CN119357583A

  • A Device Fault Detection Method Based on an Instantaneous Learning Local Model

    CN119357583B