Relay state diagnosis method and system, electronic equipment and storage medium

By sending a preset frequency voltage to the relay to obtain the AC impedance value and using the impedance value to determine the relay status, the problem of semi-damage of the relay and the main negative relay not being connected to the terminal system in the prior art is solved, and fast and accurate relay health status monitoring is achieved.

CN120334728APending Publication Date: 2025-07-18GUANGZHOU GREATER BAY TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510520540.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The prior art cannot diagnose the semi-damage of the relay that is not stuck or cannot be absorbed, and the main negative relay cannot make a correct diagnosis through the voltage difference between the two ends without connecting to the terminal system.

Method used

By sending a preset frequency voltage to the relay to be tested, obtaining the AC impedance value corresponding to the preset frequency voltage, and using the AC impedance value to diagnose the health status of the relay, including setting the preset impedance threshold range to determine the normal or abnormal state of the relay.

Benefits of technology

It realizes rapid and accurate diagnosis of the relay, can identify minor damage, and accurately judge its health status when the main negative relay is not connected to the terminal system, and is not affected by the relay position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120334728A_ABST
    Figure CN120334728A_ABST
Patent Text Reader

Abstract

The invention discloses a relay state diagnosis method and system, electronic equipment and a storage medium. The method comprises the following steps: sending a preset frequency voltage to a to-be-tested relay to obtain an AC impedance value corresponding to the preset frequency voltage, and diagnosing the health state of the to-be-tested relay through the AC impedance value. According to the invention, the voltage difference between the two ends of the relay is not detected any more, and the health state of the relay at each position is diagnosed by directly detecting the electrochemical alternating-current impedance spectrum of the relay, so that the problem that the half-damage condition that the relay is not adhered or cannot be attracted cannot be diagnosed in the prior art is solved; and under the condition that the main negative relay is not connected with the terminal system, correct diagnosis cannot be made through the voltage difference between the two ends of the main negative relay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power device state detection, and particularly to a relay state diagnosis method, system, electronic device, and storage medium. Background Art

[0002] With the development of new energy vehicles, power relays are increasingly widely used. Currently, the diagnosis of power relays in battery packs or high-voltage boxes mainly relies on detecting the voltage difference between the main positive and main negative of the relay to determine whether the relay closes and opens as expected.

[0003] Figure 1 For the schematic diagram of the prior art diagnosis method, see Figure 1 , a common high-voltage power system for new energy consists of a battery pack, a battery management system, a charging relay S1, a discharging relay S2, a pre-charge resistor R1, a pre-charge relay S3, a main negative relay S4, a charging port, and a discharging port. The positive terminal of the battery pack is connected to the charging positive terminal through the charging relay S1, the negative terminal of the battery pack is connected to the charging negative terminal and the discharging negative terminal through the main negative relay S4, the positive terminal of the battery pack is also connected to the discharging positive terminal through the discharging relay S2, and the pre-charge resistor R1 and the pre-charge relay S3 are connected in series and then connected in parallel across both ends of the discharging relay S2. The battery management system is respectively connected in parallel with the charging relay S1, the discharging relay S2, and the main negative relay S4. The prior art solution is to diagnose whether the relay is stuck and whether it cannot close. Before charging and discharging, by opening and closing the relay, the battery management system samples the voltage difference across the relay to diagnose whether it is stuck and cannot close.

[0004] The specific diagnosis method is as follows: When the voltage difference across the relay is less than a value when the relay receives a closing instruction, it is normal, for example, 10V, otherwise it is determined that the relay cannot close; when the voltage difference across the relay is greater than a value when the relay receives an opening instruction, it is normal, for example, 50V, otherwise it is determined that the relay is stuck and cannot open.

[0005] The above diagnosis method can diagnose the damage conditions where the relay completely fails to pull in and is stuck and cannot open. However, it cannot detect the semi-damaged conditions where the relay has slight arcing and the contact is burned black, or the contact surface has been deformed but not stuck and not unable to pull in. At the same time, for the main negative relay S4, if the terminal system is not connected, the voltage difference across it is close to 0V when opening and closing, and a correct diagnosis cannot be made. Summary of the Invention

[0006] The present invention provides a relay state diagnosis method, system, electronic device and storage medium to solve the problems in the prior art that it is impossible to diagnose the semi-damaged condition where the relay is neither adhered nor unable to be attracted, and that when the main negative relay is not connected to the terminal system, it is impossible to make a correct diagnosis based on the voltage difference across its two ends.

