Bipolar plate detection device, method and apparatus, electronic device and storage medium

文档序号:945909 发布日期:2020-10-30 浏览:14次 中文

阅读说明:本技术 双极板检测设备、方法和装置、电子设备和存储介质 (Bipolar plate detection device, method and apparatus, electronic device and storage medium ) 是由 党威广 王重 刘智亮 肖彪 于 2020-07-24 设计创作,主要内容包括:本申请提供了一种双极板检测设备、方法和装置、电子设备和存储介质,属于检测技术领域。本申请通过模拟开关电路获取多个双极板中的第一双极板的第一极板电压和第二极板电压,其中,所述多个双极板与所述模拟开关电路的输入端连接,所述模拟开关电路用于按照输入端接入并输出所述第一极板电压和所述第二极板电压;确定所述第一极板电压和所述第二极板电压之间的第一比较值;在所述第一比较值与目标阈值之间的差值不小于目标差值的情况下,确定所述第一双极板发生异常。本申请中多路模拟开关根据控制器的指示自动在多个双极板中选取第一双极板,无需更换连接线路,可以提高电压的采集效率。(The application provides a bipolar plate detection device, a bipolar plate detection method, a bipolar plate detection device, an electronic device and a storage medium, and belongs to the technical field of detection. The method comprises the steps that a first polar plate voltage and a second polar plate voltage of a first polar plate in a plurality of polar plates are obtained through an analog switch circuit, wherein the plurality of polar plates are connected with an input end of the analog switch circuit, and the analog switch circuit is used for connecting in and outputting the first polar plate voltage and the second polar plate voltage according to the input end; determining a first comparison value between the first plate voltage and the second plate voltage; and determining that the first bipolar plate is abnormal under the condition that the difference value between the first comparison value and the target threshold value is not smaller than the target difference value. In the application, the multi-channel analog switch automatically selects the first bipolar plate from the bipolar plates according to the indication of the controller, so that a connecting circuit does not need to be replaced, and the voltage acquisition efficiency can be improved.)

1. A bipolar plate sensing apparatus, comprising: an analog switch circuit, a controller, and a comparator, wherein,

the input end of the analog switch circuit is connected with the plurality of bipolar plates and is used for selecting a first plate voltage and a second plate voltage of a first bipolar plate from the plurality of bipolar plates as the output of the analog switch circuit according to the instruction of the controller;

the comparator is connected with the output end of the analog switch circuit and used for determining a first comparison value between the first plate voltage and the second plate voltage;

the controller is respectively connected with the analog switch circuit and the comparator and used for determining that the first bipolar plate is abnormal under the condition that the difference value between the first comparison value and the target threshold value is not smaller than the target difference value.

2. The apparatus of claim 1, wherein the analog switch circuit comprises two sub-analog switch circuits, wherein,

a first sub-analog switching circuit of the two sub-analog switching circuits, an input end of the first sub-analog switching circuit being connected to the plurality of bipolar plates for selecting the first plate voltage of the first bipolar plate from the plurality of bipolar plates as an output of the first sub-analog switching circuit;

a second sub-analog switching circuit of the two sub-analog switching circuits, an input end of the second sub-analog switching circuit being connected to the plurality of bipolar plates for selecting the second plate voltage of the first bipolar plate from the plurality of bipolar plates as an output of the second sub-analog switching circuit;

and the comparator is respectively connected with the output ends of the first sub-analog switch circuit and the second sub-analog switch circuit.

3. The apparatus of claim 2, wherein each of the two sub-analog switch circuits comprises a plurality of first analog switches and second analog switches,

in each of the sub analog switch circuits, input terminals of the plurality of first analog switches are connected to the plurality of bipolar plates, and a target analog switch of the plurality of first analog switches is used for selecting a plate voltage of the first bipolar plate from the plurality of bipolar plates as an output of the target analog switch; the input end of the second analog switch is connected with the output ends of the plurality of first analog switches, and is used for selecting the output voltage of the target analog switch from the plurality of first analog switches to output;

and the comparator is connected with the output end of the second analog switch in each sub analog switch circuit.

4. A bipolar plate inspection method, comprising:

acquiring a first plate voltage and a second plate voltage of a first bipolar plate in a plurality of bipolar plates through an analog switch circuit, wherein the bipolar plates are connected with an input end of the analog switch circuit, and the analog switch circuit is used for connecting in and outputting the first plate voltage and the second plate voltage according to the input end;

determining a first comparison value between the first plate voltage and the second plate voltage;

and determining that the first bipolar plate is abnormal under the condition that the difference value between the first comparison value and the target threshold value is not smaller than the target difference value.

5. The method of claim 4, wherein after said obtaining a first plate voltage and a second plate voltage of a first bipolar plate of the plurality of bipolar plates by an analog switching circuit, the method further comprises:

determining a target input end identifier of a target input end corresponding to the first bipolar plate in the analog switch circuit;

determining a target identifier of the first bipolar plate according to the target input end identifier of the target input end;

outputting the target identification of the first bipolar plate.

6. The method of claim 5, wherein the analog switch circuit comprises two sub-analog switch circuits, wherein the first bipolar plate corresponds to one input of each of the two sub-analog switch circuits;

the determining a target input terminal identifier of a target input terminal corresponding to the first bipolar plate in the analog switch circuit includes:

and determining a target input end identifier of a target input end corresponding to the first bipolar plate in a target sub-analog switch circuit, wherein the target sub-analog switch circuit is one of the two sub-analog switch circuits.

7. The method of claim 6, wherein the target sub-analog switch circuit comprises a plurality of first analog switches and a second analog switch, wherein the first bipolar plate corresponds to a first input terminal of a target analog switch of the plurality of first analog switches, and each of the plurality of first analog switches corresponds to a respective input terminal of the second analog switch;

the determining the target input end identifier of the target input end corresponding to the first bipolar plate in the target sub-analog switch circuit comprises:

determining a first input end identifier of a first input end corresponding to the first bipolar plate in the target analog switch, wherein the first input end is the target input end;

determining a second input end identifier of a second input end corresponding to the target analog switch in the second analog switch;

and determining the target input end identification of the first input end in the target sub-analog switch circuit according to the first input end identification and the second input end identification.

8. The method of claim 7, wherein the obtaining, by the analog switching circuit, a first plate voltage and a second plate voltage of a first bipolar plate of the plurality of bipolar plates comprises:

controlling the input end with the first input end identification in each first analog switch to be set to a high level;

controlling the second input terminal of the second analog switch to be set to a high level;

