Fuel cell fault detection method and device

By combining the real-time and historical data of the fuel cell, the sensor error value is calculated and the fuel cell fault status is determined, which solves the problem of low sensor fault detection accuracy and improves the operating stability and life of the fuel cell.

CN115275286BActive Publication Date: 2025-02-21CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210978307.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-16
Publication Date
2025-02-21
Estimated Expiration
2042-08-16

AI Technical Summary

Technical Problem

The accuracy of sensor fault detection in fuel cell systems is low, resulting in an increase in the abnormal operation rate of fuel cell and a decrease in life.

Method used

By obtaining the current power value of the fuel cell, the current pressure value and flow value of the cathode circuit, and the corresponding historical data, the error value of the pressure and flow rate is calculated, and the calculated value of the pressure and flow rate is calculated based on the weight value, the fault of the fuel cell is finally determined. Test results.

Benefits of technology

It improves the accuracy and efficiency of fault detection, enhances the operating stability of fuel cells, and extends its service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115275286B_ABST
    Figure CN115275286B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for detecting a fault of a fuel cell. The method comprises: obtaining the current power value of a fuel cell in a vehicle, and the current pressure value and current flow value corresponding to the cathode circuit of the fuel cell; obtaining the historical pressure value corresponding to the current power value, and the historical flow value corresponding to the current power value; determining the pressure error value corresponding to the pressure sensor in the cathode circuit, and the flow error value corresponding to the flow sensor in the cathode circuit; obtaining the pressure calculation value and the flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; determining the fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value. The present invention solves the technical problem that the sensor fault detection accuracy is low in the related art, which leads to an increased abnormal rate of fuel cell operation and a reduced lifespan.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fault detection, and in particular to a method and device for detecting a fault of a fuel cell. Background Art

[0002] Fuel cells are one of the main energy sources for clean energy vehicles. Fuel cell vehicles require multiple systems to work together during driving, among which the cathode circuit is the key part. Considering that there are various sensors in the cathode circuit that need to collect information at all times, if the sensor fails and is not maintained, it may cause the system status to exceed the normal range, such as pressure overshoot and insufficient flow, thereby causing the entire system to fail to operate, or causing deviations in vehicle control results, resulting in problems such as fuel cell life degradation and performance degradation.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a fuel cell fault detection method and device to at least solve the technical problem in the related art that the sensor fault detection accuracy is low, resulting in an increased abnormal rate of fuel cell operation and a reduced lifespan.

[0005] According to one aspect of an embodiment of the present invention, a fuel cell fault detection method is provided, comprising: obtaining a current power value of a fuel cell in a vehicle, and a current pressure value and a current flow value corresponding to a cathode circuit of the fuel cell, wherein the current pressure value is the real-time pressure of the gas in the cathode circuit, and the current flow value is the real-time flow of the gas in the cathode circuit; obtaining a historical pressure value corresponding to the current power value, and a historical flow value corresponding to the current power value; determining a pressure error value corresponding to a pressure sensor in the cathode circuit, and a flow error value corresponding to a flow sensor in the cathode circuit; obtaining a pressure calculation value and a flow calculation value according to the current pressure value, the current flow value, the historical pressure values, the historical flow values, the pressure error value, and the flow error value; and determining a fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value.

[0006] Optionally, the current pressure value includes: a current input pressure value and a current output pressure value, the historical pressure value includes: a historical input pressure value and a historical output pressure value, the pressure error value includes: an input pressure error value and an output pressure error value, and obtaining a pressure calculation value and a flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value includes: obtaining a first weight value corresponding to the current output pressure value, a second weight value corresponding to the current input pressure value, a third weight value corresponding to the current flow value, a fourth weight value corresponding to the historical output pressure value, and the historical input pressure value. A fifth weight value corresponding to the force value, and a sixth weight value corresponding to the historical flow value; according to the current input pressure value, the current output pressure value, the historical input pressure value, the historical output pressure value, the input pressure error value, and the output pressure error value, the first weight value, the second weight value, the fourth weight value, and the fifth weight value are used for calculation to obtain the pressure calculation value, wherein the pressure calculation value includes: a pressure input calculation value and a pressure output calculation value; according to the current flow value, the historical flow value, and the flow error value, the third weight value and the sixth weight value are used for calculation to obtain the flow calculation value.

[0007] Optionally, the pressure calculation value is obtained by calculating the current input pressure value, the current output pressure value, the historical input pressure value, the historical output pressure value, the input pressure error value, and the output pressure error value using the first weight value, the second weight value, the fourth weight value, and the fifth weight value, wherein the pressure calculation value includes: a pressure input calculation value and a pressure output calculation value, including: obtaining an output differential value corresponding to the current output pressure value and an input differential value corresponding to the current input pressure value; obtaining the pressure output calculation value according to the output differential value, the historical output pressure value, the first weight value, the fourth weight value, and the output pressure error value in the following manner:

[0008]

[0009] Among them, p out,ca is the calculated value of the pressure output, k 1 is the first weight value, is the output differential value, 1-k 1 is the fourth weight value, p out,his is the historical output pressure value, p dis1is the output pressure error value; and the pressure input calculation value is obtained according to the input differential value, the historical input pressure value, the second weight value, the fifth weight value, and the input pressure error value in the following manner:

[0010]

[0011] Among them, p in,ca Enter the calculated value for the pressure, k 2 is the second weight value, is the input differential value, 1-k 2 is the fifth weight value, p in,his Enter the pressure value for the history, 1-k 2 is the fifth weight value, p in,his For the historical input pressure value, p dis2 is the input pressure error value.

[0012] Optionally, the obtaining of the output differential value corresponding to the current output pressure value and the input differential value corresponding to the current input pressure value includes: obtaining the flow disturbance value in the cathode circuit, the pressure disturbance value in the cathode circuit, and the current output current value corresponding to the fuel cell stack; obtaining a first flow value corresponding to the current output pressure value and a second flow value corresponding to the current input pressure value, wherein the first flow value is obtained based on the outlet and the opening calibration of the cathode circuit, and the second flow value is obtained based on the inlet and the opening calibration of the cathode circuit; according to the current flow value, the first flow value, the flow disturbance value, and the current output current value, the output differential value is obtained in the following manner:

[0013]

[0014] Among them, a 1 is the first correlation coefficient, W ca is the current flow value, f(p in , θ) is the second flow value, p in is the current input pressure value, θ is the opening calibration, a 2 is the second correlation coefficient, I st is the current output current value, d 1 is the flow disturbance value;

[0015] According to the current flow value, the second flow value, the pressure disturbance value, and the current output current value, the input differential value is obtained in the following manner:

[0016]

[0017] Among them, f(p out , θ) is the second flow value, p out is the current output pressure value, d 2 is the pressure disturbance value.

[0018] Optionally, the calculating according to the current flow value, the historical flow value, and the flow error value using the third weight value and the sixth weight value to obtain the flow calculation value includes: obtaining a flow differential value corresponding to the current flow value; and obtaining the flow calculation value according to the flow differential value, the historical flow value, and the flow error value using the third weight value and the sixth weight value in the following manner:

[0019]

[0020] Among them, W in is the flow rate calculation value, k 3 is the third weight value, 1-k 3 is the sixth weight value, W ca,his is the historical flow value, W dis is the flow error value.

[0021] Optionally, the obtaining of the flow differential value corresponding to the current flow value comprises: obtaining a flow fitting value by a fitting method based on historical operation data of the fuel cell; and obtaining a flow differential value corresponding to the current flow value according to the flow fitting value and the current flow value by the following method:

[0022]

[0023] in, is the flow differential value, a 11 is the third correlation coefficient, is the flow fitting value, b 11 is the fourth correlation coefficient, u 1 is the speed value corresponding to the air compressor in the cathode circuit, b 12 is the fifth correlation coefficient, u 2 is the opening of the back pressure valve in the cathode circuit, L 1 is the preset calibration coefficient, C is the preset diagonal unit matrix, W ca is the current flow value, k 11 is the preset scale factor, sgn is the sign function, is the flow disturbance fitting value, is the differential value of the bypass valve flow rate of the cathode circuit.

[0024] Optionally, determining the fault detection result of the fuel cell based on the calculated pressure value, the current pressure value, the calculated flow value, and the current flow value includes: calculating a first absolute difference between the calculated pressure value and the current pressure value; calculating a second absolute difference between the calculated flow value and the current flow value; and upon determining that the first absolute difference is greater than a preset pressure threshold, and the duration for which the first absolute difference is greater than the preset pressure threshold is greater than a first preset duration, and / or determining that the second absolute difference is greater than a preset flow threshold, and the duration for which the second absolute difference is greater than the preset flow threshold is greater than a second preset duration, determining that the fault detection result is that the fuel cell is in a faulty state.

[0025] Optionally, the obtaining of the historical pressure value corresponding to the current power value and the historical flow value corresponding to the current power value includes: based on the current power value, obtaining the pressure value included in the historical operation data of the vehicle, and performing an average calculation on the pressure value included in the historical operation data to obtain the historical pressure value; based on the current power value, obtaining the flow value included in the historical operation data of the vehicle, and performing an average calculation on the flow value included in the historical operation data to obtain the historical flow value.

[0026] According to another aspect of an embodiment of the present invention, a fuel cell fault detection device is provided, comprising: a first acquisition module, used to acquire a current power value of a fuel cell in a vehicle, and a current pressure value and a current flow value corresponding to a cathode circuit of the fuel cell, wherein the current pressure value is the real-time pressure of the gas in the cathode circuit, and the current flow value is the real-time flow of the gas in the cathode circuit; a second acquisition module, used to acquire a historical pressure value corresponding to the current power value, and a historical flow value corresponding to the current power value; a first determination module, used to determine a pressure error value corresponding to the pressure sensor in the cathode circuit, and a flow error value corresponding to the flow sensor in the cathode circuit; a first calculation module, used to obtain a pressure calculation value and a flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; a second determination module, used to determine a fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value.

[0027] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executed by any one of the fuel cell fault detection methods.

[0028] In an embodiment of the present invention, by obtaining the current power value of the fuel cell in the vehicle, and the current pressure value and current flow value corresponding to the cathode circuit of the fuel cell, wherein the current pressure value is the real-time pressure of the gas in the cathode circuit, and the current flow value is the real-time flow of the gas in the cathode circuit; obtaining the historical pressure value corresponding to the current power value, and the historical flow value corresponding to the current power value; determining the pressure error value corresponding to the pressure sensor in the cathode circuit, and the flow error value corresponding to the flow sensor in the cathode circuit; obtaining the pressure calculation value and the flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; and determining the fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value. The purpose of combining historical data with real-time data to improve the fault detection capability is achieved, and the technical effect of improving the fault detection rate and enhancing the operating stability of the fuel cell is achieved, thereby solving the technical problem that the sensor fault detection accuracy is low, resulting in an increased abnormal rate of fuel cell operation and a reduced life span in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0030] Figure 1 A flowchart of an optional fuel cell fault detection method provided according to an embodiment of the present invention;

[0031] Figure 2 A schematic diagram of a cathode circuit of an optional fuel cell fault detection method provided according to an embodiment of the present invention;

[0032] Figure 3 A schematic flow chart of an optional fuel cell fault detection method provided according to an embodiment of the present invention;

[0033] Figure 4 Schematic diagram of an optional fuel cell fault detection device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] In one related technology, the normal value of the fuel cell when operating under different working conditions is set, compared with the actual value, and the residual signal is calculated to infer the state of the sensor fault. Since the influence of the error of the sensor itself and the error caused by the disturbance of the system in different states is not taken into account, the probability of misjudgment occurs. In another related technology, the historical data information of the fuel cell operating at different working points is obtained and compared with the current actual value. When the difference exceeds the set threshold, the sensor is judged to be in a faulty state. The difference between the current state and the historical state due to system changes is not taken into account, and the analysis results of the combination of the two are not considered, resulting in rigid fault detection capabilities and poor adaptability to actual application scenarios. In another related technology, a formula is used to calculate the estimated flow and compare it with the actual value to judge the flow sensor fault information, ignoring the data changes caused by the error of the sensor itself and the disturbance of the system in different states, which is not conducive to obtaining correct detection results.