[0007] According to one aspect of the present invention, there is provided a relay state diagnosis method, including:

[0008] Sending a voltage with a preset frequency to the relay to be tested to obtain the AC impedance value corresponding to the voltage with the preset frequency;

[0009] Diagnosing the health state of the relay to be tested based on the AC impedance value.

[0010] Optionally, the diagnosing the health state of the relay to be tested based on the AC impedance value includes:

[0011] Judging whether the AC impedance value satisfies a preset impedance threshold range, and when the AC impedance value satisfies the preset impedance threshold range, determining that the relay to be tested is in a healthy state.

[0012] Optionally, the preset impedance threshold range includes a first preset impedance threshold range;

[0013] Sending a voltage with a preset frequency to the relay to be tested to obtain the AC impedance value corresponding to the voltage with the preset frequency includes:

[0014] When the relay to be tested is in an off state, sending a voltage with a preset frequency to the relay to be tested to obtain the AC impedance value corresponding to the voltage with the preset frequency;

[0015] Diagnosing the health state of the relay to be tested based on the AC impedance value includes:

[0016] Judging whether the AC impedance value satisfies the first preset impedance threshold range;

[0017] If the AC impedance value satisfies the first preset impedance threshold range, determining that the relay to be tested is in a normal off state;

[0018] If the AC impedance value does not satisfy the first preset impedance threshold range, determining that the relay to be tested is in an abnormal off state.

[0019] Optionally, the preset impedance threshold range includes a second preset impedance threshold range, a third preset impedance threshold range and a fourth preset impedance threshold range;

[0020] Sending a voltage with a preset frequency to the relay to be tested to obtain the AC impedance value corresponding to the voltage with the preset frequency includes:

[0021] When the relay under test is in a closed state, a preset frequency voltage is sent to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage;

[0022] Diagnosing the health state of the relay under test through the AC impedance value includes:

[0023] Judging whether the AC impedance value satisfies the second preset impedance threshold range;

[0024] If the AC impedance value satisfies the second preset impedance threshold range, it is determined that the relay under test is in a normal closed state;

[0025] Judging whether the AC impedance value satisfies the third preset impedance threshold range;

[0026] If the AC impedance value satisfies the third preset impedance threshold range, it is determined that the relay under test is in a first-level abnormal closed state;

[0027] Judging whether the AC impedance value satisfies the fourth preset impedance threshold range;

[0028] If the AC impedance value satisfies the fourth preset impedance threshold range, it is determined that the relay under test is in a second-level abnormal closed state, the lower limit value of the fourth preset impedance threshold range is greater than the upper limit value of the third preset impedance threshold range, and the lower limit value of the third preset impedance threshold range is greater than the upper limit value of the second preset impedance threshold range.

[0029] Optionally, the sending a preset frequency voltage to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage includes:

[0030] Sending a preset frequency voltage to the relay under test and detecting the AC current corresponding to the preset frequency voltage;

[0031] Determining the AC impedance value of the relay under test according to the preset frequency voltage and the AC current.

[0032] Optionally, the determining the AC impedance value of the relay under test according to the preset frequency voltage and the AC current includes:

[0033] Determining the AC impedance value of the relay under test according to the average value of the preset frequency voltage and the AC current.

[0034] Optionally, the sending a preset frequency voltage to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage includes:

[0035] Sending a series of preset frequency voltages to the relay under test to obtain the AC impedance values corresponding to the series of preset frequency voltages.

[0036] According to another aspect of the present invention, there is provided a relay state diagnosis system, including: an AC impedance acquisition module and a diagnosis module;

[0037] The AC impedance acquisition module is configured to send a preset frequency voltage to the relay to be measured to obtain the AC impedance value corresponding to the preset frequency voltage;

[0038] The diagnosis module is configured to diagnose the health state of the relay to be measured through the AC impedance value.

[0039] According to another aspect of the present invention, there is provided an electronic device, the electronic device includes:

[0040] At least one processor; and

[0041] A memory communicatively connected to the at least one processor; wherein,

[0042] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the relay state diagnosis method according to any embodiment of the present invention.

[0043] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the relay state diagnosis method according to any embodiment of the present invention when executed.