acquiring a target output voltage of the second analog switch, wherein the target output voltage is one of the first plate voltage and the second plate voltage.

9. The method of claim 4, wherein after the determining the first comparison value between the first plate voltage and the second plate voltage, the method further comprises:

determining that the first bipolar plate is not abnormal when the difference between the first comparison value and the target threshold is smaller than a target difference;

selecting a second bipolar plate from other bipolar plates, wherein the other bipolar plates are bipolar plates of the plurality of bipolar plates except the first bipolar plate;

acquiring a third plate voltage and a fourth plate voltage of the second bipolar plate through the analog switch circuit;

determining a second comparison value between the third and fourth plate voltages;

determining that the second bipolar plate is abnormal if the difference between the second comparison value and the target threshold is not less than the target difference.

10. The method of claim 4, wherein the determining a first comparison value between the first plate voltage and the second plate voltage comprises:

determining an analog voltage comparison value between the first plate voltage and the second plate voltage;

and performing analog-to-digital conversion on the analog voltage comparison value through an analog-to-digital conversion circuit, and outputting the first comparison value through a digital isolation circuit.

11. The method according to any one of claims 4 to 10, further comprising:

traversing the plurality of bipolar plates through the analog switch circuit to respectively obtain two plate voltages of each bipolar plate in the plurality of bipolar plates;

calculating the difference between the two plate voltages of each bipolar plate to obtain the instantaneous voltage of each bipolar plate;

displaying the instantaneous voltage of each bipolar plate.

12. A bipolar plate sensing device, comprising:

the acquisition module is used for acquiring a first plate voltage and a second plate voltage of a first bipolar plate in a plurality of bipolar plates through an analog switch circuit, wherein the bipolar plates are connected with the input end of the analog switch circuit, and the analog switch circuit is used for accessing and outputting the first plate voltage and the second plate voltage according to the input end;

a first determination module for determining a first comparison value between the first plate voltage and the second plate voltage;

and the second determining module is used for determining that the first bipolar plate is abnormal under the condition that the difference value between the first comparison value and the target threshold value is not smaller than the target difference value.

13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;

a memory for storing a computer program;

a processor for implementing the method steps of any one of claims 4 to 11 when executing a program stored in the memory.

14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any of the claims 4 to 11.

Technical Field

The present disclosure relates to the field of testing technologies, and in particular, to a bipolar plate testing apparatus, a method and a device, an electronic device and a storage medium.

Background

The stack of the fuel cell is composed of a plurality of bipolar plates, and if a bipolar plate fails, the performance and safety of the whole fuel cell are affected, so that the voltage of each bipolar plate needs to be monitored. If the voltage of a bipolar plate fails, the failed bipolar plate needs to be repaired or replaced.

At present, if the voltage of a bipolar plate needs to be collected through a voltage collector (for example, an optocoupler relay), the connecting circuit of the voltage collector and the bipolar plate needs to be continuously replaced, the mode is complicated, and the voltage collection efficiency is low.

Disclosure of Invention

An object of the embodiments of the present application is to provide a bipolar plate inspection apparatus, a method and a device, an electronic device and a storage medium, so as to solve at least the problem of low voltage collection efficiency. The specific technical scheme is as follows:

according to an aspect of an embodiment of the present application, there is provided a bipolar plate inspection apparatus including: an analog switch circuit, a controller, and a comparator, wherein,

the input end of the analog switch circuit is connected with the plurality of bipolar plates and is used for selecting a first plate voltage and a second plate voltage of a first bipolar plate from the plurality of bipolar plates as the output of the analog switch circuit according to the instruction of the controller;

the comparator is connected with the output end of the analog switch circuit and used for determining a first comparison value between the first plate voltage and the second plate voltage;

the controller is respectively connected with the analog switch circuit and the comparator and used for determining that the first bipolar plate is abnormal under the condition that the difference value between the first comparison value and the target threshold value is not smaller than the target difference value.

Optionally, the analog switch circuit comprises two sub-analog switch circuits, wherein,

a first sub-analog switching circuit of the two sub-analog switching circuits, an input end of the first sub-analog switching circuit being connected to the plurality of bipolar plates for selecting the first plate voltage of the first bipolar plate from the plurality of bipolar plates as an output of the first sub-analog switching circuit;

a second sub-analog switching circuit of the two sub-analog switching circuits, an input end of the second sub-analog switching circuit being connected to the plurality of bipolar plates for selecting the second plate voltage of the first bipolar plate from the plurality of bipolar plates as an output of the second sub-analog switching circuit;

and the comparator is respectively connected with the output ends of the first sub-analog switch circuit and the second sub-analog switch circuit.

Optionally, each of the two sub analog switch circuits comprises a plurality of first analog switches and second analog switches, wherein,

in each of the sub analog switch circuits, input terminals of the plurality of first analog switches are connected to the plurality of bipolar plates, and a target analog switch of the plurality of first analog switches is used for selecting a plate voltage of the first bipolar plate from the plurality of bipolar plates as an output of the target analog switch; the input end of the second analog switch is connected with the output ends of the plurality of first analog switches, and is used for selecting the output voltage of the target analog switch from the plurality of first analog switches to output;

and the comparator is connected with the output end of the second analog switch in each sub analog switch circuit.

According to another aspect of an embodiment of the present application, there is provided a bipolar plate inspection method, including:

acquiring a first plate voltage and a second plate voltage of a first bipolar plate in a plurality of bipolar plates through an analog switch circuit, wherein the bipolar plates are connected with an input end of the analog switch circuit, and the analog switch circuit is used for connecting in and outputting the first plate voltage and the second plate voltage according to the input end;

determining a first comparison value between the first plate voltage and the second plate voltage;

and determining that the first bipolar plate is abnormal under the condition that the difference value between the first comparison value and the target threshold value is not smaller than the target difference value.

Optionally, after the acquiring, by the analog switching circuit, the first plate voltage and the second plate voltage of the first bipolar plate of the plurality of bipolar plates, the method further comprises:

determining a target input end identifier of a target input end corresponding to the first bipolar plate in the analog switch circuit;

determining a target identifier of the first bipolar plate according to the target input end identifier of the target input end;

outputting the target identification of the first bipolar plate.

Optionally, the analog switch circuit comprises two sub analog switch circuits, wherein the first bipolar plate corresponds to one input end of each of the two sub analog switch circuits;

the determining a target input terminal identifier of a target input terminal corresponding to the first bipolar plate in the analog switch circuit includes:

and determining a target input end identifier of a target input end corresponding to the first bipolar plate in a target sub-analog switch circuit, wherein the target sub-analog switch circuit is one of the two sub-analog switch circuits.

Optionally, the target sub analog switch circuit includes a plurality of first analog switches and second analog switches, wherein the first bipolar plate corresponds to a first input terminal of a target analog switch in the plurality of first analog switches, and each of the plurality of first analog switches corresponds to one input terminal of the second analog switch;

the determining the target input end identifier of the target input end corresponding to the first bipolar plate in the target sub-analog switch circuit comprises:

determining a first input end identifier of a first input end corresponding to the first bipolar plate in the target analog switch, wherein the first input end is the target input end;

determining a second input end identifier of a second input end corresponding to the target analog switch in the second analog switch;

and determining the target input end identification of the first input end in the target sub-analog switch circuit according to the first input end identification and the second input end identification.

Optionally, the obtaining, by the analog switching circuit, a first plate voltage and a second plate voltage of a first bipolar plate of the plurality of bipolar plates comprises:

controlling the input end with the first input end identification in each first analog switch to be set to a high level;

controlling the second input terminal of the second analog switch to be set to a high level;

acquiring a target output voltage of the second analog switch, wherein the target output voltage is one of the first plate voltage and the second plate voltage.

Optionally, after the determining the first comparison value between the first plate voltage and the second plate voltage, the method further comprises:

determining that the first bipolar plate is not abnormal when the difference between the first comparison value and the target threshold is smaller than a target difference;

selecting a second bipolar plate from other bipolar plates, wherein the other bipolar plates are bipolar plates of the plurality of bipolar plates except the first bipolar plate;

acquiring a third plate voltage and a fourth plate voltage of the second bipolar plate through the analog switch circuit;

determining a second comparison value between the third and fourth plate voltages;

determining that the second bipolar plate is abnormal if the difference between the second comparison value and the target threshold is not less than the target difference.

Optionally, the determining a first comparison value between the first plate voltage and the second plate voltage comprises:

determining an analog voltage comparison value between the first plate voltage and the second plate voltage;

and performing analog-to-digital conversion on the analog voltage comparison value through an analog-to-digital conversion circuit, and outputting the first comparison value through a digital isolation circuit.

Optionally, the method further comprises:

traversing the plurality of bipolar plates through the analog switch circuit to respectively obtain two plate voltages of each bipolar plate in the plurality of bipolar plates;

calculating the difference between the two plate voltages of each bipolar plate to obtain the instantaneous voltage of each bipolar plate;

displaying the instantaneous voltage of each bipolar plate.

According to yet another aspect of the embodiments of the present application, there is also provided a bipolar plate inspection device, including:

the acquisition module is used for acquiring a first plate voltage and a second plate voltage of a first bipolar plate in a plurality of bipolar plates through an analog switch circuit, wherein the bipolar plates are connected with the input end of the analog switch circuit, and the analog switch circuit is used for accessing and outputting the first plate voltage and the second plate voltage according to the input end;

a first determination module for determining a first comparison value between the first plate voltage and the second plate voltage;

and the second determining module is used for determining that the first bipolar plate is abnormal under the condition that the difference value between the first comparison value and the target threshold value is not smaller than the target difference value.

According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;

a memory for storing a computer program;

a processor for implementing any of the method steps described herein when executing the program stored in the memory.

According to yet another aspect of embodiments of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor, performs any of the method steps described.

The embodiment of the application has the following beneficial effects:

the embodiment of the application provides a bipolar plate detection method, wherein a controller acquires a first plate voltage and a second plate voltage of a first bipolar plate in a plurality of bipolar plates through an analog switch circuit, and determines a first comparison value between the first plate voltage and the second plate voltage; the controller determines that the first bipolar plate is abnormal in a case where a difference between the first comparison value and the target threshold is not less than a target difference. The input and a plurality of bipolar plates of multichannel analog switch are connected in this application, and first bipolar plate is selected to multichannel analog switch according to the instruction of controller in a plurality of bipolar plates automatically, need not to change interconnecting link, can improve the collection efficiency of voltage.

Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.

FIG. 1 is a schematic view of a bipolar plate testing apparatus according to an embodiment of the present disclosure;

FIG. 2 is a schematic diagram of a sampled voltage subtraction circuit according to an embodiment of the present disclosure;

FIG. 3 is a schematic view of another bipolar plate testing apparatus provided in an embodiment of the present application;

FIG. 4 is a diagram of a bipolar plate inspection system provided in an embodiment of the present application;

FIG. 5 is a flow chart of a method for bipolar plate inspection according to an embodiment of the present disclosure;

fig. 6 is a flowchart of a method for determining an identifier of a target input according to an embodiment of the present application;

FIG. 7 is a schematic structural diagram of a bipolar plate testing apparatus according to an embodiment of the present disclosure;

fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The embodiment of the present application provides a bipolar plate detection apparatus, which can be used to detect whether a bipolar plate fails, as shown in fig. 1, the apparatus includes: an analog switch circuit 001, a controller 002, and a comparator 003, wherein,

(1) the input end of the analog switch circuit 001 is connected with the plurality of bipolar plates and is used for selecting a first plate voltage and a second plate voltage of a first bipolar plate from the plurality of bipolar plates as the output of the analog switch circuit 001 according to the indication of the controller 002;

(2) a comparator 003 connected to an output terminal of the analog switch circuit 001, for determining a first comparison value between the first plate voltage and the second plate voltage;

(3) and the controller 002 is respectively connected with the analog switch circuit 001 and the comparator 003 and is used for determining that the first bipolar plate is abnormal under the condition that the difference value between the first comparison value and the target threshold value is not less than the target difference value.

The analog switch circuit 001 has a plurality of input terminals and two output terminals, the input terminals of the analog switch circuit 001 are connected to the plurality of bipolar plates, the analog switch circuit 001 is further connected to the controller, and the two output terminals are connected to the input terminals of the comparator 003. Each bipolar plate may be connected to two inputs of the analog switching circuit 001, and the number of inputs of the analog switching circuit 001 may be greater than or equal to twice the number of bipolar plates.

The analog switch circuit 001 may also be connected to the controller 002 through an analog-to-digital conversion circuit, the controller 002 may be configured to control a specific input terminal of the analog switch circuit 001 to be set to a high level, and the analog switch circuit 001 may select the first bipolar plate from the plurality of bipolar plates according to an instruction of the controller 002. The first bipolar plate includes a first plate and a second plate, and the analog switch circuit 001 uses a first plate voltage of the first plate and a second plate voltage of the second plate as outputs of the analog switch circuit 001. In the embodiment of the present application, the analog-to-digital conversion circuit may be an ad (analog-to-digital) sampling chip, and the controller 002 is a lower computer, illustratively, an MCU (micro controller Unit).

