Relay detection system, method, device, equipment, medium and program product

By connecting multiple relays in parallel and using the same detection circuit, the problem of excessive investment in relay detection resources in multiple electric box scenarios is solved, and the effect of simplifying the detection process and improving detection efficiency is achieved.

CN119125868BActive Publication Date: 2025-04-01CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411629744.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-04-01
Estimated Expiration
2044-11-15

AI Technical Summary

Technical Problem

In multiple electric box scenarios, the prior art requires setting up a separate detection system for the relays in each electric box, resulting in excessive investment in detection resources.

Method used

A relay detection system is provided, by connecting a plurality of relays in parallel and connecting with a second control switch of each relay using the same detection circuit, whether the plurality of relays is abnormal by detecting the voltage value at the first detection node in the circuit.

Benefits of technology

The detection process of relay abnormalities is simplified, the resources required for detection are reduced, the detection efficiency is improved, and the relays that can quickly identify abnormalities are able to be identified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119125868B_ABST
    Figure CN119125868B_ABST
Patent Text Reader

Abstract

The present application provides a relay detection system, method, device, equipment, medium and program product, which belongs to the field of battery technology. The relay detection system includes: a plurality of relays, the plurality of relays are connected in parallel with each other, and each relay includes a first control switch and a second control switch, the first control switch is configured to selectively control the relay to be turned on or off, and the second control switch is configured to control the relay to be turned on or off synchronously with the first control switch; a detection circuit is connected to the plurality of relays, and the detection circuit is connected to the first end of the second control switch of each relay in the plurality of relays through a first detection node; and a controller is configured to: obtain a first voltage value, the first voltage value indicates the voltage value at the first detection node; and determine whether the plurality of relays are abnormal according to the first voltage value. The relay detection system reduces the resources required for detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery technology, and in particular to a relay detection system, method, device, equipment, medium and program product. Background Art

[0002] Energy conservation and emission reduction are the key to the sustainable development of the automobile industry. Electric vehicles have become an important part of the sustainable development of the automobile industry due to their advantages in energy conservation and environmental protection. For electric vehicles, battery technology is an important factor in their development.

[0003] With the rapid development of battery technology, some electric vehicles are equipped with multiple power boxes, each of which is equipped with batteries and relays that control whether the batteries output power to the vehicle. When the vehicle is in a high-voltage power-down state, the relays in all power boxes need to be disconnected so that the batteries in the power boxes do not output power. At present, for scenarios with multiple power boxes, a separate detection system needs to be set up for the relays in each of the power boxes, resulting in a huge investment in detection resources. Summary of the invention

[0004] The present application aims to at least solve the technical problem that relay detection in multiple power box scenarios in the background technology requires a lot of resources. To this end, one purpose of the present application is to provide a relay detection system to simplify the relay detection scheme in multiple power box scenarios and reduce the required detection resources.

[0005] An embodiment of the first aspect of the present application provides a relay detection system, comprising: a plurality of relays, the plurality of relays are connected in parallel to each other, and each relay comprises a first control switch and a second control switch, the first control switch is configured to selectively control the relay to be turned on or off, and the second control switch is configured to control the relay to be turned on or off synchronously with the first control switch; a detection circuit, connected to the plurality of relays, the detection circuit being connected to the first end of the second control switch of each relay in the plurality of relays through a first detection node; and a controller, configured to: obtain a first voltage value, the first voltage value indicating a voltage value at the first detection node; and determine whether the plurality of relays are abnormal based on the first voltage value.

[0006] In the technical solution of the embodiment of the present application, since the second control switch is closed or opened synchronously with the first control switch, whether the state of the first control switch is normal can be determined by the state of the second control switch. For a scenario with multiple relays, the same detection circuit is used to connect the second control switch in each relay, and by obtaining the first voltage value from the first detection node in the detection circuit, it can be determined whether there is an abnormality in the multiple relays, without the need to set up a separate detection system for each relay, which simplifies the detection process of relay abnormalities and reduces the resources required for detection.

[0007] In some embodiments, determining whether the plurality of relays are abnormal according to the first voltage value includes: determining that the plurality of relays are normal in response to the first voltage value satisfying a first voltage condition; and determining that at least one of the plurality of relays is abnormal in response to the first voltage value satisfying a second voltage condition. By determining the voltage condition satisfied by the first voltage value, it is possible to determine whether there are abnormal relays among the plurality of relays, and whether the relays can be used normally can be quickly identified, thereby improving detection efficiency.

[0008] In some embodiments, the detection circuit includes: a first voltage terminal configured to receive a first supply voltage; a reference terminal configured to be connected to the second terminal of the second control switch of each of the plurality of relays; a first resistor connected between the first voltage terminal and the first detection node; and a second resistor connected between the first detection node and the reference terminal and connected in parallel to the second control switch of each of the plurality of relays. By properly designing the detection circuit, multiple relays can be detected simultaneously, simplifying the hardware design of the detection system and improving the detection efficiency.

[0009] In some embodiments, the resistance of the first resistor is equal to the resistance of the second resistor. Reasonable design of the resistance of the first resistor and the second resistor and accurate determination of the voltage condition satisfied by the first voltage value based on the resistance of the two resistors can improve detection accuracy.

[0010] In some embodiments, the detection circuit further includes: at least one third resistor connected in series between the first resistor and the second resistor, and the number of the at least one third resistor is one less than the number of the plurality of relays. By providing the third resistor in the detection circuit, accurate detection of abnormal relays can be achieved, thereby improving the accuracy of the detection result.

[0011] In some embodiments, the resistance value of the first resistor, the resistance value of the second resistor, and the resistance value of each of the at least one third resistor are equal. The resistance values ​​of the first resistor, the second resistor, and the third resistor are reasonably designed, and the voltage condition satisfied by the first voltage value is accurately determined according to the resistance values ​​of these resistors, which can improve the detection accuracy.

[0012] In some embodiments, the first end of each of the at least one third resistor is connected to the first end of the second control switch of a different relay among the plurality of relays, and the second end of each of the third resistors is connected to the first end of the second control switch of a different relay among the plurality of relays. By properly setting the third resistor in the detection circuit, abnormal relays can be accurately identified, and the accuracy of the detection result can be improved.

[0013] In some embodiments, the controller is further configured to: determine an abnormal relay from a plurality of relays according to the first voltage value. A first resistor, a second resistor, and a third resistor are set in the detection circuit, and on the basis of identifying whether there is an abnormal relay among the plurality of relays, the abnormal relay can also be accurately identified, thereby simplifying the detection process and improving the detection efficiency.

[0014] In some embodiments, determining an abnormal relay from a plurality of relays according to the first voltage value includes: determining a voltage range that the first voltage value conforms to from a plurality of predetermined voltage ranges; and determining an abnormal relay from a plurality of relays according to the voltage range that the first voltage value conforms to. By determining the voltage range that the first voltage value conforms to, an abnormal relay from a plurality of relays can be determined, thereby enabling the abnormal relay to be quickly identified and improving detection efficiency.