[0044] The technical solution provided by the embodiment of the present invention obtains the AC impedance value corresponding to the preset frequency voltage by sending the preset frequency voltage to the relay to be tested, and diagnoses the health status of the relay to be tested through the AC impedance value. Instead of detecting the voltage difference across the relay, the present invention directly detects the electrochemical AC impedance spectrum of the relay to realize the health status diagnosis of each relay. For the semi-damaged situation where the relay has slight arcing and the contact is blackened, or the contact surface has been deformed but not adhered and not unable to attract, since the impedance of the relay will increase at this time, by obtaining the AC impedance value of the relay to be tested, the semi-damaged situation of the relay can be quickly and accurately diagnosed based on the AC impedance value. At the same time, when the main negative relay is not connected to the terminal system, the voltages during closing and opening are both close to 0V, and the prior art cannot make a correct diagnosis through the voltage difference across it. However, when the main negative relay is not connected to the terminal system, its impedance when normally closed is a few milliohms, and its impedance when normally open is infinite. Therefore, by obtaining the AC impedance value of the relay to be tested, based on the AC impedance value, it is possible to diagnose the health status of the main negative relay even when it is not connected to the terminal system, without being affected by the use location of the relay. Therefore, the technical solution provided by the embodiment of the present invention solves the problems that the prior art cannot diagnose the semi-damaged situation where the relay is not adhered and not unable to attract, and the main negative relay cannot make a correct diagnosis through the voltage difference across it when not connected to the terminal system.

[0045] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.

[0047] Figure 1 Schematic diagram of the prior art diagnosis method;

[0048] Figure 2 Flowchart of a relay status diagnosis method provided by an embodiment of the present invention;

[0049] Figure 3 Schematic diagram of a relay status diagnosis method provided by an embodiment of the present invention;

[0050] Figure 4Flowchart of another relay status diagnosis method provided by an embodiment of the present invention;

[0051] Figure 5 Flowchart of yet another relay status diagnosis method provided by an embodiment of the present invention;

[0052] Figure 6 Flowchart of yet another relay status diagnosis method provided by an embodiment of the present invention

[0053] Figure 7 Schematic diagram of another relay status diagnosis method provided by an embodiment of the present invention;

[0054] Figure 8 Schematic diagram of the structure of a relay status diagnosis system provided by an embodiment of the present invention;

[0055] Figure 9 Schematic diagram of the structure of an electronic device for a relay status diagnosis method provided by an embodiment of the present invention. Detailed implementation manners

[0056] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0058] Figure 2The flowchart of a relay status diagnosis method provided by an embodiment of the present invention. This embodiment is applicable to diagnosing the health status of a power relay used in a new energy vehicle. This method can be executed by a relay status diagnosis system, which can be implemented in the form of hardware and / or software, and can be configured in any electronic device with communication functions. Refer to Figure 2 , the method includes:

[0059] S110. Send a voltage with a preset frequency to the relay to be tested to obtain the AC impedance value corresponding to the voltage with the preset frequency.

[0060] Specifically, since the internal main circuit of the relay realizes the closing and opening of the relay by the contact and disconnection of the moving contact and the static contact, the contact impedance between the moving and static contacts of the relay is an important indicator of the health status of the relay. The relay is in a live state during use. It is very difficult to accurately determine the contact impedance of the relay by directly testing the DC impedance, but the AC impedance of the relay can be detected by Electrochemical Impedance Spectroscopy (EIS), as Figure 3 shown. Figure 3 The schematic diagram of a relay status diagnosis method provided by an embodiment of the present invention. The AC impedance detection chip, as an AC impedance acquisition module, is connected to both ends of the relay. A voltage with a preset frequency is sent to the relay to be tested through the AC impedance detection chip, so as to obtain the AC impedance value corresponding to the voltage with the preset frequency. Among them, the voltage with the preset frequency can be set according to the voltage of the mains 50HZ frequency. In some other embodiments, the voltage with the preset frequency can also be the fixed frequency voltage of the AC impedance detection chip itself. Therefore, the voltage with the preset frequency sent to the relay to be tested is very small and has no impact on the normal working voltage and current of the device.

[0061] S120. Diagnose the health status of the relay to be tested through the AC impedance value.

[0062] Specifically, as Figure 3 shown, communication is carried out between the AC impedance detection chip and the diagnosis module. The AC impedance detection chip transmits the obtained AC impedance value to the diagnosis module. The diagnosis module judges the obtained AC impedance value with a preset target value to determine whether the obtained AC impedance value reaches the preset target value, and diagnoses whether the relay to be tested is in a normal open state or has adhesion and cannot be opened when in the open state, and whether the relay to be tested is in a normal closed state or cannot be closed when in the closed state, so as to complete the diagnosis of the health status of the relay. Among them, diagnosing the health status of the relay to be tested through the AC impedance value can be done by manually judging the health status of the relay to be tested or by the diagnosis module diagnosing the health status of the relay to be tested.Figure 3 Taking the diagnosis of the health status of the relay under test by the diagnosis module as an example for illustration.