The comparator 003 is connected to two output ends of the analog switch circuit 001, and is configured to determine a first comparison value between the first plate voltage and the second plate voltage, where the first comparison value may be a voltage difference value or a voltage quotient, and is not limited in this embodiment of the present invention.

The controller 002 is further connected to the output terminal of the comparator 003 for determining that the first bipolar plate is abnormal if the difference between the first comparison value and the target threshold is not less than the target difference, that is, if the first comparison value exceeds the target threshold.

The application adopts the analog switch circuit to measure a plurality of bipolar plates in a short time, and compared with an optocoupler relay, the circuit connection is not needed for many times, so that the efficiency is improved, and the reproducibility is high; a plurality of bipolar plates can be measured only by one group of analog switch circuits, the structure is simple, and the cost is reduced; meanwhile, the analog switch circuit can avoid the jitter error and time delay of a mechanical switch, and the voltage output result has higher precision and smaller error.

In the embodiment of the present application, the input terminal is an input pin, and the output terminal is an output pin, as can be seen from fig. 1, the analog switch circuit 001 has 128 pins, which are y1-y128 respectively, and seven control ports, which are A, B, C, D, E, F, G respectively, for performing high and low level changes. The input pin of analog switching circuit 001 is connected to 128 bipolar plates, namely bipolar plates b1-b 128.

As an example, a voltage difference value between the first plate voltage and the second plate voltage may be determined using a sampled voltage subtraction circuit as the first comparison value.

As an alternative embodiment, the apparatus further includes a sampled voltage subtraction circuit, the sampled voltage subtraction circuit includes a controller, an input terminal of the sampled voltage subtraction circuit is connected to an output terminal of the analog switch circuit, and an output terminal of the sampled voltage subtraction circuit is connected to the controller.

As shown in fig. 2, the sampled voltage subtraction circuit includes a first input terminal L1, a second input terminal L2, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first capacitor C1, a first diode D1, a second diode D2, and a comparator. The first input end L1 is connected with the first input end of the comparator through a second resistor R2, the second input end L2 is connected with the second input end of the comparator and one end of a first capacitor C1 through a third resistor R3, one end of a fourth resistor R4 is connected with one end of a first resistor R1, the other end of the first capacitor C1 and the other end of the fourth resistor R4 are both grounded, the output end of the comparator is connected with the other end of the first resistor R1, the input end of a diode I D1, the output end of a diode II D2 and the input end of the analog switch circuit 004, the output end of the diode I D1 is connected with an input voltage, and the input end of the diode II D2 is grounded.

As an alternative embodiment, the analog switch circuit includes two sub analog switch circuits, and two input terminals of the comparator may be connected to output terminals of the first sub analog switch circuit and the second sub analog switch circuit, respectively, wherein,

the input end of the first sub-analog switch circuit is connected with the bipolar plates and used for selecting the first plate voltage of the first bipolar plate from the bipolar plates as the output of the first sub-analog switch circuit;

and the input end of the second sub-analog switching circuit is connected with the plurality of bipolar plates and is used for selecting the second plate voltage of the first bipolar plate from the plurality of bipolar plates as the output of the second sub-analog switching circuit.

The analog switch circuit may include two sub analog switch circuits, a first sub analog switch circuit and a second sub analog switch circuit, respectively, wherein,

the first sub-analog switch circuit has a plurality of input terminals and an output terminal, the input terminals of the first sub-analog switch circuit are connected with the plurality of bipolar plates, and the output terminal is connected with one input terminal of the comparator. Each bipolar plate may be connected to one input of a first sub-analog switching circuit, which may include a number of inputs greater than or equal to the number of bipolar plates in order to connect all of the bipolar plates.

The controller may be configured to control an input end of the first sub analog switch circuit connected to the first pad to be set to a high level, and control the first sub analog switch circuit to output a first pad voltage of the first pad. The voltage output by the output end of the first sub-analog switch circuit is the voltage of the first polar plate.

The second sub-analog switch circuit has a plurality of input terminals and an output terminal, the input terminals of the second sub-analog switch circuit are connected with the plurality of bipolar plates, and the output terminal is connected with the other input terminal of the comparator. Each bipolar plate may be connected to one input of a second sub-analog switching circuit, which may include a number of inputs greater than or equal to the number of bipolar plates, in order to connect all of the bipolar plates.

The controller may be configured to control an input terminal of the second sub analog switching circuit, which is connected to the second plate, to be set to a high level, and control the second sub analog switching circuit to output a second plate voltage of the second plate. The voltage output by the output end of the second sub-analog switch circuit is the second plate voltage.

As an alternative embodiment, each of the two sub analog switch circuits includes a plurality of first analog switches and second analog switches, wherein,

in each sub-analog switch circuit, the input ends of a plurality of first analog switches are connected with a plurality of bipolar plates, and a target analog switch in the plurality of first analog switches is used for selecting the plate voltage of the first bipolar plate from the plurality of bipolar plates as the output of the target analog switch; the input end of the second analog switch is connected with the output ends of the plurality of first analog switches and is used for selecting the output voltage of the target analog switch from the plurality of first analog switches to output;

and the comparator is connected with the output end of the second analog switch in each sub analog switch circuit.

In each sub-analog switch circuit, each analog switch in the first analog switches has a plurality of input terminals and an output terminal, one input terminal of each analog switch can be used for connecting a polar plate in a bipolar plate, and the output terminal can be connected with one input terminal of the second analog switch.

In each sub analog switch circuit, the second analog switch has a plurality of input terminals and an output terminal, the plurality of input terminals of the second analog switch can be respectively connected with the output terminals of the plurality of first analog switches, and the output terminal of the second analog switch can output the voltage of one input terminal, thereby outputting the plate voltage of one plate of a certain bipolar plate (for example, the first bipolar plate).

The analog switch connected with the first bipolar plate in the plurality of first analog switches is a target analog switch, the target analog switch can take the plate voltage of the first bipolar plate as output, and the second analog switch selects the output voltage of the target analog switch for output.

Two input ends of the comparator can be respectively connected with output ends of the second analog switches of the two sub analog switch circuits, and the comparator is used for comparing the voltages output by the second analog switches of the two sub analog switch circuits.