[0015] In some embodiments, multiple voltage ranges are predetermined based on the first supply voltage, the resistance value of the first resistor, the resistance value of the second resistor, and the resistance value of each of the at least one third resistor. The voltage range is determined based on the supply voltage received by the detection circuit and the resistance values ​​of multiple resistors in the detection circuit, and can be designed according to the usage scenario, so as to realize the identification of abnormal relays in different scenarios and expand the scope of application of the relay detection system.

[0016] The embodiment of the second aspect of the present application provides a relay detection method, including: obtaining a first voltage value, the first voltage value indicating the voltage value at a first detection node of a detection circuit, wherein the detection circuit is connected to a plurality of relays, the plurality of relays are connected in parallel to each other, and each relay includes a first control switch and a second control switch, respectively, the first control switch is configured to selectively control the relay to be turned on or off, the second control switch is configured to synchronously control the relay to be turned on or off with the first control switch, the detection circuit is connected to the first end of the second control switch of each relay in the plurality of relays through the first detection node; and determining whether the plurality of relays are abnormal according to the first voltage value. For a scenario with a plurality of relays, by obtaining the first voltage value from the first detection node in the detection circuit, it is possible to determine whether there is an abnormality in the plurality of relays, thereby simplifying the detection process of relay abnormalities and reducing the resources required for detection.

[0017] In some embodiments, determining whether the plurality of relays are abnormal according to the first voltage value includes: determining that the plurality of relays are normal in response to the first voltage value satisfying a first voltage condition; and determining that at least one of the plurality of relays is abnormal in response to the first voltage value satisfying a second voltage condition. By determining the voltage condition satisfied by the first voltage value, it is possible to determine whether there are abnormal relays among the plurality of relays, and whether the relays can be used normally can be quickly identified, thereby improving detection efficiency.

[0018] In some embodiments, the detection circuit includes: a first voltage terminal configured to receive a first supply voltage; a reference terminal configured to be connected to the second end of the second control switch of each of the multiple relays; a first resistor connected between the first voltage terminal and the first detection node; a second resistor connected between the first detection node and the reference terminal, and connected in parallel with the second control switch of each of the multiple relays; and at least one third resistor connected in series between the first resistor and the second resistor, and the number of at least one third resistor is one less than the number of the multiple relays. The relay detection method also includes: determining an abnormal relay from the multiple relays according to the first voltage value. Setting the first resistor, the second resistor, and the third resistor in the detection loop can accurately identify abnormal relays among the multiple relays, simplify the detection process, and improve the detection efficiency.

[0019] In some embodiments, determining an abnormal relay from a plurality of relays according to the first voltage value includes: determining a voltage range that the first voltage value conforms to from a plurality of predetermined voltage ranges; and determining an abnormal relay from a plurality of relays according to the voltage range that the first voltage value conforms to. By determining the voltage range that the first voltage value conforms to, an abnormal relay from a plurality of relays can be determined, thereby enabling the abnormal relay to be quickly identified and improving detection efficiency.

[0020] An embodiment of the third aspect of the present application provides a relay detection device, including: a first module, used to obtain a first voltage value, the first voltage value indicates a voltage value at a first detection node of a detection circuit, wherein the detection circuit is connected to a plurality of relays, the plurality of relays are connected in parallel to each other, and each relay includes a first control switch and a second control switch, respectively, the first control switch is configured to selectively control the relay to be turned on or off, the second control switch is configured to control the relay to be turned on or off synchronously with the first control switch, and the detection circuit is connected to a first end of the second control switch of each relay in the plurality of relays through the first detection node; and a second module, used to determine whether the plurality of relays are abnormal based on the first voltage value.

[0021] An embodiment of the fourth aspect of the present application provides a computing device, comprising: at least one processor; and at least one memory communicatively connected to the at least one processor, wherein the at least one memory stores instructions, and when the instructions are executed individually or collectively by the at least one processor, the computing device executes the relay detection method in the above-mentioned embodiment.

[0022] An embodiment of the fifth aspect of the present application provides a computer-readable storage medium storing instructions, which, when executed individually or collectively by one or more processors of a computing device, cause the computing device to execute the relay detection method in the above embodiment.

[0023] An embodiment of the sixth aspect of the present application provides a computer program product, comprising instructions, which, when executed individually or collectively by one or more processors of a computing device, cause the computing device to execute the relay detection method in the above embodiment.

[0024] The above description is only an overview of the technical solution 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 present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0026] Figure 1 A schematic block diagram of a relay detection system according to some embodiments of the present application;

[0027] Figure 2 A schematic diagram of a relay detection system according to some embodiments of the present application;

[0028] Figure 3 A schematic diagram of the current when the relay is normal in some embodiments of the present application;

[0029] Figure 4 A schematic diagram of the current when the relay is abnormal in some embodiments of the present application;

[0030] Figure 5 A schematic diagram of a relay detection system according to some embodiments of the present application;

[0031] Figure 6 A schematic diagram of the current when the relay is abnormal in some embodiments of the present application;

[0032] Figure 7A schematic diagram of the current when the relay is abnormal in some embodiments of the present application;

[0033] Figure 8 A schematic diagram of the current when the relay is abnormal in some embodiments of the present application;

[0034] Fig. 9 A schematic flow chart of a relay detection method according to some embodiments of the present application;

[0035] Fig.10 A schematic diagram of a flow chart for determining whether a relay is abnormal in some embodiments of the present application;

[0036] Fig.11 A schematic diagram of a process for determining an abnormal relay in some embodiments of the present application;

[0037] Fig.12 A schematic block diagram of a relay detection device according to some embodiments of the present application;

[0038] Fig.13 A schematic block diagram of a computing device according to some embodiments of the present application. DETAILED DESCRIPTION

[0039] 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.

[0040] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0041] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0042] 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.

[0043] 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.

[0044] 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).

[0045] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.

[0046] 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.

[0047] 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.

[0048] With the rapid development of battery technology, multiple electrical boxes are provided in some electric vehicles. Each electrical box is equipped with a battery that can independently output electrical energy to the vehicle. In order to improve safety, a relay is usually provided in the electrical box. The relay can control the power supply branch in the electrical box to be turned on or off, thereby controlling whether the electrical box outputs electrical energy to the vehicle. When the vehicle is in a high-voltage power-down state, the relays in all electrical boxes need to be in a disconnected state so that the batteries in the electrical box do not output electrical energy to the vehicle, thereby improving the safety of the vehicle. At present, the detection of the relay status can often only be designed for a single relay. For scenarios with multiple electrical boxes, a separate detection system needs to be set up for the relays in each of the electrical boxes, resulting in a huge investment in detection resources.

