Detection circuit, relay detection system and relay detection method
By designing and detecting circuits in the low -voltage insulation test equipment, the voltage signal and timing difference are judged to determine the failure of the relay, solving the problem of inadequate performance detection of existing technical relay, and improved the safety and reliability of the system.
Patent Information
- Application Number
- CN202411351197.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-09-26
AI Technical Summary
In the prior art, there are many relay switching boards installed in low-voltage insulation testing equipment, and each relay switching board includes multiple relays, resulting in inaccurate detection of relay performance and affecting the stability of normal operation of the equipment.
A detection circuit is designed, including a processing module, a timing module and a detection module. By detecting the voltage signal and timing difference when the relay's coil is powered on or off, it can determine whether the relay is faulty and prevent the islanding effect through the current detection signal.
Improve the detection accuracy of relay status, ensure the safety and reliability of the system, and avoid system shutdown or accident caused by the failure of relay.
Smart Images

Figure CN118858933B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of relay detection, and in particular to a detection circuit, a relay detection system and a relay detection method. Background Art
[0002] Low-voltage insulation test equipment is a key test equipment in the battery production process, used to detect the insulation performance of battery components and connecting parts to prevent safety hazards such as current leakage and short circuit. Among them, the relay switching board is a key component in the low-voltage insulation test equipment, which can quickly and accurately switch different test channels or circuits according to test requirements, thereby improving test efficiency and accuracy.
[0003] In the related art, since there are a large number of relay switching boards installed in the low-voltage insulation test equipment, and each relay switching board includes multiple relays, the existing relay detection scheme is not comprehensive, resulting in inaccurate relay performance detection, which in turn affects the stability of normal operation of the equipment. Summary of the invention
[0004] The present application proposes a detection circuit, a relay detection system and a relay detection method, which can accurately determine whether a relay is faulty, thereby improving the safety and reliability of the system.
[0005] The technical solution of this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a detection circuit, the detection circuit includes a processing module, a timing module and a detection module, the timing module and the detection module are respectively connected to the processing module; wherein:
[0007] The detection module is configured to feed back a first voltage signal to the processing module and start timing based on the timing module when the coil of the relay to be tested is energized or de-energized;
[0008] The detection module is further configured to feed back to the processing module a first sub-voltage signal corresponding to the first end of the contact switch of the relay to be tested and a second sub-voltage signal corresponding to the second end of the contact switch of the relay to be tested; wherein the first end of the contact switch is connected to the input interface, and the second end of the contact switch is connected to the output interface;
[0009] The processing module is configured to stop timing based on the timing module when the voltage difference between the first sub-voltage signal and the second sub-voltage signal meets a preset difference range; and determine that the relay to be tested has a fault when the timing difference corresponding to the timing module is greater than a preset time range;
[0010] The detection module includes a third detection module, which is connected between the input interface and the first end of the contact switch, wherein: the third detection module is configured to detect the current between the input interface and the first end of the contact switch, generate a current detection signal, and send the current detection signal to the processing module; the processing module is also configured to control the contact switch of the relay to be tested to disconnect when the change amplitude of the current detection signal is greater than a preset current change range.
[0011] Through the above-mentioned technical means, when the coil of the relay to be tested is energized or de-energized, the detection module feeds back a first voltage signal to the processing module and starts the timing module for timing. When the voltage difference between the first sub-voltage signal and the second sub-voltage signal fed back by the detection module to the processing module meets the preset difference range, the timing of the timing module is stopped, and it is determined whether the timing difference corresponding to the timing module is greater than the preset time range, so as to determine whether the relay to be tested is faulty. In this way, when the state of the contact switch of the relay is switched, whether the contact switch of the relay is closed or opened is determined according to the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) on both sides of the contact switch of the relay, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay is faulty, thereby improving the safety and reliability of the system; in addition, the third detection module is connected between the input interface and the first end of the contact switch, and at this time, the voltage signal of the input interface can be converted into a current signal and a current detection signal can be generated, so that by detecting the voltage signal of the input interface, when the input voltage is suddenly cut off, the contact switch can be controlled to be disconnected in time, which can effectively prevent the islanding effect caused by the fluctuation of the power grid, thereby avoiding the serious fault of the load end caused by the islanding effect, improving the safety and reliability of the system, and when the change amplitude of the current detection signal is greater than the preset current change range, it is determined that the signal input by the power grid is abnormal, and only then will the contact switch of the relay to be tested be disconnected, avoiding the misjudgment caused by the fluctuation of the current detection signal and causing the circuit to fail to operate normally, thereby improving the accuracy of the judgment.
[0012] In some embodiments, the detection module also includes a first detection module and a second detection module, wherein: the first detection module and the second detection module are respectively connected to the processing module, and the first detection module is connected between the input interface and the first end of the contact switch, and the second detection module is connected between the second end of the contact switch and the output interface; the first detection module is configured to perform voltage detection on the first end of the contact switch to generate a first sub-voltage signal; the second detection module is configured to perform voltage detection on the second end of the contact switch to generate a second sub-voltage signal.
[0013] Through the above-mentioned technical means, the first detection module is connected between the input interface and the first end of the contact switch, and the first sub-voltage signal of the contact switch (i.e., the front-stage voltage signal) can be detected at this time; the second detection module is connected between the second end of the contact switch and the output interface, and the second sub-voltage signal of the contact switch (i.e., the rear-stage voltage signal) can be detected at this time. In this way, by judging through the front and rear-stage voltage signals of the contact switch, it is possible to accurately determine whether the contact switch is open or closed, thereby improving the detection accuracy of the relay state, which is conducive to accurately judging whether the relay is faulty.
[0014] In some embodiments, the detection circuit also includes a counting module, wherein: the counting module is configured to add one to the number of switch switching times of the relay to be tested when the processing module detects that the contact switch of the relay to be tested is closed or opened; the processing module is also configured to determine that there is a fault in the relay to be tested when the number of switch switching times is greater than a preset number threshold.
[0015] Through the above technical means, by detecting the number of switching times of the relay to be tested, the stable operation of the relay to be tested in the system can be ensured, and relay failure due to excessive switching times can be avoided, thereby avoiding system shutdown or accidents caused by relay failure, thereby improving the safety of the system.
[0016] In some embodiments, the detection circuit further includes an alarm module, which is connected to the processing module, wherein the processing module is further configured to control the alarm module to sound an alarm when it is determined that a fault exists in the relay to be tested.
[0017] Through the above technical means, when a fault occurs in the relay to be tested, an alarm is sounded by controlling the alarm module, so that the faulty relay can be quickly located, which is convenient for maintenance personnel to quickly identify the faulty relay and avoid maintenance personnel to check one by one, thus simplifying the process and time of troubleshooting; and the alarm can also prompt maintenance personnel to shut down for maintenance, thereby preventing more serious damage or accidents.
[0018] In some embodiments, the alarm module further includes an indicator light, wherein: the alarm module is configured to control the indicator light to light up red when it is determined that the relay to be tested has a fault.
[0019] Through the above technical means, when it is determined that the relay to be tested has a fault, the indicator light can be controlled to light up red. In this way, different colors of lights of the indicator light can be used to indicate whether the relay is faulty (for example, red indicates a fault, and green indicates no fault). This can help maintenance personnel quickly locate the faulty relay, simplifying the process and time of troubleshooting; and the alarm can also prompt maintenance personnel to shut down for maintenance, thereby preventing more serious damage or accidents.
[0020] In some embodiments, the detection circuit also includes a protection device, which is located between the input interface and the detection module and close to the input interface, wherein: the protection device is configured to disconnect the protection device when the voltage at the input interface is higher than a preset voltage upper limit value, so as to disconnect the input interface from the channel where the relay to be tested is located.
[0021] Through the above technical means, when the voltage at the input interface is higher than the preset voltage upper limit, the protection device can control the input interface to be disconnected from the channel where the relay to be tested is located, thereby avoiding damage to the relay to be tested caused by high-voltage shock, thereby improving the reliability of the detection circuit.
[0022] In a second aspect, an embodiment of the present application provides a relay detection system, which includes at least one relay and at least one detection circuit as described in any one of the first aspects, wherein each relay is connected to a corresponding detection circuit.
[0023] Through the above-mentioned technical means, since the relay detection system includes a detection circuit, when the state of the contact switch of the relay is switched, it is determined whether the contact switch of the relay is closed or open according to the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) on both sides of the contact switch of the relay, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay is faulty, thereby improving the safety and reliability of the system.
[0024] In a third aspect, an embodiment of the present application provides a relay detection method, the relay detection method comprising:
[0025] When the coil of the relay to be tested is powered on or off, the detection module feeds back a first voltage signal to the processing module and starts timing based on the timing module;
[0026] The detection module feeds back to the processing module a first sub-voltage signal corresponding to the first end of the contact switch of the relay to be tested and a second sub-voltage signal corresponding to the second end of the contact switch of the relay to be tested; wherein the first end of the contact switch is connected to the input interface, and the second end of the contact switch is connected to the output interface;
[0027] The processing module stops timing based on the timing module when the voltage difference between the first sub-voltage signal and the second sub-voltage signal meets the preset difference range; and determines that the relay to be tested has a fault when the timing difference corresponding to the timing module is greater than the preset time range.
[0028] Through the above technical means, the relay detection method is applied to the relay detection system. When the coil of the relay to be tested is powered on or off, the detection module feeds back the first voltage signal to the processing module and starts the timing module for timing. When the voltage difference between the first sub-voltage signal and the second sub-voltage signal fed back by the detection module to the processing module meets the preset difference range, the timing of the timing module is stopped, and it is determined whether the timing difference corresponding to the timing module is greater than the preset time range, so as to determine whether the relay to be tested has a fault. In this way, when the state of the contact switch of the relay is switched, the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) on both sides of the contact switch of the relay are used to determine whether the contact switch of the relay is closed or opened, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay has a fault, thereby improving the safety and reliability of the system.
[0029] In some embodiments, when the coil of the relay to be tested is energized, the relay detection method also includes: when the voltage difference between the first sub-voltage signal and the second sub-voltage signal satisfies a first preset difference range, the processing module stops timing based on the timing module; and when the timing difference corresponding to the timing module is greater than the pull-in time range, it is determined that the relay to be tested has a closing fault.
[0030] Through the above-mentioned technical means, when the coil of the relay to be tested is energized, detection is performed through the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) of the contact switch. In this way, by judging through the front and rear stage voltage signals of the contact switch, it is possible to accurately determine whether the contact switch is closed, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay has a closing fault, thereby improving the safety and reliability of the system.
[0031] In some embodiments, when the coil of the relay to be tested is de-energized, the relay detection method further includes: when the voltage difference between the first sub-voltage signal and the second sub-voltage signal satisfies a second preset difference range, the processing module stops timing based on the timing module; and when the timing difference corresponding to the timing module is greater than the disconnection time range, it is determined that the relay to be tested has a shutdown fault.
[0032] Through the above-mentioned technical means, when the coil of the relay to be tested is energized, detection is performed through the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) of the contact switch. In this way, by judging through the front and rear stage voltage signals of the contact switch, it is possible to accurately determine whether the contact switch is closed, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay has a shutdown fault, thereby improving the safety and reliability of the system.
[0033] In some embodiments, the relay detection method also includes: a third detection module detects the circuit between the input interface and the first end of the contact switch, generates a current detection signal, and sends the current detection signal to a processing module; when the change amplitude of the current detection signal is greater than a preset current change range, the processing module controls the contact switch of the relay to be tested to disconnect.
[0034] Through the above-mentioned technical means, the third detection module is connected between the input interface and the first end of the contact switch. At this time, the voltage signal of the input interface can be converted into a current signal and a current detection signal can be generated, and the contact switch of the relay to be tested can be controlled to disconnect when the change amplitude of the current detection signal is greater than the preset current change range; in this way, by detecting the voltage signal of the input interface, when the input voltage is suddenly cut off, the contact switch can be controlled to disconnect in time, which can effectively prevent the islanding effect caused by power grid fluctuation tripping, thereby avoiding serious faults at the load end caused by the islanding effect, thereby improving the safety and reliability of the system.
[0035] In some embodiments, when the processing module determines that the voltage difference between the first sub-voltage signal and the second sub-voltage signal does not satisfy a preset difference range, the relay detection method further includes: when the processing module detects that the contact switch is closed or disconnected, the counting module adds one to the number of switch switching times of the relay to be tested; when the number of switch switching times is greater than a preset number threshold, the processing module determines that there is a fault in the relay to be tested.
[0036] Through the above technical means, by detecting the number of switching times of the relay to be tested, the stable operation of the relay to be tested in the system can be ensured, and relay failure due to excessive switching times can be avoided, thereby avoiding system shutdown or accidents caused by relay failure, thereby improving the safety of the system.
[0037] In some embodiments, the relay detection method further includes: when the processing module determines that the relay to be tested has a fault, the processing module controls the alarm module to sound an alarm.
[0038] Through the above technical means, when a fault occurs in the relay to be tested, the alarm is sounded by controlling the alarm module, so that the faulty relay can be quickly located, which is convenient for maintenance personnel to identify the faulty relay and avoid maintenance personnel to check one by one, thus simplifying the process and time of troubleshooting; and the alarm can also prompt maintenance personnel to shut down for maintenance, thereby preventing more serious damage or accidents.
[0039] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1A schematic diagram of the structure of a detection circuit provided in an embodiment of the present application Figure 1 ;
[0041] Figure 2 A schematic diagram of the structure of a detection circuit provided in an embodiment of the present application Figure 2 ;
[0042] Figure 3 A schematic diagram of the structure of a detection circuit provided in an embodiment of the present application Figure 3 ;
[0043] Figure 4 A schematic diagram of an application architecture of a detection circuit provided in an embodiment of the present application;
[0044] Figure 5 A schematic diagram of the structure of a relay detection system provided in an embodiment of the present application;
[0045] Figure 6 A schematic diagram of a relay detection method provided in an embodiment of the present application Figure 1 ;
[0046] Figure 7 A schematic diagram of a relay detection method provided in an embodiment of the present application Figure 2 ;
[0047] Figure 8 A detailed flowchart of a relay detection method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present application.
[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0050] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0051] It should also be pointed out that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0052] In addition, the reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0053] It can be understood that a microcontroller unit (MCU), also known as a single-chip microcomputer, is a small computer integrated on a circuit chip. It includes a central processing unit (CPU), memory (RAM and ROM), timer / counter, multiple I / O (input / output) interfaces and interrupt systems, timer / counter and other functional modules, and may also include display drive circuits, pulse width modulation circuits, analog multiplexers, A / D converters and other circuits. These circuits are integrated together to form a powerful and flexible microcomputer system.
[0054] Direct current (DC-DC) converter converts the input voltage into the required stable voltage through the DC-DC converter.
[0055] Low Dropout Regulaor (LDO) converts high voltage input into a stable low voltage output.
[0056] The isolated power supply provides independent power supply through electrical isolation to cut off the circuit connection between each part, thereby protecting the detection circuit.
[0057] New energy batteries are being used more and more widely in life and industry. For example, new energy vehicles equipped with batteries have been widely used. In addition, batteries are also being increasingly used in areas such as energy storage.
[0058] At present, new energy batteries are increasingly used in life and industry. New energy batteries are not only used in energy storage power systems such as hydropower, thermal power, wind power and solar power stations, but are also widely used in electric vehicles such as electric bicycles, electric motorcycles, electric cars, as well as aerospace and other fields. With the continuous expansion of the application field of power batteries, the market demand is also constantly expanding.
[0059] In the embodiments of the present application, the battery may be a battery cell. A battery cell refers to a basic unit that can realize the mutual conversion between chemical energy and electrical energy, and can be used to make a battery module or a battery pack, so as to supply power to an electrical device. A battery cell may be a secondary battery, which refers to a battery cell that can be continuously used by activating the active material by charging after the battery cell is discharged. The battery cell may be a lithium-ion battery, a sodium-ion battery, a sodium-lithium-ion battery, a lithium metal battery, a sodium metal battery, a lithium-sulfur battery, a magnesium-ion battery, a nickel-hydrogen battery, a nickel-cadmium battery, a lead-acid battery, etc., and the embodiments of the present disclosure are not limited to this.
[0060] In the embodiment of the present application, the battery may also be a single physical module including one or more battery cells to provide higher voltage and capacity. When there are multiple battery cells, the multiple battery cells are connected in series, in parallel or in hybrid connection through a busbar component.
[0061] It can also be understood that low-voltage insulation test equipment is usually called low-voltage insulation withstand voltage test equipment, which is an important tool for detecting the insulation performance of low-voltage electrical equipment. This type of equipment measures the insulation resistance, leakage current and other parameters of electrical equipment by applying a specific voltage or current to evaluate whether its insulation condition is good, thereby ensuring that the equipment will not have leakage, short circuit and other safety hazards during normal operation. Among them, low-voltage insulation test equipment plays a vital role in lithium battery production. It can not only ensure that the insulation performance of lithium batteries meets the standards and prevent safety hazards, but also support production process optimization and promote sustainable development.
[0062] The relay switching board is a key component in low-voltage insulation test equipment. It is mainly used to realize the automatic switching and control functions of the circuit. The relay switching board includes multiple relays, and the number of relays varies according to the specific design and functional requirements to realize complex circuit switching and control functions. In other words, in the low-voltage insulation test equipment, the relay switching board is used to control the on-off and switching of the test circuit to ensure the accuracy and safety of the test process.
[0063] Among them, the performance of multiple relays in the relay switching board is usually tested to avoid low-voltage insulation test equipment failure caused by relay failure. If a circuit structure is added to the test channel or circuit where multiple relays are located, the measurement results of the low-voltage insulation test equipment will be inaccurate, thereby reducing the measurement accuracy of the low-voltage insulation test equipment.
[0064] In the related art, since there are a large number of relay switching boards installed in the low-voltage insulation test equipment, and each relay switching board includes multiple relays, the existing relay detection scheme is not comprehensive. For example, the life monitoring and prediction of the relay is only performed based on the number of times the relay is used, resulting in inaccurate relay performance detection, which in turn affects the stability of the normal operation of the equipment.
[0065] Based on this, the embodiment of the present application provides a detection circuit, which includes a processing module, a timing module and a detection module; wherein, when the coil of the relay to be tested is powered on or off, the detection module feeds back a first voltage signal to the processing module and starts the timing module for timing, and when the voltage difference between the first sub-voltage signal and the second sub-voltage signal fed back by the detection module to the processing module meets the preset difference range, the timing of the timing module is stopped, and it is determined whether the timing difference corresponding to the timing module is greater than the preset time range, so as to determine whether the relay to be tested has a fault. In this way, when the state of the contact switch of the relay is switched, it is determined whether the contact switch of the relay is closed or opened according to the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) on both sides of the contact switch of the relay, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay has a fault, thereby improving the safety and reliability of the system.
[0066] The present application is further described in detail below through the accompanying drawings and specific embodiments.
[0067] In one embodiment of the present application, Figure 1 A schematic diagram of the structure of a detection circuit provided in an embodiment of the present application Figure 1 .like Figure 1 As shown, the detection circuit 10 may include a processing module 101, a timing module 102 and a detection module 103, wherein the timing module 102 and the detection module 103 are respectively connected to the processing module 101; wherein:
[0068] The detection module 103 is configured to feed back a first voltage signal to the processing module 101 and start timing based on the timing module 102 when the coil of the relay to be tested is energized or de-energized;
[0069] The detection module 103 is further configured to feed back to the processing module 101 a first sub-voltage signal corresponding to a first end of a contact switch of the relay to be tested and a second sub-voltage signal corresponding to a second end of the contact switch of the relay to be tested; wherein the first end of the contact switch is connected to the input interface, and the second end of the contact switch is connected to the output interface;
[0070] The processing module 101 is configured to stop timing based on the timing module 102 when the voltage difference between the first sub-voltage signal and the second sub-voltage signal meets the preset difference range; and when the timing difference corresponding to the timing module 102 is greater than the preset time range, determine that there is a fault in the relay to be tested.
[0071] In the embodiment of the present application, the time difference corresponding to the timing module 102 is equal to the time corresponding to the timing module stopping timing minus the time corresponding to the timing module starting timing.
[0072] In the embodiment of the present application, the relay to be tested may include a coil and a contact switch. The contact switch refers to a contact in a normally open or normally closed state, and the state of the contact switch depends on the state of the coil; specifically, when the coil is energized, the electromagnetic field generated will attract the contact switch to close it, thereby making the circuit where the contact switch is located conductive; when the coil is de-energized, the magnetic field disappears, and the contact switch returns to its original state, thereby making the circuit where the contact switch is located disconnected.
[0073] In the embodiment of the present application, the input interface can be connected to a withstand voltage tester, and the withstand voltage tester provides a voltage signal to the input interface. The output interface can be connected to an electrical device (also referred to as a load end), etc. Here, the electrical device can be controlled by turning on and off the contact switch of the relay to be tested.
[0074] In the embodiment of the present application, for the contact switch of the relay to be tested, its performance directly affects the stability of the entire system. If the contact switch is sticky or poorly attracted during the switching process, or the number of switching times of the contact switch exceeds the rated number, it may cause the relay to be tested to fail or malfunction, thereby increasing the failure of the system. This will not only increase the maintenance cost of the system, but may also cause losses to production. Therefore, testing the performance of the contact switch can improve the reliability of the system. Here, the contact switch can also be referred to as a switch.
[0075] In the embodiment of the present application, the processing module 101 may be an MCU, which can process and judge the received data. Here, the timing module 102 may be integrated into the corresponding processing module 101, or may be separately provided from the corresponding processing module 101, that is, an independent component, without any limitation.
[0076] In a possible implementation, when the coil of the relay to be tested is energized, the processing module 101 is also configured to stop timing based on the timing module when the voltage difference between the first sub-voltage signal and the second sub-voltage signal satisfies a first preset difference range; and when the timing difference corresponding to the timing module is greater than the pull-in time range, it is determined that the relay to be tested has a closing fault.
[0077] In another possible implementation, when the coil of the relay to be tested is de-energized, the processing module 101 is further configured to stop timing based on the timing module when the voltage difference between the first sub-voltage signal and the second sub-voltage signal satisfies a second preset difference range; and when the timing difference corresponding to the timing module is greater than the disconnection time range, it is determined that the relay to be tested has a shutdown fault.
[0078] In the embodiment of the present application, the preset difference range may include a first preset difference range and a second preset difference range, which respectively correspond to the two states of the coil power-on and power-off of the relay to be tested. Here, the first preset difference range corresponds to the coil power-on state. At this time, the front and rear voltage signals of the contact switch are detected. When the contact switch is closed, the contact switch is equivalent to a wire, that is, the first sub-voltage signal and the second sub-voltage signal are approximately equal, so the first preset difference range can be set to about 0 volts (V). When the voltage difference between the first sub-voltage signal and the second sub-voltage signal is about 0V, it can be considered that the contact switch is closed successfully. The second preset difference range corresponds to the coil power-off state of the relay to be tested 11, that is, the contact switch needs to be disconnected. After the contact switch is disconnected, the path where the contact switch of the relay to be tested is located is disconnected. Since the first end of the contact switch is connected to the input interface, the voltage signal of the input interface is still there. When it is determined that the voltage difference between the first sub-voltage signal and the second sub-voltage signal is approximately equal to the voltage signal of the input interface, the second preset threshold range is met, and the contact switch is determined to be disconnected at this time.
[0079] In an embodiment of the present application, for the two states of the coil power-on and the coil power-off of the relay to be tested, the preset time range may include a pull-in time range and a disconnection time range accordingly. The pull-in time range is used to characterize whether the time difference between the power-on moment of the coil of the relay to be tested and the closing moment of the contact switch meets the required criterion, and the disconnection time range is used to characterize whether the time difference between the power-off moment of the coil of the relay to be tested and the disconnection moment of the contact switch meets the required criterion. Here, the pull-in time range and the disconnection time range can be determined based on the pull-in time and closing time of the contact switch of the relay to be tested according to the component manual, or can be determined by measuring the relay to be tested with an oscilloscope, and no limitation is made to this.
[0080] In some embodiments, Figure 2As shown, the detection module 103 includes a first detection module 1031 and a second detection module 1032, wherein: the first detection module 1031 and the second detection module 1032 are respectively connected to the processing module 101, and the first detection module 1031 is connected between the input interface 12 and the first end of the contact switch, and the second detection module 1032 is connected between the second end of the contact switch and the output interface 13.
[0081] In the embodiment of the present application, the first detection module 1031 is configured to perform voltage detection on the first end of the contact switch to generate a first sub-voltage signal; the second detection module 1032 is configured to perform voltage detection on the second end of the contact switch to generate a second sub-voltage signal.
[0082] In the embodiment of the present application, since the first sub-voltage signal is a voltage signal between the input interface 12 and the first end of the contact switch, the first sub-voltage signal can be called a front-stage voltage signal of the contact switch in the relay to be tested; since the second sub-voltage signal is a voltage signal between the output interface 13 and the first end of the contact switch, the second sub-voltage signal can be called a rear-stage voltage signal of the contact switch in the relay to be tested 11. By judging the front- and rear-stage voltage signals, it can be determined whether the relay to be tested 11 is open or closed.
[0083] Thus, in the embodiment of the present application, the first detection module is connected between the input interface and the first end of the contact switch, and the first sub-voltage signal (i.e., the front-stage voltage signal) of the contact switch can be detected at this time; the second detection module is connected between the second end of the contact switch and the output interface, and the second sub-voltage signal (i.e., the rear-stage voltage signal) of the contact switch can be detected at this time. In this way, by judging through the front- and rear-stage voltage signals of the contact switch, it is possible to accurately determine whether the contact switch is open or closed, thereby improving the detection accuracy of the relay state, which is conducive to accurately judging whether the relay is faulty.
[0084] In some embodiments, see Figure 2 The detection module 103 also includes a third detection module 1033, and the third detection module 1033 is connected between the input interface 12 and the first end of the contact switch.
[0085] In an embodiment of the present application, the third detection module 1033 is configured to detect the current between the input interface 12 and the first end of the contact switch, generate a current detection signal, and send the current detection signal to the processing module 101; the processing module 101 is also configured to control the contact switch of the relay 11 to be tested to disconnect when the change amplitude of the current detection signal is greater than the preset current change range.
[0086] In the embodiment of the present application, the third detection module 1033 detects the voltage signal of the input port 12 and generates a current detection signal. Here, the third detection module 1033 can be a sampling resistor, through which the voltage signal of the input interface 12 can be converted to obtain a current detection signal.
[0087] In an embodiment of the present application, the processing module 101 can judge the change amplitude of the current detection signal. When the change amplitude of the current detection signal increases, it is determined that the change amplitude of the current detection signal is greater than the preset current change range. At this time, the contact switch of the relay 11 to be tested is controlled to be disconnected.
[0088] Exemplarily, when the voltage signal of the input interface 12 is suddenly cut off (i.e. becomes 0), the high and low changes of the current detection signal are judged. When it is detected that the current detection signal continues to decrease until it becomes 0, the contact switch of the relay 11 to be tested is disconnected to avoid serious faults at the load end caused by the island effect, thereby providing system safety.
[0089] Thus, in the embodiment of the present application, by detecting the voltage signal of the input interface, when the input voltage is suddenly cut off, the contact switch can be promptly controlled to disconnect, which can effectively prevent the islanding effect caused by grid fluctuation tripping, thereby avoiding serious faults at the load end caused by the islanding effect, and improving the safety and reliability of the system.
[0090] In some embodiments, see Figure 2 The detection circuit 10 may further include an alarm module 104, which is connected to the processing module 101, wherein:
[0091] The processing module 101 is further configured to control the alarm module 104 to generate an alarm when it is determined that the relay 11 to be tested has a fault.
[0092] That is to say, in the embodiment of the present application, when the relay 11 to be tested fails, the alarm is sounded by controlling the alarm module 104, so that the failed relay can be quickly located, which is convenient for maintenance personnel to quickly identify the failed relay and avoid maintenance personnel to check one by one, thus simplifying the process and time of troubleshooting; and the alarm can also prompt maintenance personnel to shut down the machine for maintenance, thereby preventing more serious damage or accidents.
[0093] In a possible implementation, the alarm module 104 may further include an indicator light, wherein the alarm module 104 is configured to control the indicator light to light up in red when it is determined that the relay 11 to be tested has a fault.
[0094] In the embodiment of the present application, when the relay 11 to be tested has a fault, the indicator light can be controlled to light up red. Correspondingly, when the relay 11 to be tested has no fault, the indicator light can be controlled to light up green, so that maintenance personnel can inspect and identify the faulty relay.
[0095] In the embodiment of the present application, the alarm module 104 may include a red indicator light and a green indicator light. Here, when the relay 11 to be tested is not faulty, the green indicator light may be controlled to light up, and when the relay 11 to be tested is faulty, the red indicator light may be controlled to light up, so that maintenance personnel can quickly locate the fault location so as to repair the faulty relay.
[0096] It can be understood that when it is determined that the relay to be tested has a fault, the indicator light can be controlled to light up red. In this way, different colors of lights of the indicator light can be used to indicate whether the relay is faulty (for example, red indicates a fault, and green indicates no fault). This can help maintenance personnel quickly locate the faulty relay, simplifying the troubleshooting process and time; and the alarm can also prompt maintenance personnel to shut down for maintenance, thereby preventing more serious damage or accidents.
[0097] An embodiment of the present application provides a detection circuit, which determines whether the contact switch of the relay is closed or open based on the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) on both sides of the contact switch of the relay when the state of the contact switch of the relay is switched, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it can also accurately detect whether the relay is faulty, thereby improving the safety and reliability of the system.
[0098] In another embodiment of the present application, Figure 3 A schematic diagram of the structure of a detection circuit provided in an embodiment of the present application Figure 3 .like Figure 3 As shown, the detection circuit 10 may further include a counting module 105, wherein:
[0099] The counting module 105 is configured to count the number of switch switching of the relay 11 to be tested by one when the processing module 101 detects that the contact switch of the relay 11 to be tested is closed or opened;
[0100] The processing module 101 is further configured to determine that the relay 11 to be tested has a fault when the number of switch switching times is greater than a preset number threshold.
[0101] In the embodiment of the present application, the reliability and stability of the relay 11 to be tested directly affect the operating conditions of the entire system. By detecting the number of switch switching times of the relay 11 to be tested, the stable operation of the relay 11 to be tested in the system can be ensured, and system shutdown or accidents caused by failure of the relay 11 to be tested can be avoided. Therefore, detecting the number of switch switching times of the relay to be tested helps to discover potential problems in a timely manner and prevent the occurrence of failures. Here, the preset number threshold is used to characterize whether the number of switch switching times of the contact switch of the relay to be tested meets the required measurement standard, which can be determined according to the component manual and is not limited in any way.
[0102] In the embodiment of the present application, the counting module 105 may be integrated into the corresponding processing module 101 ; or may be separately provided from the corresponding processing module 101 , that is, an independent component, which is not limited here.
[0103] In some embodiments, see Figure 3 , the detection circuit 10 may further include a protection device 106, the protection device 106 is located between the input interface 12 and the detection module 103 and close to the input interface 12, wherein:
[0104] The protection device 106 is configured to disconnect the protection device 106 when the voltage at the input interface 12 is higher than a preset voltage upper limit value, so as to disconnect the input interface 12 from the channel where the relay 11 to be tested is located.
[0105] In the embodiment of the present application, the protection device 106 can be a fuse, a fuse, etc. In this way, when the voltage at the input interface 12 is higher than the preset voltage upper limit, if the voltage flows through the relay to be tested 11, the relay to be tested 11 will be damaged. At this time, the protection device 106 can control the input interface 12 to be disconnected from the channel where the relay to be tested 11 is located, so as to avoid high-voltage shock from damaging the relay to be tested 11, thereby improving the reliability of the detection circuit. Here, the preset voltage upper limit can be the maximum voltage that the relay to be tested 11 can accept. If the voltage exceeds the preset voltage upper limit, the relay to be tested 11 will be damaged.
[0106] In a possible embodiment, the protection device 106 is a FUSE. When the voltage at the input interface 12 is higher than a preset voltage upper limit, the FUSE is blown to disconnect the input interface 12 from the channel where the relay 11 to be tested is located.
[0107] It can be understood that when the voltage at the input interface is higher than the preset voltage upper limit, the protection device can control the input interface to be disconnected from the channel where the relay to be tested is located, thereby avoiding damage to the relay to be tested caused by high voltage shock, thereby improving the reliability of the detection circuit.
[0108] In the embodiment of the present application, the voltage signal of the input interface 12 is over-voltage detected by FUSE to avoid failure of the relay to be tested due to excessive voltage value of the input voltage, thereby improving the reliability of the entire system.
[0109] The present application provides a detection circuit, which can ensure the stable operation of the relay under test in the system by detecting the number of switch switching times of the relay under test, avoid relay failure due to excessive switch switching times, and further avoid system shutdown or accidents caused by relay failure, thereby improving the safety and reliability of the system.
[0110] In yet another embodiment of the present application, Figure 4 A schematic diagram of an application architecture of a detection circuit provided in an embodiment of the present application. Figure 4 As shown, the application framework may include a fuse 401, a first voltage detection module 402, a current detection module 403, a relay switch drive module 404, a second voltage detection module 405, a microcontroller 406, and an indicator light 407. In the embodiment of the present application, the application framework may also include a high voltage input interface 408, a power output module 409, a switch input interface 410, and a voltage conversion module 411.
[0111] In the embodiment of the present application, the fuse 401 is the protection device in the aforementioned embodiment, the first voltage detection module 402 is the first detection module in the aforementioned embodiment, the current detection module 403 is the third detection module in the aforementioned embodiment, the second voltage detection module 405 is the second detection module in the aforementioned embodiment, the microprocessor 406 is the processing module in the aforementioned embodiment, the indicator light 407 is the alarm module in the aforementioned embodiment, the high-voltage input interface 408 is the input interface in the aforementioned embodiment, and the power output module 409 is the output interface in the aforementioned embodiment. Here, the microcontroller 406 can also be called a single-chip microcomputer. In addition, the voltage conversion module 411 may include a DC-DC converter, an LDO, and an isolated power supply.
[0112] In the embodiment of the present application, the switch input interface 410 is used to provide a switch control signal for the relay, and the microprocessor 406 enables the relay switch driving module 403 to control the contact switch of the relay to close or open through the switch control signal. Here, the microprocessor 406 can be used to detect the analog signal (or voltage signal) of the high voltage input, and can also detect the closing or opening of the contact switch of the relay, and can also adjust the preset time range, the preset difference range, etc., and can also judge the logic of the first sub-voltage signal and the second sub-voltage signal.
[0113] In a possible implementation, a sampling resistor is connected in series on the channel where the relay is located, and the voltage signal of the high-voltage input interface 408 is converted into a current signal. The current detection signal is sent to the single-chip microcomputer through the current detection module 403. When the voltage signal of the high-voltage input interface 408 is suddenly cut off (i.e., there is no input voltage), the channel where the relay is located is cut off in time by judging the change of the current detection signal, thereby avoiding serious faults at the load end caused by the island effect.
[0114] In another possible implementation, the switching timing of the relay is detected (i.e., the detection and judgment of the first sub-voltage signal and the second sub-voltage signal); after the coil of the relay is energized, the first voltage signal is fed back to the single-chip microcomputer to start timing. After the switch of the relay executes the switching action, the front and rear stage voltage signals of the switch (i.e., the first sub-voltage signal and the second sub-voltage signal) are fed back to the single-chip microcomputer, and when the front and rear stage voltage signals of the switch meet the preset difference range, the timing is stopped. At this time, the difference between the two timings is the relay switch switching time. When the switch switching time is greater than the preset time range, it is determined that the channel where the relay is hiding is faulty. At this time, the indicator light 407 of the corresponding channel of the control relay lights up red.
[0115] In another possible embodiment, the single chip microcomputer counts the number of switch switching times of the relay, and when the number of switch switching times is greater than a preset threshold, the indicator light 407 of the corresponding channel of the control relay is turned on red.
[0116] It should be noted that the indicator light 407 lights up green when the channel corresponding to the relay is operating normally, and lights up red when a fault occurs. If the indicator light 407 lights up red, the maintenance personnel will check and identify the faulty relay and perform maintenance operations. By turning on the indicator light 407 corresponding to the faulty relay in red, when there are multiple relays, the maintenance personnel can directly locate the faulty relay, avoiding checking multiple relays one by one and saving maintenance time.
[0117] In some embodiments, the relay switching board may include four relays, and the application framework may include four high-voltage input interfaces and four switch input interfaces. The four switch input interfaces are used to provide switch control signals for the corresponding relays in the relay switching board. The microprocessor 406 enables the corresponding relay switch driving modules 403 to control the contact switches of the corresponding relays to close or open through the switch control signals, and then uses the detection circuits corresponding to each relay to detect the state of the corresponding contact switches.
[0118] The embodiment of the present application provides a detection circuit to judge the current detection signal of the circuit where the relay is located. If the input end suddenly loses power and trips, the subsequent circuit continues to have output, which will cause a major fault at the load end. It can effectively prevent the island effect caused by power grid fluctuation tripping and avoid serious fault damage to the system. In addition, the switching timing of the relay switch is judged to avoid the failure of the relay performance degradation due to the relay switching timing exceeding the range. At the same time, the number of relay switching times is counted in real time to avoid system failure caused by the relay exceeding the life span. In addition, an indicator light is added to each relay to lead out the judgment signal, which is convenient for equipment maintenance personnel to quickly locate the fault channel and reduce the pressure of equipment maintenance.
[0119] In yet another embodiment of the present application, Figure 5 A schematic diagram of the structure of a relay detection system provided in an embodiment of the present application. Figure 5 As shown, the relay detection system 50 may include at least one relay and at least one detection circuit 10 as described in any one of the aforementioned embodiments, and each relay is correspondingly connected to one detection circuit.
[0120] It should be noted that in the embodiment of the present application, four relays and four-way detection circuits are used for exemplary description. Figure 5 As shown, at least one relay may include a first relay 501, a second relay 502, a third relay 503, and a fourth relay 504; at least one detection circuit may include a first detection circuit 10-1, a second detection circuit 10-2, a third detection circuit 10-3, and a fourth detection circuit 10-4. The first relay 501 is connected to the first detection circuit 10-1, the second relay 502 is connected to the second detection circuit 10-2, the third relay 503 is connected to the third detection circuit 10-3, and the fourth relay 504 is connected to the fourth detection circuit 10-4. Here, the number of relays is consistent with the number of detection circuits, and each relay is connected to a corresponding detection circuit.
[0121] In the embodiment of the present application, the relay detection system 50 may also be referred to as a low-voltage insulation test device, or an insulation withstand voltage test device, which is used to control the on / off and switching of the test circuit to ensure the accuracy and safety of the test process. Here, the load end of the main circuit of the relay switching board in the low-voltage insulation test device is usually a high-voltage power supply, so the contact switch of the relay is prone to adhesion failure. Since there are a large number of relay switching boards installed on the low-voltage insulation test device, and the relay switching board contains multiple relays, maintenance personnel cannot quickly locate the faulty relay after failure, which affects the normal operation stability of the low-voltage insulation test device. By judging the switching timing of the relay by the detection circuit and the fault indication function, the loss of the relay can be predicted in advance, and the maintenance can be completed in advance, reducing the maintenance pressure of personnel and improving the stability of the system.
[0122] An embodiment of the present application provides a relay detection system. Since the relay detection system includes a detection circuit, timing starts when the coil of the relay is energized or de-energized, and whether the contact switch of the relay is closed or open is determined based on the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) at the first end and the second end of the contact switch of the relay. The timing is stopped after it is determined that the contact switch of the relay is closed or open. Based on the time difference, it is possible to accurately determine whether the relay is faulty, thereby improving the safety and reliability of the system.
[0123] In another embodiment of the present application, Figure 6 A schematic diagram of a relay detection method provided in an embodiment of the present application. Figure 6 As shown, the relay detection method may include:
[0124] S601, when the coil of the relay to be tested is energized or de-energized, the detection module feeds back a first voltage signal to the processing module and starts timing based on the timing module.
[0125] S602: The detection module feeds back to the processing module a first sub-voltage signal corresponding to the first end of the contact switch of the relay to be tested and a second sub-voltage signal corresponding to the second end of the contact switch of the relay to be tested.
[0126] S603, when the voltage difference between the first sub-voltage signal and the second sub-voltage signal meets the preset difference range, the processing module stops timing based on the timing module; and when the timing difference corresponding to the timing module is greater than the preset time range, it is determined that there is a fault in the relay to be tested.
[0127] In an embodiment of the present application, the relay detection method is applied to a relay detection system, and the relay detection system includes at least one relay and at least one detection module. When the coil of the relay to be tested is powered on or off, the first voltage signal is fed back to the processing module and the timing is started based on the timing module. When the voltage difference between the first sub-voltage signal and the second sub-voltage signal fed back by the detection module to the processing module meets the preset difference range, the timing of the timing module is stopped, and it is determined whether the timing difference corresponding to the timing module is greater than the preset time range, so as to determine whether the relay to be tested has a fault. Here, the first end of the contact switch is connected to the input interface, and the second end of the contact switch is connected to the output interface.
[0128] In an embodiment of the present application, the detection module includes a first detection module and a second detection module, the first detection module and the second detection module are respectively connected to the processing module, and the first detection module is connected between the input interface and the first end of the contact switch, and the second detection module is connected between the second end of the contact switch and the output interface.
[0129] In some embodiments, when the coil of the relay to be tested is energized, the relay detection method also includes: when the voltage difference between the first sub-voltage signal and the second sub-voltage signal satisfies a first preset difference range, the processing module stops timing based on the timing module; and when the timing difference corresponding to the timing module is greater than the pull-in time range, it is determined that the relay to be tested has a closing fault.
[0130] In an embodiment of the present application, when the coil of the relay to be tested is energized, detection is performed using the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) of the contact switch. In this way, by judging through the front and rear stage voltage signals of the contact switch, it is possible to accurately determine whether the contact switch is closed, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay has a closing fault, thereby improving the safety and reliability of the system.
[0131] In some embodiments, when the coil of the relay to be tested is de-energized, the relay detection method further includes: when the voltage difference between the first sub-voltage signal and the second sub-voltage signal satisfies a second preset difference range, the processing module stops timing based on the timing module; and when the timing difference corresponding to the timing module is greater than the disconnection time range, it is determined that the relay to be tested has a shutdown fault.
[0132] In an embodiment of the present application, when the coil of the relay to be tested is energized, detection is performed using the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear stage voltage signals) of the contact switch. In this way, by judging through the front and rear stage voltage signals of the contact switch, it is possible to accurately determine whether the contact switch is closed, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay has a shutdown fault, thereby improving the safety and reliability of the system.
[0133] In some embodiments, the relay detection method further includes: when the processing module determines that the relay to be tested has a fault, the processing module controls the alarm module to sound an alarm.
[0134] In an embodiment of the present application, the alarm module may include an indicator light. When it is determined that the relay to be tested has a fault, the indicator light can be controlled to light up in red. In this way, different colors of light of the indicator light are used to indicate whether the relay is faulty (for example, red indicates a fault, and green indicates no fault). This can help maintenance personnel quickly locate the problem and simplify the troubleshooting process and time; and it can also prompt maintenance personnel to shut down for maintenance, thereby preventing more serious damage or accidents.
[0135] It can be understood that when a fault occurs in the relay to be tested, the alarm can be controlled by the alarm module, so that the faulty relay can be quickly located, which makes it easier for maintenance personnel to identify the faulty relay and avoids the maintenance personnel to check one by one, thus simplifying the troubleshooting process and time; and the alarm can also prompt the maintenance personnel to shut down for maintenance, thereby preventing more serious damage or accidents.
[0136] In an embodiment of the present application, the detection module further includes a third detection module, and the third detection module is connected between the input interface and the first end of the contact switch.
[0137] In some embodiments, the relay detection method also includes: a third detection module detects the circuit between the input interface and the first end of the contact switch, generates a current detection signal, and sends the current detection signal to a processing module; when the change amplitude of the current detection signal is greater than a preset current change range, the processing module controls the contact switch of the relay to be tested to disconnect.
[0138] In an embodiment of the present application, the third detection module is connected between the input interface and the first end of the contact switch. At this time, the voltage signal of the input interface can be converted into a current signal and a current detection signal can be generated, and the contact switch of the relay to be tested can be controlled to disconnect when the change amplitude of the current detection signal is greater than the preset current change range; in this way, by detecting the voltage signal of the input interface, when the input voltage is suddenly cut off, the contact switch can be controlled to disconnect in time, which can effectively prevent the islanding effect caused by grid fluctuation tripping, thereby avoiding serious faults at the load end caused by the islanding effect, thereby improving the safety and reliability of the system.
[0139] The embodiment of the present application provides a relay detection method, which is applied to a relay detection system. When the state of the contact switch of the relay is switched, the first sub-voltage signal and the second sub-voltage signal (i.e., the front and rear voltage signals) on both sides of the contact switch of the relay are used to determine whether the contact switch of the relay is closed or open, thereby improving the detection accuracy of the relay state, and based on the time difference corresponding to the timing module, it is also possible to accurately detect whether the relay is faulty, thereby improving the safety and reliability of the system.
[0140] In yet another embodiment of the present application, when the processing module determines that the voltage difference between the first sub-voltage signal and the second sub-voltage signal does not satisfy a preset difference range, Figure 7 As shown, the relay detection method also includes:
[0141] S701: When the processing module detects that the contact switch is closed or opened, the counting module counts the number of switching times of the relay to be tested by one.
[0142] S702: When the number of switch switching times is greater than a preset number threshold, the processing module determines that the relay to be tested has a fault.
[0143] S703, when the number of switch switching times is less than a preset number threshold, the processing module determines that the relay to be tested has no fault.
[0144] In the embodiment of the present application, when the number of switch switching times is equal to the preset number threshold, it can be determined that the relay under test has a fault, or it can be determined that the relay under test has no fault, which is not limited here.
[0145] In the embodiment of the present application, if the number of switch switching times is greater than the preset number threshold, it can be determined that the contact switch of the relay to be tested has failed. At this time, the alarm module can be controlled to alarm, and the faulty relay can be quickly located, which is convenient for maintenance personnel to identify the faulty relay, avoiding maintenance personnel to check one by one, simplifying the process and time of fault troubleshooting. And it can prompt maintenance personnel to shut down for maintenance, thereby preventing more serious damage or accidents.
[0146] It can be understood that in the embodiment of the present application, by detecting the number of switch switching times of the relay to be tested, the stable operation of the relay to be tested in the system can be ensured, and relay failure due to excessive switch switching times can be avoided, thereby avoiding system shutdown or accidents caused by relay failure, thereby improving the safety of the system.
[0147] In yet another embodiment of the present application, based on the relay detection method of the aforementioned embodiment, Figure 8 A detailed flow chart of a relay detection method provided in an embodiment of the present application. Figure 8 As shown, the relay detection method may include:
[0148] S801, power-on initialization.
[0149] S802, abnormal channel memory data displays abnormal channel indicator light.
[0150] In the embodiment of the present application, the relay channel may include an abnormal channel and a valid channel. The abnormal channel indicates that the relay corresponding to the channel is faulty, and the valid channel indicates that the relay corresponding to the channel is not faulty.
[0151] In the embodiment of the present application, after power-on initialization, the relay data in the cache area is read, that is, the relay is still in the previous state. If there was a fault in the last relay, at this time, since the relay data in the cache area is read, the indicator light of the corresponding channel lights up red. If there is no fault through subsequent relay detection, the indicator light can be turned green.
[0152] S803, power supply undervoltage detection.
[0153] In the embodiment of the present application, for step S803, if the judgment result is yes, that is, the power supply is under-voltage, then the process is terminated (for example, the power supply is cut off, etc.); if the judgment result is no, that is, the power supply is not under-voltage, then step S804 is executed.
[0154] In the embodiment of the present application, when the voltage of the power supply is lower than the minimum requirement for the normal operation of the device, if the device continues to operate, it may cause damage to internal components, performance degradation or shortened life. Therefore, power undervoltage detection can identify this situation in time and prevent damage to the device by cutting off the power supply or taking other protective measures.
[0155] S804, sampling of analog signals of the front and rear stages of effective channels.
[0156] In the embodiment of the present application, the front and rear stage analog signals correspond to the first sub-voltage signal and the second sub-voltage signal respectively, and the state of the contact switch of the relay is determined by the first sub-voltage signal and the second sub-voltage signal.
[0157] S805, valid channel switch signal detection.
[0158] In the embodiment of the present application, the effective channel switch signal detection is to determine whether the coil of the relay is powered on or off. For step S806, if the judgment result is power off, then step S806 is executed, and if the judgment result is power on, then step S811 is executed.
[0159] S806: Is the voltage timing of the front and rear stages of the relay channel greater than the disconnection time range?
[0160] In an embodiment of the present application, for step S806, if the judgment result is yes, that is, the voltage timing of the front and rear stages of the relay channel is greater than the disconnection time range, then step S809 is executed; if the judgment result is no, that is, the voltage timing of the front and rear stages of the relay channel is less than or equal to the disconnection time range, then step S806 is executed.
[0161] S807, detection of the number of switching times of the relay.
[0162] S808, determining whether the number of switch switching times exceeds a preset number threshold.
[0163] In the embodiment of the present application, for step S808, if the judgment result is yes, that is, the number of switch switching times exceeds the preset number threshold, then step S809 is executed; if the judgment result is no, that is, the number of switch switching times does not exceed the preset number threshold, then step S810 is executed.
[0164] S809, the current relay channel stops outputting and the indicator light turns red.
[0165] S810, the current relay channel outputs normally and the indicator light is green.
[0166] S811, whether the voltage timing of the front and rear stages of the relay channel is greater than the pull-in time range.
[0167] In an embodiment of the present application, for step S811, if the judgment result is yes, that is, the voltage timing of the front and rear stages of the relay channel is greater than the pull-in time range, then step S815 is executed; if the judgment result is no, that is, the voltage timing of the front and rear stages of the relay channel is not greater than the pull-in time range, then step S812 is executed.
[0168] S812, detection of the number of switching times of the relay.
[0169] S813, determining whether the number of switch switching times exceeds a preset number threshold.
[0170] In the embodiment of the present application, for step S813, if the judgment result is yes, that is, the number of switch switching times exceeds the preset number threshold, then step S815 is executed; if the judgment result is no, that is, the number of switch switching times does not exceed the preset number threshold, then step S814 is executed.
[0171] S814, the current relay channel stops outputting and the indicator light turns red.
[0172] S815, the current relay channel outputs normally and the indicator light is green.
[0173] The embodiment of the present application provides a relay detection method, which can be a pre-maintenance method for detecting the performance of a high-voltage relay switching board. The specific implementation of the aforementioned embodiment is described in detail through the above embodiment. It can be seen that according to the technical solution of the aforementioned embodiment, the switching timing of the relay switch is judged to avoid the failure of the relay performance degradation caused by the relay switching timing exceeding the range. At the same time, the number of relay switch switching times is counted in real time to avoid system failure caused by the over-life use of the relay. In addition, an indicator light is added to each relay to lead out the judgment signal, which is convenient for equipment maintenance personnel to quickly locate the fault channel and reduce the pressure of equipment maintenance.
[0174] In yet another embodiment of the present application, the embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by at least one processor, the steps of the method described in any one of the aforementioned embodiments are implemented.
[0175] In yet another embodiment of the present application, the embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of the method described in any one of the aforementioned embodiments.
[0176] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, equipment, or computer program products. Therefore, the present application may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
[0177] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0178] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0179] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0180] It should be noted that, in this application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, product or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, product or device including the element.
[0181] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0182] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0183] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0184] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0185] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A detection circuit, characterized in that: The detection circuit is applied to a relay detection system, and the relay detection system includes at least one relay, and the detection circuit includes a processing module, a timing module and a detection module, and the timing module and the detection module are respectively connected to the processing module; wherein: The detection module is configured to feed back a first voltage signal to the processing module and start timing based on the timing module when the coil of the relay to be tested is energized or de-energized; the relay to be tested is any one of the at least one relay; The detection module is further configured to feed back to the processing module a first sub-voltage signal corresponding to the first end of the contact switch of the relay to be tested and a second sub-voltage signal corresponding to the second end of the contact switch of the relay to be tested; wherein the first end of the contact switch is connected to the input interface, and the second end of the contact switch is connected to the output interface; The processing module is configured to stop timing based on the timing module when the voltage difference between the first sub-voltage signal and the second sub-voltage signal meets a preset difference range; and determine that the relay to be tested has a fault when the timing difference corresponding to the timing module is greater than a preset time range; The detection module includes a third detection module, and the third detection module is a sampling resistor, and the third detection module is connected between the input interface and the first end of the contact switch, wherein: The third detection module is configured to detect the current between the input interface and the first end of the contact switch, generate a current detection signal, and send the current detection signal to the processing module; The processing module is further configured to control the contact switch of the relay to be tested to be disconnected when the change amplitude of the current detection signal is greater than a preset current change range.
2. The detection circuit according to claim 1, characterized in that: The detection module further includes a first detection module and a second detection module, wherein: The first detection module and the second detection module are connected to the processing module respectively, and the first detection module is connected between the input interface and the first end of the contact switch, and the second detection module is connected between the second end of the contact switch and the output interface; The first detection module is configured to perform voltage detection on the first end of the contact switch to generate the first sub-voltage signal; The second detection module is configured to perform voltage detection on the second end of the contact switch to generate the second sub-voltage signal.
3. The detection circuit according to claim 1, characterized in that: The detection circuit also includes a counting module, wherein: The counting module is configured to count the number of switch switching of the relay to be tested by one when the processing module detects that the contact switch of the relay to be tested is closed or opened; The processing module is further configured to determine that the relay to be tested has a fault when the number of switch switching times is greater than a preset number threshold.
4. The detection circuit according to claim 1, characterized in that: The detection circuit further includes an alarm module, which is connected to the processing module, wherein: The processing module is further configured to control the alarm module to sound an alarm when it is determined that the relay to be tested has a fault.
5. The detection circuit according to claim 4, characterized in that: The alarm module also includes an indicator light, wherein: The alarm module is configured to control the indicator light to light red when it is determined that the relay to be tested has a fault.
6. The detection circuit according to any one of claims 1 to 5, characterized in that: The detection circuit further includes a protection device, which is located between the input interface and the detection module and close to the input interface, wherein: The protection device is configured to disconnect the protection device when the voltage at the input interface is higher than a preset voltage upper limit value, so as to disconnect the input interface from the channel where the relay to be tested is located.
7. A relay detection system, characterized in that: The relay detection system comprises at least one relay and at least one detection circuit as claimed in any one of claims 1 to 6, wherein each relay is correspondingly connected to one of the detection circuits.
8. A relay detection method, characterized in that: Applied to the relay detection system as claimed in claim 7, the relay detection method comprises: When the coil of the relay to be tested is powered on or off, the detection module feeds back a first voltage signal to the processing module and starts timing based on the timing module; The detection module feeds back to the processing module a first sub-voltage signal corresponding to the first end of the contact switch of the relay to be tested and a second sub-voltage signal corresponding to the second end of the contact switch of the relay to be tested; wherein the first end of the contact switch is connected to the input interface, and the second end of the contact switch is connected to the output interface; The processing module stops timing based on the timing module when the voltage difference between the first sub-voltage signal and the second sub-voltage signal meets a preset difference range; and determines that the relay to be tested has a fault when the timing difference corresponding to the timing module is greater than a preset time range.
9. The relay detection method according to claim 8, characterized in that: When the coil of the relay to be tested is energized, the relay detection method further includes: The processing module stops timing based on the timing module when the voltage difference between the first sub-voltage signal and the second sub-voltage signal satisfies a first preset difference range; and determines that the relay to be tested has a closing fault when the timing difference corresponding to the timing module is greater than the pull-in time range.
10. The relay detection method according to claim 8, characterized in that: When the coil of the relay to be tested is de-energized, the relay detection method further comprises: The processing module stops timing based on the timing module when the voltage difference between the first sub-voltage signal and the second sub-voltage signal satisfies a second preset difference range; and determines that the relay to be tested has a shutdown fault when the timing difference corresponding to the timing module is greater than the disconnection time range.
11. The relay detection method according to claim 8, characterized in that: The relay detection method also includes: The third detection module detects the circuit between the input interface and the first end of the contact switch, generates a current detection signal, and sends the current detection signal to the processing module; When the variation amplitude of the current detection signal is greater than a preset current variation range, the processing module controls the contact switch of the relay to be tested to be disconnected.
12. The relay detection method according to claim 8, characterized in that: When the processing module determines that the voltage difference between the first sub-voltage signal and the second sub-voltage signal does not satisfy a preset difference range, the relay detection method further includes: The counting module counts the number of switching times of the relay to be tested by one when the processing module detects that the contact switch is closed or opened; The processing module determines that the relay to be tested has a fault when the number of switch switching times is greater than a preset number threshold.
13. The method according to any one of claims 8 to 12, characterized in that The relay detection method also includes: When the processing module determines that the relay to be tested has a fault, the processing module controls the alarm module to sound an alarm.
Citation Information
Patent Citations
Relay anti-arcing circuit and control method
CN113871253A
Low-voltage distributed photovoltaic power supply island control intelligent switch and control method
CN117811066A