As an alternative embodiment, the first analog switch is an M-out-of-one analog switch, and the second analog switch is an N-out-of-one analog switch, where M, N are positive integers greater than or equal to 2.

In the embodiment of the present application, the first analog switch is an M-to-one analog switch, and the second analog switch is an N-to-one analog switch, and since the first analog switch is a one-out-of-N analog switch, the number of input terminals should be greater than 1, that is, a positive integer greater than or equal to 2.

For convenience of input numbering, for example, the input of the first analog switch and the input of the second analog switch are numbered in binary, and M and N may both be exponential multiples of 2, e.g., 2m,2nAnd m and n are positive integers of more than or equal to 1.

As an alternative embodiment, the input terminal of the N-selected-one analog switch is connected to the output terminals of at most N M-selected-one analog switches.

In the embodiment of the present application, since the input terminals of the second analog switches are connected to the output terminals of the plurality of first analog switches, and the number of the input terminals of the second analog switches is greater than or equal to the number of the first analog switches, the input terminal of the analog switch selected by N is connected to the output terminals of the analog switches selected by at most N M.

As an alternative embodiment, the first analog switch and the second analog switch may be implemented in a variety of ways, including but not limited to one of the following:

the first method is as follows: the first analog switch is a sixteen-to-one analog switch, the second analog switch is an eight-to-one analog switch, and the input end of the eight-to-one analog switch is connected with the output end of the eight sixteen-to-one analog switch.

For example, there may be 128 bipolar plates, 16 first sixteen-out-of-six analog switches each having A, B, C, D four control ports, 2 second eight-out-of-one analog switches each having E, F, G three control ports. As shown in fig. 3, the 1 st to 8 th first analog switch from sixteen to one and the one second analog switch from eight to one constitute a first sub analog switch circuit, and the 9 th to 16 th first analog switch from sixteen to one and the other second analog switch from eight to one constitute a second sub analog switch circuit. In the first sub-analog switch circuit, the input end of each first analog switch is respectively connected with one polar plate of the bipolar plate, and in the second sub-analog switch circuit, the input end of each first analog switch is respectively connected with the other polar plate of the bipolar plate.

If the bipolar plate b1 is the first bipolar plate, the input terminals of the first analog switches are all at high level, and the input terminals of the second analog switches are all at high level.

As shown in table one, the table one is an input end encoding table of the first analog switch.

Watch 1

Input end coding Number of input terminal
0000 1
0001 2
0010 3
0011 4
0100 5
0101 6
0110 7
0111 8
1000 9
1001 10
1010 11
1011 12
1100 13
1101 14
1110 15
1111 16

The serial number of the input end of the first analog switch is represented by decimal, and the code corresponding to the serial number of the input end is represented by binary corresponding to the decimal.

As shown in table two, table two is an input encoding table of the second analog switch.

Watch two

Input end coding Number of input terminal
000 1
001 2
010 3
011 4
100 5
101 6
110 7
111 8

The serial number of the input end of the second analog switch is represented by decimal, and the code corresponding to the serial number of the input end is represented by binary corresponding to the decimal.

The second method comprises the following steps: the first analog switch is an eight-to-one analog switch, the second analog switch is a sixteen-to-one analog switch, and the input end of the sixteen-to-one analog switch is connected with the output ends of the sixteen eight-to-one analog switches.

For example, 128 bipolar plates, 32 first analog switches, and 2 second analog switches may be provided, wherein the first analog switches are eight-out-of-one analog switches, and the second analog switches are sixteen-out-of-one analog switches. The 1 st to 16 th first analog switches and one second analog switch form a first sub-analog switch circuit, and the 17 th to 32 th first analog switches and the other second analog switches form a second sub-analog switch circuit. In the first sub-analog switch circuit, the input end of each one-out-of-eight analog switch is respectively connected with one polar plate of the plurality of bipolar plates, and the input end of each one-out-of-sixteen analog switch is respectively connected with the output ends of 1-16 analog switches; in the second sub-analog switch circuit, the input end of each one-out-of-eight analog switch is respectively connected with the other polar plate of the plurality of bipolar plates, and the input end of each one-out-of-sixteen analog switch is respectively connected with the output ends of 17-32 analog switches.

In addition, the first analog switch and the second analog switch may also have other implementation manners, for example, the first analog switch and the second analog switch may be both 16-to-1 analog switches, 8-to-1 analog switches, and the like, and the implementation manners of the first analog switch and the second analog switch may be configured according to the number of the bipolar plates, which is not described herein again.

As an optional embodiment, the apparatus further includes a digital isolation circuit, an input end of the analog-to-digital conversion circuit is connected to an output end of the sampled voltage subtraction circuit, an output end of the analog-to-digital conversion circuit is connected to an input end of the digital isolation circuit, and an output end of the digital isolation circuit is connected to the controller.

In the embodiment of the present application, an input end of the analog-to-digital conversion circuit is connected to an output end of the sampled voltage subtraction circuit, an output end of the analog-to-digital conversion circuit is connected to an input end of the digital isolation circuit, and an output end of the digital isolation circuit is connected to the controller through the sampling port. The digital isolation circuit can eliminate a ground wire loop, inhibit common mode noise, has the characteristics of low delay, high speed and high reliability, and can improve the precision of voltage output and reduce errors.

Optionally, the apparatus further comprises a display connected to the controller for displaying the instantaneous voltage of each bipolar plate.

The voltage value of each bipolar plate can be displayed through serial port debugging or an upper computer for development and use. The voltage tracking monitoring can be carried out by positioning the single bipolar plate through an upper computer control program, and the instantaneous voltage values of all the bipolar plates can be acquired in a sampling and inspection mode.

Compared with a lower computer (MCU), the upper computer can realize manual control or automatic control by an upper computer control program, and the main realization function is as follows: and displaying the voltage value of each polar plate in real time, and marking the voltage value through different colors when the voltage of the polar plate group is abnormal. The abnormal electrode plate group can be positioned to track and monitor through manual or automatic processing, if abnormality exists continuously, the lower computer can be controlled to stop the machine, and the monitored abnormal data is stored and is left to be processed by a tester.