[0063] For the technical solution provided by the embodiment of the present invention, a preset frequency voltage is sent to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage, and the health status of the relay under test is diagnosed through the AC impedance value. Instead of detecting the voltage difference across the relay, the present invention directly detects the electrochemical AC impedance spectrum of the relay to realize the health status diagnosis of each relay. For the semi-damaged situation where the relay has slight arcing and the contact is burned black, or the surface of the contact has been deformed but not adhered and not unable to be attracted, since the impedance of the relay will increase at this time, by obtaining the AC impedance value of the relay under test, the semi-damaged situation of the relay can be quickly and accurately diagnosed based on the AC impedance value. At the same time, when the main negative relay is not connected to the terminal system, the voltages during closing and opening are both close to 0V, and the prior art cannot make a correct diagnosis through the voltage difference across it. However, when the main negative relay is not connected to the terminal system, its impedance during normal closing is a few milliohms, and its impedance during normal opening is infinite. Therefore, by obtaining the AC impedance value of the relay under test, based on the AC impedance value, it is possible to diagnose the health status of the main negative relay even when it is not connected to the terminal system, regardless of the position where the relay is used. Therefore, the technical solution provided by the embodiment of the present invention solves the problems that the prior art cannot diagnose the semi-damaged situation where the relay is not adhered and not unable to be attracted, and that the main negative relay cannot make a correct diagnosis through the voltage difference across it when not connected to the terminal system.

[0064] In some other embodiments, optionally, S120 specifically includes:

[0065] Judge whether the AC impedance value meets the preset impedance threshold range. When the AC impedance value meets the preset impedance threshold range, it is determined that the relay under test is in a healthy state.

[0066] Wherein, the preset impedance threshold range can be preset according to the normal working characteristics and working requirements of the relay.

[0067] In some other embodiments, optionally, the preset impedance threshold range includes a first preset impedance threshold range; S110 specifically includes:

[0068] When the relay under test is in the off state, a preset frequency voltage is sent to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage.

[0069] S120 specifically includes:

[0070] Judge whether the AC impedance value meets the first preset impedance threshold range.

[0071] If the AC impedance value satisfies the first preset impedance threshold range, it is determined that the relay under test is in a normal open state; if the AC impedance value does not satisfy the first preset impedance threshold range, it is determined that the relay under test is in an abnormal open state.

[0072] Among them, the first preset impedance threshold range can be infinity.

[0073] Since the impedance of the relay in the normal open state is infinity, in order to detect whether the relay is in the normal open state, the first preset impedance threshold range is set to infinity, that is, if the AC impedance value of the relay satisfies the first preset impedance threshold range, it is determined that the relay under test is in the normal open state; if the AC impedance value does not satisfy the first preset impedance threshold range, it is determined that the relay under test is in the abnormal open state.

[0074] In some other embodiments, optionally, the preset impedance threshold range includes a second preset impedance threshold range, a third preset impedance threshold range, and a fourth preset impedance threshold range; S110 specifically includes:

[0075] When the relay under test is in the closed state, a preset frequency voltage is sent to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage.

[0076] S120 specifically includes:

[0077] Judge whether the AC impedance value satisfies the second preset impedance threshold range.

[0078] If the AC impedance value satisfies the second preset impedance threshold range, it is determined that the relay under test is in the normal closed state.

[0079] Judge whether the AC impedance value satisfies the third preset impedance threshold range.

[0080] If the AC impedance value satisfies the third preset impedance threshold range, it is determined that the relay under test is in the first-level abnormal closed state.

[0081] Judge whether the AC impedance value satisfies the fourth preset impedance threshold range.

[0082] If the AC impedance value satisfies the fourth preset impedance threshold range, it is determined that the relay under test is in the second-level abnormal closed state.

[0083] Among them, the lower limit value of the fourth preset impedance threshold range is greater than the upper limit value of the third preset impedance threshold range, and the lower limit value of the third preset impedance threshold range is greater than the upper limit value of the second preset impedance threshold range.

[0084] Among them, the second preset impedance threshold range, the third preset impedance threshold range, and the fourth preset impedance threshold range can all be preset according to the impedance value when the relay is normally closed plus a certain margin. For example, when the impedance value of the relay is normally closed is 0.1 milliohm, then the second preset impedance threshold range can be greater than 0.1 and less than or equal to 0.2 milliohms, the third preset impedance threshold range can be greater than 0.2 and less than or equal to 0.5 milliohms, and the fourth preset impedance threshold range can be greater than 0.5 milliohms.

