Method and system for detecting disconnection of state detection harness during operation of fuel cell stack
By designing a state detection harness disconnection detection system in the fuel cell stack, using differential computing circuits and multi-threshold judgments, the problems of multi-report, misreport and misreport of interrupt line detection in the prior art are solved, and the fuel cell stack is realized Accurate diagnosis of disconnection.
Patent Information
- Application Number
- CN202411110903.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-14
AI Technical Summary
The existing fuel cell stack disconnection detection methods have problems such as multi-report, misreport and misreport, and it is especially difficult to accurately judge the continuous disconnection, front-most or last battery disconnection.
A state detection harness disconnection detection system is designed during fuel cell stack operation, using pull-up current source and pull-down current source, sampling capacitor, current source selection optocoupler, ADC selection optocoupler, analog-to-digital conversion unit and control unit. Through differential computing circuits and multi-threshold judgment, accurate diagnosis of wiring harness disconnection is achieved.
It effectively solves the problem that common disconnection diagnosis methods cannot determine the disconnection of the wire at the front or the last side of the battery stack, accurately diagnose the continuous disconnection, reduce error reports, and provide more realistic and reliable fuel cell status information.
Smart Images

Figure CN118671652B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of new energy batteries, and in particular relates to a method and system for detecting wire breakage of a fuel cell during operation. Background Art
[0002] Common fuel cell stacks on the market, such as hydrogen fuel cell stacks, are composed of hundreds of single cells connected in series, and the voltage patroller is used to detect the status of the single cell voltage, impedance, etc. of the battery. In this way, a battery stack will have dozens or hundreds of status detection harnesses used to connect the patroller and the fuel cell for collecting relevant information. This collection process needs to be carried out under all operating conditions of the hydrogen fuel cell from start to shutdown. If the connection line is broken during this process, it will cause a serious deviation between the collected data and the real data, affecting the decision of the fuel cell controller. It can be seen from this that it is extremely important to detect whether the wiring harness is broken during operation.
[0003] Common disconnection detection methods are mainly as follows: by judging whether the collected voltage signal has a large deviation from the average voltage, and whether the typical disconnection fault phenomenon of "one positive and one negative between two adjacent batteries" occurs, to judge whether a disconnection fault occurs. This detection method has great limitations and is prone to multiple reports, missed reports, and false reports. In particular, for some special situations, such as two consecutive disconnections, the front battery or the back battery disconnection, these complex disconnection situations cannot be properly judged. Summary of the invention
[0004] In view of the great limitations of the detection methods in the prior art, which easily lead to problems such as over-reporting, missed reporting, and false reporting, especially for some special situations, such as two consecutive disconnections, disconnection of the front battery or the rear battery, etc., these complex disconnection situations cannot be judged normally. The present invention provides a method and system for detecting disconnection of the wiring harness during operation of a fuel cell.
[0005] According to one aspect of the present invention, in order to solve the technical problem, the present invention provides a state detection harness disconnection detection system for a fuel cell stack during operation, wherein the fuel cell stack comprises n fuel cells connected in series, n is an integer greater than or equal to 3, and the state detection harness disconnection detection system comprises:
[0006] A pull-up current source and a pull-down current source;
[0007] n sampling capacitors, the second end of each sampling capacitor except the nth sampling capacitor is connected to the first end of the next sampling capacitor, so that the n sampling capacitors are sequentially connected in series, and the two ends of each sampling capacitor are connected in parallel to the two ends of a fuel cell in a one-to-one correspondence;
[0008] n+1 current source pull-up selection optocouplers, both ends of each sampling capacitor are connected to the output end of a current source pull-up selection optocoupler, and the input end of each current source pull-up selection optocoupler is connected to the pull-up current source; the pull-up current sources are numbered 1, 2, 3, ..., n, n+1 in sequence;
[0009] n+1 current source pull-down selection optocouplers, both ends of each sampling capacitor are connected to the output end of a current source pull-down selection optocoupler, and the input end of each current source pull-down selection optocoupler is connected to the pull-down current source; the pull-down current sources are numbered 1, 2, 3, ..., n, n+1 in sequence;
[0010] n voltage sampling circuits, two sampling terminals of each sampling circuit are connected to two terminals of a sampling capacitor respectively;
[0011] n ADC selection optocouplers, the input end of each ADC selection optocoupler is connected to the output end of a voltage sampling circuit;
[0012] An analog-to-digital conversion unit, wherein an input end of the analog-to-digital conversion unit is connected to an output end of an ADC selection optical coupler;
[0013] The control unit is respectively connected to the signal control pins of each ADC selection optocoupler and each current source pull-up selection optocoupler.
[0014] In the invented harness disconnection detection system for detecting the state of the fuel cell stack during operation, a resistor is connected in series between the two ends of each sampling capacitor and the two ends of the corresponding fuel cell.
[0015] In the invented harness disconnection detection system for detecting the state of the fuel cell stack during operation, the voltage sampling circuit is implemented using a differential operation circuit.
[0016] According to another aspect of the present invention, in order to solve the technical problem, the present invention also provides a method for detecting a disconnection of a state detection harness when a fuel cell stack is in operation, which is used in the above-mentioned system for detecting a disconnection of a state detection harness when a fuel cell stack is in operation. The method for detecting a disconnection of a state detection harness when a fuel cell stack is in operation comprises the following steps:
[0017] When S1, the current source pull-up selection optocoupler and the current source pull-down selection optocoupler are both disconnected, the control unit controls the ADC selection optocoupler to be turned on in sequence, and the voltages on the sampling capacitors of the 1st to nth fuel cells are collected in sequence through the voltage sampling circuit, and are transmitted to the control unit after passing through the analog-to-digital conversion unit, and recorded in the array Vcell[n] in sequence; the first battery voltage is written into the Vcell[0] element of the array, and the nth battery voltage is written into the Vcell[n-1] element of the array, and the array size is n. The subsequent arrays are also stored in this corresponding relationship;
[0018] S2. The control unit calculates the average voltage on the sampling capacitors of the n fuel cells.
[0019] S3. The control unit calculates the difference between the voltage on the sampling capacitor of each fuel cell and the average voltage, and records them into the array Vavgdiff[n] in sequence.
[0020] S4. The control unit determines whether there is an absolute value of Vavgdiff[x] greater than the preset first threshold Vavgdiffmax. If so, it is considered that there may be a disconnection fault, and it jumps to step S5. If not, it is considered that the circuit is normal, and it returns to step S1 for the next process. x = 0, 1, 2,..., n - 1.
[0021] S5. The control unit controls all current source pull-down selection optocouplers to conduct, and the current source pull-up selection optocouplers to disconnect. The control unit controls the ADC selection optocouplers to open in sequence, and collects the voltages on the sampling capacitors of the 1st to nth fuel cells through the voltage sampling circuit. After being converted by the analog-to-digital conversion unit, they are transmitted to the control unit and recorded into the array Vpull1[n] in sequence.
[0022] S6. The control unit controls all current source pull-up selection optocouplers to conduct, and the current source pull-down selection optocouplers to disconnect. The control unit controls the ADC selection optocouplers to open in sequence, and collects the voltages on the sampling capacitors of the 1st to nth fuel cells through the voltage sampling circuit. After being converted by the analog-to-digital conversion unit, they are transmitted to the control unit and recorded into the array Vpull2[n] in sequence.
[0023] S7. The control unit calculates each difference Vpull1[x] - Vpull2[x], and records them into the array Vpulldiff[n - 1] in sequence.
[0024] S8. Then, it judges the magnitude relationship between the value of Vpulldiff[x] and the preset second threshold Vpulldiffmax:
[0025] If abs(Vavgdiff[0]) > Vavgdiffmax and abs(Vavgdiff[1]) < Vavgdiffmax and abs(Vpulldiff[0]) > abs(Vpulldiffmax), it is considered that the status detection wire harness of the 1st fuel cell is disconnected.
[0026] If abs(Vavgdiff[n - 1]) > Vavgdiffmax and abs(Vavgdiff[n - 2]) < Vavgdiffmax and abs(Vpulldiff[n - 1]) > abs(Vpulldiffmax); it is considered that the status detection wire harness of the nth fuel cell is disconnected.
[0027] If abs(Vpulldiff[y])>abs(Vpulldiffmax), or Vpull1[y] reaches the negative full offset of the analog-to-digital conversion unit range, or Vpull1[y+1] reaches the positive full offset of the analog-to-digital conversion unit range, then it is considered that the status detection harness of the yth fuel cell is broken; y=1, 2, 3, ..., n-2.
[0028] In the method for detecting disconnection of a state detection harness during operation of a fuel cell stack of the present invention, after step S8, the method further includes:
[0029] S9, the control unit determines whether all fuel cells corresponding to Vavgdiff[x]>Vavgdiffmax have been diagnosed with disconnection faults. If so, the diagnosis is terminated. If not, the control unit finds out the number z of the battery that has not been diagnosed with a fault.
[0030] S10, the control unit controls the single-number current source to pull down and select the optocoupler to turn on, controls the double-number current source to pull up and select the optocoupler to turn on, reads the voltage of the sampling capacitor of each fuel cell, and records it into the array Vpull1[n];
[0031] S11, the control unit controls the single-number current source to pull up and select the optocoupler to turn on, controls the double-number current source to pull down and select the optocoupler to turn on, reads the voltage of the sampling capacitor of each fuel cell, and records it into the array Vpull2[n];
[0032] S12, the control unit calculates the difference Vpull1[x]-Vpull2[x], and enters it into the array Vpulldiff[n] in sequence;
[0033] S13. Make the following judgment: If Vpulldiff[z] and Vpulldiff[z-1] are one positive and one negative, and abs(Vpulldiff[z])>abs(Vpulldiffmax) and abs(Vpulldiff[z-1])>abs(Vpulldiffmax), it is considered that the status detection harness of the zth fuel cell is broken, and then this diagnosis ends.
[0034] In general, the above technical solutions conceived by the present invention have beneficial effects compared with the prior art: the present invention solves the problem that the common wire breakage diagnosis method cannot determine whether the front and rear wires of the battery stack are broken during the detection of wire breakage during the operation of the fuel cell. The present invention solves the problem that the common wire breakage diagnosis method cannot determine continuous wire breakage. The present invention solves the problem that the common wire breakage diagnosis method is prone to erroneously reporting a fault or a fault exists but cannot be reported. The present invention can realize the diagnosis of wire breakage faults during the operation of the fuel cell, and the diagnostic content covers a wide range. It can accurately diagnose wire breakage under various working conditions, helping the fuel cell inspector to better provide real and reliable information for the operation of the fuel cell. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is an architectural diagram of a fuel cell stack state detection harness disconnection detection system during operation provided by an embodiment of the present application;
[0036] Figure 2 A schematic diagram of the connection between a fuel cell and a sampling capacitor provided in an embodiment of the present application;
[0037] Figure 3 A flow chart of a method for detecting a broken wire harness during operation of a fuel cell stack provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0039] refer to Figure 1 In the provided fuel cell stack operation status detection harness disconnection detection system, the fuel cell stack comprises n fuel cells connected in series, n is an integer greater than or equal to 3, generally the fuel cell voltage of a single chip does not exceed 1V, and the status detection harness disconnection detection system comprises: a pull-up current source, a pull-down current source, n sampling capacitors, n+1 current source pull-up selection optocouplers, n+1 current source pull-down selection optocouplers, n voltage sampling circuits, n ADC selection optocouplers, an analog-to-digital conversion unit, and a control unit.
[0040] Among the n sampling capacitors, the second end of each sampling capacitor except the nth sampling capacitor is connected to the first end of the next sampling capacitor, so that the n sampling capacitors are connected in series in sequence, and the two ends of each sampling capacitor are connected in parallel to the two ends of a fuel cell in a one-to-one correspondence. Figure 2 ,in Figure 2 Only part of the fuel cell, sampling capacitor and resistor are shown. In the present embodiment, a resistor R is connected in series between the two ends of each sampling capacitor and the two ends of the corresponding fuel cell. The resistor and the capacitor together can form an RC filter circuit to filter the noise in the circuit. In other embodiments of the invention, the resistor R may not be needed, and the sampling capacitor may be directly connected in parallel to the fuel cell.
[0041] Both ends of each sampling capacitor are connected to the output end of a current source pull-up selection optocoupler, and the input end of each current source pull-up selection optocoupler is connected to a pull-up current source, and the pull-up current sources are numbered 1, 2, 3, ..., n, n+1 in sequence.
[0042] Both ends of each sampling capacitor are connected to the output end of a current source pull-down selection optocoupler, and the input end of each current source pull-down selection optocoupler is connected to a pull-down current source, and the pull-down current sources are numbered 1, 2, 3, ..., n, n+1 in sequence.
[0043] The voltage sampling circuit is implemented by a differential operation circuit. The two sampling ends of each sampling circuit are respectively connected to the two ends of a sampling capacitor. The differential operation circuit is used to collect the voltage difference between the two ends of the fuel cell.
[0044] The input end of each ADC selection optocoupler is connected to the output end of a voltage sampling circuit.
[0045] The input end of the analog-to-digital conversion unit is connected to the output end of the ADC selection optocoupler;
[0046] The control unit is connected to the signal control pins of each ADC selection optocoupler and each current source pull-up selection optocoupler. Figure 1 The control units on the left and right sides are the same control unit. In other embodiments of the present invention, they may also be different control units.
[0047] refer to Figure 3 A method for detecting a disconnection of a state detection harness when a fuel cell stack is in operation is used in the above-mentioned system for detecting a disconnection of a state detection harness when a fuel cell stack is in operation. The method for detecting a disconnection of a state detection harness when a fuel cell stack is in operation comprises the following steps:
[0048] When S1, the current source pull-up selection optocoupler and the current source pull-down selection optocoupler are both disconnected, the control unit controls the ADC selection optocoupler to be turned on in sequence, and the voltages on the sampling capacitors of the 1st to nth fuel cells are collected in sequence through the voltage sampling circuit, and are transmitted to the control unit after passing through the analog-to-digital conversion unit, and recorded in the array Vcell[n] in sequence; the first battery voltage is written into the Vcell[0] element of the array, and the nth battery voltage is written into the Vcell[n-1] element of the array, and the array size is n. The subsequent arrays are also stored in this corresponding relationship;
[0049] S2. The control unit calculates the average voltage on the sampling capacitors of the n fuel cells.
[0050] S3. The control unit calculates the difference between the voltage on the sampling capacitor of each fuel cell and the average voltage, and records them into the array Vavgdiff[n] in sequence.
[0051] S4. The control unit determines whether there is an absolute value of Vavgdiff[x] greater than the preset first threshold Vavgdiffmax. If so, it is considered that there may be a disconnection fault, and it jumps to step S5. If not, it is considered that the circuit is normal, and it returns to step S1 for the next process. x = 0, 1, 2,..., n - 1.
[0052] S5. The control unit controls all current source pull-down selection optocouplers to conduct, the current source pull-up selection optocouplers to disconnect, the control unit controls the ADC selection optocouplers to open in sequence, and collects the voltages on the sampling capacitors of the 1st to nth fuel cells through the voltage sampling circuit in sequence. After being converted by the analog-to-digital conversion unit, they are transmitted to the control unit and recorded into the array Vpull1[n] in sequence.
[0053] S6. The control unit controls all current source pull-up selection optocouplers to conduct, the current source pull-down selection optocouplers to disconnect, the control unit controls the ADC selection optocouplers to open in sequence, and collects the voltages on the sampling capacitors of the 1st to nth fuel cells through the voltage sampling circuit in sequence. After being converted by the analog-to-digital conversion unit, they are transmitted to the control unit and recorded into the array Vpull2[n] in sequence.
[0054] S7. The control unit calculates each difference Vpull1[x] - Vpull2[x] and records them into the array Vpulldiff[n - 1] in sequence.
[0055] S8. Then, it judges the magnitude relationship between the value of Vpulldiff[x] and the preset second threshold Vpulldiffmax. The second threshold Vpulldiffmax can be -200 mV in this embodiment. After discharging, for the cells without disconnection, due to the maintenance of the fuel cells, there will be no large voltage change. For the cells with disconnection, the voltage across the capacitor will change with charging and discharging. The following conclusions can be drawn:
[0056] If abs(Vavgdiff[0]) > Vavgdiffmax and abs(Vavgdiff[1]) < Vavgdiffmax and abs(Vpulldiff[0]) > abs(Vpulldiffmax), it is considered that the state detection wire harness of the 1st fuel cell is disconnected.
[0057] If abs(Vavgdiff[n - 1]) > Vavgdiffmax and abs(Vavgdiff[n - 2]) < Vavgdiffmax and abs(Vpulldiff[n - 1]) > abs(Vpulldiffmax); then it is considered that the state detection wire harness of the nth fuel cell is broken;
[0058] If abs(Vpulldiff[y]) > abs(Vpulldiffmax), or Vpull1[y] reaches the negative full-scale deflection of the analog-to-digital conversion unit range, or Vpull1[y + 1] reaches the positive full-scale deflection of the analog-to-digital conversion unit range, then it is considered that the state detection wire harness of the yth fuel cell is broken; y = 1, 2, 3,..., n - 2. After the fuel cell wire harness is broken, it is equivalent to being powered by a pull-up current source or a pull-down current source, and the voltage on the capacitor will be extremely large or small, exceeding the measurement range of the analog-to-digital conversion unit. For an analog-to-digital conversion unit with a measurement range from negative to positive, this negative value is directly used as the theoretical negative full-scale deflection, and this positive value is directly used as the theoretical positive full-scale deflection; for an analog-to-digital conversion unit with a range from zero to positive, two channels can be used for measurement (for a multi-channel chip, two channels can be directly selected, and for a single-channel chip, two chips can be connected in parallel to form the two channels). One channel detects negative voltage and the other detects positive voltage. The working principle is: the measured voltage is divided into two paths for output. One path is directly input to the first channel, and the other path is inverted through an operational amplifier and then input to the second channel. Observe the output values of the first channel and the second channel. If there is voltage in the first channel and no voltage in the second channel, it is considered that the current is a positive voltage. If there is no voltage in the first channel and there is voltage in the second channel, it is considered to be a negative voltage. Therefore, for an analog-to-digital conversion unit with a range from zero to positive, this positive value is the theoretical positive full-scale deflection, and the negative value of this positive value is the theoretical negative full-scale deflection; for an analog-to-digital conversion unit with a measurement range from zero to negative, it can be processed in the same way as the analog-to-digital conversion unit with a range from zero to positive. Since it is difficult for the chip to work at the theoretical value during actual operation, a certain margin is actually left when setting the negative full-scale deflection and the positive full-scale deflection. For example, in this embodiment, the analog-to-digital conversion unit can be implemented by the chip ADS1113. When powered by 5V, the input range is 0 - 5V. Its actual set positive full-scale deflection is 4800mv, and the negative full-scale deflection is -4800mv.
[0059] In the method for detecting a broken state detection wire harness during the operation of the fuel cell stack of the present invention, after step S8, it further includes:
[0060] S9. The control unit determines whether all fuel cells corresponding to Vavgdiff[x] > Vavgdiffmax have been determined to have a broken wire fault. If so, this diagnosis ends. If not, find the number z of the fuel cell that has not been determined to have a fault.
[0061] S10, the control unit controls the single-number current source to pull down and select the optocoupler to turn on, controls the double-number current source to pull up and select the optocoupler to turn on, reads the voltage of the sampling capacitor of each fuel cell, and records it into the array Vpull1[n];
[0062] S11, the control unit controls the single-number current source to pull up and select the optocoupler to turn on, controls the double-number current source to pull down and select the optocoupler to turn on, reads the voltage of the sampling capacitor of each fuel cell, and records it into the array Vpull2[n];
[0063] S12, the control unit calculates the difference Vpull1[x]-Vpull2[x], and enters it into the array Vpulldiff[n] in sequence;
[0064] S13. Make the following judgment: If Vpulldiff[z] and Vpulldiff[z-1] are one positive and one negative, and abs(Vpulldiff[z])>abs(Vpulldiffmax) and abs(Vpulldiff[z-1])>abs(Vpulldiffmax), it is considered that the status detection harness of the zth fuel cell is broken, and then this diagnosis ends.
[0065] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
[0066] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0067] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0068] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
[0069] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0070] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting a disconnection of a state detection harness during operation of a fuel cell stack, used in a state detection harness disconnection detection system during operation of a fuel cell stack, wherein the fuel cell stack comprises n fuel cells connected in series, where n is an integer greater than or equal to 3, and the state detection harness disconnection detection system comprises: A pull-up current source and a pull-down current source; n sampling capacitors, the second end of each sampling capacitor except the nth sampling capacitor is connected to the first end of the next sampling capacitor, so that the n sampling capacitors are sequentially connected in series, and the two ends of each sampling capacitor are connected in parallel to the two ends of a fuel cell in a one-to-one correspondence; n+1 current source pull-up selection optocouplers, both ends of each sampling capacitor are connected to the output end of a current source pull-up selection optocoupler, and the input end of each current source pull-up selection optocoupler is connected to the pull-up current source ; The pull-up current sources are numbered 1, 2, 3, ..., n, n+1 in sequence; n+1 current source pull-down selection optocouplers, both ends of each sampling capacitor are connected to the output end of a current source pull-down selection optocoupler, and the input end of each current source pull-down selection optocoupler is connected to the pull-down current source; The pull-down current sources are numbered 1, 2, 3, ..., n, n+1 in sequence; n voltage sampling circuits, two sampling terminals of each sampling circuit are connected to two terminals of a sampling capacitor respectively; n ADC selection optocouplers, the input end of each ADC selection optocoupler is connected to the output end of a voltage sampling circuit; An analog-to-digital conversion unit, wherein an input end of the analog-to-digital conversion unit is connected to an output end of an ADC selection optical coupler; A control unit is connected to the signal control pins of each ADC selection optocoupler and each current source pull-up selection optocoupler respectively; The method for detecting disconnection of a state detection harness during operation of a fuel cell stack comprises the following steps: When S1, the current source pull-up selection optocoupler and the current source pull-down selection optocoupler are all disconnected, the control unit controls the ADC selection optocoupler to be turned on in sequence, and the voltages on the sampling capacitors of the 1st to nth fuel cells are collected in sequence through the voltage sampling circuit, and transmitted to the control unit after passing through the analog-to-digital conversion unit, and recorded in the array Vcel l[n] in sequence; the first battery voltage is written into the Vcel l[0] element of the array, and the nth battery voltage is written into the Vcel l[n-1] element of the array, the array size is n, and the subsequent arrays are also stored in this corresponding relationship; S2, the control unit calculates the average voltage on the sampling capacitors of the n fuel cells; S3, the control unit calculates the difference between the voltage on the sampling capacitor of each fuel cell and the average voltage, and records them in the array Vavgdiff[n] in sequence; S4, the control unit determines whether the absolute value of Vavgdiff[x] is greater than the preset first threshold value Vavgdiffmax. If so, it is considered that there may be a line break fault, and jumps to step S5. If not, it is considered that the line is normal, and returns to step S1 to process the next process; x=0, 1, 2, ..., n-1; S5. The control unit controls all the current source pull - down selection optocouplers to conduct, the current source pull - up selection optocouplers to disconnect, controls the ADC selection optocouplers to turn on in sequence, and collects the voltages on the sampling capacitors of the 1st to nth fuel cells in sequence through the voltage sampling circuit. After passing through the analog - to - digital conversion unit, the voltages are transmitted to the control unit and recorded into the array Vpull1[n] in sequence; S6. The control unit controls all the current source pull - up selection optocouplers to conduct, the current source pull - down selection optocouplers to disconnect, controls the ADC selection optocouplers to turn on in sequence, and collects the voltages on the sampling capacitors of the 1st to nth fuel cells in sequence through the voltage sampling circuit. After passing through the analog - to - digital conversion unit, the voltages are transmitted to the control unit and recorded into the array Vpull2[n] in sequence; S7. The control unit calculates each difference Vpull1[x] - Vpull2[x] and records them into the array Vpulldiff[n] in sequence; S8. Then, it judges the magnitude relationship between the value of Vpulldiff[x] and the preset second threshold Vpulldiffmax: If abs(Vavgdiff[0]) > Vavgdiffmax and abs(Vavgdiff[1]) < Vavgdiffmax and abs(Vpulldiff[0]) > abs(Vpulldiffmax), it is considered that the state detection wire harness of the 1st fuel cell is broken; If abs(Vavgdiff[n - 1]) > Vavgdiffmax and abs(Vavgdiff[n - 2]) < Vavgdiffmax and abs(Vpulldiff[n - 1]) > abs(Vpulldiffmax); it is considered that the state detection wire harness of the nth fuel cell is broken; If abs(Vpulldiff[y]) > abs(Vpulldiffmax), or Vpull1[y] reaches the negative full - scale deflection of the analog - to - digital conversion unit range, or Vpull1[y + 1] reaches the positive full - scale deflection of the analog - to - digital conversion unit range, it is considered that the state detection wire harness of the yth fuel cell is broken; y = 1, 2, 3,..., n - 2.
2. According to the method for detecting a broken state detection wire harness during the operation of a fuel cell stack as described in claim 1, after step S8, it also includes: S9. The control unit judges whether all the fuel cells corresponding to Vavgdiff[x] > Vavgdiffmax have been judged to have a broken - wire fault. If so, this diagnosis ends. If not, it finds out the number z of the fuel cell that has not been judged to have a fault; S10. The control unit controls the single - numbered current source pull - down selection optocoupler to conduct, controls the double - numbered current source pull - up selection optocoupler to conduct, reads the voltages of the sampling capacitors of each fuel cell, and records them into the array Vpull1[n]; S11, the control unit controls the single-number current source to pull up and select the optocoupler to turn on, controls the double-number current source to pull down and select the optocoupler to turn on, reads the voltage of the sampling capacitor of each fuel cell, and records it in the array Vpul l 2[n]; S12, the control unit calculates the difference Vpull 1[x]-Vpul l 2[x], and sequentially enters it into the array Vpulldiff[n]; S13. Make the following judgment: If Vpulldiff[z] and Vpulldiff[z-1] are one positive and one negative, and abs(Vpulldiff[z])>abs(Vpulldiffmax) and abs(Vpul ldiff[z-1])>abs(Vpulldiffmax), it is considered that the status detection harness of the zth fuel cell is broken, and then this diagnosis ends.
3. The method for detecting a disconnection of a state detection harness during operation of a fuel cell stack according to claim 1, It is characterized in that A resistor is connected in series between the two ends of each sampling capacitor and the two ends of the corresponding fuel cell.
4. The method for detecting a disconnection of a state detection harness during operation of a fuel cell stack according to claim 1, It is characterized in that The voltage sampling circuit is implemented by a differential operation circuit.