[0037] In response to the above problems, an embodiment of the present invention provides a method embodiment of a fuel cell fault detection method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0038] Figure 1A fuel cell fault detection method according to an embodiment of the present invention is as follows: Figure 1 As shown, the method comprises the following steps:

[0039] Step S102, obtaining a current power value of a fuel cell in the vehicle, and a current pressure value and a current flow value corresponding to a cathode circuit of the fuel cell, wherein the current pressure value is a real-time pressure of the gas in the cathode circuit, and the current flow value is a real-time flow of the gas in the cathode circuit;

[0040] Step S104, obtaining a historical pressure value corresponding to the current power value and a historical flow value corresponding to the current power value;

[0041] Step S106, determining a pressure error value corresponding to the pressure sensor in the cathode circuit, and a flow error value corresponding to the flow sensor in the cathode circuit;

[0042] Step S108, obtaining a pressure calculation value and a flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value;

[0043] Step S110, determining a fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value.

[0044] Through the above steps, historical data can be combined with real-time data to improve the purpose of fault detection capability, and the technical effect of improving the fault detection rate and enhancing the stability of fuel cell operation can be achieved, thereby solving the technical problem of low sensor fault detection accuracy existing in related technologies, which leads to increased abnormal rate of fuel cell operation and reduced life.

[0045] In the fault detection method of the fuel cell provided in the embodiment of the present invention, the fuel cell is used to power the vehicle, and the cathode circuit in the fuel cell is an important component thereof. Air is introduced into the cathode circuit, and the air processed by the cathode circuit enters the stack for reaction. Therefore, the normal operation of the cathode circuit is very important for the fuel cell. In order to obtain the fault detection result, first, the current power value of the fuel cell, the current pressure value of the gas in the cathode circuit, and the current flow value of the gas in the cathode circuit are obtained after the vehicle is started. After that, the historical pressure value corresponding to the above current power value and the corresponding historical flow value are obtained. Secondly, since the actual sensor is not an ideal sensor, there are more or less deviations. In order to reduce the influence of the sensor error on the fault detection result, it is necessary to determine the pressure error value corresponding to the pressure sensor in the cathode circuit and the flow error value corresponding to the flow sensor in the cathode circuit. Based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value, the fault detection result of the fuel cell is determined.

[0046] Optionally, there may be multiple ways to obtain the current power value, for example, based on a communication bus, using an on-board computer to obtain the power value.

[0047] Optionally, there may be multiple ways to obtain the pressure error value, for example, obtaining the corresponding pressure error value by testing a target number of pressure sensors of the same model.

[0048] Optionally, there may be multiple ways to obtain the above flow error value, for example: obtaining the corresponding flow error value by testing a target number of flow sensors of the same model.

[0049] In an optional embodiment, the current pressure value includes: a current input pressure value and a current output pressure value, the historical pressure value includes: a historical input pressure value and a historical output pressure value, the pressure error value includes: an input pressure error value and an output pressure error value, and the pressure calculation value and the flow calculation value are obtained according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value, including: obtaining a first weight value corresponding to the current output pressure value, a second weight value corresponding to the current input pressure value, a third weight value corresponding to the current flow value, a fourth weight value corresponding to the historical output pressure value, and the fourth weight value corresponding to the historical output pressure value. The fifth weight value corresponding to the historical input pressure value, and the sixth weight value corresponding to the above historical flow value; according to the above current input pressure value, the above current output pressure value, the above historical input pressure value, the above historical output pressure value, the above input pressure error value, and the above output pressure error value, the above first weight value, the above second weight value, the above fourth weight value, and the above fifth weight value are used for calculation to obtain the above pressure calculation value, wherein the above pressure calculation value includes: a pressure input calculation value and a pressure output calculation value; according to the above current flow value, the above historical flow value, and the above flow error value, the above third weight value and the above sixth weight value are used for calculation to obtain the above flow calculation value.

[0050] It can be understood that in order to improve the fault detection performance of the cathode loop, pressure sensors are respectively set at the inlet and outlet of the cathode loop to collect pressure respectively, so that the corresponding current input pressure value and current output pressure value, the corresponding historical input pressure value and historical output pressure value, and the corresponding input pressure error value and output pressure error value are obtained. In order to further characterize the relationship between historical data and actual collected data, corresponding weight distribution is performed, and the pressure input calculation value, pressure output calculation value and flow calculation value are obtained.

[0051] Optionally, the above-mentioned current input pressure value and output pressure value can be multiple. For ease of understanding, specific examples are given. For example, in order to improve the detection performance, pressure sensors are respectively set at the inlet and outlet of the cathode circuit, and the current input pressure value and output pressure value are obtained accordingly. When one of the pressure sensors has a problem and the current input pressure value cannot be obtained temporarily, the output pressure value can be used as a substitute. Similarly, when the current output pressure value cannot be obtained temporarily, the input pressure value can be used as a substitute.

[0052] Optionally, after obtaining the above fault detection result, there may be multiple situations, for example, when the fault detection result is a pressure sensor fault, the historical operation data in the vehicle is used for fitting, and the above fitting result replaces the current pressure value. Similarly, when the fault detection result is a flow sensor fault, the historical operation data in the vehicle is used for fitting, and the above fitting result replaces the current flow value.

[0053] It should be noted that the above-mentioned historical pressure values ​​and historical flow values ​​are derived from the historical operation data of the vehicle. When no failure of the above-mentioned fuel cell is detected, the collected current pressure values ​​and current flow values ​​are continuously stored in the historical operation data according to time. During the normal operation of the fuel cell, collection and storage are performed, which is conducive to enriching the historical operation data, and thus providing support for obtaining high-accuracy fault detection results.