[0085] Since the impedance of the relay when it is normally closed is a very small few milliohms, in order to detect whether the relay is in the normal closed state, the second preset impedance threshold range, the third preset impedance threshold range, and the fourth preset impedance threshold range are set. If the second preset impedance threshold range is satisfied, it means that the relay is in the normal closed state; if the third preset impedance threshold range is satisfied, it means that the relay is in the first-level abnormal closed state, indicating that there is slight arcing and the contact is burned black at this time, or the contact surface has been deformed but not adhered and not unable to be attracted, and the relay can still be used, and the operation and maintenance personnel need to be reminded to strengthen the observation of this relay; if the fourth preset impedance threshold range is satisfied, it means that the relay is in the second-level abnormal closed state, and at this time, the operation and maintenance personnel need to be reminded to replace the relay.

[0086] The technical solution provided by the embodiments of the present invention can diagnose the health state of the relay, achieve real-time diagnosis, and when it is recognized that the health state of the relay does not meet the requirements, the relay can be replaced in advance to avoid accidents.

[0087] Figure 4 It is a flowchart of another relay state diagnosis method provided by the embodiments of the present invention. The embodiments of the present invention further refine the foregoing embodiments on the basis of the above embodiments. Refer to Figure 4 The method includes:

[0088] S210. Send a preset frequency voltage to the relay to be measured and detect the alternating current corresponding to the preset frequency voltage.

[0089] S220. Determine the alternating current impedance value of the relay to be measured according to the preset frequency voltage and the alternating current.

[0090] S230. Diagnose the health state of the relay to be measured through the alternating current impedance value.

[0091] Specifically, the alternating current impedance detection chip sends a preset frequency voltage to the relay to be measured, and at the same time, the alternating current impedance detection chip itself detects the alternating current corresponding to the preset frequency voltage. The preset frequency voltage divided by the alternating current is the alternating current impedance value of the relay to be measured corresponding to the preset frequency voltage.

[0092] In some other embodiments, optionally, S220 specifically includes:

[0093] Determine the AC impedance value of the relay under test according to the average value of the preset frequency voltage and the AC current.

[0094] In some other embodiments, optionally, S110 specifically includes:

[0095] Send a series of preset frequency voltages to the relay under test to obtain the AC impedance values corresponding to the series of preset frequency voltages.

[0096] Specifically, the AC impedance detection chip sends a series of preset frequency voltages to the relay under test, and at the same time, the AC impedance detection chip itself detects the AC current corresponding to this series of preset frequency voltages. The AC impedance value corresponding to the preset frequency voltage of the relay under test is the preset frequency voltage divided by the AC current.

[0097] The technical solution provided by the embodiments of the present invention can not only diagnose the adhesion and inability to close of the relay, but also diagnose the impedance change of the relay in real time. When it is recognized that the health state of the relay does not meet the requirements, the relay can be replaced in advance to avoid accidents.

[0098] Figure 5 It is a flowchart of another relay state diagnosis method provided by the embodiments of the present invention. Refer to Figure 5 , and the method includes:

[0099] S310. When the relay under test is in the open state, send a preset frequency voltage to the relay under test and detect the AC current corresponding to the preset frequency voltage.

[0100] S320. Determine the AC impedance value of the relay under test according to the preset frequency voltage and the AC current.

[0101] S330. Judge whether the AC impedance value meets the first preset impedance threshold range; if so, execute S340, if not, execute S350.

[0102] S340. Determine that the relay under test is in the normal open state.

[0103] S350. Determine that the relay under test is in the abnormal open state.

[0104] Figure 6 It is a flowchart of yet another relay state diagnosis method provided by the embodiments of the present invention. Refer to Figure 6 , and the method includes:

[0105] S410. When the relay under test is in the closed state, send a preset frequency voltage to the relay under test and detect the AC current corresponding to the preset frequency voltage.

[0106] S420. Determine the AC impedance value of the relay under test based on the preset frequency voltage and AC current.

[0107] S430. Determine whether the AC impedance value satisfies the second preset impedance threshold range. If so, execute S440; if not, execute S450.

[0108] S440. Determine that the relay under test is in a normal closed state.

[0109] S450. Determine whether the AC impedance value satisfies the third preset impedance threshold range. If so, execute S460; if not, execute S470.