[0049] In order to improve detection efficiency and reduce detection resource requirements, a relay including two control switches, such as an auxiliary contact relay, can be used in the electrical box. The first control switch and the second control switch are closed or opened synchronously, so that the state of the first control switch can be determined based on the state of the second control switch. The detection circuit is connected to all second control switches, and the state of the second control switches in multiple relays can be determined by the voltage value at the first detection node in the detection circuit, and further, it can be determined whether multiple relays are abnormal.

[0050] By using such a relay detection system, multiple relays can be detected at the same time without setting up a separate detection system for each relay, which reduces the hardware and software resources required for detecting the relay status and improves the detection efficiency.

[0051] The relay detection system disclosed in the embodiment of the present application can be used in, but not limited to, electrical devices such as vehicles, ships or aircraft. The relay detection system disclosed in the present application can be used, which is conducive to simplifying the detection method and reducing the occupation of detection resources.

[0052] The present application embodiment provides a relay detection system. Figure 1 The relay detection system 100 includes a plurality of relays, a detection circuit 110 and a controller (not shown).

[0053] A plurality of relays are connected in parallel with each other, and each relay includes a first control switch and a second control switch. The first control switch is configured to selectively control the relay to be turned on or off. The second control switch is configured to control the relay to be turned on or off synchronously with the first control switch.

[0054] The detection circuit 110 is connected to the plurality of relays. The detection circuit 110 is connected to the first end of the second control switch of each of the plurality of relays through a first detection node A.

[0055] The controller is configured to perform the following steps:

[0056] A first voltage value is obtained. The first voltage value indicates a voltage value at the first detection node A.

[0057] It is determined whether the plurality of relays are abnormal according to the first voltage value.

[0058] In the embodiments of the present application, the term "battery" may include a battery cell, or a series, parallel or hybrid structure of multiple battery cells (eg, a battery module, etc.).

