Battery detection circuit, detection method, device and storage medium
By designing a battery detection circuit, using the parallel switch module and voltage acquisition terminal, a comprehensive fault diagnosis of the low-voltage lithium battery path is achieved, and the problem of inaccurate fault detection in the existing technology is solved, ensuring the stability and rapid detection of electronic equipment when powered on.
Patent Information
- Application Number
- CN202211441885.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-17
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-11-17
AI Technical Summary
The prior art lacks a comprehensive and reliable fault diagnosis solution for low-voltage lithium batteries, resulting in inaccurate and effective fault detection.
A battery detection circuit is designed, including a first switching module and a second switching module connected in parallel. By controlling the closing and closing of the switch tube, the detection voltage value is collected and the voltage difference is determined according to the voltage difference, and whether the switch tube is abnormal is achieved to achieve comprehensive detection of the battery path.
It realizes comprehensive and reliable fault diagnosis of the battery path, ensuring that electronic equipment does not lose instantaneous power when powered on, and the detection time is short and accurate.
Smart Images

Figure CN115754763B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and in particular to a battery detection circuit, detection method, device and storage medium. Background Art
[0002] At present, lithium batteries are relatively mature. Compared with traditional lead-acid batteries, automotive low-voltage lithium batteries have the advantages of light weight, small size, long battery cycle time and green environmental protection. Automotive low-voltage lithium batteries have gradually replaced traditional lead-acid batteries.
[0003] Although low-voltage lithium batteries have many advantages over traditional lead-acid batteries, lead-acid batteries still occupy the mainstream market. In comparison, low-voltage lithium batteries are still in their infancy and their control is relatively complex. There is no suitable reliable and comprehensive fault diagnosis solution for low-voltage lithium batteries. Summary of the Invention
[0004] Based on this, it is necessary to provide a battery detection circuit, detection method, device and storage medium to address the above technical problems, which can perform comprehensive and reliable fault diagnosis on the battery.
[0005] In a first aspect, the present application further provides a detection method based on a battery detection circuit, wherein the detection circuit is arranged between the battery and an external circuit, and includes a first switch module and a second switch module connected in parallel, the first switch module including a first switch tube and a second switch tube connected in series, and a first voltage collection terminal of the first switch tube and the second switch tube, and the second switch module including a third switch tube and a fourth switch tube connected in series, and a second voltage collection terminal between the third switch tube and the fourth switch tube;
[0006] The detection method comprises:
[0007] controlling at least one of the first switching transistor, the second switching transistor, the third switching transistor, and the fourth switching transistor to be closed and at least one to be closed;
[0008] collecting a detection voltage value through the first voltage collecting terminal or the second voltage collecting terminal;
[0009] Whether the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube are abnormal is determined according to a comparison result between the detection voltage value and the voltage value of the battery.
[0010] In one embodiment, the method further comprises:
[0011] Controlling the first switch tube and the third switch tube to be closed, and the second switch tube and the fourth switch tube to be closed;
[0012] collecting a first detection voltage value through the first voltage collection terminal or collecting a second detection voltage value through the second voltage collection terminal;
[0013] When the difference between the first detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the first switch tube has a fault; when the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the third switch tube has a fault.
[0014] In one embodiment, when the difference between the first detection voltage value and the battery voltage value is not greater than a preset voltage threshold or when the difference between the second detection voltage value and the battery voltage value is not greater than a preset voltage threshold, the first switch tube and the second switch tube are controlled to be closed, and the third switch tube and the fourth switch tube are controlled to be turned off;
[0015] collecting a second detection voltage value through the second voltage collecting terminal;
[0016] When the difference between the second detection voltage value and the battery voltage value is smaller than a preset voltage threshold, it is determined that the third switch tube or the fourth switch tube has a fault.
[0017] In one embodiment, when the difference between the second detection voltage value and the voltage value of the battery is not less than a preset voltage threshold, the first switch tube, the second switch tube, and the fourth switch tube are controlled to be closed, and the third switch tube is turned off;
[0018] collecting a second detection voltage value through the second voltage collecting terminal;
[0019] When the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the fourth switch tube has a fault.
[0020] In one embodiment, when the difference between the second detection voltage value and the battery voltage value is not greater than a preset voltage threshold, the third switch tube and the fourth switch tube are controlled to be closed, and the first switch tube and the third switch tube are turned off;
[0021] collecting a first detection voltage value through the first voltage collecting terminal;
[0022] When the difference between the first detection voltage value and the battery voltage value is smaller than a preset voltage threshold, it is determined that the first switch tube or the second switch tube has a fault.
[0023] In one embodiment, when the difference between the first detection voltage value and the battery voltage value is not less than a preset voltage threshold, the second switch tube, the third switch tube, and the fourth switch tube are controlled to be closed, and the first switch tube is turned off;
[0024] collecting a second detection voltage value through the second voltage collecting terminal;
[0025] When the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the fourth switch tube has a fault; otherwise, it is determined that the first switch tube, the second switch tube, the third switch tube and the fourth switch tube have no fault.
[0026] In a second aspect, the present application further provides a battery detection circuit, which is arranged between the battery and an external circuit. The detection circuit includes a first switch module and a second switch module connected in parallel, wherein:
[0027] The first switch module includes a first switch tube and a second switch tube connected in series, wherein control terminals of the first switch tube and the second switch tube are both electrically connected to a controller, and a first voltage sampling terminal is provided between the first switch tube and the second switch tube;
[0028] The second switch module includes a third switch tube and a fourth switch tube connected in series, the control ends of the third switch tube and the fourth switch tube are both electrically connected to the controller, and a second voltage sampling end is provided between the third switch tube and the fourth switch tube;
[0029] The controller is used to control the control ends of the first switch tube, the second switch tube, the third switch tube and the fourth switch tube to control the closing and closing of the first switch tube, the second switch tube, the third switch tube and the fourth switch tube.
[0030] In one embodiment, the detection circuit further includes a first diode, a second diode, a third diode, and a fourth diode connected in parallel with the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube, respectively.
[0031] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the above steps when executing the computer program.
[0032] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps described above when executed by a processor.
[0033] The battery detection circuit, detection method, device, and storage medium described above are arranged between the battery and an external circuit and include a first and second switch modules connected in parallel. The first switch module includes a first switch tube and a second switch tube connected in series, and a first voltage acquisition terminal for the first and second switches. The second switch module includes a third switch tube and a fourth switch tube connected in series, and a second voltage acquisition terminal between the third and fourth switches. The detection method includes: controlling at least one of the first, second, third, and fourth switches to be closed and at least one of the fourth switches to be closed; collecting a detection voltage value via the first or second voltage acquisition terminal; and determining whether the first, second, third, and fourth switches are abnormal based on a comparison of the detection voltage value with the battery voltage. By controlling the closing and closing of different switches via the control terminal, the status of all switches in the detection circuit can be fully and reliably detected. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 1 is a schematic diagram of the circuit structure of a detection circuit in one embodiment;
[0035] Figure 2 1 is a flow chart of a detection method based on a battery detection circuit in one embodiment;
[0036] Figure 3 FIG. 1 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0038] See also Figure 1 , Figure 1 FIG. 1 is a schematic diagram of a circuit structure of a battery detection circuit provided in an embodiment of the present application. Figure 1 As shown. The detection circuit 10 is arranged between the battery and the external circuit. It is worth noting that the detection circuit of the present application is both a path between the battery and the external circuit and a detection circuit for whether the battery and the external circuit are conductive.
[0039] The detection circuit 10 includes a first switch module 11 and a second switch module 12 connected in parallel.
[0040] The first switch module 11 includes a first switch 111 and a second switch 112 connected in series. The control terminals of the first switch 111 and the second switch 112 are both electrically connected to a controller. For example, the first switch 111 is electrically connected to the controller D1, and the second switch 112 is electrically connected to the controller D2. A first voltage sampling terminal C1 is provided between the first switch 111 and the second switch 112. Thus, the control terminals of the first switch 111 and the second switch 112 can be controlled by the controllers D1 and D2, respectively, to control the on and off of the first switch 111 and the second switch 112. The first voltage sampling terminal C1 can also be used to collect a detection voltage value.
[0041] The second switch module 12 includes a third switch tube 121 and a fourth switch tube 122 connected in series. The control terminals of the third switch tube 121 and the fourth switch tube 122 are both electrically connected to the controller. For example, the third switch tube 121 is electrically connected to the controller D3, and the fourth switch tube 122 is electrically connected to the controller D4. A second voltage sampling terminal C2 is provided between the third switch tube 121 and the fourth switch tube 122. Thus, the control terminals of the third switch tube 121 and the fourth switch tube 122 can be controlled by the controllers D3 and D4 respectively to control the third switch tube 121 and the fourth switch tube 122 to be turned on and off. The detection voltage value can also be collected through the second voltage sampling terminal C2. The first switch tube 111, the second diode 112, the third diode 121, and the fourth diode 122 in this application are MOS tubes, and can be NMOS tubes.
[0042] Furthermore, the detection circuit 10 also includes a first diode 113, a second diode 114, a third diode 123, and a fourth diode 124, respectively connected in parallel with the first switching tube 111, the second diode 112, the third diode 121, and the fourth diode 122. The first diode 113 and the second diode 114 have different conduction directions. The third diode 123 and the fourth diode 124 have different conduction directions. Since the battery can power an external circuit through the detection circuit 10, when the battery is low on power, the external circuit can also power the battery through the detection circuit 10. Therefore, the battery and the external circuit communicate in a bidirectional manner. The first diode 113, the second diode 114, the third diode 123, and the fourth diode 124 ensure that the circuit remains in normal operation even when the corresponding switching tube fails.
[0043] Therefore, this application designs a fault detection method that matches the existing detection circuit 10 (i.e., the circuit already provided between the battery and the external circuit) to implement fault detection between the battery and the external path. The specific detection method is described in detail below.
[0044] See also Figure 2, Figure 2 This application is based on Figure 1 The detection method of the battery detection circuit 10 is shown.
[0045] like Figure 2 As shown, the detection method of the embodiment of the present application includes the following steps:
[0046] Step S1: controlling at least one of the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube to be closed and at least one to be closed;
[0047] Step S2: collecting a detection voltage value through a first voltage collection terminal between the first switch tube and the second switch tube or a second voltage collection terminal between the third switch tube and the fourth switch tube;
[0048] Step S3: determining whether the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube are abnormal based on a comparison result between the detected voltage value and the voltage value of the battery.
[0049] Therefore, the embodiments of the present application can control the closing and closing of different switching transistors through the control terminal, thereby achieving comprehensive and reliable detection of the status of all switching transistors in the detection circuit. This method can ensure that electronic devices, such as vehicle control units (VCUs), remain powered during power-up, preventing momentary power outages caused by switching transistor detection. Furthermore, this detection method can complete detection only at power-up time, shortening the detection time.
[0050] In one embodiment, the first switch 111 and the third switch 121 can be controlled to be closed, while the second switch 112 and the fourth switch 122 can be controlled to be closed. Specifically, the first switch 111 is controlled to be closed via the control terminal D1, the third switch 121 is controlled to be closed via the control terminal D3, the second switch 112 is controlled to be closed via the control terminal D2, and the fourth switch 122 is controlled to be closed via the control terminal D4. A first detection voltage value is then collected via the first voltage acquisition terminal C1, or a second detection voltage value is collected via the second voltage acquisition terminal C2. When the difference between the first detection voltage value and the battery voltage is greater than a preset voltage threshold, a fault is determined in the first switch 111, for example, a stuck first switch 111 is determined. When the difference between the second detection voltage value and the battery voltage is greater than a preset voltage threshold, a fault is determined in the third switch 121, for example, a stuck third switch 121 is determined. That is, when the first switch 111 is closed, normally the connection between the battery terminal and the first voltage sampling terminal C1 is continuous, and a significant voltage drop does not occur. That is, the difference between the voltage at the battery terminal and the first detection voltage value collected by the first sampling terminal C1 is not significant. If the first switch 111 fails, such as when it becomes stuck and cannot close, the connection between the battery terminal and the first voltage sampling terminal C1 becomes disconnected, resulting in a significant voltage difference between the two. Therefore, by determining the voltage difference between the battery terminal and the first voltage sampling terminal C1, it is possible to determine whether the first switch 111 has failed. Similarly, the determination of the third switch 121 and the other switches described below is similar.
[0051] When the difference between the first detection voltage value and the battery voltage value is not greater than a preset voltage threshold, or when the difference between the second detection voltage value and the battery voltage value is not greater than a preset voltage threshold, that is, when the first switch tube 111 or the third switch tube 113 has not failed, the first switch tube 111 is further controlled to be closed through the control terminal D1, the second switch tube 112 is controlled to be closed through the control terminal D2, the third switch tube 121 is controlled to be turned off through the control terminal D3, and the fourth switch tube 122 is controlled to be turned off through the control terminal D4.
[0052] A second detection voltage value is further collected through the second voltage collection terminal C2. The second detection voltage value is compared with the battery voltage value. When the difference between the second detection voltage value and the battery voltage value is less than a preset voltage threshold, it is determined that the third switch 121 or the fourth switch 122 has a fault, such as sticking of the third switch 121 or the fourth switch 122.
[0053] When the difference between the second detection voltage and the battery voltage is not less than a preset voltage threshold, that is, when neither the third switch 121 nor the fourth switch 122 is fault-free, the first switch 111 is closed via the control terminal D1, the second switch 112 is closed via the control terminal D2, the fourth switch 122 is closed via the control terminal D3, and the third switch 121 is turned off via the control terminal D3. The second detection voltage is then collected via the second voltage collection terminal C2. When the difference between the second detection voltage and the battery voltage is greater than a preset voltage threshold, it is determined that the fourth switch 122 is faulty, such as when the fourth switch 122 is stuck.
[0054] When the difference between the second detection voltage and the battery voltage is no greater than a preset voltage threshold, i.e., when the fourth switch 122 is not faulty, the third switch 121 is closed via control terminal D3, the fourth switch 122 is closed via control terminal D4, the first switch 111 is turned off via control terminal D1, and the third switch 121 is turned off via control terminal D3. Furthermore, the first detection voltage is collected via the first voltage collection terminal C1. When the difference between the first detection voltage and the battery voltage is less than a preset voltage threshold, it is determined that the first switch 111 or the second switch 112 is faulty. For example, the first switch 111 or the second switch 112 is sticking.
[0055] When the difference between the first detection voltage value and the battery voltage value is not less than a preset voltage threshold, that is, when neither the first switch tube 111 nor the second switch tube 112 is faulty, the second switch tube 112 is controlled to be closed through the control terminal D2, the third switch tube 121 is controlled to be closed through the control terminal D3, the fourth switch tube 122 is controlled to be closed through the control terminal D4, and the first switch tube 111 is controlled to be turned off through the control terminal D1.
[0056] A second detection voltage value is further collected via the second voltage collection terminal C2. When the difference between the second detection voltage value and the battery voltage is greater than a preset voltage threshold, it is determined that the fourth switch 122 has a fault, such as a stuck state. Otherwise, it is determined that the first switch 111, the second switch 112, the third switch 121, and the fourth switch 122 are not faulty.
[0057] Therefore, this application designs a detection method for the detection circuit, which gradually performs a traversal test on all the switches in the detection circuit according to this detection method, achieving comprehensive and reliable results. This detection method can ensure that electronic devices, such as vehicle control units (VCUs), remain powered during power-up, preventing momentary power outages caused by switch detection. Furthermore, this detection method can complete the test only at power-up, shortening the detection time.
[0058] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store battery detection method data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a detection method based on a battery detection circuit is implemented.
[0059] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, it implements a detection method based on a battery detection circuit as described above. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse.
[0060] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0061] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0062] Step S1: controlling at least one of the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube to be closed and at least one to be closed;
[0063] Step S2: collecting a detection voltage value through a first voltage collection terminal between the first switch tube and the second switch tube or a second voltage collection terminal between the third switch tube and the fourth switch tube;
[0064] Step S3: determining whether the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube are abnormal based on a comparison result between the detected voltage value and the voltage value of the battery.
[0065] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0066] Controlling the first switch tube and the third switch tube to be closed, and the second switch tube and the fourth switch tube to be closed;
[0067] collecting a first detection voltage value through the first voltage collection terminal or collecting a second detection voltage value through the second voltage collection terminal;
[0068] When the difference between the first detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the first switch tube has a fault; when the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the third switch tube has a fault.
[0069] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0070] When the difference between the first detection voltage value and the battery voltage value is not greater than a preset voltage threshold or when the difference between the second detection voltage value and the battery voltage value is not greater than a preset voltage threshold, controlling the first switch tube and the second switch tube to be closed, and the third switch tube and the fourth switch tube to be turned off;
[0071] collecting a second detection voltage value through the second voltage collecting terminal;
[0072] When the difference between the second detection voltage value and the battery voltage value is smaller than a preset voltage threshold, it is determined that the third switch tube or the fourth switch tube has a fault.
[0073] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0074] When the difference between the second detection voltage value and the battery voltage value is not less than a preset voltage threshold, controlling the first switch tube, the second switch tube, and the fourth switch tube to be closed, and the third switch tube to be turned off;
[0075] collecting a second detection voltage value through the second voltage collecting terminal;
[0076] When the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the fourth switch tube has a fault.
[0077] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0078] When the difference between the second detection voltage value and the battery voltage value is not greater than a preset voltage threshold, controlling the third switch tube and the fourth switch tube to be closed, and the first switch tube and the third switch tube to be turned off;
[0079] collecting a first detection voltage value through the first voltage collecting terminal;
[0080] When the difference between the first detection voltage value and the battery voltage value is smaller than a preset voltage threshold, it is determined that the first switch tube or the second switch tube has a fault.
[0081] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0082] When the difference between the first detection voltage value and the battery voltage value is not less than a preset voltage threshold, controlling the second switch tube, the third switch tube, and the fourth switch tube to be closed, and the first switch tube to be turned off;
[0083] collecting a second detection voltage value through the second voltage collecting terminal;
[0084] When the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the fourth switch tube has a fault; otherwise, it is determined that the first switch tube, the second switch tube, the third switch tube and the fourth switch tube have no fault.
[0085] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, all the steps of the detection method described above are implemented.
[0086] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0087] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0088] The technical features of the above embodiments can 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.
[0089] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A detection method based on a battery detection circuit, characterized in that: The detection circuit is arranged between the battery and the external circuit, and includes a first switch module and a second switch module connected in parallel. The first switch module includes a first switch tube and a second switch tube connected in series, and a first voltage collection terminal of the first switch tube and the second switch tube. The second switch module includes a third switch tube and a fourth switch tube connected in series, and a second voltage collection terminal between the third switch tube and the fourth switch tube. The detection method comprises: Controlling at least one of the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube to be closed and at least one of the first switch tube and the second switch tube to be closed includes: controlling the first switch tube and the third switch tube to be closed, and the second switch tube and the fourth switch tube to be closed; Collecting the detection voltage value through the first voltage collection terminal or the second voltage collection terminal includes: collecting the first detection voltage value through the first voltage collection terminal or collecting the second detection voltage value through the second voltage collection terminal; Determining whether the first, second, third, and fourth switching tubes are abnormal based on a comparison result between the detection voltage value and the battery voltage value includes: determining that the first switching tube is faulty when the difference between the first detection voltage value and the battery voltage value is greater than a preset voltage threshold, and determining that the third switching tube is faulty when the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold; controlling the first and second switching tubes to be closed and the third and fourth switching tubes to be turned off when the difference between the first detection voltage value and the battery voltage value is not greater than the preset voltage threshold or when the difference between the second detection voltage value and the battery voltage value is not greater than the preset voltage threshold; and determining that the third or fourth switching tube is faulty when the difference between the second detection voltage value and the battery voltage value is less than the preset voltage threshold.
2. The method according to claim 1, characterized in that The method further comprises: When the difference between the second detection voltage value and the battery voltage value is not less than a preset voltage threshold, controlling the first switch tube, the second switch tube, and the fourth switch tube to be closed, and the third switch tube to be turned off; collecting a second detection voltage value through the second voltage collecting terminal; When the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the fourth switch tube has a fault.
3. The method according to claim 2, characterized in that The method further comprises: When the difference between the second detection voltage value and the battery voltage value is not greater than a preset voltage threshold, controlling the third switch tube and the fourth switch tube to be closed, and the first switch tube and the third switch tube to be turned off; collecting a first detection voltage value through the first voltage collecting terminal; When the difference between the first detection voltage value and the battery voltage value is smaller than a preset voltage threshold, it is determined that the first switch tube or the second switch tube has a fault.
4. The method according to claim 3, characterized in that The method further includes: when the difference between the first detection voltage value and the voltage value of the battery is not less than a preset voltage threshold, controlling the second switch tube, the third switch tube, and the fourth switch tube to be closed, and the first switch tube to be turned off; collecting a second detection voltage value through the second voltage collecting terminal; When the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold, it is determined that the fourth switch tube has a fault; otherwise, it is determined that the first switch tube, the second switch tube, the third switch tube and the fourth switch tube have no fault.
5. A battery detection circuit, characterized in that: The detection circuit is provided between the battery and the external circuit, and includes a first switch module and a second switch module connected in parallel, wherein: The first switch module includes a first switch tube and a second switch tube connected in series, control ends of the first switch tube and the second switch tube are electrically connected to a controller, and a first voltage collection end is provided between the first switch tube and the second switch tube; The second switch module includes a third switch tube and a fourth switch tube connected in series, the control ends of the third switch tube and the fourth switch tube are both electrically connected to the controller, and a second voltage collection end is provided between the third switch tube and the fourth switch tube; The controller is used to control the control ends of the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube to control the closing and closing of the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube, including: Controlling at least one of the first switch tube, the second switch tube, the third switch tube, and the fourth switch tube to be closed and at least one of the first switch tube and the second switch tube to be closed includes: controlling the first switch tube and the third switch tube to be closed, and the second switch tube and the fourth switch tube to be closed; Collecting the detection voltage value through the first voltage collection terminal or the second voltage collection terminal includes: collecting the first detection voltage value through the first voltage collection terminal or collecting the second detection voltage value through the second voltage collection terminal; Determining whether the first, second, third, and fourth switching tubes are abnormal based on a comparison result between the detection voltage value and the battery voltage value includes: determining that the first switching tube is faulty when the difference between the first detection voltage value and the battery voltage value is greater than a preset voltage threshold, and determining that the third switching tube is faulty when the difference between the second detection voltage value and the battery voltage value is greater than a preset voltage threshold; controlling the first and second switching tubes to be closed and the third and fourth switching tubes to be turned off when the difference between the first detection voltage value and the battery voltage value is not greater than the preset voltage threshold or when the difference between the second detection voltage value and the battery voltage value is not greater than the preset voltage threshold; and determining that the third or fourth switching tube is faulty when the difference between the second detection voltage value and the battery voltage value is less than the preset voltage threshold.
6. The detection circuit according to claim 5, characterized in that: The detection circuit further includes a first diode, a second diode, a third diode and a fourth diode connected in parallel with the first switch tube, the second switch tube, the third switch tube and the fourth switch tube respectively.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Inverter circuit, inverter and fault detection method thereof
CN115001296A