[0110] S460. Determine that the relay under test is in a first-level abnormal closed state.

[0111] S470. Determine whether the AC impedance value satisfies the fourth preset impedance threshold range. If so, execute S480.

[0112] S480. Determine that the relay under test is in a second-level abnormal closed state.

[0113] It should be noted that the step sequence of determining whether the AC impedance value satisfies the second preset impedance threshold range, the third preset impedance threshold range, and the fourth preset impedance threshold range can be adjusted. For example, first determine whether the AC impedance value satisfies the fourth preset impedance threshold range. If it does not, then determine whether the AC impedance value satisfies the third preset impedance threshold range. If it does not, then determine whether the AC impedance value satisfies the second preset impedance threshold range. The present invention does not limit this.

[0114] Exemplarily, refer to Figure 7 , Figure 7 which is a schematic diagram of another relay state diagnosis method provided by an embodiment of the present invention. Using the diagnosis method of this embodiment to diagnose several relays in Figure 1 . As shown in Figure 7 , the connection relationship between the positive and negative terminals of the battery pack and the charge and discharge ports through each relay (relays S1 - S4) is the same as that in Figure 1 . On this basis, an AC impedance detection chip is set as the AC impedance acquisition module, and the battery management system is used as the diagnosis module. The AC impedance detection chip is communicatively connected to the battery management system, and the AC impedance detection chip is respectively connected in parallel with the charge relay S1, the discharge relay S2, and the main negative relay S4.

[0115] The above relays S1 - S4 are all connected to a specific terminal system. Under normal circumstances, before the battery pack charges or discharges, the charging relay S1, the discharging relay S2, and the main negative relay S4 are all in the off state. Then, in order to detect whether the charging relay S1, the discharging relay S2, and the main negative relay S4 are in the normal off state, the relay diagnosis method provided by the embodiments of the present invention can be used for detection. That is, when the relay to be tested is in the off state, a voltage with a preset frequency is sent to the relay to be tested, and the alternating current corresponding to the voltage with the preset frequency is detected. According to the voltage with the preset frequency and the alternating current, the alternating current impedance value of the relay to be tested is determined. It is judged whether the alternating current impedance value meets the first preset impedance threshold range, that is, it is judged whether the alternating current impedance value is infinite. If so, it means that the relay is in the normal off state and not adhered. If not, it means that the relay is in an abnormal off state.

[0116] Similarly, after the battery pack charges or discharges, under normal circumstances, the charging relay S1, the discharging relay S2, and the main negative relay S4 are also all in the off state. The relay diagnosis method provided by the embodiments of the present invention can also be used to diagnose whether the relay is in the normal off state. The diagnosis process is the same as that before charging and discharging, and will not be elaborated here.

[0117] During the charging process of the battery pack, under normal circumstances, the charging relay S1 and the main negative relay S4 are both in the closed state. Then, in order to detect whether the charging relay S1 and the main negative relay S4 are in the normal closed state, the relay diagnosis method provided by the embodiments of the present invention can be used for detection. That is, when the relay to be tested is in the closed state, a voltage with a preset frequency is sent to the relay to be tested, and the alternating current corresponding to the voltage with the preset frequency is detected. According to the voltage with the preset frequency and the alternating current, the alternating current impedance value of the relay to be tested is determined. It is judged whether the alternating current impedance value meets the second preset impedance threshold range, that is, it is judged whether the alternating current impedance value is greater than 0.1 and less than or equal to 0.2 milliohms. If so, it means that the relay is in the normal closed state; if not, it is judged whether the alternating current impedance value meets the third preset impedance threshold range, that is, it is judged whether the alternating current impedance value is greater than 0.2 and less than or equal to 0.5 milliohms. If so, it means that the relay is in the normal first - level abnormal closed state, that is, it means that at this time, the relay has slight arcing and the contact is burned black, or the contact surface has been deformed but not adhered and not unable to be attracted, and the relay can still be used. The operation and maintenance personnel need to be reminded to strengthen the observation of this relay; if not, it is judged whether the alternating current impedance value meets the fourth preset impedance threshold range, that is, it is judged whether the alternating current impedance value is greater than 0.5 milliohms. If so, it means that the relay is in the normal second - level abnormal closed state, that is, at this time, the operation and maintenance personnel need to be reminded to arrange an appropriate time to replace it.