[0054] In an optional embodiment, the pressure calculation value is obtained by calculating the current input pressure value, the current output pressure value, the historical input pressure value, the historical output pressure value, the input pressure error value, and the output pressure error value using the first weight value, the second weight value, the fourth weight value, and the fifth weight value, wherein the pressure calculation value includes: a pressure input calculation value and a pressure output calculation value, including: obtaining an output differential value corresponding to the current output pressure value and an input differential value corresponding to the current input pressure value; obtaining the pressure output calculation value according to the output differential value, the historical output pressure value, the first weight value, the fourth weight value, and the output pressure error value in the following manner:

[0055]

[0056] Among them, p out,ca is the calculated value of the above pressure output, k 1 is the first weight value mentioned above, is the above output differential value, 1-k 1 is the fourth weight value mentioned above, p out,his is the above historical output pressure value, p dis1 is the output pressure error value; according to the input differential value, the historical input pressure value, the second weight value, the fifth weight value, and the input pressure error value, the pressure input calculation value is obtained in the following manner:

[0057]

[0058] Among them, P in,ca Enter the calculated value for the above pressure, k 2 is the second weight value mentioned above, For the above input differential value, 1-k 2 is the fifth weight value mentioned above, p in,his Enter the pressure value for the above history, 1-k 2 is the fifth weight value mentioned above, p in,his Enter the pressure value for the above history, p dis2 is the input pressure error value mentioned above.

[0059] It can be understood that the calculation methods of the pressure output calculation value and the pressure input calculation value are established respectively to determine the output differential value and the input differential value. Afterwards, the pressure output calculation value is obtained based on the output differential value, the historical output pressure value, the first weight value, the fourth weight value, and the output pressure error value, and the pressure input calculation value is obtained based on the input differential value, the historical input pressure value, the second weight value, the fifth weight value, and the input pressure error value.

[0060] In an optional embodiment, the above-mentioned obtaining of the output differential value corresponding to the above-mentioned current output pressure value and the input differential value corresponding to the above-mentioned current input pressure value includes: obtaining the flow disturbance value in the above-mentioned cathode circuit, the pressure disturbance value in the above-mentioned cathode circuit, and the current output current value corresponding to the above-mentioned fuel cell stack; obtaining a first flow value corresponding to the above-mentioned current output pressure value and a second flow value corresponding to the above-mentioned current input pressure value, wherein the above-mentioned first flow value is obtained based on the outlet and the opening calibration of the above-mentioned cathode circuit, and the above-mentioned second flow value is obtained based on the inlet and the above-mentioned opening calibration of the above-mentioned cathode circuit; according to the above-mentioned current flow value, the above-mentioned first flow value, the above-mentioned flow disturbance value, and the above-mentioned current output current value, the above-mentioned output differential value is obtained in the following manner:

[0061]

[0062] Among them, a 1 is the first correlation coefficient, W ca is the current flow value mentioned above, f(p in , θ) is the second flow value, p in is the current input pressure value, θ is the opening calibration, a 2 is the second correlation coefficient, I st is the above current output current value, d 1 is the above flow disturbance value;

[0063] According to the current flow value, the second flow value, the pressure disturbance value, and the current output current value, the input differential value is obtained in the following manner:

[0064]

[0065] Among them, f(p out, θ) is the second flow value, p out is the current output pressure value mentioned above, d 2 is the above pressure disturbance value.

[0066] It can be understood that by obtaining the flow disturbance value in the cathode circuit, the pressure disturbance value in the cathode circuit, and the current output current value corresponding to the above-mentioned fuel cell stack, a calculation method for the output differential value and the input differential value is established, and the output differential value is obtained based on the current flow value, the first flow value, the flow disturbance value, and the current output current value, and the input differential value is obtained based on the current flow value, the second flow value, the pressure disturbance value, and the current output current value.

[0067] Optionally, there are multiple methods for obtaining the first correlation coefficient, for example: 1 is the first correlation coefficient, a 1 =R air T / V ca , where R air is the ideal air constant, T is the actual air temperature, V ca is the volume of the cathode loop.

[0068] Optionally, there are multiple methods for obtaining the second correlation coefficient, for example: 2 is the second correlation coefficient, in, is the oxygen gas constant, T is the actual air temperature, V ca is the volume of the cathode loop, n cell is the number of single-cell batteries in the battery stack, is the molar mass of oxygen, and F is the Faraday constant.

[0069] In an optional embodiment, the above-mentioned flow calculation value is obtained by using the third weight value and the sixth weight value to calculate according to the current flow value, the historical flow value, and the flow error value, including: obtaining a flow differential value corresponding to the current flow value; according to the flow differential value, the historical flow value, and the flow error value, using the third weight value and the sixth weight value, obtaining the flow calculation value in the following manner:

[0070]

[0071] Among them, W in is the above flow calculation value, k 3 is the third weight value mentioned above, 1-k 3 is the sixth weight value, W ca,his is the above historical flow value, W dis is the above flow error value.

[0072] It can be understood that a calculation method for the flow calculation value is established, the corresponding flow differential value is determined, and the flow differential value, historical flow value, flow error value, the third weight value and the sixth weight value are used to obtain the flow calculation value.

[0073] In an optional embodiment, the above-mentioned obtaining the flow differential value corresponding to the above-mentioned current flow value includes: based on the historical operation data of the above-mentioned fuel cell, using a fitting method to obtain a flow fitting value; according to the above-mentioned flow fitting value and the above-mentioned current flow value, obtaining the flow differential value corresponding to the above-mentioned current flow value in the following manner:

[0074]

[0075] in, is the differential value of the above flow rate, a 11 is the third correlation coefficient, is the above flow fitting value, b 11 is the fourth correlation coefficient, u 1 is the speed value corresponding to the air compressor in the cathode circuit above, b 12 is the fifth correlation coefficient, u 2 is the opening of the back pressure valve in the cathode circuit, L 1 is the preset calibration coefficient, C is the preset diagonal unit matrix, W ca is the current flow value mentioned above, k 11 is the preset scale factor, sgn is the sign function, is the flow disturbance fitting value, is the differential value of the bypass valve flow rate of the above cathode circuit.