[0059] like Figure 1 As shown, in some vehicles, multiple electrical boxes are provided. Figure 1 , an example of a vehicle having three power boxes, namely, power box PACK1, power box PACK2, and power box PACK3 is shown. In each power box, relays T1, T2, and T3 are provided. Relays T1, T2, and T3 are connected in parallel to each other and can control whether the batteries (not shown) in their respective power boxes output power to the vehicle. Each relay includes a first control switch (i.e. Figure 1 K11, K21, K31 and the second control switch (i.e. Figure 1 K12, K22, K32 shown in ). The first control switch and the second control switch are closed or opened synchronously. In one example, the relay can use an auxiliary contact relay, wherein the first control switch, i.e., the main contact of the auxiliary contact relay, is connected to the battery in the electrical box. When the main contact is closed, the battery outputs electrical energy to the vehicle, and when the main contact is opened, the battery no longer outputs electrical energy to the vehicle; the second control switch, i.e., the auxiliary contact of the auxiliary contact relay, is closed or opened synchronously with the main contact, so the state of the main contact can be determined by detecting the state of the auxiliary contact.

[0060] The second control switch of each relay is connected to the first detection node A in the detection circuit 110. The controller can detect the state of the second control switch by acquiring the first voltage value at the first detection node A, and thus can determine the state of the first control switch according to the state of the second control switch.

[0061] In some embodiments, the controller may be a battery management system (BMS), a battery monitoring unit (BMU), a vehicle control unit (VCU), a domain control unit (DCU), a microcontroller unit (MCU), etc., which is not limited in the present disclosure. In some embodiments, the detection circuit 110 may be provided in a BMS or a BMU.

[0062] Since the second control switch is closed or opened synchronously with the first control switch, the state of the second control switch can be used to determine whether the state of the first control switch is normal. For multiple relays, the same detection circuit is used to connect the second control switch in each relay. By obtaining the first voltage value from the first detection node in the detection circuit, it can be determined whether there is an abnormality in the multiple relays without setting up a separate detection system for each relay. This simplifies the detection process of relay abnormalities and reduces the resources required for detection.

[0063] According to some embodiments of the present application, determining whether the plurality of relays are abnormal according to the first voltage value includes:

[0064] In response to the first voltage value satisfying the first voltage condition, determining that the plurality of relays are normal;

[0065] In response to the first voltage value satisfying the second voltage condition, it is determined that at least one of the plurality of relays is abnormal.

[0066] According to the specific circuit structure of the detection circuit 110, the voltage condition that the first voltage value needs to meet can be preset. When all relays are working normally, the first voltage value at the first detection node A meets the first voltage condition; when there is an abnormal relay, the first voltage value meets the second voltage condition. Therefore, it can be determined whether there is an abnormal relay operation based on the voltage condition satisfied by the first voltage value. The method for determining the first voltage condition and the second voltage condition will be described in detail below.

[0067] By determining the voltage condition satisfied by the first voltage value, it can be determined whether there is an abnormal relay among the multiple relays, and whether the relay can be used normally can be quickly identified, thereby improving detection efficiency.

[0068] According to some embodiments of the present application, reference Figure 2 The detection circuit 110 includes a first voltage terminal M, a reference terminal N, a first resistor R1 and a second resistor R2.

[0069] The first voltage terminal M is configured to receive a first supply voltage U1 .

[0070] The reference terminal N is configured to be connected to the second end of the second control switch of each of the plurality of relays, respectively.

[0071] The first resistor R1 is connected between the first voltage terminal M and the first detection node A.

[0072] The second resistor R2 is connected between the first detection node A and the reference terminal N, and is connected in parallel with the second control switch of each of the plurality of relays.

[0073] Figure 2 An example of the detection circuit 110 is shown. The first supply voltage U1 is low voltage, for example, 24 volts (V), which can be provided by a battery or other power supply device in a vehicle. The first resistor R1 is connected between the first voltage terminal M and the first detection node A.

[0074] The reference terminal N can be designed according to the usage scenario, and can use a ground terminal or a circuit node with a reference voltage. Figure 2 In the example shown, the reference terminal N uses the ground terminal GND. The reference terminal N is connected to the second terminal of each second control switch and the second resistor R2 respectively. Figure 2 As shown, each of the second control switches is connected in parallel with the second resistor R2. Figure 2 It is shown as including only one resistor, but in other embodiments, the first resistor R1 and the second resistor R2 may use a resistor module, for example, may also include more resistors or other components, which is not limited in the present disclosure.

[0075] Figure 3 and Figure 4 Shows Figure 2 The relay detection system 100 in the embodiment of the present invention detects the working principle of the relay state. Since the state of the first control switch (K11, K21, K31) can be determined according to the state of the second control switch (K12, K22, K32), Figure 3 and Figure 4 The first control switch is omitted and only the second control switch is illustrated.

[0076] like Figure 3 As shown, when the second control switches in all relays are normally disconnected, the current in the detection circuit 110 flows along the Figure 3 In the direction of the arrow in the middle, the first voltage value U at the first detection node A = (U1-UGND) × R2 / (R1+R2) = U1 × R2 / (R1+R2). Figure 4In the example of the abnormal state of the relay T2, the situation when the relay is in an abnormal state is described. If the relay T2 is short-circuited or stuck, the second control switch K22 in the relay T2 will be in a closed state. At this time, the current in the detection circuit 110 flows to the edge. Figure 4 As shown by the arrow in the middle. Since the second control switch K22 is closed, the first detection node A is short-circuited with the reference terminal N, and the first voltage value U=UGND=0V. Figure 3 and Figure 4 In the example shown, the first voltage condition can be determined as U=(U1-UGND)×R2 / (R1+R2)=U1×R2 / (R1+R2), and the second voltage condition can be determined as U=UGND=0V. That is, when the first voltage value is equal to U1×R2 / (R1+R2), it is determined that the states of all relays are normal; when the first voltage value is equal to 0V, it is determined that there is a relay in an abnormal state.

[0077] It should be understood that due to Figure 2 The reference terminal N in the figure is the ground terminal GND, so that the current flows to Figure 3 and Figure 4 In other embodiments, if the reference voltage at the reference terminal N is greater than the first supply voltage U1, the current flow direction will be the same as Figure 3 and Figure 4 In this case, it is also possible to determine whether the relay is normal according to the first voltage value using a similar principle, which will not be described in detail here.

[0078] By rationally designing the detection circuit, multiple relays can be detected simultaneously, simplifying the hardware design of the detection system and improving the detection efficiency.

[0079] According to some embodiments of the present application, the resistance value of the first resistor R1 is equal to the resistance value of the second resistor R2.

[0080] Setting the resistance of the first resistor R1 and the second resistor R2 to the same resistance can simplify the determination of the voltage condition. Figure 2 In the example shown, when the first voltage value U=U1×R2 / (R1+R2)=U1 / 2, it is determined that the states of all relays are normal; when the first voltage value is equal to 0V, it is determined that there is a relay in an abnormal state.

[0081] In one example, the first resistor R1 and the second resistor R2 are both 330 ohms (Ω). When the first power supply voltage U1 is 24V low voltage power supply, when all relays are normally disconnected, the first voltage value U=24V / 2=12V; and when there is an abnormal state such as a short circuit or adhesion of the relay, the first voltage value U=0V.

[0082] The resistance values ​​of the first resistor and the second resistor are reasonably designed, and the voltage condition satisfied by the first voltage value is accurately determined according to the resistance values ​​of the two resistors, so as to improve the detection accuracy.

[0083] According to some embodiments of the present application, reference Figure 5 , the detection circuit 110 also includes at least one third resistor R3.

[0084] The at least one third resistor R3 is connected in series between the first resistor R1 and the second resistor R2. The number of the at least one third resistor R3 is one less than the number of the plurality of relays.

[0085] In order to determine the abnormal relay, a third resistor R3 may be provided in the detection circuit 110. Figure 5 As shown, the number of the third resistors R3 is one less than the number of the relays. After the third resistor R3 is set in the detection circuit 110, the first voltage value at the first detection node A can also be determined according to the above method, for example, Figure 5 In the example shown, when all relays are normally disconnected, the first voltage value U at the first detection node A = (U1-UGND) × (R3+R3+R2) / (R1+R2+R3+R3) = U1 × (R3+R3+R2) / (R1+R2+R3+R3). At this time, the first voltage condition can be determined as the first voltage value U = (U1-UGND) × (R3+R3+R2) / (R1+R2+R3+R3), and the second voltage condition can be determined as the first voltage value U≠ (U1-UGND) × (R3+R3+R2) / (R1+R2+R3+R3).

[0086] It should be understood that the resistance of each third resistor R3 can be the same or different. Figure 5 It is shown as including only one resistor, but in other embodiments, the third resistor R3 may also use a resistor module, for example, may also include more resistors or other components, and the present disclosure does not limit this.

[0087] By providing the third resistor in the detection circuit, accurate detection of abnormal relays can be achieved, thereby improving the accuracy of the detection result.

[0088] According to some embodiments of the present application, the resistance value of the first resistor R1 , the resistance value of the second resistor R2 , and the resistance value of each third resistor R3 in the at least one third resistor R3 are all equal.

[0089] Setting the resistance values ​​of the first resistor R1, the second resistor R2, and the third resistor R3 to the same resistance value can simplify the determination of the voltage condition. Figure 5In the example shown, when the first voltage value is equal to U1×(R3+R3+R2) / (R1+R2+R3+R3)=U1×3 / 4, it is determined that the states of all relays are normal.

[0090] In one example, the first resistor R1, the second resistor R2 and the third resistor R3 all use 330Ω resistors. When the first power supply voltage U1 uses 24V low voltage power supply, when all relays are normally disconnected, the first voltage value U=24V×3 / 4=18V.

[0091] The resistance values ​​of the first resistor, the second resistor and the third resistor are reasonably designed, and the voltage condition satisfied by the first voltage value is accurately determined according to the resistance values ​​of these resistors, so as to improve the detection accuracy.

[0092] According to some embodiments of the present application, the first end of each third resistor R3 in at least one third resistor R3 is respectively connected to the first end of the second control switch of a different relay among the multiple relays, and the second end of each third resistor R3 is respectively connected to the first end of the second control switch of a different relay among the multiple relays.

[0093] like Figure 5 As shown, the first end and the second end of each third resistor R3 are respectively connected to the first end of the second control switch of different relays, for example, Figure 5 The third resistor R3 directly connected to the first resistor R1 at the top has a first end B connected to the first end F of the second control switch K12 of the relay T1, and a second end C connected to the first end H of the second control switch K22 of the relay T2; and Figure 5 Another third resistor R3 has a first end D connected to the first end H of the second control switch K22 of the relay T2, and a second end E connected to the first end K of the second control switch K32 of the relay T3.

[0094] By properly setting the third resistor in the detection circuit, abnormal relays can be accurately identified and the accuracy of the detection results can be improved.

[0095] According to some embodiments of the present application, the controller is further configured to: determine an abnormal relay from the plurality of relays according to the first voltage value.

[0096] When the third resistor R3 is provided in the detection circuit 110, different first voltage values ​​will be detected when different relays are in an abnormal state. Therefore, the abnormal relay can be determined according to the first voltage value. The specific process of determining the abnormal relay will be described in detail below.

[0097] The first resistor, the second resistor and the third resistor are arranged in the detection circuit. On the basis of identifying whether there are abnormal relays among the multiple relays, the abnormal relays can be accurately identified, thereby simplifying the detection process and improving the detection efficiency.

[0098] According to some embodiments of the present application, determining an abnormal relay from a plurality of relays according to the first voltage value includes:

[0099] Determining a voltage range that the first voltage value complies with from a plurality of predetermined voltage ranges;

[0100] An abnormal relay is determined from among the plurality of relays according to a voltage range to which the first voltage value conforms.

[0101] Figures 6 to 8 Shows Figure 5 The relay detection system 100 in the embodiment of the present invention detects the working principle of the relay status.

[0102] Figure 6 In the example of the abnormal state of the relay T1, the situation when the relay is in an abnormal state is described. If the relay T1 is short-circuited or stuck, the second control switch K12 in the relay T1 will be in a closed state. At this time, the current in the detection circuit 110 flows to the edge. Figure 6 As shown by the arrow in the middle. Since the second control switch K12 is closed, the first detection node A is short-circuited with the reference terminal N, and the first voltage value U=UGND=0V. Therefore, when the first voltage value obtained is 0V or falls within the voltage range near 0V, it can be determined that the relay T1 is in an abnormal state.

[0103] Figure 7 In the example of the abnormal state of the relay T2, the situation when the relay is in an abnormal state is described. If the relay T2 is short-circuited or stuck, the second control switch K22 in the relay T2 will be in a closed state. At this time, the current in the detection circuit 110 flows to the edge. Figure 7 As shown in the direction of the arrow. At this time, the first voltage value U=(U1-UGND)×R3 / (R1+R3)=U1×R3 / (R1+R3). When the first resistor R1, the second resistor R2 and the third resistor R3 all use 330Ω resistors and the first power supply voltage U1 uses 24V low voltage power supply, the first voltage value U=24V×330Ω / (330Ω+330Ω)=24V / 2=12V. Therefore, when the first voltage value obtained is 12V or falls in the voltage range near 12V, it can be determined that the relay T2 is in an abnormal state.

[0104] Figure 8In the example of the abnormal state of the relay T3, the situation when the relay is in an abnormal state is described. If the relay T3 is short-circuited or stuck, the second control switch K32 in the relay T3 will be in a closed state. At this time, the current in the detection circuit 110 flows to the edge. Figure 8 As shown in the direction of the arrow. At this time, the first voltage value U=(U1-UGND)×(R3+R3) / (R1+R3+R3)=U1×(R3+R3) / (R1+R3+R3). When the first resistor R1, the second resistor R2 and the third resistor R3 all use 330Ω resistors and the first power supply voltage U1 uses 24V low voltage power supply, the first voltage value U=24V×(330Ω+330Ω) / (330Ω+330Ω+330Ω)=24V×2 / 3=16V. Therefore, when the first voltage value obtained is 16V or falls in the voltage range near 16V, it can be determined that the relay T3 is in an abnormal state.

[0105] It should be understood that due to Figure 5 The reference terminal N in the figure is the ground terminal GND, so that the current flows to Figures 6 to 8 In other embodiments, if the reference voltage at the reference terminal N is greater than the first supply voltage U1, the current flow direction will be the same as Figures 6 to 8 In this case, the abnormal relay can also be determined according to the first voltage value by a similar principle, which will not be described in detail here.

[0106] By determining the voltage range that the first voltage value complies with, the abnormal relay among the multiple relays can be determined, so that the abnormal relay can be quickly identified and the detection efficiency is improved.

[0107] According to some embodiments of the present application, multiple voltage ranges are predetermined based on the first supply voltage U1, the resistance of the first resistor R1, the resistance of the second resistor R2, and the resistance of each third resistor R3 in at least one third resistor R3.

[0108] As described above, when all relays are disconnected normally, the current will flow through the first resistor R1, all third resistors R3 and the second resistor R2. When different relays are in an abnormal state, the current will flow through different resistors. Therefore, the voltage range that the first voltage value conforms to when different relays are abnormal can be determined based on the first supply voltage U1, the resistance value of the first resistor R1, the resistance value of the second resistor R2 and the resistance value of each third resistor R3 in at least one third resistor R3.

[0109] The voltage range is determined according to the power supply voltage received by the detection circuit and the resistance values ​​of multiple resistors in the detection circuit. It can be designed according to the usage scenario to realize the identification of abnormal relays in different scenarios, thereby expanding the scope of application of the relay detection system.

[0110] Figures 1 to 8 The battery system is shown as having three relays. When there are more or fewer relays in the battery system, the relay status can also be detected in the above manner, which will not be described in detail here.

[0111] Based on the same technical concept, the embodiment of the present application provides a relay detection method. Fig. 9 , the relay detection method 900 includes steps 910 to 920.

[0112] Step 910, obtaining a first voltage value. The first voltage value indicates a voltage value at a first detection node A of the detection circuit 110. The detection circuit 110 is connected to a plurality of relays. The plurality of relays are connected in parallel to each other, and each relay includes a first control switch and a second control switch. The first control switch is configured to selectively control the relay to be turned on or off. The second control switch is configured to control the relay to be turned on or off synchronously with the first control switch. The detection circuit 110 is connected to a first end of a second control switch of each relay in the plurality of relays through the first detection node A.

[0113] Step 920: Determine whether the plurality of relays are abnormal according to the first voltage value.

[0114] The embodiment of the relay detection method 900 may refer to the embodiment of the relay detection system 100 , and the repeated parts will not be repeated here.

[0115] For a scenario with multiple relays, by acquiring a first voltage value from a first detection node in a detection circuit, it is possible to determine whether there is an abnormality in the multiple relays, thereby simplifying the detection process of relay abnormalities and reducing the resources required for detection.

[0116] According to some embodiments of the present application, reference Fig.10 , step 920 includes steps 1010 to 1020.

[0117] Step 1010: In response to the first voltage value satisfying the first voltage condition, determining that the plurality of relays are normal.

[0118] Step 1020: In response to the first voltage value satisfying the second voltage condition, determining that at least one of the plurality of relays is abnormal.

[0119] By determining the voltage condition satisfied by the first voltage value, it can be determined whether there is an abnormal relay among the multiple relays, and whether the relay can be used normally can be quickly identified, thereby improving detection efficiency.

[0120] According to some embodiments of the present application, the detection circuit 110 includes a first voltage terminal M, a reference terminal N, a first resistor R1, a second resistor R2, and at least one third resistor R3.

[0121] The first voltage terminal M is configured to receive a first supply voltage U1. The reference terminal N is configured to be connected to the second end of the second control switch of each of the plurality of relays, respectively. The first resistor R1 is connected between the first voltage terminal M and the first detection node A. The second resistor R2 is connected between the first detection node A and the reference terminal N, and is connected in parallel to the second control switch of each of the plurality of relays, respectively. At least one third resistor R3 is connected in series between the first resistor R1 and the second resistor R2. The number of the at least one third resistor R3 is one less than the number of the plurality of relays.

[0122] The relay detection method further includes step 930 .

[0123] Step 930: determining an abnormal relay from a plurality of relays according to the first voltage value.

[0124] By setting the first resistor, the second resistor and the third resistor in the detection circuit, abnormal relays among multiple relays can be accurately identified, the detection process is simplified, and the detection efficiency is improved.

[0125] According to some embodiments of the present application, reference Fig.11 , step 930 includes steps 1110 to 1120.

[0126] Step 1110 , determining a voltage range that the first voltage value complies with from a plurality of predetermined voltage ranges.

[0127] Step 1120: determining an abnormal relay from a plurality of relays according to a voltage range that the first voltage value complies with.

[0128] By determining the voltage range that the first voltage value complies with, the abnormal relay among the multiple relays can be determined, so that the abnormal relay can be quickly identified and the detection efficiency is improved.

[0129] The present application embodiment provides a relay detection device 1200. Fig.12 The relay detection device 1200 includes a first module 1210 and a second module 1220 .

[0130] The first module 1210 is used to obtain a first voltage value. The first voltage value indicates the voltage value at the first detection node A of the detection circuit 110. The detection circuit 110 is connected to a plurality of relays. The plurality of relays are connected in parallel to each other, and each relay includes a first control switch and a second control switch. The first control switch is configured to selectively control the relay to be turned on or off. The second control switch is configured to control the relay to be turned on or off synchronously with the first control switch. The detection circuit 110 is connected to the first end of the second control switch of each relay in the plurality of relays through the first detection node A.

[0131] The second module 1220 is used to determine whether the plurality of relays are abnormal according to the first voltage value.

[0132] The first module 1210 and the second module 1220 in the relay detection device 1200 may correspond to Fig. 9 For the sake of brevity, steps 910 to 920 in the relay detection method 900 are not described here in detail. It should be understood that, corresponding to the embodiment of the relay detection method 900, the embodiment of the relay detection device 1200 may also include more modules.

[0133] It should be noted that the functions of the various modules discussed herein can be divided into multiple modules, and / or at least some functions of multiple modules can be combined into a single module. The specific module discussed herein performs an action including the specific module itself performing the action, or alternatively the specific module calls or otherwise accesses another component or module that performs the action (or performs the action in conjunction with the specific module). Therefore, the specific module that performs an action can include the specific module itself that performs the action and / or the specific module calls or otherwise accesses another module that performs the action. For example, the first module 1210 and the second module 1220 can be combined into a single module in some embodiments.

[0134] It should also be understood that various techniques may be described herein in the general context of software hardware elements or program modules. Fig.12The various modules described can be implemented in hardware or in hardware in combination with software and / or firmware. For example, these modules can be implemented as computer program codes / instructions, which are configured to be executed in one or more processors and stored in a computer-readable storage medium. Alternatively, these modules can be implemented as hardware logic / circuits. For example, in some embodiments, one or more of the first module 1210 and the second module 1220 can be implemented together in a system on chip (System on Chip, SoC). SoC may include an integrated circuit chip (which includes a processor (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, a digital signal processor (DSP), etc.), a memory, one or more communication interfaces, and / or one or more components in other circuits), and may optionally execute the received program code and / or include embedded firmware to perform functions.

[0135] The embodiment of the present application provides a computing device. The computing device includes: at least one processor; and at least one memory in communication with the at least one processor, wherein the at least one memory stores instructions, and when the instructions are executed by the at least one processor alone or together, the computing device executes the relay detection method 900. The computing device is, for example, Fig.13 Computing device 1300 is shown. Fig.13 An example configuration of a computing device 1300 that can be used to implement the methods described herein is shown. For example, the relay detection apparatus 1200 described above can be implemented in whole or at least in part by the computing device 1300 or a similar device or system.

[0136] The computing device 1300 may include at least one processor 1302, memory 1304, communication interface(s) 1306, display device 1308, other input / output (I / O) devices 1310, and one or more mass storage devices 1312, which can communicate with each other, such as via a system bus 1314 or other appropriate connection. The memory 1304 has instructions stored thereon, which, when executed by the processor 1302, cause the processor 1302 to perform methods such as those in the above-described embodiments.

[0137] The computing device 1300 can be a variety of different types of devices. Examples of computing device 1300 include, but are not limited to, desktop computers, server computers, laptop or netbook computers, mobile devices (e.g., tablet computers, cellular or other wireless phones (e.g., smart phones), notepad computers, mobile stations), wearable devices (e.g., glasses, watches), entertainment devices (e.g., entertainment appliances, set-top boxes communicatively coupled to a display device, game consoles), televisions or other display devices, automotive computers, and the like.

[0138] Processor 1302 may be a single processing unit or multiple processing units, all of which may include a single or multiple computing units or multiple cores. Processor 1302 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any device that manipulates signals based on operating instructions. Among other capabilities, processor 1302 may be configured to obtain and execute computer-readable instructions stored in memory 1304, mass storage device 1312, or other computer-readable media, such as program code of an operating system 1316, program code of an application program 1318, program code of other programs 1320, and the like.

[0139] The memory 1304 and the mass storage device 1312 are examples of computer-readable storage media for storing instructions that are executed by the processor 1302 to implement the various functions described above. For example, the memory 1304 may generally include both volatile memory and non-volatile memory (e.g., RAM, ROM, etc.). In addition, the mass storage device 1312 may generally include a hard drive, a solid-state drive, a removable medium, including external and removable drives, a memory card, a flash memory, a floppy disk, an optical disk (e.g., a CD, a DVD), a storage array, a network attached storage, a storage area network, etc. The memory 1304 and the mass storage device 1312 may all be collectively referred to herein as memory or computer-readable storage media, and may be a non-transitory medium capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by the processor 1302 as a specific machine configured to implement the operations and functions described in the examples herein.

[0140] A plurality of programs may be stored on the mass storage device 1312. These programs include an operating system 1316, one or more application programs 1318, other programs 1320, and program data 1322, and they may be loaded into the memory 1304 for execution. Examples of such application programs or program modules may include, for example, computer program logic (e.g., computer program code or instructions) for implementing the following components / functions: the relay detection apparatus 1200 (including the first module 1210 and the second module 1220), the relay detection method 900 (including any suitable steps of the relay detection method 900), and / or other embodiments described herein.

[0141] Although in Fig.13 1300 , but operating system 1316 , one or more application programs 1318 , other programs 1320 , and program data 1322 , or portions thereof, may be implemented using any form of computer-readable media accessible by computing device 1300 .

[0142] One or more communication interfaces 1306 are used to exchange data with other devices, such as through a network, direct connection, etc. Such communication interfaces can be one or more of the following: any type of network interface (e.g., a network interface card (NIC)), a wired or wireless (such as IEEE 802.11 wireless LAN (WLAN)) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth™ interface, a Near Field Communication (NFC) interface, etc. The communication interface 1306 can facilitate communication within a variety of network and protocol types, including wired networks (e.g., LAN, cable, etc.) and wireless networks (e.g., WLAN, cellular, satellite, etc.), the Internet, etc. The communication interface 1306 can also provide communication with an external storage device (not shown) such as a storage array, a network attached storage, a storage area network, etc.

[0143] In some examples, a display device 1308 such as a monitor may be included for displaying information and images to the user. Other I / O devices 1310 may be devices that receive various inputs from the user and provide various outputs to the user, and may include touch input devices, gesture input devices, cameras, keyboards, remote controls, mice, printers, audio input / output devices, and the like.

[0144] The techniques described herein may be supported by these various configurations of the computing device 1300 and are not limited to the specific examples of the techniques described herein. For example, the functionality may also be implemented in whole or in part on the "cloud" by using a distributed system. The cloud includes and / or represents a platform for resources. The platform abstracts the underlying functionality of the hardware (e.g., servers) and software resources of the cloud. Resources may include applications and / or data that can be used when performing computing processing on a server away from the computing device 1300. Resources may also include services provided over the Internet and / or through a subscriber network such as a cellular or Wi-Fi network. The platform may abstract resources and functionality to connect the computing device 1300 to other computing devices. Therefore, the implementation of the functionality described herein may be distributed throughout the cloud. For example, functionality may be implemented partially on the computing device 1300 and partially through a platform that abstracts the functionality of the cloud.

[0145] An embodiment of the present application also provides a computer-readable storage medium on which instructions are stored. When the instructions are executed by a processor, the processor executes a method as described in any of the above embodiments.

[0146] Computer-readable storage media include volatile and nonvolatile, removable and non-removable media implemented by any method or technology for storage of information, such as computer-readable instructions, data structures, program modules, or other data. Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical storage devices, magnetic cassettes, magnetic tapes, magnetic disk storage devices or other magnetic storage devices, or any other non-transmission media that can be used to store information for access by a computing device.

[0147] An embodiment of the present application also provides a computer program product, including instructions, which, when executed by a processor, causes the processor to execute a method as described in any of the above embodiments.

[0148] A specific embodiment of the present application is described below. It should be understood that this specific embodiment is described for illustrative purposes only and should not be interpreted as limiting the present application.

[0149] like Figure 2 As shown, the relay detection system 100 includes a plurality of relays (such as Figure 2 T1, T2, T3), detection circuit 110 and controller. Each relay includes a first control switch (such as Figure 2 K11, K21, K31 and the second control switch (such as Figure 2K12, K22, K32 in the figure). The first control switch and the second control switch are closed or opened synchronously. The relay can use an auxiliary contact relay, for example, in which the first control switch is the main contact of the auxiliary contact relay, and the second control switch is the auxiliary contact of the auxiliary contact relay. The detection circuit 110 is connected to the first end of the second control switch of each relay through the first detection node A, and includes a first voltage terminal M, a reference terminal N, a first resistor R1 and a second resistor R2. The first resistor R1 and the second resistor R2 are connected in series between the first voltage terminal M and the reference terminal N, and can use the same resistance value, for example, both are set to 330Ω.

[0150] like Figure 3 and Figure 4 As shown, when the second control switches in all relays are normally disconnected, the first voltage value at the first detection node A is U=(U1-UGND)×R2 / (R1+R2)=U1×R2 / (R1+R2). If the relay has an abnormality such as a short circuit or adhesion, taking the abnormality of relay T2 as an example, the second control switch K22 in relay T2 will be in a closed state, the first detection node A is short-circuited with the reference terminal N, and the first voltage value U=UGND=0V. When the first voltage value is equal to U1×R2 / (R1+R2), it is determined that the status of all relays is normal; when the first voltage value is equal to 0V, it is determined that one of the relays is in an abnormal state.

[0151] like Figure 5 As shown, the detection circuit 110 may further include at least one third resistor R3. The third resistor R3 is connected in series between the first resistor R1 and the second resistor R2, and the number of the third resistor R3 is one less than the number of relays. The first end of each third resistor R3 is respectively connected to the first end of the second control switch of a different relay, and the second end of each third resistor R3 is respectively connected to the first end of the second control switch of a different relay. The first resistor R1, the second resistor R2 and all the third resistors R3 can use the same resistance value, for example, all are set to 330Ω.

[0152] When all relays are disconnected normally, the first voltage value U at the first detection node A = (U1-UGND) × (R3+R3+R2) / (R1+R2+R3+R3) = U1 × (R3+R3+R2) / (R1+R2+R3+R3). When the first voltage value is equal to U1 × (R3+R3+R2) / (R1+R2+R3+R3), it is determined that the status of all relays is normal. When the first resistor R1, the second resistor R2 and the third resistor R3 all use 330Ω resistors and the first power supply voltage U1 uses 24V low voltage power supply, the first voltage value U=24V×(330Ω+330Ω+330Ω) / (330Ω+330Ω+330Ω+330Ω)=24V×3 / 4=18V. Therefore, when the first voltage value is 18V or falls in the voltage range near 18V, it can be determined that the status of all relays is normal.

[0153] like Figure 6 As shown, if the relay T1 has an abnormal condition such as short circuit or adhesion, the second control switch K12 in the relay T1 will be in a closed state, the first detection node A is short-circuited with the reference terminal N, and the first voltage value U=UGND=0V. Therefore, when the acquired first voltage value is 0V or falls within the voltage range near 0V, it can be determined that the relay T1 is in an abnormal state.

[0154] like Figure 7 As shown, if the relay T2 has an abnormal situation such as short circuit or adhesion, the second control switch K22 in the relay T2 will be in a closed state, and the first voltage value U=(U1-UGND)×R3 / (R1+R3)=U1×R3 / (R1+R3). When the first resistor R1, the second resistor R2 and the third resistor R3 all use a 330Ω resistor and the first power supply voltage U1 uses a 24V low voltage power supply, the first voltage value U=24V×330Ω / (330Ω+330Ω)=24V / 2=12V. Therefore, when the first voltage value obtained is 12V or falls in the voltage range near 12V, it can be determined that the relay T2 is in an abnormal state.

[0155] like Figure 8As shown, if the relay T3 has an abnormal situation such as short circuit or adhesion, the second control switch K32 in the relay T3 will be in a closed state, and the first voltage value U=(U1-UGND)×(R3+R3) / (R1+R3+R3)=U1×(R3+R3) / (R1+R3+R3). When the first resistor R1, the second resistor R2 and the third resistor R3 all use a 330Ω resistor and the first power supply voltage U1 uses a 24V low voltage power supply, the first voltage value U=24V×(330Ω+330Ω) / (330Ω+330Ω+330Ω)=24V×2 / 3=16V. Therefore, when the first voltage value obtained is 16V or falls in the voltage range near 16V, it can be determined that the relay T3 is in an abnormal state.

[0156] 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 relay detection system, characterized in that: include: A plurality of relays, the plurality of relays are connected in parallel with each other, and each relay comprises a first control switch and a second control switch, the first control switch is configured to selectively control the relay to be turned on or off, and the second control switch is configured to control the relay to be turned on or off synchronously with the first control switch; a detection circuit connected to the plurality of relays, the detection circuit being connected to the first end of the second control switch of each of the plurality of relays through a first detection node, the detection circuit comprising: A first voltage terminal configured to receive a first supply voltage; a reference terminal configured to be connected to the second terminal of the second control switch of each of the plurality of relays respectively; A first resistor connected between the first voltage terminal and the first detection node; and a second resistor connected between the first detection node and the reference terminal and connected in parallel with the second control switch of each of the plurality of relays; and The controller is configured as: acquiring a first voltage value, the first voltage value indicating a voltage value at the first detection node; and It is determined whether the plurality of relays are abnormal according to the first voltage value.

2. The relay detection system according to claim 1, characterized in that: The determining, according to the first voltage value, whether the plurality of relays are abnormal comprises: In response to the first voltage value satisfying a first voltage condition, determining that the plurality of relays are all normal; and In response to the first voltage value satisfying a second voltage condition, it is determined that at least one of the plurality of relays is abnormal.

3. The relay detection system according to claim 1, characterized in that: The resistance value of the first resistor is equal to the resistance value of the second resistor.

4. The relay detection system according to claim 1, characterized in that: The detection circuit also includes: At least one third resistor is connected in series between the first resistor and the second resistor, and the number of the at least one third resistor is one less than the number of the plurality of relays.

5. The relay detection system according to claim 4, characterized in that: The resistance value of the first resistor, the resistance value of the second resistor, and the resistance value of each third resistor in the at least one third resistor are all equal.

6. The relay detection system according to claim 4 or 5, characterized in that: The first end of each of the at least one third resistor is respectively connected to the first end of the second control switch of a different relay among the multiple relays, and the second end of each of the third resistor is respectively connected to the first end of the second control switch of a different relay among the multiple relays.

7. The relay detection system according to claim 6, characterized in that: The controller is also configured to: An abnormal relay is determined from among the plurality of relays according to the first voltage value.

8. The relay detection system according to claim 7, characterized in that: The determining an abnormal relay from the plurality of relays according to the first voltage value comprises: Determining a voltage range to which the first voltage value complies from a plurality of predetermined voltage ranges; and The abnormal relay is determined from among the plurality of relays according to a voltage range to which the first voltage value conforms.

9. The relay detection system according to claim 8, characterized in that: The plurality of voltage ranges are predetermined according to the first supply voltage, the resistance value of the first resistor, the resistance value of the second resistor, and the resistance value of each of the at least one third resistor.

10. A relay detection method, characterized in that: include: Acquire a first voltage value, the first voltage value indicating a voltage value at a first detection node of a detection circuit, wherein the detection circuit is connected to a plurality of relays, the plurality of relays are connected in parallel with each other, and each relay includes a first control switch and a second control switch, the first control switch is configured to selectively control the relay to be turned on or off, and the second control switch is configured to control the relay to be turned on or off synchronously with the first control switch, the detection circuit is connected to a first end of the second control switch of each of the plurality of relays through the first detection node, and the detection circuit includes: a first voltage end, configured to receive a first supply voltage; a reference end, configured to be connected to a second end of the second control switch of each of the plurality of relays, respectively; a first resistor, connected between the first voltage end and the first detection node; and a second resistor, connected between the first detection node and the reference end, and connected in parallel with the second control switch of each of the plurality of relays, respectively; and It is determined whether the plurality of relays are abnormal according to the first voltage value.

11. The relay detection method according to claim 10, characterized in that: The determining, according to the first voltage value, whether the plurality of relays are abnormal comprises: In response to the first voltage value satisfying a first voltage condition, determining that the plurality of relays are all normal; and In response to the first voltage value satisfying a second voltage condition, it is determined that at least one of the plurality of relays is abnormal.

12. The relay detection method according to claim 10 or 11, characterized in that: The detection circuit includes: a first voltage terminal configured to receive a first supply voltage; a reference terminal configured to be connected to the second terminal of the second control switch of each of the plurality of relays; a first resistor connected between the first voltage terminal and a first detection node; a second resistor connected between the first detection node and the reference terminal and connected in parallel to the second control switch of each of the plurality of relays; and at least one third resistor connected in series between the first resistor and the second resistor, the number of the at least one third resistor being one less than the number of the plurality of relays, and the relay detection method further includes: An abnormal relay is determined from among the plurality of relays according to the first voltage value.

13. The relay detection method according to claim 12, characterized in that: The determining an abnormal relay from the plurality of relays according to the first voltage value comprises: Determining a voltage range to which the first voltage value complies from a plurality of predetermined voltage ranges; and The abnormal relay is determined from among the plurality of relays according to a voltage range to which the first voltage value conforms.

14. A relay detection device, characterized in that: include: A first module is used to obtain a first voltage value, wherein the first voltage value indicates a voltage value at a first detection node of a detection circuit, wherein the detection circuit is connected to a plurality of relays, the plurality of relays are connected in parallel with each other, and each relay includes a first control switch and a second control switch, the first control switch is configured to selectively control the relay to be turned on or off, and the second control switch is configured to control the relay to be turned on or off synchronously with the first control switch, the detection circuit is connected to a first end of the second control switch of each relay in the plurality of relays through the first detection node, and the detection circuit includes: a first voltage end, configured to receive a first supply voltage; a reference end, configured to be connected to a second end of the second control switch of each relay in the plurality of relays, respectively; a first resistor, connected between the first voltage end and the first detection node; and a second resistor, connected between the first detection node and the reference end, and connected in parallel with the second control switch of each relay in the plurality of relays, respectively; and The second module is used to determine whether the multiple relays are abnormal according to the first voltage value.

15. A computing device, characterized in that: include: at least one processor; as well as At least one memory is communicatively connected to the at least one processor, wherein the at least one memory stores instructions, and when the instructions are executed by the at least one processor individually or collectively, the computing device executes the relay detection method according to any one of claims 10 to 13.

16. A computer-readable storage medium, characterized in that: Instructions are stored, which, when executed individually or collectively by one or more processors of a computing device, cause the computing device to perform the relay detection method according to any one of claims 10 to 13.

17. A computer program product, characterized in that The method comprises instructions, which, when executed individually or collectively by one or more processors of a computing device, cause the computing device to perform the relay detection method according to any one of claims 10 to 13.

Citation Information

Patent Citations

  • Multipath high-voltage relay output adhesion detection circuit and detection method

    CN104090229A