[0118] Continue to refer to Figure 7, the diagnostic method of this embodiment can also be used to diagnose a relay that is not connected to a specific terminal system. The diagnostic process is the same as that of diagnosing a relay connected to a specific terminal system, which will not be elaborated here. The technical solution provided by the embodiment of the present invention solves the problem in the prior art that when the relay is not connected to an external system, the voltages during closing and opening are both close to 0V, and it is impossible to make a correct diagnosis based on the voltage difference.

[0119] Figure 8 FIG. is a schematic structural diagram of a relay state diagnostic system provided by an embodiment of the present invention. Refer to Figure 8 , the system includes: an AC impedance acquisition module 510 and a diagnostic module 520.

[0120] The AC impedance acquisition module 510 is configured to send a preset frequency voltage to the relay to be measured to obtain the AC impedance value corresponding to the preset frequency voltage.

[0121] The diagnostic module 520 is configured to diagnose the health state of the relay to be measured based on the AC impedance value.

[0122] Optionally, the diagnostic module 520 includes a judgment module.

[0123] The judgment module is configured to judge whether the AC impedance value meets a preset impedance threshold range. When the AC impedance value meets the preset impedance threshold range, it is determined that the relay to be measured is in a healthy state.

[0124] Optionally, the preset impedance threshold range includes a first preset impedance threshold range.

[0125] The AC impedance acquisition module 510 includes a first voltage application module.

[0126] The first voltage application module is configured to send a preset frequency voltage to the relay to be measured when the relay to be measured is in an open state to obtain the AC impedance value corresponding to the preset frequency voltage.

[0127] The diagnostic module 520 includes a first judgment sub-module, a normal open state determination module, and an abnormal open state determination module.

[0128] The first judgment sub-module is configured to judge whether the AC impedance value meets the first preset impedance threshold range.

[0129] The normal open state determination module is configured to determine that the relay to be measured is in a normal open state if the AC impedance value meets the first preset impedance threshold range.

[0130] The abnormal open state determination module is configured to determine that the relay to be measured is in an abnormal open state if the AC impedance value does not meet the first preset impedance threshold range.

[0131] Optionally, the preset impedance threshold range includes a second preset impedance threshold range, a third preset impedance threshold range, and a fourth preset impedance threshold range;

[0132] The AC impedance acquisition module 510 includes a second voltage application module.

[0133] The second voltage application module is configured to send a preset frequency voltage to the relay under test when the relay under test is in a closed state, so as to obtain the AC impedance value corresponding to the preset frequency voltage.

[0134] The diagnosis module 520 includes a second judgment sub-module, a normal closed state determination module, a third judgment sub-module, a first-level abnormal closed state determination module, a fourth judgment sub-module, and a second-level abnormal closed state determination module.

[0135] The second judgment sub-module is configured to judge whether the AC impedance value satisfies the second preset impedance threshold range.

[0136] The normal closed state determination module is configured to determine that the relay under test is in a normal closed state if the AC impedance value satisfies the second preset impedance threshold range.

[0137] The third judgment sub-module is configured to judge whether the AC impedance value satisfies the third preset impedance threshold range.

[0138] The first-level abnormal closed state determination module is configured to determine that the relay under test is in a first-level abnormal closed state if the AC impedance value satisfies the third preset impedance threshold range.

[0139] The fourth judgment sub-module is configured to judge whether the AC impedance value satisfies the fourth preset impedance threshold range.

[0140] The second-level abnormal closed state determination module is configured to determine that the relay under test is in a second-level abnormal closed state if the AC impedance value satisfies the fourth preset impedance threshold range. The lower limit value of the fourth preset impedance threshold range is greater than the upper limit value of the third preset impedance threshold range, and the lower limit value of the third preset impedance threshold range is greater than the upper limit value of the second preset impedance threshold range.

[0141] Optionally, the AC impedance acquisition module 510 includes an AC current detection module and an AC impedance value determination module.

[0142] The AC current detection module is configured to send a preset frequency voltage to the relay under test and detect the AC current corresponding to the preset frequency voltage;

[0143] The AC impedance value determination module is configured to determine the AC impedance value of the relay under test according to the preset frequency voltage and the AC current.

[0144] Optionally, the AC impedance value determination module includes an AC impedance determination sub-module.

[0145] The AC impedance determination sub-module is configured to determine the AC impedance value of the relay under test according to the preset frequency voltage and the average value of the AC current.

[0146] Optionally, the AC impedance acquisition module 510 includes a third voltage application module.

[0147] The third voltage application module is configured to send a series of preset frequency voltages to the relay under test to obtain the AC impedance values corresponding to the series of preset frequency voltages.