[0076] It can be understood that the calculation method of the flow differential value is established, and the connection between the historical data and the current collected data is further deepened by fitting the historical operation data, and the flow fitting value is obtained by using the fitting method. Then, according to the flow fitting value and the current flow value, the flow differential value corresponding to the current flow value is obtained.

[0077] Optionally, there are multiple methods for obtaining the third correlation coefficient, for example: 11 is the third correlation coefficient, a 11 =df 1 / dp ca *R air T / V ca , where f 1 Represents the calibration relationship function between air compressor flow, speed, and pressure, p ca Average pressure value of cathode circuit, R air is the ideal air constant, T is the actual air temperature, V ca is the volume of the cathode loop.

[0078] Optionally, there are multiple methods for obtaining the fourth correlation coefficient, for example: 11 is the fourth correlation coefficient, b 11 =df 1 / dN / T cp , where f 1 Represents the calibration relationship function between the air compressor flow, speed, and pressure, N is the speed of the air compressor, T cp The response time of the air compressor.

[0079] Optionally, there are multiple methods for obtaining the fifth correlation coefficient, for example: 12 is the fifth correlation coefficient, b 12 =df 1 / dp ca *R air T / V ca , where f 1 Represents the calibration relationship function between air compressor flow, speed, and pressure, p ca The average pressure value of the cathode circuit, R air is the ideal air constant, T is the actual air temperature, V ca is the volume of the cathode loop.

[0080] In an optional embodiment, the above-mentioned determination of the fault detection result of the above-mentioned fuel cell based on the above-mentioned pressure calculation value, the above-mentioned current pressure value, the above-mentioned flow calculation value, and the above-mentioned current flow value includes: calculating the first absolute difference between the above-mentioned pressure calculation value and the above-mentioned current pressure value; calculating the second absolute difference between the above-mentioned flow calculation value and the above-mentioned current flow value; when it is determined that the above-mentioned first absolute difference is greater than the preset pressure threshold, and the duration of the above-mentioned first absolute difference being greater than the above-mentioned preset pressure threshold is greater than the first preset duration, and / or when it is determined that the above-mentioned second absolute difference is greater than the preset flow threshold, and the duration of the above-mentioned second absolute difference being greater than the above-mentioned preset flow threshold is greater than the second preset duration, the above-mentioned fault detection result is determined that the above-mentioned fuel cell is in a faulty state.

[0081] It can be understood that the above pressure calculation value is used as the criterion for judging the current pressure value, and the above flow calculation value is used as the criterion for judging the current flow value, which is conducive to making the judgment standard float with the change of the current fuel cell, reducing the probability of misjudgment. The first absolute difference between the pressure calculation value and the current pressure value, and the second absolute difference between the flow calculation value and the current flow value are obtained by calculation. In order to reduce the impact of occasional disturbances on the fault detection result, the first preset time length can be further determined by the second preset time length. When it is determined that the first absolute difference is greater than the preset pressure threshold, and the duration of the first absolute difference greater than the preset pressure threshold is greater than the first preset duration, and / or when it is determined that the second absolute difference is greater than the preset flow threshold, and the duration of the second absolute difference greater than the preset flow threshold is greater than the second preset duration, it is determined that the fault detection result is that the fuel cell is in a fault state.

[0082] In an optional embodiment, the above-mentioned acquisition of the historical pressure value corresponding to the above-mentioned current power value, and the historical flow value corresponding to the above-mentioned current power value, include: based on the above-mentioned current power value, acquiring the pressure value included in the historical operation data of the above-mentioned vehicle, and calculating the average value of the pressure value included in the above-mentioned historical operation data to obtain the above-mentioned historical pressure value; based on the above-mentioned current power value, acquiring the flow value included in the historical operation data of the above-mentioned vehicle, and calculating the average value of the flow value included in the above-mentioned historical operation data to obtain the above-mentioned historical flow value.

[0083] It is understood that in the historical operation data of the vehicle, a current power value may correspond to multiple different pressure values ​​or flow values. In order to determine the historical pressure value and the historical flow value, the pressure value included in the historical operation data is averaged, and the flow value included in the historical operation data is averaged.

[0084] Based on the above embodiments and optional embodiments, the present invention proposes an optional implementation mode: Figure 2 A cathode circuit schematic diagram of an optional fuel cell fault detection method provided in an embodiment of the present invention is shown in FIG. Figure 2 As shown, the cathode loop system consists of an air filter (referred to as air filter), an air compressor (referred to as air compressor), an intercooler, a stop valve 1, a stop valve 2, a back pressure valve and a bypass valve, and a fuel cell engine. The air is purified by the air filter, compressed by the air compressor, cooled by the intercooler, and enters the fuel cell engine stack after the stop valve 1. After the reaction, it flows out from the air outlet and enters the atmosphere after the stop valve 2 and the back pressure valve. The cathode loop includes multiple sensors, including 3 pressure sensors, which are located at the cathode loop inlet, outlet and before the stop valve 1, and are denoted as P respectively. in , P out , P in,front, 2 temperature sensors, located at the cathode circuit inlet and outlet, denoted as T in , T out , 2 flow sensors, located in front of the bypass valve and the air compressor, respectively denoted as M pass , M in .

[0085] Figure 3 A schematic flow chart of an optional fuel cell fault detection method provided according to an embodiment of the present invention is as follows: Figure 3 As shown, after the vehicle is started, the specific steps are as follows:

[0086] Step S1, obtaining the current power value Q of the fuel cell in the vehicle, and the current input pressure value corresponding to the cathode circuit is recorded as P in , recorded as the current output pressure value P out , recorded as the current flow value W in,real .

[0087] Step S2, obtaining the historical pressure value and the historical flow value corresponding to the power equal to the current system operating power in the historical operation data of the vehicle.