The embodiment of the present application further provides a bipolar plate detection system, as shown in fig. 4, the system includes a controller, an analog switch circuit, a plurality of bipolar plates, a sampling voltage subtraction circuit, and an analog-to-digital conversion circuit, where the controller and the bipolar plates are respectively connected to the analog switch circuit, the controller controls the analog switch circuit to select a first bipolar plate from the bipolar plates, the analog switch circuit outputs a first plate voltage and a second plate voltage of the first bipolar plate, the sampling voltage subtraction circuit calculates an analog voltage comparison value between the first plate voltage and the second plate voltage, and then outputs the analog voltage comparison value to the analog-to-digital conversion circuit, the analog-to-digital conversion circuit performs analog-to-digital conversion on the analog voltage comparison value and outputs a first comparison value to the controller, and the controller determines whether the first bipolar plate is abnormal according to the first comparator.

The embodiment of the application also provides a bipolar plate detection method which can be applied to a controller and used for detecting whether the bipolar plate is abnormal or not.

In the following, a detailed description will be made of a bipolar plate detection method provided in the examples of the present application with reference to an alternative embodiment, as shown in fig. 5, the following steps are performed:

step 501: a first plate voltage and a second plate voltage of a first bipolar plate of the plurality of bipolar plates are acquired through an analog switching circuit.

The plurality of bipolar plates are connected with the input end of the analog switch circuit, and the analog switch circuit is used for connecting and outputting a first plate voltage and a second plate voltage according to the input end.

In the embodiment of the application, a plurality of bipolar plates are connected with the input end of the analog switch circuit, the analog switch circuit is connected with the controller through the analog-digital conversion circuit, each bipolar plate can be connected with two input ends of the analog switch circuit, and the number of the input ends of the analog switch circuit can be more than or equal to two times of the number of the bipolar plates.

The analog switch circuit is connected to a first bipolar plate in the bipolar plates through two input ends, the controller can control the input end of the analog switch circuit connected with the first bipolar plate to be at a high level, then the first bipolar plate is connected with the analog switch circuit, and the voltage of the bipolar plate connected with the input end of the analog switch circuit connected with the first bipolar plate is selected and output. The first bipolar plate comprises a first bipolar plate and a second bipolar plate, and the analog switch circuit can be respectively connected to the first bipolar plate and the second bipolar plate through two input ends and outputs a first bipolar plate voltage of the first bipolar plate and a second bipolar plate voltage of the second bipolar plate.

As an alternative embodiment, after the controller obtains the first plate voltage and the second plate voltage of the first bipolar plate of the plurality of bipolar plates through the analog switch circuit, the method further comprises: determining a target input end identifier of a target input end corresponding to the first bipolar plate in the analog switch circuit; determining a target identifier of the first bipolar plate according to the target input end identifier of the target input end; and outputting the target identification of the first bipolar plate.

In this embodiment, after controlling the input terminal of the analog switch circuit connected to the first bipolar plate to be set to a high level, the controller determines that the input terminal corresponding to the first bipolar plate in the analog switch circuit is a target input terminal, and determines a target input terminal identifier of the target input terminal, where the target input terminal identifier may be a code corresponding to a number of the target input terminal.

After determining the target input end identification of the target input end, the controller determines the target identification of the first bipolar plate corresponding to the target input end identification according to the preset corresponding relation between the input end identification of the analog switch circuit and the plate identifications of the plurality of bipolar plates, and outputs the target identification of the first bipolar plate.

At the same time of outputting the target identifier, the related information of the first bipolar plate, such as the first plate voltage and the second plate voltage, the voltage difference between the first plate voltage and the second plate voltage, etc., can also be output.

The controller is connected with the host computer, and the logical process preface of host computer realizes control to the controller, and in this application, the host computer passes through the level change of controller realization analog switch circuit input end and the selection of bipolar plate, and exemplarily, the host computer can be the computer.

Step 502: a first comparison value between the first plate voltage and the second plate voltage is determined.

The controller calculates a difference between the first plate voltage and the second plate voltage by a sampling voltage subtraction circuit, and takes the difference as a first comparison value. Alternatively, the first plate voltage and the second plate voltage serve as input terminals of a sampling voltage subtraction circuit, and the sampling voltage subtraction circuit calculates a difference between the first plate voltage and the second plate voltage and outputs the difference to the controller.

Step 503: and judging whether the difference value between the first comparison value and the target threshold value is not less than the target difference value.

After determining the first comparison value, the controller may determine whether a difference between the first comparison value and the target threshold is not less than the target difference, and if the controller determines that the difference between the first comparison value and the target threshold is not less than the target difference, execute step 504; if the controller determines that the difference between the first comparison value and the target threshold is smaller than the target difference, step 505 is executed.

Step 504: and determining that the first bipolar plate is abnormal.

If the controller judges that the difference value between the first comparison value and the target threshold value is not smaller than the target difference value, the situation that the first bipolar plate is possibly subjected to overvoltage or undervoltage is shown, and the first bipolar plate is abnormal.

Step 505: the first bipolar plate is free of anomalies.

If the controller judges that the difference value between the first comparison value and the target threshold value is smaller than the target difference value, the first bipolar plate is indicated to be not overvoltage or undervoltage, and the first bipolar plate is not abnormal.

After the controller determines that the first bipolar plate is not abnormal, the controller may continue to traverse the other bipolar plates to determine whether the other bipolar plates are abnormal, which may be as follows:

selecting a second bipolar plate from other bipolar plates, wherein the other bipolar plates are bipolar plates in the plurality of bipolar plates except the first bipolar plate; acquiring a third pole plate voltage and a fourth pole plate voltage of a second bipolar plate through an analog switch circuit; determining a second comparison value between the third and fourth plate voltages; and determining that the second bipolar plate is abnormal under the condition that the difference value between the second comparison value and the target threshold value is not less than the target difference value.

In the embodiment of the present application, the controller selects the second bipolar plate from the bipolar plates other than the first bipolar plate, and determines whether the second bipolar plate is abnormal through the analog switch circuit and the comparator, and the determination process is similar to the foregoing process. Wherein the second bipolar plate may be any one of the bipolar plates other than the first bipolar plate.

For example, the controller may obtain, through the analog switch circuit, a third plate voltage and a fourth plate voltage of the second bipolar plate, then determine a second comparison value between the third plate voltage and the fourth plate voltage, and if a difference between the second comparison value and a target threshold is not less than a target difference, determine that the second bipolar plate is abnormal; and if the difference value between the second comparison value and the target threshold value is smaller than the target difference value, determining that the second bipolar plate is not abnormal.

As an alternative embodiment, the analog switch circuit includes two sub analog switch circuits, wherein the first bipolar plate corresponds to one input terminal of each of the two sub analog switch circuits; the controller determining the identification of the target input of the analog switching circuit may include the following process: and determining the target input end identification of the target input end corresponding to the first bipolar plate in the target sub-analog switch circuit, wherein the target sub-analog switch circuit is one of the two sub-analog switch circuits.

