Relay detection system, method and apparatus, and device, medium and program product
By designing and detecting relays in parallel and using the state of the second control switch to determine the first voltage value, the problem of wasted relay detection resources in multiple electrical box scenarios is solved, and efficient and accurate relay detection is achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
- Filing Date
- 2025-03-07
- Publication Date
- 2026-05-21
AI Technical Summary
In scenarios with multiple electrical boxes, existing technologies require setting up separate detection systems for the relays in each electrical box, resulting in excessive investment in detection resources.
The relays are designed to be connected in parallel. Each relay contains first and second control switches. The detection circuit is connected to the second control switch. The state of multiple relays is determined by the first voltage value, which simplifies the detection process.
It reduces the resource requirements for testing each relay, improves testing efficiency and accuracy, and enables rapid identification of abnormal relays.
Smart Images

Figure CN2025081338_21052026_PF_FP_ABST
Abstract
Description
Relay testing systems, methods, apparatus, equipment, media and procedures
[0001] Cross-references
[0002] This application incorporates Chinese Patent Application No. 202411629744.X, filed on November 15, 2024, entitled “Relay Detection System, Method, Apparatus, Device, Media and Procedure Product”, which is incorporated herein by reference in its entirety. Technical Field
[0003] This application relates to the field of battery technology, and in particular to a relay detection system, method, apparatus, equipment, medium, and program product. Background Technology
[0004] Energy conservation and emission reduction are key to the sustainable development of the automotive industry, and electric vehicles, due to their energy-saving and environmentally friendly advantages, have become an important component of this sustainable development. For electric vehicles, battery technology is a crucial factor in their development.
[0005] With the rapid development of battery technology, some electric vehicles are equipped with multiple electrical boxes, each containing a battery and relays that control whether the battery outputs power to the vehicle. When the vehicle is under high voltage, all relays in the electrical boxes must be in the open state, thus preventing the battery from outputting power. Currently, for scenarios with multiple electrical boxes, a separate detection system is needed for the relays in each box, resulting in a significant investment of detection resources. Summary of the Invention
[0006] This application aims to at least address the technical problem in the prior art where relay testing in multiple electrical box scenarios requires significant resources. Therefore, one objective of this application is to provide a relay testing system that simplifies relay testing in multiple electrical box scenarios and reduces the required testing resources.
[0007] An embodiment of the first aspect of this application provides a relay detection system, comprising: a plurality of relays connected in parallel with each other, each relay including a first control switch and a second control switch, the first control switch being configured to selectively control the relay to be turned on or off, and the second control switch being configured to synchronously control the relay to be turned on or off with the first control switch; a detection circuit connected to the plurality of relays, the detection circuit being connected to a first terminal of the second control switch of each of the plurality of relays via a first detection node; and a controller configured to: acquire 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.
[0008] In the technical solution of this application embodiment, since the second control switch closes or opens synchronously with the first control switch, the state of the first control switch can be used to determine whether the state of the second control switch is normal. For scenarios with multiple relays, a single detection circuit is used to connect to the second control switch in each relay. By obtaining the first voltage value from the first detection node in the detection circuit, it is possible to determine whether any abnormality exists in the multiple relays, without needing to set up a separate detection system for each relay. This simplifies the relay abnormality detection process and reduces the resources required for detection.
[0009] In some embodiments, determining whether a plurality of relays are abnormal based on a first voltage value includes: determining that all relays are normal in response to the first voltage value meeting a first voltage condition; and determining that at least one relay among the plurality of relays is abnormal in response to the first voltage value meeting a second voltage condition. By determining the voltage condition met by the first voltage value, it is possible to determine whether there is an abnormal relay among the plurality of relays, which can quickly identify whether the relays can be used normally and improve detection efficiency.
[0010] 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 a second terminal of a second control switch of each of the plurality of relays; a first resistor connected between the first voltage terminal and a 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. By rationally designing the detection circuit, multiple relays can be detected simultaneously, simplifying the hardware design of the detection system and improving detection efficiency.
[0011] In some embodiments, the resistance value of the first resistor is equal to the resistance value of the second resistor. By rationally designing the resistance values of the first and second resistors, and accurately determining the voltage conditions satisfied by the first voltage value based on the resistance values of the two resistors, the detection accuracy can be improved.
[0012] In some embodiments, the detection circuit further includes at least one third resistor connected in series between the first resistor and the second resistor, wherein the number of at least one third resistor is one less than the number of multiple relays. By incorporating a third resistor into the detection circuit, accurate detection of faulty relays can be achieved, improving the precision of the detection results.
[0013] In some embodiments, the resistance values of the first resistor, the second resistor, and each of the at least one third resistor are equal. By rationally designing the resistance values of the first, second, and third resistors, and accurately determining the voltage conditions satisfied by the first voltage value based on these resistance values, the detection accuracy can be improved.
[0014] In some embodiments, the first terminal of each of the at least one third resistor is connected to the first terminal of the second control switch of a different relay among the plurality of relays, and the second terminal of each third resistor is connected to the first terminal of the second control switch of a different relay among the plurality of relays. By properly setting the third resistors in the detection circuit, abnormal relays can be accurately identified, and the accuracy of the detection results can be improved.
[0015] In some embodiments, the controller is further configured to determine an abnormal relay from a plurality of relays based on a first voltage value. By setting a first resistor, a second resistor, and a third resistor in the detection circuit, in addition to identifying whether an abnormal relay exists among the plurality of relays, the abnormal relay can be accurately identified, simplifying the detection process and improving detection efficiency.
[0016] In some embodiments, determining a faulty relay from a plurality of relays based on a first voltage value includes: determining a voltage range that the first voltage value conforms to from a predetermined plurality of voltage ranges; and determining the faulty relay from the plurality of relays based on the voltage range that the first voltage value conforms to. By determining the voltage range that the first voltage value conforms to, the faulty relay among the plurality of relays can be determined, thereby enabling rapid identification of faulty relays and improving detection efficiency.
[0017] In some embodiments, the multiple voltage ranges are predetermined based on a first supply voltage, the resistance value of a first resistor, the resistance value of a second resistor, and the resistance value of each of at least one third resistor. Determining the voltage ranges based on the supply voltage received by the detection circuit and the resistance values of the multiple resistors in the detection circuit allows for design tailored to different application scenarios, enabling the identification of abnormal relays in various situations and expanding the applicability of the relay detection system.
[0018] An embodiment of the second aspect of this application provides a relay detection method, comprising: acquiring 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 with each other, and each relay includes a first control switch and a second control switch, the first control switch being configured to selectively control the relay to be turned on or off, and the second control switch being configured to synchronously control the relay to be turned on or off with the first control switch; the detection circuit being connected to a first terminal of the second control switch of each of the plurality of relays through the first detection node; and determining whether the plurality of relays are abnormal based on the first voltage value. In scenarios involving multiple relays, by acquiring the first voltage value from the first detection node in the detection circuit, it is possible to determine whether an abnormality exists among the multiple relays, simplifying the relay abnormality detection process and reducing the resources required for detection.
[0019] In some embodiments, determining whether a plurality of relays are abnormal based on a first voltage value includes: determining that all relays are normal in response to the first voltage value meeting a first voltage condition; and determining that at least one relay among the plurality of relays is abnormal in response to the first voltage value meeting a second voltage condition. By determining the voltage condition met by the first voltage value, it is possible to determine whether there is an abnormal relay among the plurality of relays, which can quickly identify whether the relays can be used normally and improve detection efficiency.
[0020] 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 a second terminal of a second control switch of each of a 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 with 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, wherein the number of at least one third resistor is one less than the number of the plurality of relays. The relay detection method further includes: determining an abnormal relay from the plurality of relays based on a first voltage value. By setting the first resistor, the second resistor, and the third resistor in the detection circuit, abnormal relays among the plurality of relays can be accurately identified, simplifying the detection process and improving detection efficiency.
[0021] In some embodiments, determining a faulty relay from a plurality of relays based on a first voltage value includes: determining a voltage range that the first voltage value conforms to from a predetermined plurality of voltage ranges; and determining the faulty relay from the plurality of relays based on the voltage range that the first voltage value conforms to. By determining the voltage range that the first voltage value conforms to, the faulty relay among the plurality of relays can be determined, thereby enabling rapid identification of faulty relays and improving detection efficiency.
[0022] An embodiment of the third aspect of this application provides a relay detection device, comprising: a first module for acquiring 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 with each other, and each relay includes a first control switch and a second control switch, the first control switch being configured to selectively control the relay to be turned on or off, and the second control switch being configured to synchronously control the relay to be turned on or off with the first control switch, the detection circuit being connected to a first terminal of the second control switch of each of the plurality of relays through the first detection node; and a second module for determining whether the plurality of relays are abnormal based on the first voltage value.
[0023] An embodiment of the fourth aspect of this application provides a computing device, including: at least one processor; and at least one memory communicatively connected to the at least one processor, the at least one memory storing instructions that, when executed individually or jointly by the at least one processor, cause the computing device to perform the relay detection method described above.
[0024] An embodiment of the fifth aspect of this application provides a computer-readable storage medium storing instructions that, when executed individually or jointly by one or more processors of a computing device, cause the computing device to perform the relay detection method described above.
[0025] An embodiment of the sixth aspect of this application provides a computer program product including instructions that, when executed individually or jointly by one or more processors of a computing device, cause the computing device to perform the relay detection method described above.
[0026] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0027] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on the drawings without creative effort.
[0028] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the various drawings denote the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments disclosed in this application and should not be construed as limiting the scope of this application.
[0029] Figure 1 is a schematic block diagram of a relay detection system according to some embodiments of this application;
[0030] Figure 2 is a schematic diagram of a relay detection system according to some embodiments of this application;
[0031] Figure 3 is a schematic diagram of the current of a relay under normal operation according to some embodiments of this application;
[0032] Figure 4 is a schematic diagram of the current when the relay malfunctions in some embodiments of this application;
[0033] Figure 5 is a schematic diagram of a relay detection system according to some embodiments of this application;
[0034] Figure 6 is a schematic diagram of the current when the relay malfunctions in some embodiments of this application;
[0035] Figure 7 is a schematic diagram of the current when the relay malfunctions in some embodiments of this application;
[0036] Figure 8 is a schematic diagram of the current when the relay malfunctions in some embodiments of this application;
[0037] Figure 9 is a flowchart illustrating a relay detection method according to some embodiments of this application;
[0038] Figure 10 is a flowchart illustrating the process of determining whether a relay is malfunctioning according to some embodiments of this application;
[0039] Figure 11 is a flowchart illustrating the process of determining an abnormal relay according to some embodiments of this application;
[0040] Figure 12 is a schematic block diagram of a relay detection device according to some embodiments of this application;
[0041] Figure 13 is a schematic block diagram of a computing device according to some embodiments of this application. Detailed Implementation
[0042] The embodiments of the technical solution of this application will now be described in detail with reference to the accompanying drawings. These embodiments are only used to more clearly illustrate the technical solution of this application and are therefore merely examples, and should not be used to limit the scope of protection of this application.
[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0044] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0045] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0046] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0047] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0048] In the description of the embodiments of this application, the technical terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the embodiments of this application and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application.
[0049] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0050] Currently, judging from market trends, the application of power batteries is becoming increasingly widespread. Power batteries are not only used in energy storage systems such as hydropower, thermal power, wind power, and solar power plants, but also extensively used in electric vehicles such as electric bicycles, electric motorcycles, and electric cars, as well as in military equipment and aerospace. With the continuous expansion of power battery applications, market demand is also constantly increasing.
[0051] With the rapid development of battery technology, some electric vehicles are equipped with multiple electrical boxes. Each box contains a battery and can independently supply power to the vehicle. To improve safety, relays are usually installed in the electrical boxes. These relays control the on / off state of the power supply branch within the box, thereby controlling whether the box supplies power to the vehicle. When the vehicle is under high voltage, all relays in the electrical boxes must be in the off state, preventing the battery from supplying power to the vehicle and improving safety. Currently, relay status detection is often designed for individual relays. For scenarios with multiple electrical boxes, a separate detection system needs to be set up for the relays in each box, resulting in a significant investment of detection resources.
[0052] To improve detection efficiency and reduce resource requirements, relays with two control switches, such as auxiliary contact relays, can be used in the electrical box. The first and second control switches close or open synchronously, allowing the status of the first control switch to be determined based on the state of the second control switch. By connecting the detection circuit to all second control switches and measuring the voltage at the first detection node in the circuit, the state of the second control switches among the multiple relays can be determined, further enabling the identification of any abnormalities in the relays.
[0053] Using such a relay testing system, multiple relays can be tested simultaneously without the need for a separate testing system for each relay. This reduces the hardware and software resources required for relay status testing and improves testing efficiency.
[0054] The relay testing system disclosed in this application can be used, but is not limited to, in electrical devices such as vehicles, ships, or aircraft. Using the relay testing system disclosed in this application simplifies the testing process and reduces the use of testing resources.
[0055] This application provides a relay detection system. Referring to FIG1, the relay detection system 100 includes a plurality of relays, a detection circuit 110, and a controller (not shown).
[0056] Multiple relays are connected in parallel, 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 turn on or off. The second control switch is configured to synchronously control the relay to turn on or off with the first control switch.
[0057] The detection circuit 110 is connected to multiple relays. The detection circuit 110 is connected to the first terminal of the second control switch of each of the multiple relays via a first detection node A.
[0058] The controller is configured to perform the following steps:
[0059] Obtain the first voltage value. The first voltage value indicates the voltage value at the first detection node A.
[0060] Based on the first voltage value, determine whether multiple relays are malfunctioning.
[0061] In embodiments of this application, the term "battery" may encompass a single battery cell, or a series, parallel, or hybrid configuration of multiple battery cells (e.g., a battery module).
[0062] As shown in Figure 1, some vehicles are equipped with multiple electrical boxes. Figure 1 illustrates an example with three electrical boxes: PACK1, PACK2, and PACK3. Each electrical box contains relays T1, T2, and T3. Relays T1, T2, and T3 are connected in parallel and can individually control whether the battery (not shown) in their respective electrical box supplies power to the vehicle. Each relay includes a first control switch (K11, K21, and K31 shown in Figure 1) and a second control switch (K12, K22, and K32 shown in Figure 1). The first and second control switches close or open synchronously. In one example, an auxiliary contact relay can be used, where the first control switch, which is 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 power to the vehicle; when the main contact is open, the battery no longer outputs power to the vehicle. The second control switch, which is the auxiliary contact of the auxiliary contact relay, closes or opens synchronously with the main contact. Therefore, the state of the main contact can be determined by detecting the state of the auxiliary contact.
[0063] The second control switch of each relay is connected to the first detection node A in the detection circuit 110. By acquiring the first voltage value at the first detection node A, the controller can detect the state of the second control switch, and thus determine the state of the first control switch based on the state of the second control switch.
[0064] In some embodiments, the controller may be a battery management system (BMS), a battery management unit (BMU), a vehicle control unit (VCU), a domain control unit (DCU), a microcontroller unit (MCU), or other controllers, and this disclosure does not limit the scope of the controller. In some embodiments, the detection circuit 110 may be located in the BMS or BMU.
[0065] Since the second control switch closes or opens synchronously with the first control switch, the state of the first control switch can be used to determine whether the state of the second control switch is normal. In scenarios with multiple relays, a single detection circuit is used to connect to the second control switch in each relay. By obtaining the first voltage value from the first detection node in the detection circuit, it is possible to determine whether any abnormality exists in the multiple relays. This eliminates the need for a separate detection system for each relay, simplifying the relay anomaly detection process and reducing the resources required for detection.
[0066] According to some embodiments of this application, determining whether multiple relays are malfunctioning based on a first voltage value includes:
[0067] In response to the first voltage value satisfying the first voltage condition, it is determined that all multiple relays are functioning normally;
[0068] In response to the first voltage value satisfying the second voltage condition, at least one of the multiple relays is determined to be faulty.
[0069] Based on the specific circuit structure of the detection circuit 110, the voltage conditions 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 any relay malfunctions, the first voltage value meets the second voltage condition. Therefore, by determining the voltage conditions that the first voltage value meets, it can be determined whether any relay is malfunctioning. The methods for determining the first and second voltage conditions will be detailed below.
[0070] By determining the voltage conditions satisfied by the first voltage value, it is possible to determine whether there are abnormal relays among multiple relays, which can quickly identify whether the relays can be used normally and improve detection efficiency.
[0071] According to some embodiments of this application, referring to FIG2, the detection circuit 110 includes a first voltage terminal M, a reference terminal N, a first resistor R1, and a second resistor R2.
[0072] The first voltage terminal M is configured to receive the first power supply voltage U1.
[0073] The reference terminal N is configured to be connected to the second terminal of the second control switch of each of the plurality of relays.
[0074] The first resistor R1 is connected between the first voltage terminal M and the first detection node A.
[0075] 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 multiple relays.
[0076] Figure 2 shows an example of the detection circuit 110. The first supply voltage U1 uses a low-voltage supply, such as 24 volts (V), which can be provided by a vehicle battery or other power supply. The first resistor R1 is connected between the first voltage terminal M and the first detection node A.
[0077] The reference terminal N can be designed according to the application scenario and can be a ground terminal or a circuit node with a reference voltage. In the example shown in Figure 2, 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, as shown in Figure 2, where each second control switch is connected in parallel with the second resistor R2. It should be understood that although it is illustrated in Figure 2 as including only one resistor, in other embodiments, the first resistor R1 and the second resistor R2 can use a resistor module, for example, more resistors or other components can be included, and this disclosure is not limited thereto.
[0078] Figures 3 and 4 illustrate the working principle of the relay detection system 100 in Figure 2 for detecting the relay status. Since the status of the first control switch (K11, K21, K31) can be determined based on the status of the second control switch (K12, K22, K32), the first control switch is omitted in Figures 3 and 4, and only the second control switch is shown.
[0079] As shown in Figure 3, when all the second control switches in all relays are normally open, the current flow in the detection circuit 110 is as indicated by the arrow in Figure 3. At this time, the first voltage value at the first detection node A is U = (U1 - UGND) × R2 / (R1 + R2) = U1 × R2 / (R1 + R2). Figure 4 illustrates the situation when the relay is in an abnormal state, taking the abnormality of relay T2 as an example. If relay T2 experiences a short circuit or sticking, the second control switch K22 in relay T2 will be closed, and the current flow in the detection circuit 110 is as indicated by the arrow in Figure 4. 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 is U = UGND = 0V. In the examples shown in Figures 3 and 4, 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 all relays are in normal condition; when the first voltage value is equal to 0V, it is determined that one of the relays is in an abnormal state.
[0080] It should be understood that since the reference terminal N in Figure 2 is the ground terminal GND, the current flow direction is as shown in Figures 3 and 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 opposite to the current direction shown in Figures 3 and 4. In this case, the same principle can be used to determine whether the relay is normal based on the first voltage value, which will not be elaborated here.
[0081] By designing the detection circuit appropriately, multiple relays can be detected simultaneously, simplifying the hardware design of the detection system and improving detection efficiency.
[0082] According to some embodiments of this application, the resistance value of the first resistor R1 is equal to the resistance value of the second resistor R2.
[0083] Setting the resistance values of the first resistor R1 and the second resistor R2 to the same value simplifies the determination of the voltage condition. In the example shown in Figure 2, when the first voltage value U = U1 × R2 / (R1 + R2) = U1 / 2, it is determined that all relays are in normal condition; when the first voltage value is equal to 0V, it is determined that one of the relays is in an abnormal state.
[0084] In one example, both the first resistor R1 and the second resistor R2 are 330 ohms (Ω). When the first supply voltage U1 is supplied with a low voltage of 24V, the first voltage value U = 24V / 2 = 12V when all relays are normally disconnected; however, when there is an abnormal condition such as a short circuit or sticking of a relay, the first voltage value U = 0V.
[0085] By rationally designing the resistance values of the first and second resistors, and accurately determining the voltage conditions satisfied by the first voltage value based on the resistance values of the two resistors, the accuracy of detection can be improved.
[0086] According to some embodiments of this application, referring to FIG5, the detection circuit 110 further includes at least one third resistor R3.
[0087] At least one third resistor R3 is connected in series between the first resistor R1 and the second resistor R2. The number of at least one third resistor R3 is one less than the number of multiple relays.
[0088] To identify abnormal relays, a third resistor R3 can be set in the detection circuit 110. As shown in Figure 5, the number of third resistors R3 is one less than the number of relays. After setting the third resistor R3 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, in the example shown in Figure 5, when all relays are normally disconnected, the first voltage value at the first detection node A is U = (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).
[0089] It should be understood that the resistance value of each third resistor R3 can be the same or different. Although it is illustrated in Figure 5 as including only one resistor, in other embodiments, the third resistor R3 can also use a resistor module, for example, it can include more resistors or other components, which is not limited in this disclosure.
[0090] By adding a third resistor to the detection circuit, accurate detection of faulty relays can be achieved, improving the precision of the detection results.
[0091] According to some embodiments of this application, the resistance values of the first resistor R1, the second resistor R2, and each of the at least one third resistor R3 are equal.
[0092] Setting the resistance values of the first resistor R1, the second resistor R2, and the third resistor R3 to the same value simplifies the determination of the voltage condition. In the example shown in Figure 5, when the first voltage value is equal to U1×(R3+R3+R2) / (R1+R2+R3+R3)=U1×3 / 4, it is determined that all relays are in normal condition.
[0093] In one example, the first resistor R1, the second resistor R2, and the third resistor R3 are all 330Ω resistors. When the first supply voltage U1 is supplied with a low voltage of 24V, and all relays are normally disconnected, the first voltage value U = 24V × 3 / 4 = 18V.
[0094] By rationally designing the resistance values of the first, second, and third resistors, and accurately determining the voltage conditions satisfied by the first voltage value based on these resistance values, the detection accuracy can be improved.
[0095] According to some embodiments of this application, the first end of each of the at least one third resistor R3 is respectively connected to the first end of the second control switch of a different relay among a plurality of 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 a plurality of relays.
[0096] As shown in Figure 5, the first and second ends of each third resistor R3 are connected to the first ends of the second control switches of different relays, respectively. For example, the third resistor R3 at the top of Figure 5, which is directly connected to the first resistor R1, has its first end B connected to the first end F of the second control switch K12 of relay T1, and its second end C connected to the first end H of the second control switch K22 of relay T2. The other third resistor R3 in Figure 5 has its first end D connected to the first end H of the second control switch K22 of relay T2, and its second end E connected to the first end K of the second control switch K32 of relay T3.
[0097] By properly setting the third resistor in the detection circuit, abnormal relays can be accurately identified, thus improving the accuracy of the detection results.
[0098] According to some embodiments of this application, the controller is also configured to: determine an abnormal relay from a plurality of relays based on a first voltage value.
[0099] With a third resistor R3 included 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 identified based on the first voltage value. The specific process for identifying the abnormal relay will be detailed below.
[0100] By setting a first resistor, a second resistor, and a third resistor in the detection circuit, in addition to identifying whether there are abnormal relays among multiple relays, it is also possible to accurately identify the abnormal relays, simplifying the detection process and improving detection efficiency.
[0101] According to some embodiments of this application, determining the faulty relay from a plurality of relays based on a first voltage value includes:
[0102] Determine the voltage range that the first voltage value conforms to from a plurality of predetermined voltage ranges;
[0103] Based on the voltage range that the first voltage value meets, the abnormal relay is identified from multiple relays.
[0104] Figures 6 to 8 illustrate the working principle of the relay detection system 100 in Figure 5 for detecting the relay status.
[0105] Figure 6 illustrates the abnormal state of relay T1 using an example. If relay T1 experiences a short circuit or sticking, the second control switch K12 in relay T1 will be closed. At this time, the current flow in the detection circuit 110 follows the direction of the arrow in Figure 6. Because the second control switch K12 is closed, the first detection node A is short-circuited to the reference terminal N, and the first voltage value U = UGND = 0V. Therefore, when the obtained first voltage value is 0V or falls within the voltage range near 0V, it can be determined that relay T1 is in an abnormal state.
[0106] Figure 7 illustrates the abnormal state of relay T2 using an example. If relay T2 experiences a short circuit or sticking, the second control switch K22 in relay T2 will be closed. At this time, the current flow in the detection circuit 110 follows the direction of the arrow in Figure 7. 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 are all 330Ω, and the first power supply voltage U1 is a low 24V supply, the first voltage value U = 24V × 330Ω / (330Ω + 330Ω) = 24V / 2 = 12V. Therefore, when the obtained first voltage value is 12V or falls within the voltage range near 12V, it can be determined that relay T2 is in an abnormal state.
[0107] Figure 8 illustrates the abnormal state of relay T3 using an example. If relay T3 experiences a short circuit or sticking, the second control switch K32 in relay T3 will be closed. At this time, the current flow in the detection circuit 110 follows the direction of the arrow in Figure 8. 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 are all 330Ω, and the first power supply voltage U1 is a low 24V supply, the first voltage value U = 24V × (330Ω + 330Ω) / (330Ω + 330Ω + 330Ω) = 24V × 2 / 3 = 16V. Therefore, when the obtained first voltage value is 16V or falls within the voltage range of 16V, it can be determined that relay T3 is in an abnormal state.
[0108] It should be understood that since the reference terminal N in Figure 5 is the ground terminal GND, the current flow direction is as shown in 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 opposite to the current direction shown in Figures 6 to 8. In this case, the abnormal relay can also be determined based on the first voltage value using a similar principle, which will not be elaborated here.
[0109] By determining the voltage range that the first voltage value falls within, the abnormal relays among multiple relays can be identified, thereby enabling rapid identification of abnormal relays and improving detection efficiency.
[0110] According to some embodiments of this application, multiple voltage ranges are predetermined based on a first supply voltage U1, the resistance value of a first resistor R1, the resistance value of a second resistor R2, and the resistance value of each of at least one third resistor R3.
[0111] As mentioned above, when all relays are normally disconnected, the current will flow through the first resistor R1, all the 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 of the at least one third resistor R3.
[0112] The voltage range is determined by 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 application scenario to identify abnormal relays in different scenarios, thus expanding the application range of the relay detection system.
[0113] Figures 1 to 8 show the case where three relays are set in the battery system. When there are more or fewer relays in the battery system, the relay status can be detected in the same way as described above, which will not be repeated here.
[0114] Based on the same technical concept, this application provides a relay detection method. Referring to FIG9, the relay detection method 900 includes steps 910 to 920.
[0115] Step 910: 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 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 synchronously control the relay to be turned on or off with the first control switch. The detection circuit 110 is connected to the first terminal of the second control switch of each of the plurality of relays through the first detection node A.
[0116] Step 920: Determine whether multiple relays are malfunctioning based on the first voltage value.
[0117] The embodiment of the relay detection method 900 can refer to the embodiment of the relay detection system 100, and the repeated parts will not be described again.
[0118] In scenarios involving multiple relays, the presence of an abnormality among the relays can be determined by obtaining the first voltage value from the first detection node in the detection circuit. This simplifies the relay anomaly detection process and reduces the resources required for detection.
[0119] According to some embodiments of this application, referring to FIG10, step 920 includes steps 1010 to 1020.
[0120] Step 1010: In response to the first voltage value satisfying the first voltage condition, it is determined that all multiple relays are normal.
[0121] Step 1020: In response to the first voltage value satisfying the second voltage condition, at least one of the multiple relays is determined to be faulty.
[0122] By determining the voltage conditions satisfied by the first voltage value, it is possible to determine whether there are abnormal relays among multiple relays, which can quickly identify whether the relays can be used normally and improve detection efficiency.
[0123] According to some embodiments of this 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.
[0124] A first voltage terminal M is configured to receive a first supply voltage U1. A reference terminal N is configured to be connected to the second terminal of the second control switch of each of the plurality of relays. A first resistor R1 is connected between the first voltage terminal M and the first detection node A. A 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. At least one third resistor R3 is connected in series between the first resistor R1 and the second resistor R2. The number of at least one third resistor R3 is one less than the number of the plurality of relays.
[0125] The relay testing method also includes step 930.
[0126] Step 930: Based on the first voltage value, identify the faulty relay from among the multiple relays.
[0127] By setting a first resistor, a second resistor, and a third resistor in the detection circuit, abnormal relays among multiple relays can be accurately identified, simplifying the detection process and improving detection efficiency.
[0128] According to some embodiments of this application, referring to FIG11, step 930 includes steps 1110 to 1120.
[0129] Step 1110: Determine the voltage range that the first voltage value conforms to from a plurality of predetermined voltage ranges.
[0130] Step 1120: Determine the abnormal relay from among multiple relays based on the voltage range that the first voltage value meets.
[0131] By determining the voltage range that the first voltage value falls within, the abnormal relays among multiple relays can be identified, thereby enabling rapid identification of abnormal relays and improving detection efficiency.
[0132] This application provides a relay detection device 1200. Referring to FIG12, the relay detection device 1200 includes a first module 1210 and a second module 1220.
[0133] The first module 1210 is used to acquire 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 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 synchronously control the relay to be turned on or off with the first control switch. The detection circuit 110 is connected to the first terminal of the second control switch of each of the plurality of relays through the first detection node A.
[0134] The second module 1220 is used to determine whether multiple relays are abnormal based on the first voltage value.
[0135] The first module 1210 and the second module 1220 in the relay detection device 1200 can respectively correspond to steps 910 to 920 in the relay detection method 900 shown in FIG. 9. For the sake of brevity, they will not be described in detail here. 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.
[0136] It should be noted that the functions of the 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 actions performed by a particular module discussed herein include the specific module itself performing the action, or alternatively, the specific module calling or otherwise accessing another component or module that performs the action (or performs the action in conjunction with the specific module). Therefore, a specific module performing an action may include the specific module performing the action itself and / or another module that performs the action, called or otherwise accessed by the specific module. For example, in some embodiments, the first module 1210 and the second module 1220 may be combined into a single module.
[0137] It should also be understood that various techniques can be described in the general context of software hardware elements or program modules. The various modules described above with respect to Figure 12 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 code / instructions configured to execute in one or more processors and stored in a computer-readable storage medium. Alternatively, these modules can be implemented as hardware logic / circuit. 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 (SoC). The SoC may include an integrated circuit chip (which includes a processor (e.g., a Central Processing Unit (CPU), microcontroller, microprocessor, digital signal processor (DSP), etc.), memory, one or more communication interfaces, and / or one or more components of other circuitry), and in some embodiments may execute received program code and / or include embedded firmware to perform functions.
[0138] This application provides a computing device. The computing device includes: at least one processor; and at least one memory communicatively connected to the at least one processor, the at least one memory storing instructions that, when executed individually or jointly by the at least one processor, cause the computing device to perform a relay detection method 900. The computing device is, for example, the computing device 1300 shown in FIG. 13. FIG. 13 shows an example configuration of the computing device 1300 that can be used to implement the method described herein. For example, the aforementioned relay detection device 1200 can be wholly or at least partially implemented by the computing device 1300 or similar devices or systems.
[0139] The computing device 1300 may include at least one processor 1302, a memory 1304, multiple communication interfaces 1306, a display device 1308, other input / output (I / O) devices 1310, and one or more mass storage devices 1312, all capable of communicating with each other, such as via a system bus 1314 or other suitable connection. Instructions are stored on the memory 1304 that, when executed by the processor 1302, cause the processor 1302 to perform the methods described in the above embodiments.
[0140] The computing device 1300 can be a variety of different types of devices. Examples of the 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., smartphones), notebook 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 so on.
[0141] Processor 1302 may be a single processing unit or multiple processing units, and all processing units may include 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 acquire and execute computer-readable instructions stored in memory 1304, mass storage device 1312, or other computer-readable media, such as program code of operating system 1316, program code of application program 1318, program code of other program 1320, etc.
[0142] Memory 1304 and mass storage device 1312 are examples of computer-readable storage media for storing instructions that are executed by processor 1302 to perform the various functions described above. For example, memory 1304 may generally include both volatile and non-volatile memory (e.g., RAM, ROM, etc.). Furthermore, mass storage device 1312 may generally include hard disk drives, solid-state drives, removable media, including external and removable drives, memory cards, flash memory, floppy disks, optical disks (e.g., CDs, DVDs), storage arrays, network-attached storage, storage area networks, etc. Both memory 1304 and mass storage device 1312 may be collectively referred to herein as memory or computer-readable storage media, and may be non-transitory media capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by processor 1302 as a specific machine configured to perform the operations and functions described in the examples herein.
[0143] Multiple programs can be stored on mass storage device 1312. These programs include operating system 1316, one or more application programs 1318, other programs 1320, and program data 1322, and they can be loaded into 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 components / functions such as: relay detection device 1200 (including first module 1210 and second module 1220), relay detection method 900 (including any suitable steps of relay detection method 900), and / or other embodiments described herein.
[0144] Although illustrated in Figure 13 as being stored in memory 1304 of computing device 1300, 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 medium accessible by computing device 1300.
[0145] One or more communication interfaces 1306 are used for exchanging data with other devices, such as via 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)), wired or wireless (such as IEEE 802.11 Wireless LAN (WLAN)) wireless interface, Wi-MAX interface, Ethernet interface, Universal Serial Bus (USB) interface, cellular network interface, Bluetooth™ interface, Near Field Communication (NFC) interface, etc. Communication interface 1306 can facilitate communication across various network and protocol types, including wired networks (e.g., LAN, cable, etc.) and wireless networks (e.g., WLAN, cellular, satellite, etc.), the Internet, etc. Communication interface 1306 can also provide communication with external storage devices (not shown), such as storage arrays, network-attached storage, storage area networks, etc.
[0146] 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 so on.
[0147] The technologies described herein can be supported by these various configurations of computing device 1300, and are not limited to specific examples of the technologies described herein. For example, the functionality can also be implemented wholly or partially on a “cloud” using a distributed system. A cloud includes and / or represents a platform for resources. The platform abstracts the underlying functionality of the cloud’s hardware (e.g., servers) and software resources. Resources may include applications and / or data that can be used when performing computational processing on servers remote from computing device 1300. Resources may also include services provided via the Internet and / or via subscriber networks such as cellular or Wi-Fi networks. The platform can abstract resources and functionality to connect computing device 1300 to other computing devices. Therefore, the implementation of the functionality described herein can be distributed throughout the cloud. For example, the functionality can be implemented partly on computing device 1300 and partly through a platform that abstracts the functionality of the cloud.
[0148] This application also provides a computer-readable storage medium storing instructions thereon, which, when executed by a processor, cause the processor to perform the method as described in any of the above embodiments.
[0149] Computer-readable storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing 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 technologies, CD-ROM, DVD, or other optical storage devices, magnetic cassettes, magnetic tapes, disk storage devices or other magnetic storage devices, or any other non-transfer medium that can be used to store information for access by a computing device.
[0150] This application also provides a computer program product, including instructions that, when executed by a processor, cause the processor to perform the methods as described in any of the above embodiments.
[0151] A specific embodiment of this application is described below. It should be understood that this specific embodiment is described for illustrative purposes only and should not be construed as limiting the scope of this application.
[0152] As shown in Figure 2, the relay detection system 100 includes multiple relays (T1, T2, T3 in Figure 2), a detection circuit 110, and a controller. Each relay includes a first control switch (K11, K21, K31 in Figure 2) and a second control switch (K12, K22, K32 in Figure 2). The first and second control switches close or open synchronously. For example, an auxiliary contact relay can be used, where 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 terminal of the second control switch of each relay through a 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 set to 330Ω.
[0153] As shown in Figures 3 and 4, when all the second control switches in all relays are normally open, the first voltage value at the first detection node A is U = (U1 - UGND) × R2 / (R1 + R2) = U1 × R2 / (R1 + R2). If a relay experiences a short circuit or sticking, taking relay T2 as an example, the second control switch K22 in relay T2 will be closed, the first detection node A will be short-circuited with the reference terminal N, and the first voltage value U = UGND = 0V. When the first voltage value equals U1 × R2 / (R1 + R2), it is determined that all relays are in normal condition; when the first voltage value equals 0V, it is determined that one of the relays is in an abnormal state.
[0154] As shown in Figure 5, the detection circuit 110 may further include at least one third resistor R3. The third resistors R3 are connected in series between the first resistor R1 and the second resistor R2, and their number is one less than the number of relays. The first terminal of each third resistor R3 is connected to the first terminal of the second control switch of a different relay, and the second terminal of each third resistor R3 is also connected to the first terminal 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 set to 330Ω.
[0155] When all relays are normally disconnected, the first voltage value at the first detection node A is U = (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 state of all relays is normal. When the first resistor R1, the second resistor R2, and the third resistor R3 are all 330Ω resistors, and the first power supply voltage U1 is a low-voltage 24V 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 within the voltage range of 18V, it can be determined that all relays are in normal condition.
[0156] As shown in Figure 6, if relay T1 experiences an abnormal condition such as a short circuit or sticking, the second control switch K12 in relay T1 will be closed, the first detection node A will be short-circuited with the reference terminal N, and the first voltage value U = UGND = 0V. Therefore, when the obtained first voltage value is 0V or falls within the voltage range near 0V, it can be determined that relay T1 is in an abnormal state.
[0157] As shown in Figure 7, if relay T2 experiences a short circuit or sticking, the second control switch K22 in relay T2 will be closed, 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 are all 330Ω, and the first power supply voltage U1 is a low-voltage 24V, the first voltage value U = 24V × 330Ω / (330Ω + 330Ω) = 24V / 2 = 12V. Therefore, when the obtained first voltage value is 12V or falls within the voltage range close to 12V, it can be determined that relay T2 is in an abnormal state.
[0158] As shown in Figure 8, if relay T3 experiences a short circuit or sticking, the second control switch K32 in relay T3 will be closed, 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 are all 330Ω, and the first power supply voltage U1 is a low-voltage 24V, the first voltage value U = 24V × (330Ω + 330Ω) / (330Ω + 330Ω + 330Ω) = 24V × 2 / 3 = 16V. Therefore, when the obtained first voltage value is 16V or falls within the voltage range close to 16V, it can be determined that relay T3 is in an abnormal state.
[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and not to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application, and they should all be covered within the scope of the claims and specification of this application. In particular, as long as there is no structural conflict, the various technical features mentioned in the embodiments can be combined in any way. This application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
Claims
1. A relay detection system, comprising: Multiple relays are connected in parallel with each other, and each relay includes a first control switch and a second control switch, wherein 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 synchronously control the relay to be turned on or off with the first control switch. A detection circuit is connected to the plurality of relays, and the detection circuit is connected to the first terminal of the second control switch of each of the plurality of relays through a first detection node; as well as The controller is configured as follows: Obtain a first voltage value, which indicates the voltage value at the first detection node; as well as Based on the first voltage value, determine whether the plurality of relays are malfunctioning.
2. The relay detection system according to claim 1, wherein, The step of determining whether the plurality of relays are abnormal based on the first voltage value includes: In response to the first voltage value satisfying the first voltage condition, it is determined that all of the plurality of relays are functioning normally; and In response to the first voltage value satisfying the second voltage condition, at least one of the plurality of relays is determined to be faulty.
3. The relay detection system according to claim 1 or 2, wherein, The detection circuit includes: The first voltage terminal is configured to receive the first power supply voltage; The reference terminal is configured to be connected to the second terminal of the second control switch of each of the plurality of relays; A first resistor is connected between the first voltage terminal and the first detection node; and The second resistor is connected between the first detection node and the reference terminal, and is connected in parallel with the second control switch of each of the plurality of relays.
4. The relay detection system according to claim 3, wherein, The resistance of the first resistor is equal to the resistance of the second resistor.
5. The relay detection system according to claim 3 or 4, wherein, The detection circuit further 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.
6. The relay detection system according to claim 5, wherein, The resistance values of the first resistor, the second resistor, and each of the at least one third resistor are equal.
7. The relay detection system according to claim 5 or 6, wherein, 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 third resistor is connected to the first end of the second control switch of a different relay among the plurality of relays.
8. The relay detection system according to claim 7, wherein, The controller is also configured to: Based on the first voltage value, an abnormal relay is identified from the plurality of relays.
9. The relay detection system according to claim 8, wherein, The step of determining the abnormal relay from the plurality of relays based on the first voltage value includes: Determine the voltage range that the first voltage value conforms to from a predetermined plurality of voltage ranges; and The abnormal relay is determined from the plurality of relays based on the voltage range that the first voltage value falls within.
10. The relay detection system according to claim 9, wherein, The plurality of 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.
11. A relay detection method, comprising: A first voltage value is acquired, indicating the voltage value at a first detection node of the detection circuit. The detection circuit is connected to a plurality of relays connected in parallel, 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 turn on or off, and the second control switch is configured to synchronously control the relay to turn on or off with the first control switch. The detection circuit is connected to the first terminal of the second control switch of each of the plurality of relays through the first detection node. Based on the first voltage value, determine whether the plurality of relays are malfunctioning.
12. The relay detection method according to claim 11, wherein, The step of determining whether the plurality of relays are abnormal based on the first voltage value includes: In response to the first voltage value satisfying the first voltage condition, it is determined that all of the plurality of relays are functioning normally; and In response to the first voltage value satisfying the second voltage condition, at least one of the plurality of relays is determined to be faulty.
13. The relay detection method according to claim 11 or 12, wherein, 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 with 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, wherein the number of the at least one third resistor is one less than the number of the plurality of relays. The relay detection method further includes: Based on the first voltage value, an abnormal relay is identified from the plurality of relays.
14. The relay detection method according to claim 13, wherein, The step of determining the abnormal relay from the plurality of relays based on the first voltage value includes: Determine the voltage range that the first voltage value conforms to from a predetermined plurality of voltage ranges; and The abnormal relay is determined from the plurality of relays based on the voltage range that the first voltage value falls within.
15. A relay detection device, comprising: A first module is configured to acquire a first voltage value, the first voltage value indicating the voltage value at a first detection node of a detection circuit. The detection circuit is connected to a plurality of relays connected in parallel with each other. Each relay includes a first control switch and a second control switch. The first control switch is configured to selectively control the relay to turn on or off, and the second control switch is configured to synchronously control the relay to turn on or off with the first control switch. The detection circuit is connected to a first terminal of the second control switch of each of the plurality of relays via the first detection node. The second module is used to determine whether the plurality of relays are abnormal based on the first voltage value.
16. A computing device, comprising: At least one processor; as well as At least one memory communicatively connected to the at least one processor, the at least one memory storing instructions that, when executed individually or jointly by the at least one processor, cause the computing device to perform the relay detection method as described in any one of claims 11 to 14.
17. A computer-readable storage medium storing instructions that, when executed individually or jointly by one or more processors of a computing device, cause the computing device to perform the relay detection method as described in any one of claims 11 to 14.
18. A computer program product comprising instructions that, when executed individually or jointly by one or more processors of a computing device, cause the computing device to perform the relay detection method as described in any one of claims 11 to 14.