[0088] In step S3, the fuel cell control unit sends a preset weight value, and performs weight allocation on the current input pressure value, the current output pressure value, and the current flow value. The first weight value of the current output pressure value is recorded as k1, the second weight value of the current input pressure value is recorded as k2, and the third weight value of the current flow value is recorded as k3. The fourth weight value (1-k1) corresponds to the historical output pressure value, the fifth weight value (1-k2) corresponds to the historical input pressure value, and the sixth weight value (1-k3) corresponds to the historical flow value.

[0089] Step S4, in order to obtain the input pressure calculation value, the output pressure calculation value, and the flow calculation value, the following method is used for calculation:

[0090]

[0091]

[0092]

[0093]

[0094]

[0095]

[0096] in, is the flow differential value, a 11 is the third correlation coefficient, is the flow fitting value, b 11 is the fourth correlation coefficient, u 1 is the speed value corresponding to the air compressor in the cathode circuit, b 12 is the fifth correlation coefficient, u 2 is the opening of the back pressure valve in the cathode circuit, L 1 is the preset calibration coefficient, C is the preset diagonal unit matrix, W ca is the current flow value, k 11 is the preset scale factor, sgn is the sign function, is the flow disturbance fitting value, is the differential value of the bypass valve flow rate in the cathode circuit. 1 is the first correlation coefficient, W ca is the current flow value, f(p in , θ) is the second flow value, p in is the current input pressure value, θ is the opening calibration, a 2 is the second correlation coefficient, I st is the current output current value, d 1 is the flow disturbance value. f(p out , θ) is the second flow value, p out is the current output pressure value, d 2 is the pressure disturbance value. in is the flow calculation value, k 3 is the third weight value, 1-k 3 is the sixth weight value, W ca,his is the historical flow value, W dis is the flow error value. out,ca is the calculated value of pressure output, k 1 is the first weight value, is the output differential value, 1-k 1 is the fourth weight value, p out,his is the historical output pressure value, p dis1 is the output pressure error value; p in,ca Enter the calculated value for pressure, k 2 is the second weight value, is the input differential value, 1-k 2 is the fifth weight value, p in,his Input pressure value for history, 1-k 2 is the fifth weight value, p in,his Input pressure value for history, p dis2 is the input pressure error value.

[0097] The non-directly acquired parameters are obtained by the following method:

[0098] a 11 =df1 / dp ca *R air T / V ca

[0099] b 11 =df 1 / dN / T cp

[0100] b 12 =df 1 / dp ca *R air T / V ca

[0101] a 1 =R air T / V ca

[0102]

[0103] Among them, R air is the ideal air constant, T is the actual air temperature, V ca is the volume of the cathode loop, is the oxygen gas constant, T is the actual air temperature, V ca is the volume of the cathode loop, n cell is the number of single-cell batteries in the battery stack, is the molar mass of oxygen, F is the Faraday constant, f1 represents the calibration relationship function between the air compressor flow, speed and pressure, p ca The average pressure value of the cathode circuit, N is the speed of the air compressor.

[0104] Step S5, determine whether the current input pressure value and / or the current output pressure value is outside the threshold range, the absolute value symbol is abs, and the determination condition is the first absolute difference between the current input pressure value and the input pressure calculation value, denoted as abs(Pi n -P in,ca ), and / or the absolute difference between the current input pressure value and the calculated input pressure value, denoted as abs(P out -P out,ca ) is greater than the preset pressure threshold, and the duration is greater than the first preset duration. Determine whether the current input flow value is outside the threshold interval. The judgment condition is the second absolute difference between the current flow value and the flow calculation value, recorded as abs(W in -W in,real) is greater than a preset flow threshold, and the duration is greater than a second preset duration. In the case where it is determined that the first absolute difference is greater than the preset pressure threshold, and the duration for which the first absolute difference is greater than the preset pressure threshold is greater than the first preset duration, and / or the second absolute difference is determined to be greater than the preset flow threshold, and the duration for which the second absolute difference is greater than the preset flow threshold is greater than the second preset duration, it is determined that the fault detection result is that the fuel cell is in a fault state.

[0105] Step S6, using the fitting value of the corresponding historical operation data to replace the corresponding sensor collection value until the operation ends. For example, when the fault detection result is a pressure sensor fault, the historical operation data in the vehicle is used for fitting, and the above fitting result replaces the current pressure value. When the fault detection result is a flow sensor fault, the historical operation data in the vehicle is used for fitting, and the above fitting result replaces the current flow value.

[0106] The above optional implementation manner achieves at least one of the following effects: based on the physical information in the current fuel cell cathode circuit, taking into account the influence of internal and external variables, and combining the sensor's own errors, integrating historical data, giving weight values, and comprehensively using evaluation methods to determine the sensor fault state, thereby preventing misjudgment of fault detection due to unreasonable and incomplete evaluation methods, which is beneficial to ensuring that the fuel cell is in a stable operating state and extending the service life of the fuel cell system.

[0107] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0108] In this embodiment, a fuel cell fault detection device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the terms "module" and "device" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0109] According to an embodiment of the present invention, there is also provided an apparatus embodiment for implementing a fuel cell fault detection method. Figure 4 is a schematic diagram of a fuel cell fault detection device according to an embodiment of the present invention. Figure 4 As shown, the above fuel cell fault detection device includes: a first acquisition module 402, a second acquisition module 404, a first determination module 406, a first calculation module 408, and a second determination module 410. The device is described below.

[0110] The first acquisition module 402 is used to acquire the current power value of the fuel cell in the vehicle, and the current pressure value and current flow value corresponding to the cathode circuit of the fuel cell, wherein the current pressure value is the real-time pressure of the gas in the cathode circuit, and the current flow value is the real-time flow of the gas in the cathode circuit;

[0111] The second acquisition module 404 is connected to the first acquisition module 402 and is used to acquire the historical pressure value corresponding to the current power value and the historical flow value corresponding to the current power value;

[0112] A first determining module 406, connected to the second acquiring module 404, for determining a pressure error value corresponding to the pressure sensor in the cathode circuit and a flow error value corresponding to the flow sensor in the cathode circuit;

[0113] A first calculation module 408, connected to the first determination module 406, is used to obtain a pressure calculation value and a flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value;