In the embodiment of the present application, the analog switch circuit includes two sub analog switch circuits, and the two sub analog switch circuits may be identical analog switch circuits or similar analog switch circuits. Each of the sub analog switch circuits includes a plurality of input terminals and an output terminal, a first plate of the first bipolar plate corresponds to one input terminal of one of the sub analog switch circuits, and a second plate of the first bipolar plate corresponds to one input terminal of the other sub analog switch circuit.

Because the two sub-analog switch circuits are the same or similar, in the two sub-analog switch circuits, the input end identifier of the input end connected with the first bipolar plate may also be the same, and any one of the two sub-analog switch circuits may be used as the target sub-analog switch circuit, so that the identifier of the input end corresponding to the first bipolar plate in the target sub-analog switch circuit is the target input end identifier.

As an alternative embodiment, the target sub-analog switch circuit includes a plurality of first analog switches and second analog switches, wherein the first bipolar plate corresponds to a first input terminal of a target analog switch (the first input terminal is the target input terminal) among the plurality of first analog switches, and each of the plurality of first analog switches corresponds to one input terminal of the second analog switch, respectively.

As shown in fig. 6, the process of the controller determining the identification of the target input terminal of the target sub-analog switch circuit is as follows:

step 601: and determining the first input end identifier of the first bipolar plate in the target analog switch.

With a plurality of first analog switches, the identification of the first input terminal in the target sub-analog switch circuit can be represented by the identification of the first input terminal in the present analog switch (e.g., the target analog switch) and the identification of the present analog switch in the plurality of first analog switches.

In this embodiment, the controller sets a first analog switch corresponding to the first bipolar plate among the plurality of first analog switches as a target analog switch, and the target analog switch is connected to the first bipolar plate through the first input terminal. The controller may first determine a first input identification of the first input in the target analog switch.

For example, if the first analog switch is a 1-out-of-16 analog switch and the target analog switch is connected to the first bipolar plate through the input terminal 1, the input terminal of the input terminal 1 in the target analog switch is labeled "0000".

Step 602: and determining the second input end identifier of the second input end corresponding to the target analog switch in the second analog switch.

In the embodiment of the present application, each of the first analog switches corresponds to one input terminal of the second analog switch, wherein the target analog switch corresponds to the second input terminal of the second analog switch. The identification of the target analog switch in the plurality of first analog switches may then be the identification of the output of the second input in the second analog switch (i.e. the second input identification). The controller may then re-determine the identity of the second input in the second analog switch.

For example, if the second analog switch is an analog switch of 1-out-of-8, and the second analog switch is connected to the target analog switch through the input terminal 1, the input terminal of the input terminal 1 in the second analog switch is labeled "000".

Step 603: and determining the target input end identification of the first input end in the target sub-analog switch circuit according to the first input end identification and the second input end identification.

The controller can determine the target input end identifier of the first input end corresponding to the first bipolar plate in the target sub-analog switch circuit, namely the target input end identifier of the target input end corresponding to the first bipolar plate in the analog switch circuit, according to the first input end identifier and the second input end identifier.

For example, the first input is identified as "0000", the second input is identified as "000", and the target input of the first bipolar plate is identified as "0000000".

As an alternative embodiment, the process of acquiring the first plate voltage and the second plate voltage of the first bipolar plate of the plurality of bipolar plates through the analog switching circuit may include: controlling an input end with a first input end identifier in each first analog switch to be set to a high level; controlling a second input end of the second analog switch to be set to a high level; and acquiring a target output voltage of the second analog switch, wherein the target output voltage is one of the first plate voltage and the second plate voltage.

In the embodiment of the present application, since the input terminal of the target sub analog switch circuit is connected to the plurality of bipolar plates, if one of the plurality of bipolar plates is to be tested separately, the input terminal connected to the bipolar plate needs to be set to a high level. Optionally, the implementation may be: the controller controls the input end with the first input end identification in each first analog switch to be set to high level, and the first input end connected with the bipolar plate to be tested is set to high level. The controller determines a second input terminal corresponding to the target analog switch in the second analog switch, and sets the second input terminal to a high level, at which time, the bipolar plate to be tested (the first bipolar plate) is turned on in the target sub-analog switch circuit. One plate voltage (target output voltage) of the bipolar plate to be tested, which is one of the first plate voltage and the second plate voltage, can be obtained by the target sub analog switch circuit.

Because the analog switch circuit comprises two sub-analog switch circuits which are respectively connected with one polar plate of the first bipolar plate, the two sub-analog switch circuits can respectively output the polar plate voltage of one polar plate of the first bipolar plate, and thus the two polar plate voltages are obtained.

As an alternative embodiment, determining the first comparison value between the first plate voltage and the second plate voltage comprises: determining an analog voltage comparison value between the first plate voltage and the second plate voltage; and performing analog-to-digital conversion on the analog voltage comparison value through an analog-to-digital conversion circuit, and outputting a first comparison value through a digital isolation circuit.

The analog switch circuit outputs the first plate voltage and the second plate voltage to the sampling voltage subtraction circuit, the sampling voltage subtraction circuit calculates an analog voltage comparison value between the first plate voltage and the second plate voltage, then the analog voltage comparison value is output to the analog-to-digital conversion circuit, the analog-to-digital conversion circuit performs analog-to-digital conversion on the analog voltage comparison value, the analog voltage comparison value after analog-to-digital conversion is output to the digital isolation circuit, and the digital isolation circuit outputs the first comparison value to the controller. The digital isolation circuit can eliminate a ground wire loop and inhibit common mode noise, and has the characteristics of low delay, high speed and high reliability.

As an alternative embodiment, the method further includes: traversing the bipolar plates through an analog switching circuit to respectively obtain two plate voltages of each bipolar plate in the bipolar plates; calculating the difference between the voltages of the two polar plates of each bipolar plate to obtain the instantaneous voltage of each bipolar plate; the instantaneous voltage of each bipolar plate is displayed.

In the embodiment of the application, the controller traverses through the bipolar plates through the analog switch circuit, and respectively obtains two plate voltages of each bipolar plate in the bipolar plates, the controller calculates a difference value between the two plate voltages of each bipolar plate to obtain an instantaneous voltage (a voltage value at a certain moment) of each bipolar plate, the controller displays the instantaneous voltage of each bipolar plate for development and use by technicians, and illustratively, the instantaneous voltage of each bipolar plate can be displayed through serial port debugging or an upper computer. If the controller determines that an anomaly has occurred in the bipolar plate, the anomalous bipolar plate is identified, illustratively, by color.