[0148] The relay state diagnosis system provided by the embodiments of the present invention can execute the relay state diagnosis method provided by any embodiment of the present invention, and has the corresponding function modules and beneficial effects of the execution method.

[0149] Figure 8 It is a schematic structural diagram of an electronic device for a relay state diagnosis method provided by an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0150] As Figure 8 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. Among them, the memory stores a computer program executable by at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0151] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0152] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a relay state diagnosis method.

[0153] In some embodiments, the relay state diagnosis method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the relay state diagnosis method described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the relay state diagnosis method by any other suitable means (e.g., by means of firmware).

[0154] The various embodiments of the systems and technologies described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), system-on-chip systems (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs, which can be executed and / or interpreted on a programmable system including at least one programmable processor, the programmable processor can be a special or general-purpose programmable processor, can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0155] A computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer programs are executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0156] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0157] In order to provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).

[0158] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0159] A computing system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The client-server relationship is generated by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0160] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.

[0161] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A relay state diagnosis method, characterized in that, Including: Sending a voltage with a preset frequency to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage; Diagnosing the health status of the relay under test based on the AC impedance value.

2. The relay state diagnosis method according to claim 1, wherein The diagnosing the health status of the relay under test based on the AC impedance value includes: Judging whether the AC impedance value meets a preset impedance threshold range, and when the AC impedance value meets the preset impedance threshold range, determining that the relay under test is in a healthy state.

3. The relay state diagnosis method according to claim 2, wherein The preset impedance threshold range includes a first preset impedance threshold range; Sending a voltage with a preset frequency to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage includes: When the relay under test is in an open state, sending a voltage with a preset frequency to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage; Diagnosing the health status of the relay under test based on the AC impedance value includes: Judging whether the AC impedance value meets the first preset impedance threshold range; If the AC impedance value meets the first preset impedance threshold range, determining that the relay under test is in a normal open state; If the AC impedance value does not meet the first preset impedance threshold range, determining that the relay under test is in an abnormal open state.

4. The relay state diagnosis method according to claim 2, characterized in that The preset impedance threshold range includes a second preset impedance threshold range, a third preset impedance threshold range, and a fourth preset impedance threshold range; Sending a voltage with a preset frequency to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage includes: When the relay under test is in a closed state, sending a voltage with a preset frequency to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage; Diagnosing the health status of the relay under test based on the AC impedance value includes: Judging whether the AC impedance value meets the second preset impedance threshold range; If the AC impedance value meets the second preset impedance threshold range, determining that the relay under test is in a normal closed state; Judging whether the AC impedance value meets the third preset impedance threshold range; If the AC impedance value meets the third preset impedance threshold range, determining that the relay under test is in a first-level abnormal closed state; Judging whether the AC impedance value meets the fourth preset impedance threshold range; If the AC impedance value meets the fourth preset impedance threshold range, determining that the relay under test is in a second-level abnormal closed state, the lower limit value of the fourth preset impedance threshold range is greater than the upper limit value of the third preset impedance threshold range, and the lower limit value of the third preset impedance threshold range is greater than the upper limit value of the second preset impedance threshold range.

5. The relay state diagnosis method according to claim 1, characterized in that, The sending a voltage with a preset frequency to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage includes: Sending a voltage with a preset frequency to the relay under test and detecting the AC current corresponding to the preset frequency voltage; Determining the AC impedance value of the relay under test according to the preset frequency voltage and the AC current.

6. The relay state diagnosis method according to claim 5, wherein The determining the AC impedance value of the relay under test according to the preset frequency voltage and the AC current includes: Determine the AC impedance value of the relay under test according to the preset frequency voltage and the average value of the AC current.

7. The relay state diagnosis method according to claim 1, wherein Sending a preset frequency voltage to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage includes: Sending a series of preset frequency voltages to the relay under test to obtain the AC impedance values corresponding to the series of preset frequency voltages.

8. A relay state diagnosis system, characterized in that, Includes: An AC impedance acquisition module and a diagnosis module; The AC impedance acquisition module is configured to send a preset frequency voltage to the relay under test to obtain the AC impedance value corresponding to the preset frequency voltage; The diagnosis module is configured to diagnose the health state of the relay under test through the AC impedance value.

9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the relay state diagnosis method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a processor to implement the relay state diagnosis method according to any one of claims 1-7 when executed.

Citation Information

Cited By

  • Relay coil state determination method and device, electronic equipment and storage medium

    CN121522441A