[0114] The second determination module 410 is connected to the first calculation module 408, and is used to determine the fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value.

[0115] In a fuel cell fault detection device provided by an embodiment of the present invention, a first acquisition module 402 is used to acquire the current power value of the fuel cell in the vehicle, and the current pressure value and current flow value corresponding to the cathode circuit of the fuel cell, wherein the current pressure value is the real-time pressure of the gas in the cathode circuit, and the current flow value is the real-time flow of the gas in the cathode circuit; a second acquisition module 404 is connected to the first acquisition module 402 and is used to acquire the historical pressure value corresponding to the current power value, and the historical flow value corresponding to the current power value; a first determination module 406 is connected to the second acquisition module 404 and is used to determine the current power value of the fuel cell; The first calculation module 408 is connected to the first determination module 406 and is used to obtain the pressure calculation value and the flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; the second determination module 410 is connected to the first calculation module 408 and is used to determine the fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value. The purpose of combining historical data with real-time data to improve the fault detection capability is achieved, and the technical effect of improving the fault detection rate and enhancing the stability of fuel cell operation is achieved, thereby solving the technical problem that the sensor fault detection accuracy is low, resulting in an increased abnormal rate of fuel cell operation and a reduced life span in the related technology.

[0116] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0117] It should be noted that the first acquisition module 402, the second acquisition module 404, the first determination module 406, the first calculation module 408, and the second determination module 410 correspond to steps S102 to S110 in the embodiment, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the modules as part of the device can be run in a computer terminal.

[0118] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.

[0119] The above-mentioned fuel cell fault detection device may also include a processor and a memory. The first acquisition module 402, the second acquisition module 404, the first determination module 406, the first calculation module 408, the second determination module 410, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0120] The processor includes a kernel, which retrieves the corresponding program unit from the memory. There can be one or more kernels. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM), and the memory includes at least one storage chip.

[0121] An embodiment of the present invention provides a non-volatile storage medium on which a program is stored. When the program is executed by a processor, a fuel cell fault detection method is implemented.

[0122] An embodiment of the present invention provides a vehicle, which includes a processor, a memory, and a program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the program: obtaining a current power value of a fuel cell in the vehicle, and a current pressure value and a current flow value corresponding to a cathode circuit of the fuel cell, wherein the current pressure value is the real-time pressure of the gas in the cathode circuit, and the current flow value is the real-time flow of the gas in the cathode circuit; obtaining a historical pressure value corresponding to the current power value, and a historical flow value corresponding to the current power value; determining a pressure error value corresponding to the pressure sensor in the cathode circuit, and a flow error value corresponding to the flow sensor in the cathode circuit; obtaining a pressure calculation value and a flow calculation value based on the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; and determining a fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value.

[0123] An embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and can be run on the processor. When the processor executes the program, the following steps are implemented: obtaining the current power value of a fuel cell in a vehicle, and the current pressure value and current flow value corresponding to the cathode circuit of the fuel cell, wherein the current pressure value is the real-time pressure of the gas in the cathode circuit, and the current flow value is the real-time flow of the gas in the cathode circuit; obtaining the historical pressure value corresponding to the current power value, and the historical flow value corresponding to the current power value; determining the pressure error value corresponding to the pressure sensor in the cathode circuit, and the flow error value corresponding to the flow sensor in the cathode circuit; obtaining the pressure calculation value and the flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; determining the fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value. The device in this article can be a server, a PC, etc.

[0124] The present invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: obtaining a current power value of a fuel cell in a vehicle, and a current pressure value and a current flow value corresponding to the cathode circuit of the fuel cell, wherein the current pressure value is the real-time pressure of the gas in the cathode circuit, and the current flow value is the real-time flow of the gas in the cathode circuit; obtaining historical pressure values ​​corresponding to the current power value, and historical flow values ​​corresponding to the current power value; determining a pressure error value corresponding to the pressure sensor in the cathode circuit, and a flow error value corresponding to the flow sensor in the cathode circuit; obtaining a pressure calculation value and a flow calculation value based on the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; and determining a fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value.

[0125] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0126] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0127] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0128] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0129] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0130] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.

[0131] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRaM), static random access memory (SRaM), dynamic random access memory (DRaM), other types of random access memory (RaM), read-only memory (ROM), electrically erasable programmable read-only memory (sEEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0132] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0133] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0134] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A fuel cell fault detection method, characterized in that: include: Obtaining a current power value of a fuel cell in a vehicle, and a current pressure value and a current flow value corresponding to a cathode circuit of the fuel cell, wherein the current pressure value is a real-time pressure of the gas in the cathode circuit, and the current flow value is a real-time flow of the gas in the cathode circuit; Acquire a historical pressure value corresponding to the current power value, and a historical flow value corresponding to the current power value; Determine a pressure error value corresponding to the pressure sensor in the cathode circuit, and a flow error value corresponding to the flow sensor in the cathode circuit; Obtaining a pressure calculation value and a flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; A failure detection result of the fuel cell is determined based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value.

2. The method according to claim 1, characterized in that The current pressure value includes: a current input pressure value and a current output pressure value, the historical pressure value includes: a historical input pressure value and a historical output pressure value, the pressure error value includes: an input pressure error value and an output pressure error value, and the pressure calculation value and the flow calculation value are obtained according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value, including: Obtaining a first weight value corresponding to the current output pressure value, a second weight value corresponding to the current input pressure value, a third weight value corresponding to the current flow value, a fourth weight value corresponding to the historical output pressure value, a fifth weight value corresponding to the historical input pressure value, and a sixth weight value corresponding to the historical flow value; According to the current input pressure value, the current output pressure value, the historical input pressure value, the historical output pressure value, the input pressure error value, and the output pressure error value, the first weight value, the second weight value, the fourth weight value, and the fifth weight value are used to calculate to obtain the pressure calculation value, wherein the pressure calculation value includes: a pressure input calculation value and a pressure output calculation value; The flow calculation value is obtained by performing calculation using the third weight value and the sixth weight value according to the current flow value, the historical flow value, and the flow error value.