As an optional embodiment, the controller stores in advance a correspondence between the input terminal identifier of the analog switch circuit and the bipolar plate identifier, and in the process of traversing the bipolar plate, the controller may determine the bipolar plate identifier according to the input terminal identifier of the analog switch circuit; in the process of monitoring the abnormal bipolar plate, the controller can determine the input end identifier of the corresponding analog switch circuit according to the identifier of the abnormal bipolar plate, so that the input end level of the input end identifier of the corresponding analog switch circuit is set to be high level, and the abnormal bipolar plate is connected with the circuit.

The controller can monitor the voltage of a bipolar plate, and the specific process comprises the steps that the controller determines the target input end identification of an analog switch circuit connected with the bipolar plate to be monitored according to the identification of the bipolar plate to be monitored, determines the target input end according to the target input end identification, and sets the target input end of the analog switch circuit to be at a high level, so that continuous tracking monitoring can be carried out on the bipolar plate to be monitored. If the controller finds that the bipolar plate to be monitored is abnormal in the monitoring process, the shutdown processing is carried out, the abnormal voltage is stored, and an analysis basis is provided for technicians. The bipolar plate can be manually positioned to be monitored, and accurate positioning is carried out.

When the controller detects that the bipolar plate is abnormal, the controller can delay the preset time, and if the bipolar plate is still abnormal after the preset time, the controller confirms that the bipolar plate is actually failed. And the bipolar plate is determined to have faults, so that the faults can be eliminated in time, and personal and property safety is ensured.

Based on the same technical concept, the embodiment of the present application further provides a bipolar plate detection apparatus, as shown in fig. 7, the apparatus including:

a first obtaining module 701, configured to obtain a first plate voltage and a second plate voltage of a first bipolar plate in the plurality of bipolar plates through an analog switch circuit, where the plurality of bipolar plates are connected to an input end of the analog switch circuit, and the analog switch circuit is configured to access and output the first plate voltage and the second plate voltage according to the input end;

a first determining module 702 for determining a first comparison value between the first plate voltage and the second plate voltage;

the second determining module 703 is configured to determine that the first bipolar plate is abnormal when the difference between the first comparison value and the target threshold is not smaller than the target difference.

As an alternative embodiment, the apparatus further comprises:

the third determining module is used for determining the target input end identification of the target input end corresponding to the first bipolar plate in the analog switch circuit after the first plate voltage and the second plate voltage of the first bipolar plate in the plurality of bipolar plates are obtained through the analog switch circuit;

the fourth determining module is used for determining the target identifier of the first bipolar plate according to the target input end identifier of the target input end;

and the output module is used for outputting the target identification of the first bipolar plate.

As an alternative embodiment, the analog switch circuit comprises two sub-analog switch circuits, wherein the first bipolar plate corresponds to one input terminal of each of the two sub-analog switch circuits.

The third determining module includes:

the first determining unit is used for determining a target input end identifier of a target input end corresponding to the first bipolar plate in a target sub-analog switch circuit, wherein the target sub-analog switch circuit is one of the two sub-analog switch circuits.

As an alternative embodiment, the target sub-analog switch circuit includes a plurality of first analog switches and a second analog switch, wherein the first bipolar plate corresponds to the first input terminal of the target analog switch in the plurality of first analog switches, and each of the plurality of first analog switches corresponds to one input terminal of the second analog switch.

The first determination unit may include:

the first determining submodule is used for determining a first input end identifier of a first input end corresponding to a first bipolar plate in the target analog switch, wherein the first input end is a target input end;

the second determining submodule is used for determining the second input end identifier of the second input end corresponding to the target analog switch in the second analog switch;

and the third determining submodule is used for determining the target input end identification of the first input end in the target sub-analog switch circuit according to the first input end identification and the second input end identification.

As an alternative embodiment, the first obtaining module 701 includes:

the first control unit is used for controlling the input end with the first input end identifier in each first analog switch to be set to a high level;

the second control unit is used for controlling a second input end of the second analog switch to be set to a high level;

and the acquisition unit is used for acquiring a target output voltage of the second analog switch, wherein the target output voltage is one of the first plate voltage and the second plate voltage.

As an alternative embodiment, the apparatus further comprises:

a fifth determining module, configured to determine that the first bipolar plate is not abnormal if a difference between the first comparison value and the target threshold is smaller than the target difference after determining the first comparison value between the first plate voltage and the second plate voltage;

the selecting module is used for selecting a second bipolar plate from other bipolar plates, wherein the other bipolar plates are bipolar plates except the first bipolar plate from the bipolar plates;

the second acquisition module is used for acquiring a third polar plate voltage and a fourth polar plate voltage of the second bipolar plate through the analog switch circuit;

a sixth determining module for determining a second comparison value between the third plate voltage and the fourth plate voltage;

and the seventh determining module is used for determining that the second bipolar plate is abnormal under the condition that the difference value between the second comparison value and the target threshold value is not smaller than the target difference value.

As an alternative embodiment, the first determining module 702 includes:

a second determining unit for determining an analog voltage comparison value between the first plate voltage and the second plate voltage;

and the conversion unit is used for performing analog-to-digital conversion on the analog voltage comparison value through the analog-to-digital conversion circuit and outputting a first comparison value through the digital isolation circuit.

As an alternative embodiment, the apparatus further comprises:

the third acquisition module is used for traversing the bipolar plates through the analog switch circuit and respectively acquiring two plate voltages of each bipolar plate in the bipolar plates;

the calculation module is used for calculating the difference value between the voltages of the two polar plates of each bipolar plate to obtain the instantaneous voltage of each bipolar plate;

and the display module is used for displaying the instantaneous voltage of each bipolar plate.

Based on the same technical concept, the embodiment of the present invention further provides an electronic device, as shown in fig. 8, including a processor 801, a communication interface 802, a memory 803 and a communication bus 804, where the processor 801, the communication interface 802 and the memory 803 complete communication with each other through the communication bus 804,

a memory 803 for storing a computer program;

the processor 801 is configured to implement the above steps when executing the program stored in the memory 803.

The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.

The communication interface is used for communication between the electronic equipment and other equipment.

The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.

The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.

In a further embodiment provided by the present invention, there is also provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of any of the methods described above.

In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the methods of the above embodiments.

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.

It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种负荷数据的录制方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!