Switch fault detection method and device, battery system, equipment and storage medium
By controlling the on-off and current detection of the bridge arm in the motor controller, the problem of insufficient real-time and accuracy of the adjustment switch fault detection in the power battery system is solved, and the rapid and accurate dual-motor neutral wire and dual-battery are achieved. Fault detection reduces detection costs.
Patent Information
- Application Number
- CN202310684296.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-09
- Publication Date
- 2024-12-10
AI Technical Summary
The prior art has insufficient real-time and accuracy of fault detection of adjusting switches in power battery systems, especially in dual motors and dual battery systems, resulting in high cost and low efficiency of fault detection.
By controlling the on and off of the bridge arm in the motor controller, combined with the current detection of the motor and battery, we determine whether the adjustment switch is faulty, and achieve rapid and accurate fault detection of the adjustment switch between the dual motor neutral line and the dual battery, avoiding the Additional voltage and current sampling is added.
The fault detection of the adjustment switch is realized under low-cost conditions, improving the failure efficiency of the auxiliary contact relay, and improving the accuracy and efficiency of fault detection.
Smart Images

Figure CN119104884A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of batteries, and specifically to a switch fault detection method, device, battery system, equipment and storage medium. Background Art
[0002] With the continuous development of power battery systems and new energy vehicles, car users have higher requirements for the driving performance and endurance of power battery systems. Therefore, power battery systems with dual motors and / or dual batteries with higher energy efficiency and longer endurance have come into being.
[0003] During the use of the power battery system, regulating switches, such as relays, as key control components of the power battery system, their safe use and real-time, accuracy and reliability of fault detection play a vital role in the safe application of the power battery system.
[0004] It should be noted that the above statements are only used to provide background technical information related to the present application and do not necessarily constitute prior art. Summary of the invention
[0005] In view of the above problems, the embodiments of the present application provide a low-cost, high-reliability regulating switch fault detection method, device, battery system, equipment and storage medium, which can quickly and accurately detect faults in the regulating switches on the neutral lines of dual motors and between dual batteries.
[0006] In a first aspect, an embodiment of the present application provides a switch fault detection method, comprising:
[0007] Controlling the on and off of the bridge arms in the first motor controller and the second motor controller;
[0008] Determine whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery;
[0009] Among them, the first regulating switch is connected between the first motor and the second motor, the first motor is connected to the first motor controller, the second motor is connected to the second motor controller, the first motor controller and the second motor controller are both connected to the first battery and the second battery, and the second regulating switch is connected between the first battery and the second battery.
[0010] The embodiment of the present application provides a switch fault detection method, based on the principle that the current conditions of the first motor and the second motor, and the current conditions of the battery will be significantly different when the first regulating switch and the second regulating switch are turned on and off, and when the two regulating switches are stuck or disconnected, the first regulating switch and the second regulating switch are controlled to be turned on and off, and then the first regulating switch and the second regulating switch are determined according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery respectively when the regulating switches are turned on and off. In this way, since the phase current of the motor can be obtained according to the motor controller, and the current of the battery can be obtained according to the battery controller, the current of the first motor and the second motor, and the current of the first battery and the second battery can be obtained without additional voltage and current sampling, and whether the regulating switch is faulty can be determined according to the current of the first motor and the second motor, and the current of the first battery and the second battery, so that the fault detection of the first regulating switch on the neutral line of the dual motor and the second regulating switch between the dual batteries can be realized at a lower cost. And the relay regulating switch that does not use auxiliary contacts can be fault-detected, so that the problem of high failure rate of the auxiliary contact relay can be improved.
[0011] In some embodiments, the determining whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, includes: when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, determining whether the first regulating switch is a short circuit fault and whether the second regulating switch is a sticking fault, respectively, according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery. In this embodiment, when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, based on the different conduction states of the two motor controllers, the power battery system can form different current loops, and then based on the currents of the motor and the battery, it can be determined whether the first regulating switch is a short circuit fault and whether the second regulating switch is a sticking fault, respectively.
[0012] In some embodiments, the determining whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, includes: when the first regulating switch is disconnected and the second regulating switch is turned on, determining whether the first regulating switch is a sticking fault and whether the second regulating switch is a circuit-breaking fault, respectively, according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery. In this embodiment, when the first regulating switch is disconnected and the second regulating switch is turned on, based on the different conduction states of the two motor controllers, the power battery system can form different current loops, and then based on the currents of the motor and the battery, it can be determined whether the first regulating switch is a sticking fault and whether the second regulating switch is a circuit-breaking fault, respectively.
[0013] In some embodiments, the control of the on and off of the bridge arms in the first motor controller and the second motor controller includes: when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on. In this way, if the first regulating switch has a short circuit failure, the two motors cannot be connected, the battery and the motor cannot form an effective charging and discharging circuit, there is no current in the two motors and the two batteries, or the current value flowing through is small enough to be ignored. If the first regulating switch is in good condition and has no faults, and the second regulating switch has a sticking fault, the battery and the motor can form an effective charging and discharging circuit, and current flows through the two motors and the two batteries.
[0014] In some embodiments, the control of the on and off of the bridge arms in the first motor controller and the second motor controller includes: when the first regulating switch is turned on and the second regulating switch is turned off, controlling at least one upper bridge arm in the first motor controller to be turned on and at least one lower bridge arm in the second motor controller to be turned on; when a preset time is reached, controlling the lower bridge arm that is turned on in the second motor controller to be turned off. In this way, if the first regulating switch has a short circuit failure and the second regulating switch is normally disconnected, the two motors cannot be connected, the power battery system cannot form a current loop, and there is no current in the motor and the battery or the current is so small that it can be ignored. If the first regulating switch is normally turned on and the second regulating switch has a sticking failure, the two motors are connected, the motor can be used as a power source, and form a current loop with the two motor controllers. There is current in both motors, and there is no current in both batteries.
[0015] In some embodiments, the control of the on and off of the bridge arms in the first motor controller and the second motor controller includes: when the first regulating switch is turned on and the second regulating switch is turned off, controlling at least one upper bridge arm in the first motor controller to be turned on and at least one lower bridge arm in the second motor controller to be turned on; when a preset time is reached, controlling the upper bridge arm that is turned on in the first motor controller to be turned off. In this way, if the first regulating switch has a short circuit failure and the second regulating switch is normally turned off, the two motors cannot be turned on, the power battery system cannot form a current loop, and there is no current in the motor and the battery or the current is so small that it can be ignored. If the first regulating switch is turned on normally and the second regulating switch has a sticking failure, the two motors are turned on, the motor can be used as a power source, and form a current loop with the two motor controllers. There is current in both motors, and there is no current in both batteries.
[0016] In some embodiments, the control of the first regulating switch and the control of the on and off of the bridge arms in the first motor controller and the second motor controller include: when the first regulating switch is controlled to be disconnected and the second regulating switch is turned on, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on. In this way, if the first regulating switch has a sticking fault and the second regulating switch is turned on normally, the two motors are connected, the battery and the motor can form an effective current loop, and current flows through the two motors and the two batteries. If the first regulating switch has a sticking fault and the second regulating switch has a circuit breaker fault, the two motors are connected, and when at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is turned on, the battery and the motor of the power battery system can form an effective current loop, so that there is obvious current flowing through the two motors, and the second regulating switch between the two batteries is disconnected, then one and only one of the first battery and the second battery forms a current loop with the motor, so only one battery has current.
[0017] In some embodiments, the control of the first regulating switch and the control of the on and off of the bridge arms in the first motor controller and the second motor controller includes: when the first regulating switch is controlled to be off and the second regulating switch is turned on, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on; when the preset time is reached, the lower bridge arm that is turned on in the second motor controller is controlled to be turned off. In this way, when the second regulating switches are all good and without faults, the lower bridge arm that is turned on in the second motor controller is controlled to be turned off, and at least one upper bridge arm in the second motor controller is controlled to be turned on, then the two motors are connected, the motor can be used as a power source, and form a current loop with the two motor controllers, there is current in both motors, and there is no current in both batteries. If the second regulating switch has a short circuit fault, the motor can be used as a power source, and form a current loop with the two motor controllers and the two batteries, and there is obvious current in both motors and the two batteries.
[0018] In some embodiments, the control of the first regulating switch and the control of the on and off of the bridge arms in the first motor controller and the second motor controller includes: when the first regulating switch is controlled to be off and the second regulating switch is turned on, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on; when the preset time is reached, the upper bridge arm turned on in the first motor controller is controlled to be turned off. In this way, when the second regulating switches are all good and without faults, the upper bridge arm turned on in the first motor controller is controlled to be turned off, and at least one lower bridge arm in the first motor controller is controlled to be turned on, then the two motors are connected, the motor can be used as a power source, and form a current loop with the two motor controllers, there is current in both motors, and there is no current in both batteries. If the second regulating switch has a short circuit fault, the motor can be used as a power source, and form a current loop with the two motor controllers and the two batteries, and there is obvious current in both motors and the two batteries.
[0019] In some embodiments, the determining whether the first regulating switch has a circuit-breaking fault and whether the second regulating switch has a sticking fault respectively according to the current of the first motor and the second motor, and the current of the first battery and the current of the second battery comprises: when the current values of the first motor and the second motor are detected to be less than or equal to the first threshold value, the current value of the first battery is less than or equal to the second threshold value, and the current value of the second battery is less than or equal to the third threshold value, the first regulating switch circuit-breaking fault is determined. In this way, when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, the three detected current values are respectively compared with the preset first threshold value, the second threshold value and the third threshold value. If the detected current value of the motor is less than or equal to the first threshold value, the current value of the first battery is less than or equal to the second threshold value, and the current value of the second battery is less than or equal to the third threshold value, it means that there is almost no current in the two motors and almost no current in the two batteries, which means that there is no conduction between the two motors and the actual state of the regulating switch is disconnected, so it can be determined that the first regulating switch has a circuit-breaking fault.
[0020] In some embodiments, the determining whether the first regulating switch is open circuit fault and whether the second regulating switch is sticking fault respectively according to the current of the first motor and the second motor, and the current of the first battery and the current of the second battery comprises: detecting that the current value of the first motor and the second motor is greater than or equal to the fourth threshold value, and the current value of the first battery is greater than or equal to the fifth threshold value, and the current value of the second battery is greater than or equal to the sixth threshold value, and the current of the first battery and the current of the second battery are in the same direction, then determining that the second regulating switch is sticking fault. In this embodiment, when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, the upper bridge arm of one of the first motor controller and the second motor controller is controlled to be turned on, and the lower bridge arm of the other is controlled to be turned on, and then the current value of at least one of the first motor and the second motor, the current value of the first battery and the current value of the second battery are respectively obtained, and the three detected current values are respectively compared with the preset threshold values, if it is detected that the current value of the first motor and the second motor is greater than or equal to the fourth threshold value, and the current value of the first battery is greater than or equal to the fifth threshold value, and the current value of the second battery is greater than or equal to the sixth threshold value, and the current of the first battery and the current of the second battery are in the same direction, then determining that the second regulating switch is sticking fault.
[0021] In some embodiments, the determining whether the first regulating switch is open circuit fault and whether the second regulating switch is sticking fault respectively according to the current of the first motor and the second motor, and the current of the first battery and the current of the second battery comprises: if it is detected that the current value of the first motor and the second motor is greater than or equal to the fourth threshold value, the current value of the first battery is less than or equal to the second threshold value, and the current value of the second battery is less than or equal to the third threshold value, then the second regulating switch is determined to have a sticking fault. In this embodiment, when the first regulating switch is turned on and the second regulating switch is turned off, the upper bridge arm of the first motor controller and the upper bridge arm of the second motor controller are controlled to be turned on, or the lower bridge arm of the first motor controller and the lower bridge arm of the second motor controller are controlled to be turned on, and then the current value of at least one of the first motor and the second motor, the current value of the first battery and the current value of the second battery are respectively obtained, and the three detected current values are respectively compared with the preset threshold values. If it is detected that the current value of the first motor and the second motor is greater than or equal to the fourth threshold value, the current value of the first battery is less than or equal to the second threshold value, and the current value of the second battery is less than or equal to the third threshold value, then it can be determined that the second regulating switch has a sticking fault.
[0022] In some embodiments, the determining whether the first regulating switch has a sticking fault and the second regulating switch has a circuit-breaking fault respectively according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, includes: when the first regulating switch is controlled to be disconnected and the second regulating switch is turned on, if the current values of the first motor and the second motor are detected to be greater than or equal to a fourth threshold, then determining that the first regulating switch has a sticking fault. In this way, as long as it is detected that there is current in the motor when the first regulating switch is controlled to be disconnected, it can be determined that the first regulating switch has a sticking fault.
[0023] In some embodiments, the determining whether the first regulating switch has a sticking fault and whether the second regulating switch has a circuit-breaking fault respectively according to the current of the first motor and the second motor, and the current of the first battery and the current of the second battery, comprises: when the first regulating switch is controlled to be disconnected and the second regulating switch is turned on, it is detected that the current values of the first motor and the second motor are greater than or equal to the fourth threshold value, and the current value of the first battery is greater than or equal to the fifth threshold value, and the current value of the second battery is less than or equal to the third threshold value, then it is determined that the first regulating switch has a sticking fault and the second regulating switch has a circuit-breaking fault. In this embodiment, when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, if the first regulating switch has a sticking fault (actually turned on), the upper bridge arm of one of the first motor controller and the second motor controller is controlled to be turned on, and the lower bridge arm of the other is controlled to be turned on, and the current values of the first motor and the second motor are detected to be greater than or equal to the fourth threshold value, and the current value of the first battery is greater than or equal to the fifth threshold value, then it can be determined that the first regulating switch has a sticking fault and the second regulating switch has a circuit-breaking fault.
[0024] In some embodiments, the determining whether the first regulating switch has a sticking fault and whether the second regulating switch has a circuit-breaking fault respectively according to the current of the first motor and the second motor, and the current of the first battery and the current of the second battery, includes: detecting that the current values of the first motor and the second motor are greater than or equal to the fourth threshold, the current value of the first battery is greater than or equal to the fifth threshold, the current value of the second battery is greater than or equal to the sixth threshold, and the current direction of the first battery and the current of the second battery are different, then determining that the first regulating switch has a sticking fault and the second regulating switch has a circuit-breaking fault. In the case where the first regulating switch is controlled to be turned on and the second regulating switch is turned off, if the first regulating switch has a sticking fault (actually turned on), the upper bridge arm in the first motor controller and the second motor controller is controlled to be turned on, or the lower bridge arm is controlled to be turned on, and the current values in the two motors are detected to be greater than or equal to the fourth threshold, and the current value of the first battery is greater than or equal to the fifth threshold, the current value of the second battery is greater than or equal to the sixth threshold, and the current directions in the two batteries are different, then it can be determined that the first regulating switch has a sticking fault and the second regulating switch has a circuit-breaking fault.
[0025] In some embodiments, before determining whether the first regulating switch and the second regulating switch are faulty based on the currents of the first motor and the second motor, and the currents of the first battery and the second battery, the method further includes: determining the currents of the first motor and the second motor based on the phase current of at least one phase winding connected to the conducting bridge arm in the first motor and the second motor. In this way, the current in the motor can be detected without adding additional detection equipment, and then it can be determined whether the regulating switches on the neutral lines of the two motors are faulty.
[0026] In some embodiments, a current detection device is provided between the neutral point of the first motor and the neutral point of the second motor; before determining whether the first regulating switch and the second regulating switch are faulty based on the currents of the first motor and the second motor, and the currents of the first battery and the second battery, the method further includes: detecting the currents of the first motor and the second motor based on the current detection device. By providing the current detection device, the currents flowing through the two motors can be more intuitively obtained, so that it can be more quickly and accurately determined whether the regulating switches on the neutral lines of the two motors are faulty.
[0027] In a second aspect, an embodiment of the present application provides a switch fault detection device, the device comprising:
[0028] A control module, used for controlling the on and off of the bridge arms in the first motor controller and the second motor controller;
[0029] A detection module, used to determine whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery;
[0030] Among them, the first regulating switch is connected between the first motor and the second motor, the first motor is connected to the first motor controller, the second motor is connected to the second motor controller, the first motor controller and the second motor controller are both connected to the first battery and the second battery, and the second regulating switch is connected between the first battery and the second battery.
[0031] In a third aspect, an embodiment of the present application provides a power battery system, comprising: a first battery and a second battery; a first motor controller and a second motor controller respectively connected between the positive and negative poles of the batteries; a first motor connected to the first motor controller, and a second motor connected to the second motor controller; a first regulating switch connected between the neutral point of the first motor and the neutral point of the second motor, and a second regulating switch connected between the first battery and the second battery; and a switch fault detection device as described in the second aspect.
[0032] In a fourth aspect, an embodiment of the present application provides an electrical device, comprising the power battery system described in the third aspect.
[0033] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect.
[0034] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the method described in the first aspect.
[0035] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation method of the present application is listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:
[0037] Figure 1 A schematic diagram of the structure of a power battery system to which the switch fault detection method provided in some embodiments of the present application is applied;
[0038] Figure 2 This is a schematic diagram of the structure of an electrical device in some embodiments of the present application;
[0039] Figure 3 A schematic diagram of a flow chart of a switch fault detection method provided in some embodiments of the present application;
[0040] Figure 4 Schematic diagram of the current loop formed by the power battery system in some embodiments of the present application Figure 1 ;
[0041] Figure 5 Schematic diagram of the current loop formed by the power battery system in some embodiments of the present application Figure 2 ;
[0042] Figure 6 Schematic diagram of the current loop formed by the power battery system in some embodiments of the present application Figure 3 ;
[0043] Figure 7 Schematic diagram of the current loop formed by the power battery system in some embodiments of the present application Figure 4 ;
[0044] Figure 8 Schematic diagram of a current loop formed by a power battery system in an embodiment of the present application Figure 5 ;
[0045] Fig. 9 Schematic diagram of the current loop formed by the power battery system in some embodiments of the present application Figure 6 ;
[0046] Fig.10 Schematic diagram of the current loop formed by the power battery system in some embodiments of the present application Figure 7 ;
[0047] Fig.11 Schematic diagram of a current loop formed by a power battery system in an embodiment of the present application Figure 8 ;
[0048] Fig.12 Schematic diagram of the current loop formed by the power battery system in some embodiments of the present application Figure 9 ;
[0049] Fig.13 A schematic diagram of the results of the switch fault detection device provided in some embodiments of the present application;
[0050] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown;
[0051] Fig.15 A schematic diagram of a storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0052] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field of the embodiments of the present application; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the embodiments of the present application; the terms "including" and "having" in the specification and claims of the present application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0054] In the description of the embodiments of the present application, “plurality” means more than two, unless otherwise clearly and specifically defined.
[0055] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0056] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0057] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0058] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0059] At present, from the perspective of market development, the application of power batteries is becoming more and more extensive. Power batteries are not only used in energy storage power systems such as hydropower, thermal power, wind power and solar power stations, but also widely used in electric vehicles such as electric bicycles, electric motorcycles, electric cars, as well as military equipment and aerospace and other fields. With the continuous expansion of the application field of power batteries, the market demand is also constantly expanding.
[0060] With the continuous development of power battery systems and new energy vehicles, car users have higher requirements for the driving performance and endurance of power battery systems. Therefore, power battery systems with higher energy efficiency and longer endurance with dual motors and / or dual batteries have emerged. The power battery system has dual motors and dual batteries to improve endurance. It is also equipped with a self-heating function, which can automatically heat the battery through the circuit between the battery and the motor when the ambient temperature of the power device is low, so as to further improve the driving performance of the power battery system. Therefore, when the power device is in good condition, the normal power supply function and self-heating function of the power battery system can be realized respectively by controlling the regulating switch. It can be seen that in the use of the power battery system, the regulating switch, such as a relay, as a key control component of the power battery system, plays a vital role in the safe application of the power battery system in terms of its safe use and real-time, accuracy and reliability of fault detection.
[0061] In the related art, the regulating switch can use a relay with auxiliary contacts, and the auxiliary contacts can be used to detect whether the regulating switch is faulty by sampling the voltage. However, the relay with auxiliary contacts is not only expensive, but also has a high failure rate.
[0062] Based on the above reasons, the embodiment of the present application proposes a switch fault detection method, which can control the on and off of the bridge arms in the first motor controller and the second motor controller while controlling the on and off of the first regulating switch and the second regulating switch; and determine whether the first regulating switch and the second regulating switch are faulty according to the current of the first motor and the second motor, and the current of the first battery and the current of the second battery. Among them, the first regulating switch is connected between the neutral point of the first motor and the neutral point of the second motor, the first motor is connected to the first motor controller, the second motor is connected to the second motor controller, and the first motor controller and the second motor controller are both connected between the positive and negative poles of the first battery and the second battery; the second regulating switch is connected between the first battery and the second battery.
[0063] The switch fault detection method provided in this embodiment is based on the principle that the current conditions of the first motor and the second motor, and the current conditions of the battery will be significantly different when the first regulating switch and the second regulating switch are turned on and off, and when the two regulating switches are stuck or disconnected, the first regulating switch and the second regulating switch are controlled to be turned on and off, and then when the regulating switches are turned on and off, the first regulating switch and the second regulating switch are determined according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery. In this way, since the phase current of the motor can be obtained according to the motor controller, and the current of the battery can be obtained according to the battery controller, the current of the first motor and the second motor, and the current of the first battery and the second battery can be obtained without additional voltage and current sampling, and whether the regulating switch is faulty can be determined according to the current of the first motor and the second motor, and the current of the first battery and the second battery, so that the fault detection of the first regulating switch on the neutral line of the dual motor and the second regulating switch between the dual batteries can be realized at a lower cost. And the relay regulating switch that does not use auxiliary contacts can be fault-detected, so that the problem of high failure rate of the auxiliary contact relay can be improved.
[0064] It can be understood that controlling the on and off of the first regulating switch and the second regulating switch may include any combination of controlling the first regulating switch to be turned on and off, and controlling the second switch to be turned on and off, as long as it includes both on and off control of the first regulating switch and on and off control of the second regulating switch.
[0065] In practical applications, when the whole vehicle needs to be on high voltage or the battery self-heating, it is necessary to turn on the first regulating switch between the two motors and disconnect the second regulating switch between the two batteries, and then control the two motor controllers to turn on. At this time, if the first regulating switch and the second regulating switch are both in good condition and without faults, the batteries and motors of the power battery system can form an effective charging and discharging circuit, and there should be current in the first motor and the second motor, and there is only one battery with current at the same time in the first battery and the second battery. In this process, the inductor coil of the motor can store energy. Assuming that the whole vehicle needs to be on high voltage or the battery self-heating process, there is current in the first battery and no current in the second battery, then when the energy storage of the motor inductor coil is greater than the energy storage of the second battery, the inductor coil of the motor can store electricity in the second battery, and the second battery is also turned on, and there is also current in the second battery.
[0066] When the first regulating switch is turned on and the second regulating switch is turned off, if the first regulating switch has a short circuit fault, the two motors cannot be connected, and the power battery system cannot form an effective current loop, and there is no current in either the two batteries or the two motors. If the first regulating switch is in good condition and has no faults, and the second regulating switch has a sticking fault, the two motors are connected, and the batteries and motors of the power battery system can form an effective charging and discharging loop, and there should be current in the first motor and the second motor, and there should also be current in the first battery and the second battery, and in this process, the inductors of the two motors and the two batteries can be charged and discharged respectively.
[0067] After the vehicle is completed and high voltage or battery self-heating is required, the first regulating switch needs to be disconnected and the second regulating switch needs to be turned on. At this time, if the first regulating switch and the second regulating switch are both good and fault-free, the two motors cannot be connected, and the power battery system cannot form an effective current loop. There is no current in both batteries and motors. If the first regulating switch has an adhesion failure, and the second regulating switch is good and fault-free, the two motors are connected, and the battery and motor of the power battery system can form an effective charge and discharge circuit. There should be current in the first motor and the second motor, and there is also current in the first battery and the second battery. If the first regulating switch has an adhesion failure, and the second regulating switch has a circuit-breaking failure, the two motors are connected, and the battery and motor of the power battery system can form an effective current loop. There should be current in the first motor and the second motor, and in the first battery and the second battery, according to the conduction of the two motor controllers, at least one of the two batteries has current.
[0068] In this way, according to the above-mentioned switch fault detection principle, whether the first regulating switch and the second regulating switch are faulty can be determined according to the different setting states (on or off) of the two regulating switches, and the theoretical results and actual results of the motor current and the battery current under different setting states.
[0069] The switch fault detection method provided in the embodiment of the present application can be applied to a dual-branch power battery system including dual motors and dual batteries to perform fault detection on the first regulating switch on the neutral lines of the two motors and the second regulating switch between the two batteries. Figure 1 As shown in FIG. 1 , a schematic diagram of a dual-branch power battery system including dual motors and dual batteries is shown. Figure 1As shown, the power battery system includes a first battery 101, a second battery 102, a first motor controller 201, a second motor controller 202, a first motor 301, a second motor 302 and a capacitor 400. The first motor controller 201, the second motor controller 202 and the capacitor 400 are all connected between the positive and negative electrodes of the first battery 101 and the second battery 102, the first motor 301 is connected to the first motor controller 201, the second motor 302 is connected to the second motor controller 202, and a first regulating switch K1 is set between the neutral point of the first motor 301 and the neutral point of the second motor 302, and a second regulating switch K2 is set between the positive electrode of the first battery 101 and the positive electrode of the second battery 102, or between the negative electrode of the first battery 101 and the negative electrode of the second battery 102. By controlling the conduction of the upper / lower bridge arms of the first motor controller 201 and the second motor controller 202, and the on-off of the first regulating switch K1 and the second regulating switch K2, the charging and discharging process of the power battery system and the battery power supply process can be realized.
[0070] in, Figure 1 The position of the second regulating switch K2 is only an example, and it can also be located at other positions in the circuit, such as between the negative electrode of the first battery and the negative electrode of the second battery, or closer to the positive electrode or negative electrode of the battery.
[0071] The first motor controller 201 and the second motor controller 202 may include one or more upper bridge arms and one or more lower bridge arms. The specific structure may be, but is not limited to, Figure 1 As shown. And each bridge arm (upper bridge arm and lower bridge arm) includes a transistor and a diode (such as S1 and D1) connected in parallel. When the current passing through the bridge arm is greater than the conduction threshold of the diode, the diode can be reversely conducted, so that the transistor can be protected from overcurrent. The diode can be, but is not limited to, a freewheeling diode. In the process of regulating switch fault detection, when the current loop formed by the power battery system flows in from the cathode of the diode and flows out from the anode of the diode, when the bridge arm is turned on in this article, it is understood as closing the transistor. When the current loop formed by the power battery system flows in from the anode of the diode and flows out from the cathode of the diode, when the bridge arm is turned on in this article, the transistor can be closed or not, and the current can flow through the freewheeling diode.
[0072] It is understandable that the above Figure 1 The power battery system shown is only a schematic diagram of the structure of a dual-branch power battery system to which the switch fault detection method provided in the embodiment of the present application can be applied. The embodiment of the present application can be applied not only to the power battery system, but also to any switch on the neutral lines of the two motors and the switch between the two batteries that is required to perform fault detection.
[0073] The switch fault detection method disclosed in the embodiment of the present application can also be applied to an electric device using a power battery system, which can be, but is not limited to, a vehicle, a ship, or an aircraft, etc. The switch fault detection method disclosed in the embodiment of the present application can be used to detect the fault of the switch between the neutral points of the two motors and the switch between the two batteries in the power battery system of the electric device, so that the fault detection of the regulating switch can be realized at a relatively low cost, and the problem of high failure rate of the auxiliary contact relay can be improved.
[0074] The embodiment of the present application provides an electric device using a battery as a power source, wherein the power battery system of the electric device includes two motors, and the above switch fault detection method can be applied to detect whether the switch on the neutral line of the two motors and the switch between the two batteries are faulty. The electric device can be, but is not limited to, a mobile phone, a tablet, a laptop computer, an electric toy, an electric tool, a battery car, an electric car, a ship, a spacecraft, and the like. Among them, the electric toy can include a fixed or mobile electric toy, for example, a game console, an electric car toy, an electric ship toy, an electric airplane toy, and the like, and the spacecraft can include an airplane, a rocket, a space shuttle, a spacecraft, and the like.
[0075] For the convenience of description, the following embodiments are described by taking a vehicle as an example of an electrical device in an embodiment of the present application.
[0076] Please refer to Figure 2 , Figure 2 The schematic diagram of the structure of the vehicle provided in some embodiments of the present application. The vehicle may be a new energy vehicle, which may be a pure electric vehicle, a hybrid vehicle, or an extended-range vehicle. Figure 2 As shown, a power battery system is provided inside the vehicle 1000, and the power battery system includes a battery 100 (including a first battery 101 and a second battery 102), a motor controller 200 (including a first motor controller 201 and a second motor controller 202) and a motor 300 (including a first motor 301 and a second motor 302). The battery 100 can be provided at the bottom, head or tail of the vehicle 1000. The battery 100 can be used to power the vehicle 1000, and the controller 200 is used to control the battery 100 to power the motor 300. Based on the power battery system, the battery 100 can be used not only as the operating power source of the vehicle, but also as the driving power source of the vehicle, replacing or partially replacing fuel or natural gas to provide driving power for the vehicle.
[0077] The following is combined with the attached drawings and Figure 1 Taking the power battery system shown in the figure as an example, the switch fault detection method provided in the embodiment of the present application is described in detail. Figure 3 , Figure 3A schematic diagram of a flow chart of a switch fault detection method provided in an embodiment of the present application, such as Figure 3 As shown, the switch fault detection method may include the following steps:
[0078] Step S100, controlling the on and off of bridge arms in the first motor controller and the second motor controller while controlling the on and off of the first regulating switch and the second regulating switch.
[0079] Among them, the first regulating switch is connected between the neutral point of the first motor and the neutral point of the second motor, the first motor is connected to the first motor controller, the second motor is connected to the second motor controller, the first motor controller and the second motor controller are both connected between the positive and negative poles of the first battery and the second battery; the second regulating switch is connected between the first battery and the second battery.
[0080] In some embodiments, the two motor controllers can be controlled to be turned on when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, so as to detect the circuit breaker fault of the first regulating switch and the adhesion fault of the second regulating switch. Accordingly, the above step S100 may include the following processing: when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, at least one upper bridge arm in the first motor controller is controlled to be turned on and at least one lower bridge arm in the second motor controller is controlled to be turned on.
[0081] In this embodiment, when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, if the first regulating switch and the second regulating switch are both good and fault-free, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on, and the two motors are connected, and the battery and the motor of the power battery system can form an effective charging and discharging circuit, and can store energy for the battery and the inductor of the motor respectively, so that there is obvious current flowing through the two motors, and the second regulating switch between the two batteries is disconnected, then there is only one battery in the first battery and the second battery and the motor to form a current loop, so there is current in only one battery. If the first regulating switch has a short circuit fault, the two motors cannot be connected, the battery and the motor cannot form an effective charging and discharging circuit, there is no current in the two motors and the two batteries, or the current value flowing through is small enough to be ignored. If the first regulating switch is good and fault-free, and the second regulating switch has a sticking fault, the battery and the motor can form an effective charging and discharging circuit, and there is current flowing in the two motors and the two batteries.
[0082] It can be understood that in the event of a short circuit failure in the first regulating switch, regardless of whether the second switch fails, the two motors cannot be connected, the battery and the motor cannot form an effective charging and discharging circuit, there is no current in the two motors and the two batteries, or the current flowing through is so small that it can be ignored.
[0083] by Figure 1 Taking the power battery system shown in the figure as an example, when the first regulating switch K1 is controlled to be turned on and the second regulating switch K2 is turned off, the three upper bridge arms in the first motor controller 201 are controlled to be turned on, and the three lower bridge arms in the second motor controller 202 are controlled to be turned on. For example, transistors S1, S3, S5, S8, S10 and S12 can be closed. If the first regulating switch K1 and the second regulating switch K2 are both in good condition and have no faults, the first battery 101, the first motor controller 201, the first motor 301, the second motor 302 and the second motor controller 202 can be configured as follows: Figure 4 The current loop indicated by the arrow line segment can store energy for the motor inductance. When the energy storage of the motor inductance is greater than the energy storage of the first battery, the motor inductance can store energy for the first battery, and then the transistors S1, S3, S5, S8, S10 and S12 are closed, and the first battery 101, the first motor controller 201, the first motor 301, the second motor 302 and the second motor controller 202 can form the following structure: Figure 5 The current loop shown by the arrow line segment in the middle forms a cycle Figure 4 and Figure 5 The charging and discharging circuit shown can realize high voltage on the whole vehicle, or battery self-heating, etc.
[0084] If the first regulating switch K1 fails to open, the first motor 301 and the second motor 302 are not connected, and the power battery system cannot form an effective current loop. There is no current in the two batteries and the two motors. If the first regulating switch K1 is normally connected, and the second regulating switch K2 fails to stick, the first battery 101, the second battery 102, the first motor controller 201, the first motor 301, the second motor 302 and the second motor controller 202 can form the following Figure 6 The current loop is shown by the arrow segment in the middle. At this time, there is current in both motors and both batteries.
[0085] In addition, this embodiment does not limit the positional relationship between the two motors and the two batteries. Figure 1 The two motors can both be the first motor or the second motor, as long as one of them is the first motor and the other is the second motor. Similarly, the two batteries can both be the first battery or the second battery, as long as one of them is the first battery and the other is the second battery. When controlling the three upper bridge arms in the first motor controller to be turned on, and the three lower bridge arms in the second motor controller to be turned on, the transistors S2, S4, S6, S7, S9 and S11 can also be closed. At this time, if the first regulating switch K1 is normally turned on and the second regulating switch K2 is normally turned off, the second battery 102, the first motor controller 201, the first motor 301, the second motor 302 and the second motor controller 202 can be configured as follows. Figure 7 Or Figure 8 The current loop is shown by the arrow line segment, and the cycle forms Figure 7 and Figure 8 The charging and discharging circuit shown can also realize high voltage on the whole vehicle, or battery self-heating, etc.
[0086] It can be understood that in this embodiment, when controlling at least one upper bridge arm in the first motor controller to be turned on and at least one lower bridge arm in the second motor controller to be turned on, the number of upper bridge arms of the first motor controller that is controlled to be turned on and the number of lower bridge arms of the second motor controller that is controlled to be turned on can be the same or different. This embodiment is only described by taking the three bridge arms being turned on as an example, but is not limited to this. As long as the first regulating switch is normally turned on and the second regulating switch is normally disconnected, Figure 1 The power battery system shown can form an effective current loop. For example, the three upper bridge arms in the first motor controller can be controlled to be turned on, while one or two lower bridge arms in the second motor controller can be controlled to be turned on.
[0087] Furthermore, in the case where the second regulating switch is close to the upper bridge arms of the two motor controllers, the above step S100 can further include the following processing: controlling at least one upper bridge arm in the first motor controller to be turned on, and controlling at least one lower bridge arm in the second motor controller to be turned on, and when a preset time is reached, controlling the turned-on lower bridge arm in the second motor controller to be disconnected, and controlling at least one upper bridge arm in the second motor controller to be turned on.
[0088] It should be noted that the preset time here and below can be understood as the time required to complete the high voltage on the whole vehicle or the time required for the battery self-heating. When the preset time is reached, it can be considered that the high voltage process on the whole vehicle has been completed, or the battery self-heating process has been completed. The specific value of the preset time can be set by those skilled in the art according to actual conditions, including but not limited to the capacity of the battery, the temperature of the battery and other conditions, and this embodiment does not specifically limit this.
[0089] In this embodiment, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on, and the preset time is reached, which can be understood as the high-voltage process on the whole vehicle or the self-heating process of the battery has been completed, that is, the inductor coil of the motor and the battery have a certain amount of energy storage, and both can be used as a power source to form a current loop with other components. At this time, when the first regulating switch and the second regulating switch are both good and fault-free, the lower bridge arm that is turned on in the second motor controller is controlled to be disconnected, and at least one upper bridge arm in the second motor controller is controlled to be turned on, then the motor can be used as a power source to form a current loop with two motor controllers and two batteries, and both motors and two batteries have obvious current. If the first regulating switch has a short circuit failure and the second regulating switch is disconnected normally, the two motors cannot be connected, and the power battery system cannot form a current loop, and there is no current in the motor and the battery or the current is so small that it can be ignored. If the first regulating switch is normally turned on and the second regulating switch has a sticking failure, the two motors are turned on, and the motor can be used as a power source to form a current loop with the two motor controllers, and there is current in both motors, and there is no current in both batteries.
[0090] by Figure 1 Take the power battery system shown as an example. When the high-voltage process on the whole vehicle or the self-heating process of the battery is completed, there is a certain amount of energy stored in the inductor coil of the motor and the battery. The three lower bridge arms that are turned on in the second motor controller 202 are controlled to be disconnected, and the three upper bridge arms of the second motor controller 202 are controlled to be turned on, that is, the transistors S1, S3, S5, S7, S9 and S11 are closed. It is also possible to not turn on the upper bridge arm of the second motor controller 202, that is, not close S7, S9 and S11, and let the current directly pass through the freewheeling diodes D7, D9, D11. When the first regulating switch is normally turned on and the second regulating switch is normally disconnected, the motor can be used as a power source, and together with the two motor controllers and two batteries, it forms a system as shown below. Fig. 9 The current loop shown by the arrow line segment in the middle shows that there is obvious current in the two motors. If the first regulating switch is normally turned on and the second regulating switch is stuck, the motor can be used as a power source and form a circuit with the two motor controllers as shown below. Fig.10 In the current loop shown by the arrow segment, there is obvious current in the two motors, but no current in the two batteries. Fig.10 The direction of the arrow in the figure is consistent with the direction of the current in the current loop when the motor inductance stores energy. Fig.10 In contrast, this embodiment can also form Fig.10 The current loops with arrows in opposite directions.
[0091] It is also understandable that in this embodiment, when controlling at least one upper bridge arm in the second motor controller to be turned on, the number of upper bridge arms turned on in the second motor controller and the number of upper bridge arms turned on in the first motor controller may be the same or different. As long as the first regulating switch is normally turned on and the second regulating switch is normally turned off, Figure 1 The power battery system shown can be constructed similarly Fig. 9 For example, when the regulating switch is controlled to be turned on, the three upper bridge arms in the first motor controller and the two upper bridge arms in the second motor controller can also be controlled to be turned on.
[0092] In other embodiments, when the second regulating switch is close to the lower bridge arms of the two motor controllers, the above step S100 may also include the following processing: controlling at least one upper bridge arm in the first motor controller to be turned on, and at least one lower bridge arm in the second motor controller to be turned on, and when a preset time is reached, controlling the turned-on upper bridge arm in the first motor controller to be disconnected, and controlling at least one lower bridge arm in the first motor controller to be turned on.
[0093] Among them, the second regulating switch is close to the lower bridge arms of the two motor controllers, which can also be understood as the second regulating switch is located between the negative electrode of the first battery and the negative electrode of the second battery.
[0094] In this embodiment, controlling at least one upper bridge arm in the first motor controller to be turned on, and at least one lower bridge arm in the second motor controller to be turned on, to reach a preset time length, can also be understood as completing the high-voltage process on the whole vehicle or the battery self-heating process, that is, the inductor coil of the motor and the battery both have a certain amount of energy storage, and can both be used as a power source to form a current loop with other components. At this time, when the second regulating switch is close to the lower bridge arm of the two motor controllers, and the first regulating switch and the second regulating switch are both in good condition and without fault, the upper bridge arm that is turned on in the first motor controller is controlled to be disconnected, and at least one lower bridge arm in the first motor controller is controlled to be turned on, then the motor can be used as a power source to form a current loop with the two motor controllers and the two batteries, and both motors and the two batteries have obvious current. If the first regulating switch has a short circuit failure and the second regulating switch is normally disconnected, the two motors cannot be connected, and the power battery system cannot form a current loop, and there is no current in the motor and the battery or the current is so small that it can be ignored. If the first regulating switch is normally turned on and the second regulating switch has a sticking fault, the two motors are connected, and the motors can be used as power sources to form a current loop with the two motor controllers. There is current in both motors, but no current in both batteries.
[0095] by Figure 1Take the power battery system shown as an example. When the high-voltage process on the whole vehicle or the battery self-heating process is completed, there is a certain amount of energy stored in the inductor coil of the motor and the battery. The upper bridge arm that is turned on in the first motor controller 201 is controlled to be disconnected, and at least one lower bridge arm in the first motor controller 201 is controlled to be turned on, that is, transistors S2, S4, S6, S8, S10 and S12 are closed. It is also possible not to control the lower bridge arm in the first motor controller 201 to be turned on, that is, S2, S4 and S6 are not closed, and the current is allowed to pass directly through the freewheeling diodes D2, D4, D6. When the first regulating switch is normally turned on and the second regulating switch is normally disconnected, the motor can be used as a power source, and together with the two motor controllers and two batteries, it forms a system as shown below. Fig.11 The current loop shown by the arrow line segment in the middle shows that there is obvious current in the two motors. If the first regulating switch is normally turned on and the second regulating switch is stuck, the motor can be used as a power source and form a circuit with the two motor controllers as shown below. Fig.12 In the current loop shown by the arrow segment, there is obvious current in the two motors, but no current in the two batteries. Fig.10 The direction of the arrow in the figure is consistent with the direction of the current in the current loop when the motor inductance stores energy. Fig.10 In contrast, this embodiment can also form Fig.10 The current loops with arrows in opposite directions.
[0096] It is also understandable that in this embodiment, when controlling at least one lower bridge arm in the first motor controller to be turned on, the number of lower bridge arms turned on in the first motor controller and the number of lower bridge arms turned on in the second motor controller may be the same or different. As long as the first regulating switch is normally turned on and the second regulating switch is normally turned off, Figure 1 The power battery system shown can be constructed similarly Fig.11 For example, when the regulating switch is controlled to be turned on, three lower bridge arms in the first motor controller and one lower bridge arm in the second motor controller can also be controlled to be turned on.
[0097] In other embodiments, the two motor controllers may be controlled to be turned on when the first regulating switch is controlled to be disconnected and the second regulating switch is controlled to be turned on, so as to detect the adhesion fault of the first regulating switch and the circuit breaker fault of the second regulating switch. Accordingly, the above step S100 may include the following processing: when the first regulating switch is controlled to be disconnected and the second regulating switch is controlled to be turned on, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on.
[0098] In this embodiment, it can be assumed that the high voltage on the whole vehicle has been completed, or the battery self-heating process has been completed, that is, the inductor coil of the motor and the battery both have a certain amount of energy storage, and both can be used as power sources to form a current loop with other components. When the first regulating switch is disconnected and the second regulating switch is turned on, if the first regulating switch and the second regulating switch are both in good condition and without faults, the two motors cannot be connected. Even if the first motor controller and the second motor controller are controlled to be turned on, the battery and the motor cannot form an effective charging and discharging circuit. There is no current in the two motors and the two batteries, or the current value flowing through is small enough to be ignored. If the first regulating switch has an adhesion failure, and the second regulating switch is turned on normally, the two motors are connected, the battery and the motor can form an effective current loop, and current flows through the two motors and the two batteries. If the first regulating switch has a sticking fault and the second regulating switch has a circuit breaking fault, the two motors are connected, and when at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on, the batteries and motors of the power battery system can form an effective current loop, so that obvious current flows through the two motors, and the second regulating switch between the two batteries is disconnected, then only one of the first battery and the second battery forms a current loop with the motor, so only one battery has current.
[0099] It can be understood that when the first regulating switch is disconnected, regardless of whether the second switch is faulty, the two motors cannot be electrically connected, the battery and the motor cannot form an effective charging and discharging circuit, there is no current in the two motors and the two batteries, or the current flowing through is so small that it can be ignored.
[0100] by Figure 1 Take the power battery system shown in the figure as an example. When the first regulating switch K1 is disconnected and the second regulating switch K2 is turned on, the first motor 301 and the second motor 302 cannot be connected. No matter how the bridge arm of the first motor controller 201 and the bridge arm of the second motor controller 202 are connected, the power battery system cannot form an effective current loop, and there is no current in the two motors and the two batteries. If the first regulating switch K1 has a sticking failure, and the second regulating switch K2 is turned on normally, the three upper bridge arms in the first motor controller 201 are controlled to be turned on, and the three lower bridge arms in the second motor controller 202 are controlled to be turned on. For example, transistors S1, S3, S5, S8, S10 and S12 can be closed, and the first battery 101, the second battery 102, the first motor controller 201, the first motor 301, the second motor 302 and the second motor controller 202 can form the following. Figure 6 The current loop is shown by the arrow segment in the middle. At this time, there is current in both motors and both batteries.
[0101] If the first regulating switch K1 has a sticking fault and the second regulating switch K2 has a circuit breaker fault, the first battery 101, the first motor controller 201, the first motor 301, the second motor 302 and the second motor controller 202 can be configured as follows: Figure 5 The current loop is shown by the arrow line segment. At this time, there is current in both motors and the first battery 101.
[0102] In addition, this embodiment does not limit the positional relationship between the two motors and the two batteries, and the specific position of the second regulating switch. Figure 1 The two motors can both be the first motor or the second motor, as long as one of them is the first motor and the other is the second motor. Similarly, the two batteries can both be the first battery or the second battery, as long as one of them is the first battery and the other is the second battery. When controlling the three upper bridge arms in the first motor controller to be turned on and the three lower bridge arms in the second motor controller to be turned on, the transistors S2, S4, S6, S7, S9 and S11 can also be closed. At this time, if the first regulating switch K1 has a sticking fault and the second regulating switch K2 has a circuit breaker fault, the second battery 102, the first motor controller 201, the first motor 301, the second motor 302 and the second motor controller 202 can be configured as follows. Figure 7 Or Figure 8 The current loop is shown by the arrow line segment, and the cycle forms Figure 7 and Figure 8 The charging and discharging circuit shown can also realize high voltage on the whole vehicle, or battery self-heating, etc.
[0103] It can be understood that in this embodiment, when controlling at least one upper bridge arm in the first motor controller to be turned on, and at least one lower bridge arm in the second motor controller to be turned on, the number of upper bridge arms of the first motor controller that is controlled to be turned on and the number of lower bridge arms of the second motor controller that is controlled to be turned on may be the same or different. This embodiment is only illustrated by taking the case where all three bridge arms are turned on as an example, but is not limited to this. For example, the three upper bridge arms in the first motor controller may also be controlled to be turned on, while one or two lower bridge arms in the second motor controller may be turned on.
[0104] Furthermore, in the case where the second regulating switch is close to the upper bridge arms of the two motor controllers, the above step S100 can further include the following processing: controlling at least one upper bridge arm in the first motor controller to be turned on, and controlling at least one lower bridge arm in the second motor controller to be turned on, and when a preset time is reached, controlling the turned-on lower bridge arm in the second motor controller to be disconnected, and controlling at least one upper bridge arm in the second motor controller to be turned on.
[0105] In this embodiment, in the case of a sticking failure in the first regulating switch, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on, and the preset duration is reached, which can be understood as the completion of the high-voltage process on the whole vehicle or the battery self-heating process, that is, the inductor coil and the battery of the motor have a certain amount of energy storage, and both can be used as a power source to form a current loop with other components. At this time, when the second regulating switch is in good condition and has no faults, the lower bridge arm that is turned on in the second motor controller is controlled to be disconnected, and at least one upper bridge arm in the second motor controller is controlled to be turned on, then the two motors are connected, the motor can be used as a power source, and a current loop is formed with the two motor controllers, and there is current in both motors, and there is no current in both batteries. If the second regulating switch has a short circuit failure, the motor can be used as a power source to form a current loop with the two motor controllers and the two batteries, and there is obvious current in both motors and the two batteries.
[0106] by Figure 1 Take the power battery system shown as an example. When the first regulating switch K1 has an adhesion failure, the first motor controller 201 and the second motor controller 202 are controlled to be turned on. After the preset time is reached, the inductor coil of the motor and the battery have a certain amount of energy stored. Then the lower bridge arm that is turned on in the second motor controller 202 is controlled to be disconnected, and at least one upper bridge arm in the second motor controller 202 is turned on, that is, the transistors S1, S3, S5, S7, S9 and S11 are closed. It is also possible to not turn on the upper bridge arm of the second motor controller 202, that is, not close S7, S9 and S11, and let the current directly pass through the freewheeling diodes D7, D9, D11. When the first regulating switch K1 has an adhesion failure and the second regulating switch K2 is turned on normally, the motor can be used as a power source and form a system such as the following with the two motor controllers. Fig.10 In the current loop shown by the arrow line segment, there is obvious current in the two motors, but no current in the two batteries. If the first regulating switch K1 has a sticking fault and the second regulating switch has a circuit failure, the motor can be used as a power source, and the two motor controllers and two batteries form a circuit as shown in FIG. Fig. 9 The current loop shown by the arrow line segment in the middle shows that there is obvious current in both motors and both batteries. Fig.10 The direction of the arrow in the figure is consistent with the direction of the current in the current loop when the motor inductance stores energy. Fig.10 In contrast, this embodiment can also form Fig.10 The current loops with arrows in opposite directions.
[0107] It is also understandable that in this embodiment, when controlling at least one upper bridge arm in the second motor controller to be turned on, the number of upper bridge arms turned on in the second motor controller and the number of upper bridge arms turned on in the first motor controller may be the same or different. Figure 1 The power battery system shown can be constructed similarly Fig. 9 For example, when the regulating switch is controlled to be turned on, the three upper bridge arms in the first motor controller and the two upper bridge arms in the second motor controller can also be controlled to be turned on.
[0108] In other embodiments, when the second regulating switch is close to the lower bridge arms of the two motor controllers, the above step S100 may further include the following processing: controlling at least one upper bridge arm in the first motor controller to be turned on, and at least one lower bridge arm in the second motor controller to be turned on, and when a preset time is reached, controlling the turned-on upper bridge arm in the first motor controller to be disconnected, and controlling at least one lower bridge arm in the first motor controller to be turned on.
[0109] In this embodiment, in the case of a sticking failure in the first regulating switch, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on, and the preset duration is reached, which can be understood as the completion of the high-voltage process on the whole vehicle or the battery self-heating process, that is, the inductor coil of the motor and the battery both have a certain amount of energy storage, and both can be used as power sources to form a current loop with other components. At this time, when the second regulating switch is in good condition and has no faults, the upper bridge arm that is turned on in the first motor controller is controlled to be disconnected, and at least one lower bridge arm in the first motor controller is controlled to be turned on, so that the two motors are connected, and the motor can be used as a power source to form a current loop with the two motor controllers, and there is current in both motors, and there is no current in both batteries. If the second regulating switch has a short circuit failure, the motor can be used as a power source to form a current loop with the two motor controllers and the two batteries, and there is obvious current in both motors and the two batteries.
[0110] by Figure 1Take the power battery system shown as an example. When the first regulating switch K1 has an adhesion failure, the first motor controller 201 and the second motor controller 202 are controlled to be turned on. After the preset time is reached, the inductor coil of the motor and the battery have a certain amount of energy stored. Then, the upper bridge arm that is turned on in the first motor controller 201 is controlled to be disconnected, and at least one lower bridge arm in the first motor controller 201 is controlled to be turned on, that is, transistors S2, S4, S6, S8, S10 and S12 are closed. It is also possible to not turn on the lower bridge arm of the first motor controller 201, that is, not close S2, S4 and S6, and allow the current to directly pass through the freewheeling diodes D2, D4, and D6. When the first regulating switch K1 has an adhesion failure and the second regulating switch K2 is turned on normally, the motor can be used as a power source and form a system with the two motor controllers as shown below. Fig.12 In the current loop shown by the arrow line segment, there is obvious current in the two motors, but no current in the two batteries. If the first regulating switch K1 has a sticking fault and the second regulating switch K2 has a circuit breaker fault, the motor can be used as a power source, and the two motor controllers and two batteries form a circuit as shown in FIG. Fig.11 The current loop shown by the arrow line segment in the middle shows that there is obvious current in both motors and both batteries. Fig.12 The direction of the arrow in the figure is consistent with the direction of the current in the current loop when the motor inductance stores energy. Fig.12 In contrast, this embodiment can also form Fig.12 The current loops with arrows in opposite directions.
[0111] It is also understandable that in this embodiment, when controlling at least one lower bridge arm in the first motor controller to be turned on, the number of lower bridge arms turned on in the first motor controller and the number of lower bridge arms turned on in the second motor controller may be the same or different. Figure 1 The power battery system shown can be constructed similarly Fig.11 For example, when the regulating switch is controlled to be turned on, the three lower bridge arms in the first motor controller and one or two lower bridge arms in the second motor controller can also be controlled to be turned on.
[0112] Step S200, determining whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery.
[0113] Based on the various embodiments of the above step S100, the currents of the first motor and the second motor, as well as the currents of the first battery and the second battery corresponding to the various embodiments can be obtained respectively, and then it can be determined whether the regulating switch fails based on the obtained motor current and battery current, and the above switch fault detection principle. It can be understood that the regulating switch failure here can include a circuit breaker failure and a sticking failure, specifically, a circuit breaker failure or a sticking failure of the first regulating switch, or a circuit breaker failure or a sticking failure of the second regulating switch.
[0114] Specifically, step S200 may include: when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, determining whether the first regulating switch has a circuit breaker fault and whether the second regulating switch has a circuit breaker fault according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery. And, when the first regulating switch is controlled to be turned off and the second regulating switch is controlled to be turned on, determining whether the first regulating switch has a circuit breaker fault and whether the second regulating switch has a circuit breaker fault according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery.
[0115] In this embodiment, when the first regulating switch is controlled to be turned on and the second regulating switch is turned off, based on the different conduction states of the two motor controllers in step S100, the power battery system can form different current loops, and then based on the current of the motor and the battery, it can be determined whether the first regulating switch has an open circuit fault and whether the second regulating switch has an adhesion fault. Similarly, when the first regulating switch is controlled to be turned off and the second regulating switch is turned on, based on the different conduction states of the two motor controllers in step S100, the power battery system can form different current loops, and then based on the current of the motor and the battery, it can be determined whether the first regulating switch has an adhesion fault and whether the second regulating switch has an open circuit fault.
[0116] Furthermore, the above-mentioned steps of respectively determining whether the first regulating switch has an open circuit fault and whether the second regulating switch has an adhesion fault according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, may include a specific detection step of the open circuit fault of the first regulating switch, that is, when the first regulating switch is turned on and the second regulating switch is turned off, it is detected that the current values of the first motor and the second motor are less than or equal to the first threshold, the current value of the first battery is less than or equal to the second threshold, and the current value of the second battery is less than or equal to the third threshold, then it is determined that the first regulating switch has an open circuit fault.
[0117] Among them, the values of the first threshold, the second threshold and the third threshold can be the same or different. All of them can be a smaller current value, such as but not limited to a few milliamperes. This embodiment does not specifically limit their specific values. Those skilled in the art can set them according to actual conditions, as long as they can explain the actual state of the adjustment switch (on and closed).
[0118] In practical applications, based on the above-mentioned switch fault detection principle, corresponding to each embodiment of step S100, the current value of at least one of the first motor and the second motor, the current value of the first battery, and the current value of the second battery are respectively obtained when the first regulating switch is turned on, and then the three detected current values are compared with the preset first threshold, second threshold and third threshold respectively. If the detected current value of the motor is less than or equal to the first threshold, the current value of the first battery is less than or equal to the second threshold, and the current value of the second battery is less than or equal to the third threshold, it means that there is almost no current in the two motors and almost no current in the two batteries, which means that the two motors are not conductive and the actual state of the regulating switch is disconnected, so it can be determined that the first regulating switch has a circuit breaker fault.
[0119] In some embodiments, when the first regulating switch does not have a short circuit fault, it is possible to detect whether the second regulating switch has a sticking fault. The above steps of determining whether the first regulating switch has a short circuit fault and whether the second regulating switch has a sticking fault according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, respectively, may further include: a specific detection step of the second regulating switch sticking fault, that is, when the first regulating switch is turned on and the second regulating switch is turned off, it is detected that the current values of the first motor and the second motor, the current value of the first battery, and the current value of the second battery meet the first preset condition, then determining that the second regulating switch has a sticking fault. barrier; wherein the first preset condition includes: when the upper bridge arms of the first controller and the second controller are both turned on, or when the lower bridge arms of the first controller and the second controller are both turned on, the current values of the first motor and the second motor are greater than or equal to the fourth threshold, the current value of the first battery is less than or equal to the second threshold, and the current value of the second battery is less than or equal to the third threshold; when the upper bridge arm of one of the first controller and the second controller is turned on and the lower bridge arm of the other is turned on, the current values of the first motor and the second motor are greater than or equal to the fourth threshold, the current value of the first battery is greater than or equal to the fifth threshold, the current value of the second battery is greater than or equal to the sixth threshold, and the current of the first battery and the current of the second battery have the same direction.
[0120] Among them, the values of the fourth threshold, the fifth threshold and the sixth threshold can be the same or different. All three can be a larger current value, such as but not limited to several amperes or tens of amperes. This embodiment does not specifically limit their specific values. Those skilled in the art can set them according to actual conditions, as long as they can explain the actual state of the adjustment switch (on and closed).
[0121] In practical applications, based on the above switch fault detection principle, in theory, when the first regulating switch is turned on and the second regulating switch has a sticking fault, if the first controller and the second controller are both turned on with the upper bridge arm, or both are turned on with the lower bridge arm, there is current in the motor, but no current in the battery, that is, the current value of the first motor and the second motor is greater than or equal to the fourth threshold, the current value of the first battery is less than or equal to the second threshold, and the current value of the second battery is less than or equal to the third threshold. In the case where the upper bridge arm of one of the first controller and the second controller is turned on and the lower bridge arm of the other is turned on, the current value of the first motor and the second motor is greater than or equal to the fourth threshold, and the current value of the first battery is greater than or equal to the fifth threshold, the current value of the second battery is greater than or equal to the sixth threshold, and the current of the first battery and the current of the second battery are in the same direction. Therefore, corresponding to each embodiment of step S100, the current value of at least one of the first motor and the second motor, the current value of the first battery, and the current value of the second battery can be obtained respectively when the first regulating switch is turned on and the second regulating switch is disconnected. That is, the following may occur Figure 6 and Fig.10 ,and Fig.12 The current situation shown in . Then the three detected current values are compared with the preset thresholds respectively. If the detected current value meets the first preset condition mentioned above, it can be determined that the second regulating switch has a sticking fault.
[0122] It should be noted that the above-mentioned first regulating switch being turned on can be understood as the first regulating switch being actually in a turned-on state, that is, including a situation where the first regulating switch is normally turned on, and can also include a state where the first regulating switch is stuck.
[0123] In other embodiments, the above-mentioned steps of determining whether the first regulating switch has a sticking fault and whether the second regulating switch has a circuit breaker fault according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, respectively, may include a specific detection step of the first regulating switch sticking fault, that is, when the first regulating switch is disconnected and the second regulating switch is turned on, if it is detected that the current values of the first motor and the second motor are greater than or equal to the fourth threshold value, then it is determined that the first regulating switch has a sticking fault.
[0124] In this embodiment, based on the above switch fault detection principle, corresponding to each embodiment of step S100, the current of at least one of the first motor and the second motor is obtained when the first regulating switch is disconnected and the second regulating switch is turned on. Theoretically, when the first regulating switch is disconnected, there should be no current in the two motors and the two batteries. Only when the first regulating switch is actually in the on state, the current value of the motor will be greater than or equal to the fourth threshold value. Therefore, as long as the current is detected in the motor when the first regulating switch is controlled to be disconnected, it can be determined that the first regulating switch has a sticking fault.
[0125] In other embodiments, the above-mentioned steps of determining whether the first regulating switch has a sticking fault and whether the second regulating switch has a circuit-breaking fault according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, respectively, may also include a specific detection step of a circuit-breaking fault of the second regulating switch, that is, when the first regulating switch is disconnected and the second regulating switch is turned on, it is detected that the current values of the first motor and the second motor, the current value of the first battery, and the current value of the second battery meet the second preset condition, then it is determined that the second regulating switch has a circuit-breaking fault; wherein the second preset condition includes: at least one of the current values of the first motor and the second motor is greater than or equal to the fourth threshold, and the current value of the first battery is greater than or equal to the fifth threshold and the current value of the second battery is greater than or equal to the sixth threshold, and when the current value of the first battery is greater than or equal to the fifth threshold and the current value of the second battery is greater than or equal to the sixth threshold, the current of the first battery and the current of the second battery have different directions.
[0126] In this embodiment, based on the above-mentioned switch fault detection principle, corresponding to each embodiment of step S100, the current value of at least one of the first motor and the second motor, the current value of the first battery, and the current value of the second battery are respectively obtained when the first regulating switch is disconnected and the second regulating switch is turned on, and then the three detected current values are compared with the preset fourth threshold, fifth threshold, and sixth threshold respectively. Theoretically, when the first regulating switch is disconnected, there should be no current in the two motors and the two batteries. However, when the first regulating switch is actually in the on state (the first regulating switch has a sticking fault), there will be current in the two motors and at least one of the two batteries will have current. Based on the above-mentioned switch fault detection principle, in the case of a first regulating switch adhesion fault (actually turned on), if the second regulating switch has a short circuit fault, it may be as follows Figure 4-Figure 5 , Figure 7-Figure 8 , Fig. 9 and Fig.11As shown, there is current in the two motors and in at least one battery, and if there is current in both batteries, the current directions in the two batteries are different. Therefore, as long as it is detected that the current values in the two motors are greater than or equal to the fourth threshold, and the current value of the first battery is greater than or equal to the fifth threshold and the current value of the second battery is greater than or equal to the sixth threshold, at least one of the conditions is met, and when both conditions are met, the current directions in the two batteries are different, it can be determined that the first regulating switch has a sticking fault.
[0127] It can be understood that the above-mentioned motor has no current or the current value is small enough to be ignored, which can be understood as the current flowing through the motor is less than or equal to the first threshold; the battery has no current or the current value is small enough to be ignored, which can be understood as the current flowing through the first battery is less than or equal to the second threshold, and the current flowing through the second battery is less than or equal to the third threshold; the motor (or battery) has current, or has obvious current, which can be understood as the current of the motor is greater than or equal to the fourth threshold, and the battery has current or has obvious current, which can be understood as the current flowing through the first battery is greater than or equal to the fifth threshold, and the current flowing through the second battery is greater than or equal to the sixth threshold.
[0128] In addition, in theory, there is a neutral line between the two motors, so the currents in the two motors are the same, and only the current in one motor can be detected. In order to improve the reliability of the detection data, the currents in both motors can also be detected in this embodiment.
[0129] Specifically, the current of the first motor and the second motor may be the phase current of a certain phase of the motor. Before determining whether the first regulating switch and the second regulating switch are faulty based on the current of the first motor and the second motor, as well as the current of the first battery and the current of the second battery, the switch fault detection method may further include the following processing: determining the current of the first motor and the second motor based on the phase current of at least one phase winding connected to the conductive bridge arm in the first motor and the second motor.
[0130] It is understandable that the first motor and the second motor may include multi-phase windings, each phase winding is connected to a group of bridge arms of the motor controller, and when the bridge arms of the motor controller are turned on, only the windings connected to the turned-on bridge arms have current. When the bridge arms connected to the multiple windings are all turned on, the phase currents of the multiple windings may be detected separately, or the phase current of at least one winding may be detected, as long as a relatively accurate current result can be detected.
[0131] In practical applications, in order to better control the motor, the motor controller may have a phase current detection function. The present embodiment can utilize this function of the motor controller to directly obtain the phase current of the motor through the motor controller. In this way, the current in the motor can be detected without adding additional detection equipment, and then it can be determined whether the regulating switches on the neutral lines of the two motors are faulty.
[0132] In other embodiments, a current detection device may be provided between the neutral point of the first motor and the neutral point of the second motor. The current detection device may be used to detect the line current of the motors. That is, the line current of the motors may be used to determine whether the regulating switches on the neutral lines of the two motors are faulty. Then the above-mentioned: based on the current detection device, the currents of the first motor and the second motor are detected.
[0133] In this embodiment, a current detection device can also be directly set on the neutral lines of the two motors. The current detection device can be used to detect the line current flowing through the two motors. By setting the current detection device, the current flowing through the two motors can be obtained more intuitively, so that it can be more quickly and accurately determined whether the regulating switches on the neutral lines of the two motors are faulty.
[0134] In addition, the battery current can be obtained through the battery management system (BMS), and there is no need to add other detection components.
[0135] It should be noted that the embodiments of the present application assume that all electrical components of the power battery system except the regulating switch are fault-free, and the influence of other electrical components may not be considered when determining whether the regulating switch is faulty. The description of each embodiment above tends to emphasize the differences between the embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0136] In summary, the switch fault detection method provided in the embodiment of the present application can be used for fault detection of the first regulating switch on the neutral line of the two motors and the second switch between the two batteries in the power battery system, and based on the principle that the currents of the first motor and the second motor, and the currents of the two batteries will be significantly different when the two regulating switches are normally turned on and off, and when adhesion or disconnection occurs, the first regulating switch and the second regulating switch are controlled to be turned on and off, and then the first regulating switch and the second regulating switch are determined according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery respectively when the regulating switches are turned on and off. In this way, since the phase current of the motor can be obtained according to the motor controller, and the current of the battery can be obtained according to the battery controller, the current of the first motor and the second motor, and the current of the first battery and the second battery can be obtained without additional voltage and current sampling, and whether the regulating switch is faulty can be determined according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, so that the fault detection of the first regulating switch on the neutral line of the dual motor and the second regulating switch between the dual batteries can be realized at a lower cost. Furthermore, fault detection can be performed on relay-type regulating switches that do not use auxiliary contacts, thereby improving the problem of high failure rate of auxiliary contact relays.
[0137] Based on the same concept as the above switch fault detection method, the embodiment of the present application also provides a switch fault detection device for implementing the above switch fault detection method, such as Fig.13 As shown, the device comprises:
[0138] A control module, used to control the on and off of the bridge arms in the first motor controller and the second motor controller under the condition of controlling the on and off of the first regulating switch and the second regulating switch;
[0139] A detection module, used to determine whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery;
[0140] Among them, the first regulating switch is connected between the first motor and the second motor, the first motor is connected to the first motor controller, the second motor is connected to the second motor controller, the first motor controller and the second motor controller are both connected to the first battery and the second battery, and the second regulating switch is connected between the first battery and the second battery.
[0141] It can be understood that the switch fault detection device provided in this embodiment is used to execute the above switch fault detection method, so it can at least achieve the beneficial effects that can be achieved by the above switch fault detection method, which will not be described in detail here.
[0142] Based on the same concept as the above-mentioned switch fault detection method, an embodiment of the present application also provides a power battery system, including: a first battery and a second battery; a first motor controller and a second motor controller respectively connected between the positive and negative poles of the batteries; a first motor connected to the first motor controller, and a second motor connected to the second motor controller; a first regulating switch connected between the neutral point of the first motor and the neutral point of the second motor, and a second regulating switch connected between the first battery and the second battery; and the switch fault detection device of the above-mentioned embodiment.
[0143] It can be understood that the power battery system provided in this embodiment includes a switch fault detection device capable of implementing the above switch fault detection method, so it can at least achieve the beneficial effects that can be achieved by the above switch fault detection method, which will not be elaborated here.
[0144] The present application also provides an electronic device to perform the above switch fault detection method. Fig.10 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Fig.10 As shown, the electronic device 8 includes: a processor 800, a memory 801, a bus 802 and a communication interface 803, and the processor 800, the communication interface 803 and the memory 801 are connected via the bus 802; the memory 801 stores a computer program that can be run on the processor 800, and when the processor 800 runs the computer program, it executes the switch fault detection method provided in any of the aforementioned embodiments of the present application.
[0145] The memory 801 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the device network element and at least one other network element is realized through at least one communication interface 803 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0146] The bus 802 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 801 is used to store programs, and the processor 800 executes the program after receiving an execution instruction. The switch fault detection method disclosed in any implementation of the aforementioned embodiment of the present application may be applied to the processor 800, or implemented by the processor 800.
[0147] The processor 800 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 800. The above processor 800 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 801, and the processor 800 reads the information in the memory 801 and completes the steps of the above method in combination with its hardware.
[0148] The electronic device provided in the embodiment of the present application and the switch fault detection method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0149] The present application also provides a computer-readable storage medium corresponding to the switch fault detection method provided in the above embodiment. Fig.11 The computer-readable storage medium shown is a CD 30 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the switch fault detection method provided by any of the aforementioned embodiments will be executed.
[0150] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0151] The computer-readable storage medium provided in the embodiment of the present application and the switch fault detection method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0152] The embodiments of the present application also provide a computer program product corresponding to the switch fault detection method provided in the aforementioned embodiments, including a computer program, which is executed by a processor to implement the aforementioned switch fault detection method.
[0153] The computer program product provided in the embodiment of the present application is based on the same inventive concept as the switch fault detection method provided in the embodiment of the present application, and has the same beneficial effects as the method implemented by executing its computer program by a processor.
[0154] It can be understood by those skilled in the art that in the above method of the specific embodiment, the order of writing each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic. (Method embodiment)
[0155] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application. In particular, as long as there is no structural conflict, the various technical features mentioned in the various embodiments can be combined in any way. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.
Claims
1. A switch fault detection method, characterized in that: The method comprises: Controlling the on and off of the bridge arms in the first motor controller and the second motor controller; Determine whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery; Among them, the first regulating switch is connected between the first motor and the second motor, the first motor is connected to the first motor controller, the second motor is connected to the second motor controller, the first motor controller and the second motor controller are both connected to the first battery and the second battery, and the second regulating switch is connected between the first battery and the second battery.
2. The method according to claim 1, characterized in that The determining whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery comprises: When the first regulating switch is controlled to be turned on and the second regulating switch is turned off, whether the first regulating switch has an open circuit fault and whether the second regulating switch has an adhesion fault are determined according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery.
3. The method according to claim 1, characterized in that The determining whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery comprises: When the first regulating switch is controlled to be disconnected and the second regulating switch is controlled to be turned on, whether the first regulating switch has a sticking fault and whether the second regulating switch has a circuit breaking fault are determined according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery.
4. The method according to claim 2, characterized in that The controlling of the on and off of the bridge arms in the first motor controller and the second motor controller comprises: When the first regulating switch is controlled to be turned on and the second regulating switch is turned off, at least one upper bridge arm in the first motor controller is controlled to be turned on and at least one lower bridge arm in the second motor controller is controlled to be turned on.
5. The method according to claim 2, characterized in that The controlling of the on and off of the bridge arms in the first motor controller and the second motor controller comprises: When the first regulating switch is controlled to be turned on and the second regulating switch is turned off, at least one upper bridge arm in the first motor controller is controlled to be turned on and at least one lower bridge arm in the second motor controller is controlled to be turned on; When the preset time is reached, the lower bridge arm in the second motor controller is controlled to be disconnected.
6. The method according to claim 2, characterized in that The controlling of the on and off of the bridge arms in the first motor controller and the second motor controller comprises: When the first regulating switch is controlled to be turned on and the second regulating switch is turned off, at least one upper bridge arm in the first motor controller is controlled to be turned on and at least one lower bridge arm in the second motor controller is controlled to be turned on; When the preset time is reached, the upper bridge arm in the first motor controller is controlled to be disconnected.
7. The method according to claim 3, characterized in that The controlling of the on and off of the bridge arms in the first motor controller and the second motor controller comprises: When the first regulating switch is controlled to be disconnected and the second regulating switch is controlled to be turned on, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on.
8. The method according to claim 3, characterized in that The controlling the on and off of the bridge arms in the first motor controller and the second motor controller comprises: Under the condition that the first regulating switch is controlled to be disconnected and the second regulating switch is controlled to be turned on, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on; When the preset time is reached, the lower bridge arm in the second motor controller is controlled to be disconnected.
9. The method according to claim 3, characterized in that The controlling of the on and off of the bridge arms in the first motor controller and the second motor controller comprises: In the case where the first regulating switch is controlled to be disconnected and the second regulating switch is controlled to be turned on, at least one upper bridge arm in the first motor controller is controlled to be turned on, and at least one lower bridge arm in the second motor controller is controlled to be turned on; When the preset time is reached, the upper bridge arm in the first motor controller is controlled to be disconnected.
10. The method according to any one of claims 2, 4-6, characterized in that: The determining whether the first regulating switch has an open circuit fault and the determining whether the second regulating switch has an adhesion fault respectively according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, comprises: If it is detected that the current values of the first motor and the second motor are less than or equal to a first threshold, the current value of the first battery is less than or equal to a second threshold, and the current value of the second battery is less than or equal to a third threshold, it is determined that the first regulating switch has a circuit breaker fault.
11. The method according to claim 4, characterized in that The determining whether the first regulating switch has an open circuit fault and the determining whether the second regulating switch has an adhesion fault respectively according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, comprises: If it is detected that the current values of the first motor and the second motor are greater than or equal to the fourth threshold, the current value of the first battery is greater than or equal to the fifth threshold, the current value of the second battery is greater than or equal to the sixth threshold, and the current direction of the first battery and the current direction of the second battery are the same, it is determined that the second regulating switch has a sticking fault.
12. The method according to claim 5 or 6, characterized in that: The determining whether the first regulating switch has an open circuit fault and the determining whether the second regulating switch has an adhesion fault respectively according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, comprises: If it is detected that the current values of the first motor and the second motor are greater than or equal to the fourth threshold, the current value of the first battery is less than or equal to the second threshold, and the current value of the second battery is less than or equal to the third threshold, it is determined that the second regulating switch has a sticking fault.
13. The method according to any one of claims 3, 7 to 9, characterized in that: The determining whether the first regulating switch has a sticking fault and the second regulating switch has a circuit breaking fault respectively according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, comprises: If it is detected that the current values of the first motor and the second motor are greater than or equal to a fourth threshold, it is determined that the first regulating switch has a sticking fault.
14. The method according to claim 7, characterized in that The determining whether the first regulating switch has a sticking fault and the second regulating switch has a circuit breaking fault respectively according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, comprises: If it is detected that the current values of the first motor and the second motor are greater than or equal to the fourth threshold, the current value of the first battery is greater than or equal to the fifth threshold, and the current value of the second battery is less than or equal to the third threshold, it is determined that the first regulating switch has a sticking fault and the second regulating switch has a circuit breaker fault.
15. The method according to claim 8 or 9, characterized in that The determining whether the first regulating switch has a sticking fault and the second regulating switch has a circuit breaking fault respectively according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, comprises: If it is detected that the current values of the first motor and the second motor are greater than or equal to a fourth threshold, the current value of the first battery is greater than or equal to a fifth threshold, the current value of the second battery is greater than or equal to a sixth threshold, and the current directions of the first battery and the second battery are different, it is determined that the first regulating switch has a sticking fault and the second regulating switch has a circuit breaker fault.
16. The method according to any one of claims 1 to 9, 11 and 14, characterized in that: Before determining whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, the method further includes: The currents of the first motor and the second motor are determined based on the phase current of at least one phase winding connected to the turned-on bridge arm in the first motor and the second motor.
17. The method according to any one of claims 1 to 9, 11 and 14, characterized in that: A current detection device is provided between the neutral point of the first motor and the neutral point of the second motor; Before determining whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery, the method further includes: Based on the current detection device, the currents of the first motor and the second motor are detected.
18. A switch fault detection device, characterized in that: The device comprises: A control module, used for controlling the on and off of the bridge arms in the first motor controller and the second motor controller; A detection module, used to determine whether the first regulating switch and the second regulating switch are faulty according to the currents of the first motor and the second motor, and the currents of the first battery and the second battery; Among them, the first regulating switch is connected between the first motor and the second motor, the first motor is connected to the first motor controller, the second motor is connected to the second motor controller, the first motor controller and the second motor controller are both connected to the first battery and the second battery, and the second regulating switch is connected between the first battery and the second battery.
19. A power battery system, characterized in that: include: a first battery and a second battery; A first motor controller and a second motor controller respectively connected between the positive and negative electrodes of the battery; a first motor connected to the first motor controller, and a second motor connected to the second motor controller; a first regulating switch connected between the neutral point of the first motor and the neutral point of the second motor, and a second regulating switch connected between the first battery and the second battery; And the switch fault detection device as claimed in claim 15.
20. An electrical equipment, characterized in that: Including the power battery system as described in claim 19.
21. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The processor runs the computer program to implement the method according to any one of claims 1-17.
22. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method according to any one of claims 1 to 17.