3. The method according to claim 2, characterized in that The pressure calculation value is obtained by calculating according to the current input pressure value, the current output pressure value, the historical input pressure value, the historical output pressure value, the input pressure error value, and the output pressure error value using the first weight value, the second weight value, the fourth weight value, and the fifth weight value, wherein the pressure calculation value includes: a pressure input calculation value and a pressure output calculation value, including: Obtaining an output differential value corresponding to the current output pressure value and an input differential value corresponding to the current input pressure value; The pressure output calculation value is obtained according to the output differential value, the historical output pressure value, the first weight value, the fourth weight value, and the output pressure error value in the following manner: Among them, p out,ca is the pressure output calculation value, k1 is the first weight value, is the output differential value, 1-k1 is the fourth weight value, p out,his is the historical output pressure value, p dis1 is the output pressure error value; The pressure input calculation value is obtained according to the input differential value, the historical input pressure value, the second weight value, the fifth weight value, and the input pressure error value in the following manner: Among them, p in,ca is the pressure input calculation value, k2 is the second weight value, is the input differential value, 1-k2 is the fifth weight value, p in,his is the historical input pressure value, 1-k2 is the fifth weight value, p in,his For the historical input pressure value, p dis2 is the input pressure error value.

4. The method according to claim 3, characterized in that The obtaining the output differential value corresponding to the current output pressure value and the input differential value corresponding to the current input pressure value includes: Obtaining a flow disturbance value in the cathode circuit, a pressure disturbance value in the cathode circuit, and a current output current value corresponding to the fuel cell stack; Obtaining a first flow value corresponding to the current output pressure value and a second flow value corresponding to the current input pressure value, wherein the first flow value is obtained based on the outlet and the opening calibration of the cathode loop, and the second flow value is obtained based on the inlet and the opening calibration of the cathode loop; According to the current flow value, the first flow value, the flow disturbance value, and the current output current value, the output differential value is obtained in the following manner: Among them, a1 is the first correlation coefficient, W ca is the current flow value, f(p in , θ) is the second flow value, p in is the current input pressure value, θ is the opening calibration, a2 is the second correlation coefficient, I st is the current output current value, d1 is the flow disturbance value; According to the current flow value, the second flow value, the pressure disturbance value, and the current output current value, the input differential value is obtained in the following manner: Among them, f(P out , θ) is the second flow value, p out is the current output pressure value, and d2 is the pressure disturbance value.

5. The method according to claim 2, characterized in that: The calculating according to the current flow value, the historical flow value, and the flow error value by using the third weight value and the sixth weight value to obtain the flow calculation value includes: Obtaining a flow differential value corresponding to the current flow value; According to the flow differential value, the historical flow value, the flow error value, and the third weight value and the sixth weight value, the flow calculation value is obtained in the following manner: Among them, W in is the flow calculation value, k3 is the third weight value, 1-k3 is the sixth weight value, W ca,his is the historical flow value, W dis is the flow error value.

6. The method according to claim 5, characterized in that The obtaining of the flow differential value corresponding to the current flow value comprises: Based on the historical operation data of the fuel cell, a flow fitting value is obtained by using a fitting method; According to the flow fitting value and the current flow value, the flow differential value corresponding to the current flow value is obtained in the following manner: in, is the flow differential value, a 11 is the third correlation coefficient, is the flow fitting value, b 11 is the fourth correlation coefficient, u1 is the speed value corresponding to the air compressor in the cathode circuit, b 12 is the fifth correlation coefficient, u2 is the opening corresponding to the back pressure valve in the cathode circuit, L1 is the preset calibration coefficient, C is the preset diagonal unit matrix, W ca is the current flow value, k 11 is the preset scale factor, sgn is the sign function, is the flow disturbance fitting value, is the differential value of the bypass valve flow rate of the cathode circuit.

7. The method according to any one of claims 1 to 6, characterized in that The determining of the fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value comprises: Calculating a first absolute difference between the pressure calculation value and the current pressure value; Calculating a second absolute difference between the flow calculation value and the current flow value; When it is determined that the first absolute difference is greater than the preset pressure threshold, and the duration for which the first absolute difference is greater than the preset pressure threshold is greater than the first preset duration, and / or when it is determined that the second absolute difference is greater than the preset flow threshold, and the duration for which the second absolute difference is greater than the preset flow threshold is greater than the second preset duration, the fault detection result is determined to be that the fuel cell is in a faulty state.

8. The method according to any one of claims 1 to 6, characterized in that: The acquiring of the historical pressure value corresponding to the current power value and the historical flow value corresponding to the current power value includes: Based on the current power value, obtaining a pressure value included in the historical operation data of the vehicle, and calculating an average value of the pressure values ​​included in the historical operation data to obtain the historical pressure value; Based on the current power value, a flow value included in the historical operation data of the vehicle is acquired, and an average value is calculated for the flow value included in the historical operation data to obtain the historical flow value.

9. A fuel cell fault detection device, characterized in that: include: A first acquisition module is used to acquire a current power value of a fuel cell in a vehicle, and a current pressure value and a current flow value corresponding to a cathode circuit of the fuel cell, wherein the current pressure value is a real-time pressure of the gas in the cathode circuit, and the current flow value is a real-time flow of the gas in the cathode circuit; A second acquisition module, used to acquire a historical pressure value corresponding to the current power value, and a historical flow value corresponding to the current power value; A first determination module, used to determine a pressure error value corresponding to the pressure sensor in the cathode circuit, and a flow error value corresponding to the flow sensor in the cathode circuit; A first calculation module, configured to obtain a pressure calculation value and a flow calculation value according to the current pressure value, the current flow value, the historical pressure value, the historical flow value, the pressure error value, and the flow error value; The second determination module is used to determine a fault detection result of the fuel cell based on the pressure calculation value, the current pressure value, the flow calculation value, and the current flow value.

10. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the fuel cell fault detection method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Control strategy to prevent unexpected hydrogen flow to the cathode due to a failed pressure sensor while catalytic heating

    CN102832401A

  • Power control method for fuel cell engine

    CN108110282A