Abnormality diagnosis method and system for relay drive circuit
By collecting and analyzing the delay signals and drive signals in the relay drive circuit, the problem of abnormal diagnosis of the delay module was solved, ensuring the safety and reliability of electric vehicles and avoiding additional hardware costs.
Patent Information
- Application Number
- CN202111564688.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-12-20
AI Technical Summary
The lack of existing technology for abnormal diagnosis of delay modules in relay drive circuits may lead to unexpected disconnection between high-voltage relays and high-voltage power batteries, affecting the safety of electric vehicles.
By collecting the delay signal and drive signal in the relay drive circuit and combining them with the first enable signal, the system can diagnose whether the relay drive circuit is abnormal, including the status of the delay module and the relay drive module.
It enables simple and reliable fault diagnosis of relay drive circuits, avoiding the need for additional circuits and components and reducing costs.
Smart Images

Figure CN114184953B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of relay driving, and in particular to an abnormality diagnosis method and system for a relay driving circuit. Background Art
[0002] Electric vehicles are usually powered by high-voltage power batteries. To meet the needs of the entire vehicle, the battery system needs to provide different power supply circuits. For example, when the vehicle is driving, the discharge circuit needs to be turned on; when the battery is charging, the charging circuit needs to be turned on; when the battery is heated, the heating circuit needs to be turned on. To ensure the control of these different circuits, the high-voltage relays in the control circuits need to be turned on and off according to requirements.
[0003] For electric vehicles in operation, if the high-voltage relay and the high-voltage power battery are unexpectedly disconnected, the vehicle will lose power and cause safety problems. Since the high-voltage relay is driven by the relay drive circuit, in order to solve the above problems, a delay module is generally added between the processor of the relay drive circuit and the high-voltage relay. The function of the delay module is to keep the high-voltage relay closed for a period of time when the processor is reset to ensure that the vehicle power is not lost. When the processor completes the reset, it takes over the control of the high-voltage relay.
[0004] Since the relay drive circuit is used to drive the high-voltage relay directly, there is currently no measure to diagnose abnormalities in the delay module. For example, the delay module can prevent unexpected disconnection between the high-voltage relay and the high-voltage power battery. Therefore, whether the delay module works normally is related to the safety of the vehicle. However, there is currently no diagnostic measure to determine whether the delay module is abnormal. Summary of the invention
[0005] The object of the present invention is to provide a method and system for diagnosing abnormality of a relay drive circuit, which can be used for diagnosing abnormality of a relay drive circuit.
[0006] In order to achieve the above object, the present invention provides a method for diagnosing abnormalities of a relay drive circuit, wherein the relay drive circuit comprises a processing module, a delay module and a relay drive module connected in sequence, wherein the processing module is used to output a first enable signal, the delay module outputs a delay signal according to the first enable signal, and the relay drive module outputs a drive signal according to the delay signal to control the on and off of the relay, and the method comprises:
[0007] collecting the delay signal and / or the drive signal; and,
[0008] Whether the relay drive circuit is abnormal is determined according to the first enable signal and the collected signal.
[0009] Optionally, the first enable signal and the delay signal are both digital signals, and the drive signal is an analog signal.
[0010] Optionally, when the first enable signal and the delay signal are both valid or invalid, the delay module is determined to be normal; when the first enable signal is invalid and the delay signal is valid, the relay is determined to be stuck and closed, and the delay module is abnormal; when the first enable signal is valid and the delay signal is invalid, the relay is determined to be stuck and disconnected, and the delay module is abnormal.
[0011] Optionally, when the first enable signal is valid and the voltage of the drive signal is greater than or equal to a predetermined value, it is determined that the delay module and the relay drive module are both normal; when the first enable signal is invalid and the voltage of the drive signal is less than the predetermined value, it is determined that the delay module and the relay drive module are both normal; when the first enable signal is valid and the voltage of the drive signal is less than the predetermined value, it is determined that the relay is adhered and disconnected, and at least one of the delay module and the relay drive module is abnormal; when the first enable signal is invalid and the voltage of the drive signal is greater than or equal to the predetermined value, it is determined that the relay is adhered and closed, and at least one of the delay module and the relay drive module is abnormal.
[0012] Optionally, each time the processing module is powered on, it immediately outputs a valid and / or invalid first enable signal, and collects the delay signal and / or the drive signal to determine whether the relay drive circuit is abnormal; and / or, after the processing module is powered on, it collects the delay signal and / or the drive signal in real time to determine whether the relay drive circuit is abnormal.
[0013] Optionally, the processing module is further used to output a second enable signal, and the relay drive circuit further includes:
[0014] An OR gate is connected between the delay module and the relay drive module, and is used to perform OR calculation on the delay signal and the second enable signal, and output a logic signal. The relay drive module outputs the drive signal according to the logic signal.
[0015] Optionally, each time the processing module is powered on, it immediately outputs a valid and / or invalid first enable signal and an invalid second enable signal, and collects the delay signal and / or the drive signal to determine whether the relay drive circuit is abnormal; and / or, after the processing module is powered on, when the second enable signal is valid, the delay signal is collected in real time to determine whether the relay drive circuit is abnormal; when the second enable signal is invalid, the delay signal and / or the drive signal is collected in real time to determine whether the relay drive circuit is abnormal.
[0016] Optionally, the relay is a bilaterally controlled relay, and the delay module and the relay driving module each have two groups, which are respectively used to control the high side and the low side of the relay. Each time the processing module is powered on, it immediately outputs a valid and / or invalid first enable signal, and outputs one first enable signal to each of the two delay modules, and the two first enable signals are not valid at the same time.
[0017] Optionally, the relay is a unilaterally controlled relay.
[0018] Optionally, the present invention further provides an abnormality diagnosis system for a relay drive circuit, wherein the relay drive circuit comprises a processing module, a delay module and a relay drive module connected in sequence, wherein the processing module is used to output a first enable signal, the delay module outputs a delay signal according to the first enable signal, and the relay drive module outputs a drive signal according to the delay signal to control the on and off of the relay, and the system comprises:
[0019] An acquisition module, used for acquiring the delay signal and / or the drive signal;
[0020] A judgment module is used to judge whether the relay drive circuit is abnormal according to the first enable signal and the collected signal.
[0021] In the abnormality diagnosis method and system of the relay drive circuit provided by the present invention, the relay drive circuit includes a processing module, a delay module and a relay drive module connected in sequence, the processing module is used to output a first enable signal, the delay module outputs a delay signal according to the first enable signal, and the relay drive module outputs a drive signal according to the delay signal to control the on and off of the relay. The present invention can determine whether the relay drive circuit is abnormal by collecting the delay signal and / or the drive signal and according to the first enable signal and the collected signal. The diagnostic method is simple and reliable, does not require additional circuits and components, and has lower cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A structural block diagram of a relay drive circuit provided in Embodiment 1 of the present invention;
[0023] Figure 2 A method for diagnosing abnormality of a relay drive circuit provided in Embodiment 1 of the present invention;
[0024] Figure 3 A signal torsion diagram of the relay drive circuit provided in the first embodiment of the present invention during diagnosis;
[0025] Figure 4A structural block diagram of an abnormality diagnosis system for a relay drive circuit provided in Embodiment 1 of the present invention;
[0026] Figure 5 A signal torsion diagram of the relay drive circuit during diagnosis provided by the second embodiment of the present invention;
[0027] Figure 6 A signal torsion diagram of the relay drive circuit during diagnosis provided by the third embodiment of the present invention;
[0028] Figure 7 A structural block diagram of a relay drive circuit provided in Embodiment 4 of the present invention;
[0029] Figure 8 A structural block diagram of a relay drive circuit provided in Embodiment 5 of the present invention;
[0030] Fig. 9 A signal torsion diagram of the relay drive circuit during diagnosis provided by the fifth embodiment of the present invention;
[0031] Wherein, the accompanying drawings are marked as follows:
[0032] 10-processing module; 20, 21, 22-delay modules; 30, 31, 32-relay drive modules; 40-relay; 50-collection module; 60-judgment module;
[0033] En, En1, En2-first enable signal; En'-second enable signal; Delay, Delay1, Delay2-delay signal; Vout, Vout1, Vout2-drive signal; Logic-logic signal. DETAILED DESCRIPTION
[0034] The specific implementation of the present invention will be described in more detail below in conjunction with the schematic diagram. The advantages and features of the present invention will become clearer based on the following description. It should be noted that the drawings are all in a very simplified form and are not in exact proportions, and are only used to facilitate and clearly assist in explaining the purpose of the embodiments of the present invention.
[0035] Embodiment 1
[0036] Figure 1 This is a structural block diagram of the relay drive circuit provided in this embodiment. Figure 1As shown, in this embodiment, the relay drive circuit includes a processing module 10, a delay module 20 and a relay drive module 30 connected in sequence. Specifically, the processing module 10 is used to output a first enable signal En; the delay module 20 is connected to the output end of the processing module 10, used to access the first enable signal En, and output a delay signal Delay according to the first enable signal En; the relay drive module 30 is connected to the delay module 20, used to access the delay signal Delay, and output a drive signal Vout according to the delay signal Delay; the relay 40 is connected to the output end of the relay drive module 30, used to access the drive signal Vout, and is attracted or disconnected under the control of the drive signal Vout.
[0037] In this embodiment, the relay 40 is a unilaterally controlled relay 40, and the first enable signal En and the delay signal Delay are digital signals. In this embodiment, the first enable signal En and the delay signal Delay are both digital signals that are valid at a low level and invalid at a high level, but this is not limited to this.
[0038] The delay module 20 can be, for example, a circuit that uses the charging and discharging effect of a capacitor for delay. When the first enable signal En is at a high level, it is equivalent to the first enable signal En being invalid; the capacitor in the delay module 20 starts to charge, and the voltage across the capacitor starts to rise until it is fully charged, and the delay module 20 outputs a high level, which is equivalent to the output of the delay signal Delay being invalid. When the first enable signal En is at a low level, it is equivalent to the first enable signal En being valid; the capacitor in the delay module 20 starts to discharge, and the voltage across the capacitor starts to drop until the discharge is completed, and the delay module 20 outputs a low level, which is equivalent to the output of the delay signal Delay being valid. It can be seen that the delay module 20 can realize the function of delayed output, and the delay time is the time for the capacitor to charge and discharge.
[0039] Furthermore, the driving signal Vout is an analog signal. When the delay signal Delay is valid, the relay driving module 30 will output the driving signal Vout with a voltage greater than or equal to a predetermined value, so that the relay 40 is powered on at a low voltage, and the relay 40 is closed; when the delay signal Delay is invalid, the relay driving module 30 will output the driving signal Vout with a voltage less than the predetermined value, and the relay 40 is powered off and disconnected.
[0040] The predetermined value can be designed according to the working voltage of the relay 40. For example, the working voltage of the relay 40 can be 5V, and the predetermined value can be set to 3.5V. When the drive signal Vout is greater than or equal to 3.5V, the relay 40 can be controlled to be energized. When the drive signal Vout is less than 3.5V, the relay 40 is disconnected.
[0041] Based on this, this embodiment provides an abnormality diagnosis method for a relay drive circuit. Figure 2 The flowchart of the abnormality diagnosis method of the relay drive circuit provided in this embodiment is as follows: Figure 2 As shown, the abnormality diagnosis method of the relay drive circuit includes:
[0042] Step S100: collecting the delay signal Delay and / or the drive signal Vout; and,
[0043] Step S200: determining whether the relay drive circuit is abnormal according to the first enable signal En and the collected signal.
[0044] Figure 3 The signal torsion diagram of the relay drive circuit provided in this embodiment during diagnosis. Figure 3 As shown, in this embodiment, the processing module 10 is disabled by default, that is, after each power-on of the processing module 10, the first enabling signal En is outputted by default, which is invalid. Based on this, step S100 is executed, after each power-on of the processing module 10, the delay signal Delay is first collected; after collecting the delay signal Delay, the processing module 10 can output the valid first enabling signal En, and then collect the delay signal Delay.
[0045] It should be understood that the processing module 10 can also be enabled by default, that is, after each power-on of the processing module 10, the first enabling signal En is outputted by default as valid. Based on this, after each power-on of the processing module 10, the delay signal Delay is first collected; after collecting the delay signal Delay, the processing module 10 outputs the invalid first enabling signal En, and then collects the delay signal Delay.
[0046] In this embodiment, the delay signal Delay is collected when the first enable signal En is invalid and valid, but it should not be limited to this. The delay signal Delay can also be collected only when the first enable signal En is valid, or the delay signal Delay can be collected only when the first enable signal En is invalid. For example, the processing module 10 is not enabled by default. When the processing module 10 is powered on each time, the delay signal Delay is not collected first. After the processing module 10 outputs the valid first enable signal En, the delay signal Delay is collected again. At this time, the delay signal Delay is collected only when the first enable signal En is valid.
[0047] Next, step S200 is performed to determine whether the relay drive circuit is abnormal according to the first enable signal En and the delay signal Delay. Specifically, when the first enable signal En and the delay signal Delay are both valid or invalid, the delay module 20 is determined to be normal; when the first enable signal En is invalid and the delay signal Delay is valid, the relay 40 is determined to be adhered and closed, and the delay module 20 is abnormal; when the first enable signal En is valid and the delay signal Delay is invalid, the relay 40 is determined to be adhered and disconnected, and the delay module 20 is abnormal. In this way, it is possible to diagnose whether the delay module 20 is faulty.
[0048] Furthermore, the present embodiment is not limited to performing abnormal diagnosis by active triggering each time the processing module 10 is powered on, and abnormal diagnosis can also be performed in real time after the processing module 10 is powered on, thereby improving the timeliness of detection. Specifically, after the processing module 10 is powered on, the delay signal Delay is collected in real time, and then the relay drive circuit is judged in real time based on the first enable signal En and the delay signal Delay whether it is abnormal.
[0049] Based on this, this embodiment also provides an abnormality diagnosis system for a relay drive circuit. Figure 4 This is a structural block diagram of the abnormality diagnosis system of the relay drive circuit provided in this embodiment. Figure 3 and Figure 4 As shown, the abnormality diagnosis system of the relay drive circuit includes:
[0050] A collection module 50, used for collecting the delay signal Delay and / or the driving signal Vout;
[0051] The judging module 60 is used to judge whether the relay driving circuit is abnormal according to the first enabling signal En and the collected signal.
[0052] Embodiment 2
[0053] Figure 5 The signal torsion diagram of the relay drive circuit provided in this embodiment during diagnosis. Figure 5 As shown, the difference from the first embodiment is that in this embodiment, after the processing module 10 is powered on each time, it collects the driving signal Vout and determines whether the relay driving circuit is abnormal according to the driving signal Vout.
[0054] Specifically, in this embodiment, the processing module 10 is disabled by default, that is, after each power-on of the processing module 10, the first enabling signal En is outputted by default, which is invalid. Based on this, step S100 is executed, after each power-on of the processing module 10, the driving signal Vout is first collected; after collecting the driving signal Vout, the processing module 10 outputs the valid first enabling signal En, and then collects the driving signal Vout.
[0055] It should be understood that the processing module 10 may also be enabled by default, that is, after each power-on of the processing module 10, the first enabling signal En is outputted by default as being valid. Based on this, after each power-on of the processing module 10, the driving signal Vout is first collected; after collecting the driving signal Vout, the processing module 10 outputs the first enabling signal En as being invalid, and then collects the driving signal Vout.
[0056] In this embodiment, the drive signal Vout is collected when the first enable signal En is invalid and valid, but it should not be limited to this. The drive signal Vout can also be collected only when the first enable signal En is valid, or the drive signal Vout can be collected only when the first enable signal En is invalid. For example, the processing module 10 is not enabled by default. When the processing module 10 is powered on each time, the drive signal Vout is not collected first. After the processing module 10 outputs the valid first enable signal En, the drive signal Vout is collected again. At this time, the drive signal Vout is collected only when the first enable signal En is valid.
[0057] Next, step S200 is performed to determine whether the relay drive circuit is abnormal according to the first enable signal En and the drive signal Vout. Specifically, when the first enable signal En is valid and the drive signal Vout is greater than or equal to the predetermined value, it is determined that the delay module 20 and the relay drive module 30 are both normal; when the first enable signal En is invalid and the drive signal Vout is less than the predetermined value, it is determined that the delay module 20 and the relay drive module 30 are both normal; when the first enable signal En is valid and the drive signal Vout is less than the predetermined value, it is determined that the relay 40 is adhered and disconnected, and at least one of the delay module 20 and the relay drive module 30 is abnormal; when the first enable signal En is invalid and the drive signal Vout is greater than or equal to the predetermined value, it is determined that the relay 40 is adhered and closed, and at least one of the delay module 20 and the relay drive module 30 is abnormal. In this way, it can be diagnosed whether at least one of the delay module 20 and the relay drive module 30 has a fault.
[0058] Furthermore, the present embodiment is not limited to performing abnormal diagnosis by active triggering each time the processing module 10 is powered on, and abnormal diagnosis can also be performed in real time after the processing module 10 is powered on, thereby improving the timeliness of detection. Specifically, after the processing module 10 is powered on, the drive signal Vout is collected in real time, and then the relay drive circuit is judged in real time based on the first enable signal En and the drive signal Vout whether it is abnormal.
[0059] Embodiment 3
[0060] Figure 6 The signal torsion diagram of the relay drive circuit provided in this embodiment during diagnosis. Figure 6 As shown, the difference from Embodiment 1 and Embodiment 2 is that, in this embodiment, after the processing module 10 is powered on each time, it collects the delay signal Delay and the drive signal Vout, and determines whether the relay drive circuit is abnormal based on the delay signal Delay and the drive signal Vout.
[0061] Specifically, in this embodiment, the processing module 10 is disabled by default, that is, after each power-on of the processing module 10, the first enabling signal En is outputted by default, which is invalid. Based on this, step S100 is executed, after each power-on of the processing module 10, the delay signal Delay and the drive signal Vout are first collected; after collecting the delay signal Delay and the drive signal Vout, the processing module 10 outputs the valid first enabling signal En, and then collects the delay signal Delay and the drive signal Vout.
[0062] It should be understood that the processing module 10 can also be enabled by default, that is, after each power-on of the processing module 10, the first enabling signal En is outputted by default as being valid. After each power-on of the processing module 10, the delay signal Delay and the drive signal Vout are first collected; after collecting the delay signal Delay and the drive signal Vout, the processing module 10 outputs the invalid first enabling signal En, and then collects the delay signal Delay and the drive signal Vout.
[0063] In this embodiment, the delay signal Delay and the drive signal Vout are collected when the first enable signal En is invalid and valid, but it should not be limited to this. The delay signal Delay and the drive signal Vout can also be collected only when the first enable signal En is valid, or the delay signal Delay and the drive signal Vout can be collected only when the first enable signal En is invalid. For example, the processing module 10 is not enabled by default. When the processing module 10 is powered on each time, the delay signal Delay and the drive signal Vout are not collected first. After the processing module 10 outputs the valid first enable signal En, the delay signal Delay and the drive signal Vout are collected again. At this time, the delay signal Delay and the drive signal Vout are collected only when the first enable signal En is valid.
[0064] Next, step S200 is performed to determine whether the relay drive circuit is abnormal according to the first enable signal En, the delay signal Delay and the drive signal Vout. Specifically, when the first enable signal En and the delay signal Delay are both valid or invalid, the delay module 20 is determined to be normal; when the first enable signal En is invalid and the delay signal Delay is valid, the relay 40 is determined to be adhered and closed, and the delay module 20 is abnormal; when the first enable signal En is valid and the delay signal Delay is invalid, the relay 40 is determined to be adhered and disconnected, and the delay module 20 is abnormal. When the first enable signal En is valid and the drive signal Vout is greater than or equal to the predetermined value, it is determined that the delay module 20 and the relay drive module 30 are both normal; when the first enable signal En is invalid and the drive signal Vout is less than the predetermined value, it is determined that the delay module 20 and the relay drive module 30 are both normal; when the first enable signal En is valid and the drive signal Vout is less than the predetermined value, it is determined that the relay 40 is adhered and disconnected, and at least one of the delay module 20 and the relay drive module 30 is abnormal; when the first enable signal En is invalid and the drive signal Vout is greater than or equal to the predetermined value, it is determined that the relay 40 is adhered and closed, and at least one of the delay module 20 and the relay drive module 30 is abnormal.
[0065] Since it can be determined whether the delay module 20 is abnormal according to the first enable signal En and the delay signal Delay, when it is determined that at least one of the delay module 20 and the relay drive module 30 is abnormal according to the first enable signal En and the drive signal Vout, if the delay module 20 is normal, then it can be determined that the relay drive module 30 is abnormal. Therefore, this embodiment can determine the location where the abnormality occurs in some cases.
[0066] Furthermore, the present embodiment is not limited to performing abnormal diagnosis by active triggering each time the processing module 10 is powered on, and abnormal diagnosis can also be performed in real time after the processing module 10 is powered on, thereby improving the timeliness of detection. Specifically, after the processing module 10 is powered on, the drive signal Vout and the drive signal Vout are collected in real time, and then the relay drive circuit is judged in real time based on the first enable signal En, the drive signal Vout and the drive signal Vout whether it is abnormal.
[0067] Embodiment 4
[0068] Figure 7 This is a structural block diagram of the relay drive circuit provided in this embodiment. Figure 7As shown, the difference from Embodiment 2 and Embodiment 3 is that, in this embodiment, the processing module 10 is also used to output a second enable signal En', and the relay drive circuit also includes an OR gate, which is connected between the delay module 20 and the relay drive module 30, and is used to perform OR calculation on the delay signal Delay and the second enable signal En', and output a logic signal Logic, and the relay drive module 30 outputs the drive signal Vout according to the logic signal Logic.
[0069] In this embodiment, the second enable signal En' is also a digital signal. According to the logic of the OR gate, when the second enable signal En' or the delay signal Delay is valid, the logic signal Logic output by the OR gate is also valid, and the relay drive module 30 will output the drive signal Vout with a voltage greater than or equal to the predetermined value according to the valid drive signal Vout.
[0070] Compared with the second and third embodiments, in this embodiment, when the processing module 10 performs abnormal diagnosis each time after being powered on, the second enable signal En' output by the processing module 10 is invalid; when the processing module 10 performs abnormal diagnosis in real time after being powered on, when the second enable signal En' is invalid, the delay signal Delay and / or the drive signal Vout can be collected in real time and whether the relay drive circuit is abnormal can be judged according to the delay signal Delay, the drive signal Vout and the first enable signal En; when the second enable signal En' is valid, only the delay signal Delay is collected in real time and whether the relay drive circuit is abnormal can be judged according to the delay signal Delay and the first enable signal En, thereby shielding the influence of the second enable signal En' on the drive signal Vout and preventing false detection.
[0071] Embodiment 5
[0072] Figure 8 This is a structural block diagram of the relay drive circuit provided in this embodiment. Figure 8 As shown, the difference from Example 1, Example 2, Example 3 and Example 4 is that, in this embodiment, the relay is a bilaterally controlled relay, and the delay module and the relay driving module each have two groups, which are respectively used to control the high side and the low side of the relay.
[0073] Specifically, the delay module includes a delay module 21 and a delay module 22, and the relay driving module includes a relay driving module 31 and a relay driving module 32. The delay module 21 and the delay module 22 are both connected to the output end of the processing module 10, and the processing module 10 outputs a first enable signal En1 and a first enable signal En2 to the delay module 21 and the delay module 22 respectively, and the delay module 21 and the delay module 22 output the delay signal Delay1 and the delay signal Delay2 respectively according to the first enable signal En1 and the first enable signal En2. The relay driving module 31 and the relay driving module 32 are respectively connected to the output ends of the delay module 21 and the delay module 22, and output the drive signal Vout1 and the drive signal Vout2 respectively according to the delay signal Delay1 and the delay signal Delay2. The drive signal Vout1 and the drive signal Vout2 are a set of differential signals, which respectively drive the high side and the low side of the relay 40.
[0074] Fig. 9 The signal torsion diagram of the relay drive circuit provided in this embodiment during diagnosis. Fig. 9 As shown, in this embodiment, the processing module 10 is disabled by default, that is, after each power-on of the processing module 10, the first enable signal En1 and the first enable signal En2 are outputted by default, which are invalid. Based on this, step S100 is executed, after each power-on of the processing module 10, the delay signal Delay1, the delay signal Delay2, the drive signal Vout1 and the drive signal Vout2 are first collected; after collecting the delay signal Delay1, the delay signal Delay2, the drive signal Vout1 and the drive signal Vout2, the processing module 10 keeps the first enable signal En1 invalid, and outputs the valid first enable signal En2, and then collects the delay signal Delay2 and the drive signal Vout2; after collecting the delay signal Delay2 and the drive signal Vout2, the processing module 10 outputs the valid first enable signal En1, keeps the first enable signal En2 invalid, and then collects the delay signal Delay1 and the drive signal Vout1. That is, each time the processing module 10 performs abnormality diagnosis by active triggering after being powered on, the high side and the low side are triggered separately, and the first enable signal En1 and the first enable signal En2 are not valid at the same time.
[0075] Of course, after the processing module 10 is powered on each time, and after collecting the delay signal Delay1, the delay signal Delay2, the drive signal Vout1 and the drive signal Vout2, the processing module 10 may first keep the first enable signal En2 invalid, and output the valid first enable signal En1, and then collect the delay signal Delay1 and the drive signal Vout1; after collecting the delay signal Delay1 and the drive signal Vout1, the processing module 10 outputs the valid first enable signal En2, and keeps the first enable signal En1 invalid, and then collects the delay signal Delay2 and the drive signal Vout2. The order of collecting signals does not affect the implementation of the present invention.
[0076] In this embodiment, the delay signal Delay1 and the drive signal Vout1 are collected when the first enable signal En1 is valid and invalid, and the delay signal Delay2 and the drive signal Vout2 are collected when the first enable signal En2 is valid or invalid, but it should not be limited to this. The delay signal Delay1 and the drive signal Vout1 may be collected only when the first enable signal En1 is valid, and the delay signal Delay2 and the drive signal Vout2 may be collected only when the first enable signal En2 is valid; or the delay signal Delay1 and the drive signal Vout1 may be collected only when the first enable signal En1 is invalid, and the delay signal Delay2 and the drive signal Vout2 may be collected only when the first enable signal En2 is invalid. For example, the processing module 10 is not enabled by default. Each time the processing module 10 is powered on, the delay signal Delay1, the delay signal Delay2, the drive signal Vout1 and the drive signal Vout2 are not collected first. After the processing module 10 outputs a valid first enable signal En1 and an invalid first enable signal En2, the delay signal Delay1 and the drive signal Vout1 are collected; after the processing module 10 outputs a valid first enable signal En2 and an invalid first enable signal En1, the delay signal Delay2 and the drive signal Vout2 are collected.
[0077] Next, step S200 is performed to determine whether the high-side control path of the relay drive circuit is abnormal according to the first enable signal En1, the delay signal Delay1 and the drive signal Vout1, and to determine whether the low-side control path of the relay drive circuit is abnormal according to the first enable signal En2, the delay signal Delay2 and the drive signal Vout2. Combining the two determination results, it can be determined whether the relay drive circuit is abnormal.
[0078] Specifically, when the first enable signal En1 and the delay signal Delay1 are both valid or invalid, the delay module 21 is determined to be normal; when the first enable signal En1 is invalid and the delay signal Delay1 is valid, the relay 40 is determined to be stuck and closed, and the delay module 21 is abnormal; when the first enable signal En1 is valid and the delay signal Delay1 is invalid, the relay 40 is determined to be stuck and disconnected, and the delay module 21 is abnormal. Similarly, when the first enable signal En2 and the delay signal Delay2 are both valid or invalid, the delay module 22 is determined to be normal; when the first enable signal En2 is invalid and the delay signal Delay2 is valid, the relay 40 is determined to be stuck and closed, and the delay module 22 is abnormal; when the first enable signal En2 is valid and the delay signal Delay2 is invalid, the relay 40 is determined to be stuck and disconnected, and the delay module 22 is abnormal. It can be seen that whether the delay module 21 is abnormal can be determined according to the first enable signal En1 and the delay signal Delay1, and whether the delay module 22 is abnormal can be determined according to the first enable signal En2 and the delay signal Delay2.
[0079] When the first enable signal En1 is valid and the drive signal Vout1 is greater than or equal to the predetermined value, it is determined that the delay module 21 and the relay drive module 31 are both normal; when the first enable signal En1 is invalid and the drive signal Vout1 is less than the predetermined value, it is determined that the delay module 21 and the relay drive module 31 are both normal; when the first enable signal En1 is valid and the drive signal Vout1 is less than the predetermined value, it is determined that the relay 40 is stuck and disconnected, and at least one of the delay module 21 and the relay drive module 31 is abnormal; when the first enable signal En1 is invalid and the drive signal Vout1 is greater than or equal to the predetermined value, it is determined that the relay 40 is stuck and closed, and at least one of the delay module 21 and the relay drive module 31 is abnormal. Similarly, when the first enable signal En2 is valid and the drive signal Vout2 is greater than or equal to the predetermined value, it is determined that the delay module 22 and the relay drive module 32 are both normal; when the first enable signal En2 is invalid and the drive signal Vout2 is less than the predetermined value, it is determined that the delay module 22 and the relay drive module 32 are both normal; when the first enable signal En2 is valid and the drive signal Vout2 is less than the predetermined value, it is determined that the relay 40 is stuck and disconnected, and at least one of the delay module 22 and the relay drive module 32 is abnormal; when the first enable signal En2 is invalid and the drive signal Vout2 is greater than or equal to the predetermined value, it is determined that the relay 40 is stuck and closed, and at least one of the delay module 22 and the relay drive module 32 is abnormal.
[0080] In this embodiment, when comparing the voltage of the driving signal with the predetermined value, only the value of the voltage is considered, and the positive or negative sign of the voltage is not considered.
[0081] Since it is possible to determine whether the delay module 21 is abnormal according to the first enable signal En1 and the delay signal Delay1, and it is possible to determine whether the delay module 22 is abnormal according to the first enable signal En2 and the delay signal Delay2. When it is determined that at least one of the delay module 21 and the relay drive module 31 is abnormal according to the first enable signal En1 and the drive signal Vout1, if the delay module 21 is normal, then it can be determined that the relay drive module 31 is abnormal. When it is determined that at least one of the delay module 22 and the relay drive module 32 is abnormal according to the first enable signal En2 and the drive signal Vout2, if the delay module 22 is normal, then it can be determined that the relay drive module 32 is abnormal. Therefore, the present embodiment can determine the location where the abnormality occurs in some cases.
[0082] Furthermore, the present embodiment is not limited to performing abnormal diagnosis after each power-on of the processing module 10, and abnormal diagnosis can also be performed in real time after the processing module 10 is powered on, thereby improving the timeliness of detection. Specifically, after the processing module 10 is powered on, the delay signal Delay1, the delay signal Delay2, the drive signal Vout1 and the drive signal Vout2 are collected in real time, and then the high-side path of the relay drive circuit is judged to be abnormal in real time according to the first enable signal En1, the delay signal Delay1 and the drive signal Vout1, and the low-side path of the relay drive circuit is judged to be abnormal in real time according to the first enable signal En2, the delay signal Delay2 and the drive signal Vout2.
[0083] In summary, in the abnormality diagnosis method and system of the relay drive circuit provided by the embodiment of the present invention, the relay drive circuit includes a processing module, a delay module and a relay drive module connected in sequence, the processing module is used to output a first enable signal, the delay module outputs a delay signal according to the first enable signal, and the relay drive module outputs a drive signal according to the delay signal to control the on and off of the relay. The present invention can determine whether the relay drive circuit is abnormal by collecting the delay signal and / or the drive signal and according to the first enable signal and the collected signal. The diagnostic method is simple and reliable, does not require additional circuits and components, and has lower cost.
[0084] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0085] It should also be noted that, although the present invention has been disclosed as a preferred embodiment, the above embodiment is not intended to limit the present invention. For any technician familiar with the art, without departing from the scope of the technical solution of the present invention, the technical content disclosed above can be used to make many possible changes and modifications to the technical solution of the present invention, or modified into equivalent embodiments of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.
[0086] It should also be understood that, unless otherwise specified or indicated, the terms "first", "second", "third", etc. in the specification are merely used to distinguish between the various components, elements, steps, etc. in the specification, and are not used to indicate the logical relationship or sequential relationship between the various components, elements, steps, etc.
[0087] It should also be recognized that the terms described herein are only used to describe specific embodiments and are not intended to limit the scope of the invention. It should be noted that the singular forms "a" and "an" used herein and in the appended claims include plural references unless the context clearly indicates otherwise. For example, a reference to "a step" or "a device" means a reference to one or more steps or devices, and may include secondary steps and secondary devices. All conjunctions used should be understood in the broadest sense. And, the word "or" should be understood to have the definition of a logical "or", rather than a logical "exclusive or", unless the context clearly indicates otherwise. In addition, the implementation of the method and / or device in the embodiments of the present invention may include performing the selected task manually, automatically, or in combination.
Claims
1. A method for diagnosing abnormality of a relay drive circuit, wherein the relay drive circuit comprises a processing module, a delay module and a relay drive module connected in sequence, wherein the processing module is used to output a first enable signal, the delay module outputs a delay signal according to the first enable signal, and the relay drive module outputs a drive signal according to the delay signal to control the on and off of the relay, characterized in that: The method comprises: collecting the delay signal and / or the drive signal; and, Determine whether the relay drive circuit is abnormal according to the first enable signal and the collected signal, and determine whether the delay module is abnormal according to whether the first enable signal and the collected delay signal are valid; When the first enable signal and the delay signal are both valid or invalid, the delay module is determined to be normal; when the first enable signal is invalid and the delay signal is valid, the delay module is determined to be abnormal; when the first enable signal is valid and the delay signal is invalid, the delay module is determined to be abnormal; When the first enable signal is valid and the voltage of the drive signal is less than a predetermined value, at least one of the delay module and the relay drive module is determined to be abnormal; when the first enable signal is invalid and the voltage of the drive signal is greater than or equal to the predetermined value, at least one of the delay module and the relay drive module is determined to be abnormal; when at least one of the delay module and the relay drive module is determined to be abnormal, if the delay module is normal, the relay drive module is determined to be abnormal, thereby determining the location where the abnormality occurs.
2. The abnormality diagnosis method of the relay drive circuit according to claim 1, characterized in that: The first enable signal and the delay signal are both digital signals, and the drive signal is an analog signal.
3. The abnormality diagnosis method of the relay drive circuit according to claim 1 or 2, characterized in that: When the first enable signal is valid and the voltage of the drive signal is greater than or equal to a predetermined value, it is determined that the delay module and the relay drive module are both normal; when the first enable signal is invalid and the voltage of the drive signal is less than the predetermined value, it is determined that the delay module and the relay drive module are both normal.
4. The abnormality diagnosis method of the relay drive circuit according to claim 1, characterized in that: Each time the processing module is powered on, it immediately outputs a valid and / or invalid first enable signal, and collects the delay signal and / or the drive signal to determine whether the relay drive circuit is abnormal; and / or, after the processing module is powered on, it collects the delay signal and / or the drive signal in real time to determine whether the relay drive circuit is abnormal.
5. The abnormality diagnosis method of the relay drive circuit according to claim 1, characterized in that: The processing module is further configured to output a second enabling signal, and the relay driving circuit further comprises: An OR gate is connected between the delay module and the relay drive module, and is used to perform OR calculation on the delay signal and the second enable signal, and output a logic signal. The relay drive module outputs the drive signal according to the logic signal.
6. The abnormality diagnosis method of the relay drive circuit according to claim 5, characterized in that: Each time the processing module is powered on, it immediately outputs a valid and / or invalid first enable signal and an invalid second enable signal, and collects the delay signal and / or the drive signal to determine whether the relay drive circuit is abnormal; and / or, after the processing module is powered on, when the second enable signal is valid, the delay signal is collected in real time to determine whether the relay drive circuit is abnormal, and when the second enable signal is invalid, the delay signal and / or the drive signal is collected in real time to determine whether the relay drive circuit is abnormal.
7. The abnormality diagnosis method of the relay drive circuit according to claim 4 or 6, characterized in that: The relay is a bilaterally controlled relay, and the delay module and the relay driving module each have two groups, which are respectively used to control the high side and the low side of the relay. Each time the processing module is powered on, when it immediately outputs a valid and / or invalid first enable signal, it outputs one first enable signal to each of the two delay modules, and the two first enable signals are not valid at the same time.
8. The abnormality diagnosis method of the relay drive circuit according to claim 1, characterized in that: The relay is a unilaterally controlled relay.
9. An abnormality diagnosis system for a relay drive circuit, the relay drive circuit comprising a processing module, a delay module and a relay drive module connected in sequence, the processing module is used to output a first enable signal, the delay module outputs a delay signal according to the first enable signal, and the relay drive module outputs a drive signal according to the delay signal to control the on and off of the relay, characterized in that: The system comprises: An acquisition module, used for acquiring the delay signal and / or the drive signal; A judgment module, used for judging whether the relay drive circuit is abnormal according to the first enable signal and the collected signal, and judging whether the delay module is abnormal according to whether the first enable signal and the collected delay signal are valid; When the first enable signal and the delay signal are both valid or invalid, the delay module is determined to be normal; when the first enable signal is invalid and the delay signal is valid, the delay module is determined to be abnormal; when the first enable signal is valid and the delay signal is invalid, the delay module is determined to be abnormal; When the first enable signal is valid and the voltage of the drive signal is less than a predetermined value, at least one of the delay module and the relay drive module is determined to be abnormal; when the first enable signal is invalid and the voltage of the drive signal is greater than or equal to the predetermined value, at least one of the delay module and the relay drive module is determined to be abnormal; when at least one of the delay module and the relay drive module is determined to be abnormal, if the delay module is normal, the relay drive module is determined to be abnormal, thereby determining the location where the abnormality occurs.
Citation Information
Patent Citations
Distribution network fault location and islanding method based on DG access
CN105207178A
Fault self-diagnosis method and device for sewage treatment system
CN106094792A
Device and method of mega-kilowatt class nuclear power plant delay relay fault diagnosis
CN106483456A
Detection circuit and method for power failure time delay circuit, power failure time delay device, and electric appliance
CN107037351A
Relay diagnosis method and system
CN107991603A
