Fault detection device and method
Through the switch and voltage detection module in the fault detection device, combined with the command adjustment of the control module, the accurate detection of power line faults is achieved, and the problem of low power line fault detection efficiency in the prior art is solved, and the detection efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202210026667.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-11
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-01-11
AI Technical Summary
In the prior art, the power line fault detection efficiency is low, and it is impossible to accurately determine whether the live wires or between the live wires and the neutral wires overlap, resulting in the inability to effectively detect the specific fault type.
The fault detection device is adopted, including a first switch, a first voltage detection module, a control module and a target switch. By detecting the voltage value between the live wire and the neutral wire and the voltage difference between the power line, and adjusting the switch status in combination with the instructions of the control module, accurately detecting the power line fault.
It improves the efficiency of power line fault detection, can accurately judge the overlap between live wire and neutral wire, live wire and live wire, and detects whether the fuse is open, avoids the risk of short circuit and achieves efficient fault detection.
Smart Images

Figure CN114397535B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of electronic technology, and in particular, to a fault detection device and method. Background Art
[0002] In the field of electronic technology, to ensure the normal operation of circuits, it is necessary to regularly detect the working status of the circuits to determine possible faults in the circuits. For example, taking power line fault detection as an example, signal machines and intelligent cabinet monitoring are products that can control the on and off of power lines. In order to ensure the stability and reliability of their peripherals, in addition to the stability and reliability of the products themselves, it is also necessary to avoid power cable overlap caused by cable damage to the peripheral load, such as overlapping of the live wire and the neutral wire, or overlapping of the live wire and the live wire. The related art mainly adopts the method of detecting the output power line voltage. This method can only determine whether the live wire is energized, but cannot determine whether there is overlap between the live wires or between the live wire and the neutral wire, and cannot accurately detect the specific fault type. In other words, the detection method for power line faults in the related art is inefficient.
[0003] Currently, no effective solution has been proposed to the problem of low efficiency in detecting power line faults in related technologies. Summary of the Invention
[0004] The embodiments of the present invention provide a fault detection device and method to at least solve the problem of low efficiency in detecting power line faults in the related art.
[0005] According to one embodiment of the present invention, a fault detection device is provided, comprising: a first switch, a first voltage detection module, a control module, and a target switch, wherein a first end of the first switch is configured to be connected to a live wire, a second end of the first switch is configured to be connected to a load, a controlled end of the first switch is connected to the control module, and the first switch adjusts a state of the first switch based on a first control instruction of the control module; an input end of the first voltage detection module is respectively connected to the second end of the first switch and the second end of the target switch, an output end of the first voltage detection module is connected to the control module, the first voltage detection module is configured to detect a voltage value between the second end of the first switch and the second end of the target switch, and output a first detection result to the control module; a first end of the target switch is connected to the live wire, a controlled end of the target switch is connected to the control module, and the target switch adjusts its state based on a second control instruction of the control module; the control module is configured to output the first control instruction to the first switch, output the second control instruction to the target switch, and, based on the first result, determine whether the second end of the first switch is connected to the neutral wire.
[0006] In an exemplary embodiment, the device also includes: a second voltage detection module, wherein the input end of the second voltage detection module is connected to the neutral line and the second end of the first switch, and the output end of the second voltage detection module is connected to the control module, and the second voltage detection module is used to detect the voltage value between the second end of the first switch and the neutral line, and output the second result obtained by detection to the control module; the control module is also used to determine whether the live wire of the line where the first switch is located is connected to other live wires based on the second result.
[0007] In an exemplary embodiment, the device further includes: a fuse and a third voltage detection module, wherein the first end of the fuse is connected to the second end of the first switch, the second end of the fuse is configured to be connected to the load, the second end of the first switch is configured to be connected to the load and the input end of the second voltage detection module respectively through the fuse, and the second end of the first switch is connected to the input end of the first voltage detection module through the fuse; the input end of the third voltage detection module is connected to the neutral line and the first end of the fuse, the output end of the third voltage detection module is connected to the control module, the third voltage detection module is used to detect the voltage value between the first end of the fuse and the neutral line, and output a third result obtained by detection to the control module; the control module is further used to determine whether the fuse is open based on the second result and the third result.
[0008] In an exemplary embodiment, the control module is configured to determine whether the second end of the first switch is connected to the neutral line based on a state of the first switch, a state of the target switch, and the first result.
[0009] In an exemplary embodiment, the control module is configured to determine whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch, and the second result.
[0010] In an exemplary embodiment, the control module is configured to determine whether the fuse is open based on a state of the first switch, a state of the target switch, the second result, and the third result.
[0011] According to another embodiment of the present invention, a fault detection method is also provided, which is applied to any of the devices described above, including: the control module outputs the first control instruction to the first switch to adjust the state of the first switch, and outputs the second control instruction to the target switch to adjust the state of the target switch; the control module obtains the first result output by the first voltage detection module; the control module determines whether the second end of the first switch is connected to the neutral line based on the state of the first switch, the state of the target switch and the first result.
[0012] In an exemplary embodiment, the control module determines whether the second end of the first switch is connected to the neutral line based on the state of the first switch, the state of the target switch, and the first result, including: when it is determined that the state of the first switch is open, the state of the target switch is closed, and the first result is a high level, determining that the second end of the first switch is connected to the neutral line; when it is determined that the state of the first switch is open, the state of the target switch is closed, and the first result is a low level, determining that the second end of the first switch is not connected to the neutral line.
[0013] In an exemplary embodiment, the device also includes a second voltage detection module, wherein the input end of the second voltage detection module is connected to the neutral line and the second end of the first switch, and the output end of the second voltage detection module is connected to the control module, and the second voltage detection module is used to detect the voltage value between the second end of the first switch and the neutral line, and output the second result obtained by detection to the control module; wherein the method also includes: the control module determines whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch and the second result.
[0014] In an exemplary embodiment, the control module determines whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch and the second result, including: when it is determined that the state of the first switch is disconnected, the state of the target switch is disconnected, and the second result is a high level, determining that the live wire where the first switch is located is connected to the other live wires.
[0015] In an exemplary embodiment, the device further includes a fuse and a third voltage detection module, wherein the first end of the fuse is connected to the second end of the first switch, the second end of the fuse is configured to be connected to the load, the second end of the first switch is configured to be connected to the load and the input end of the second voltage detection module respectively through the fuse, and the second end of the first switch is connected to the input end of the first voltage detection module through the fuse; the input end of the third voltage detection module is connected to the neutral line and the first end of the fuse, the output end of the third voltage detection module is connected to the control module, and the third voltage detection module is used to detect the voltage value between the first end of the fuse and the neutral line, and output a third result obtained by detection to the control module; wherein the method further includes: the control module determines whether the fuse is open based on the state of the first switch, the state of the target switch, the second result, and the third result.
[0016] In an exemplary embodiment, the control module determines whether the fuse is open based on the state of the first switch, the state of the target switch, the second result, and the third result, including: if it is determined that the state of the first switch is closed, the state of the target switch is open, the second result is a low level, and the third result is a high level, determining that the fuse is open; if it is determined that the state of the first switch is open, the state of the target switch is open, the second result is the high level, and the third result is the low level, determining that the fuse is open.
[0017] Through the present invention, the first switch is connected between the live wire and the load, the control module adjusts the state of the first switch, the first end of the target switch is connected to the live wire, the second end of the target switch is connected to the voltage detection module, the control module adjusts the state of the target switch, and the input end of the first voltage detection module is respectively connected to the second end of the first switch and the second end of the target switch, that is, the first voltage module detects the voltage between the second end output line of the first switch and the second end output line of the target switch, and outputs the first result obtained by the detection to the control module. In this way, the control module can determine whether the second end of the first switch is connected to the neutral wire based on the first result, thereby achieving the purpose of detecting power line faults and avoiding the problem in the related art that can only determine whether the live wire is energized but cannot determine whether the power line is connected. Therefore, the problem of low efficiency in detecting power line faults in the related art is solved, and the effect of improving the detection efficiency of power line faults is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is an example of fault detection in related art Figure 1;
[0019] Figure 2 This is an example of fault detection in related art Figure 2 ;
[0020] Figure 3 is a structural block diagram of a fault detection device according to an embodiment of the present invention;
[0021] Figure 4 is a structural block diagram of a power line fault detection device according to a specific embodiment of the present invention;
[0022] Figure 5 is a flow chart of a fault detection method according to an embodiment of the present invention;
[0023] Figure 6 is a flow chart of a power line fault detection method according to a specific embodiment of the present invention. DETAILED DESCRIPTION
[0024] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with embodiments.
[0025] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0026] In the related art, the overheating problem of the detection circuit when the DC remote power supply line is connected to the power line is solved by adding a MOS tube to control the on-off of the detection circuit. Figure 1 As shown, Figure 1 This is an example of fault detection in related art Figure 1 This detection scheme can only be used to detect the overlap of weak-current cables and power lines, and cannot detect the overlap between power lines. Related technologies also use the output power line current, voltage, and power information to determine whether there is overlap based on the power, such as Figure 2 As shown, Figure 2 This is an example of fault detection in related art Figure 2 This solution cannot detect whether the live wire and the neutral wire are connected, nor can it detect whether the fuse is open. That is, the relevant technology cannot provide a reliable power line fault detection solution.
[0027] In this embodiment, a fault detection device is provided. Figure 3 : is a structural block diagram of a fault detection device according to an embodiment of the present invention. Figure 3As shown, the device includes: a first switch 302, a first voltage detection module 304, a control module 306, and a target switch 308, wherein the first end of the first switch is configured to be connected to the live wire, the second end of the first switch is configured to be connected to the load, the controlled end of the first switch is connected to the control module, and the first switch adjusts the state of the first switch based on a first control instruction of the control module; the input end of the first voltage detection module is respectively connected to the second end of the first switch and the second end of the target switch, the output end of the first voltage detection module is connected to the control module, the first voltage detection module is used to detect the voltage value between the second end of the first switch and the second end of the target switch, and output a first detection result to the control module; the first end of the target switch is connected to the live wire, the controlled end of the target switch is connected to the control module, and the target switch adjusts the state of the target switch based on the second control instruction of the control module; the control module is used to output the first control instruction to the first switch, output the second control instruction to the target switch, and, based on the first result, determine whether the second end of the first switch is connected to the neutral wire.
[0028] Through the above-mentioned device, the first switch is connected between the live wire and the load, the control module adjusts the state of the first switch, the first end of the target switch is connected to the live wire, the second end of the target switch is connected to the voltage detection module, and the control module adjusts the state of the target switch, and the input end of the first voltage detection module is respectively connected to the second end of the first switch and the second end of the target switch, that is, the first voltage module detects the voltage between the second end output line of the first switch and the second end output line of the target switch, and outputs the first result obtained by the detection to the control module. In this way, the control module can determine whether the second end of the first switch is connected to the neutral wire based on the first result, thereby achieving the purpose of detecting power line faults and avoiding the problem in the related art that can only determine whether the live wire is energized but cannot determine whether the power line is connected. Therefore, the problem of low efficiency in detecting power line faults in the related art is solved, and the effect of improving the detection efficiency of power line faults is achieved.
[0029] The above device can be applied to power detection equipment or fault detection equipment. For example, the above device can be used to detect power line connection faults in the power detection equipment, but it is not limited to this. The following is an example of the above device being applied to a power detection equipment (this is only an exemplary description, and in actual applications, it can also be applied to other devices or modules):
[0030] In the above embodiment, the first end of the first switch in the above device is configured to be connected to the live wire, and the second end of the first switch is configured to be connected to the load, that is, the first switch is connected between the live wire and the load. In actual application, the live wire can be any one of the multiple live wires drawn from the power supply end, or any one of the multiple live wires branched from the main switch, such as the L1 live wire. The controlled end of the first switch is connected to the control module. The first switch is used to adjust the state of the first switch based on the first control instruction from the control module, that is, the on-off state of the first switch is controlled by the control module. For example, when the controlled end of the first switch is at a high level (or 1), the first switch is in a closed state (also called an effective state, or an on state). It can also be set to be in a closed state (also called an effective state, or an on state) when the controlled end is at a low level (or 0). When the first switch is on, the second end of the first switch connects the L1 live wire to the load. Of course, the load also needs to be connected to the neutral wire. The first end of the target switch The target switch is connected to the live wire, and the second end of the target switch is connected to the first voltage detection module. The first end of the target switch is the input end, which is connected to the live wire. The second end of the target switch is the output end, which is connected to the input end of the first voltage detection module. The controlled end of the target switch is also connected to the control module, that is, the on-off state of the target switch is controlled by the control module. The input end of the first voltage detection module is respectively connected to the second end of the first switch and the second end of the target switch. The output end of the first voltage detection module is connected to the control module, that is, the first voltage module detects the voltage between the second end output line of the first switch and the second end output line of the target switch, and outputs the first result obtained by the detection to the control module. The second end of the first switch serves as the input end of the first voltage detection module, that is, the live wire input end of the load serves as one of the input ends of the first voltage detection module. When the live wire and the neutral wire are overlapped at the second end of the first switch, or when the live wire and the neutral wire of the above-mentioned load are overlapped, detection can be performed through the first voltage detection module, and the detection result can be output to the control module;The control module is configured to output a first control instruction to the first switch, output a second control instruction to the target switch, and, based on the first result, determine whether the second end of the first switch is connected to the neutral line. For example, when the first control instruction causes the first switch to be in an open state (or an invalid state), and the second control instruction causes the target switch to be in a closed state (also referred to as an active state or a conductive state), if the detection result of the first voltage detection module indicates that a live line voltage (e.g., 220V, 110V, or other values) exists between the two input ends of the first voltage detection module, the first voltage detection module outputs a logic 1 to the control module, indicating that a live line and neutral line connection fault exists. Since the first switch is in an open state, it will not cause a short circuit or fire, and thus the presence of a potential physical connection between the live and neutral lines can be detected. In this embodiment, the live line voltage refers to the normal voltage between the live and neutral lines, e.g., 220V, 110V, or other voltage values. Through this embodiment, a live line and neutral line connection fault can be detected while avoiding the risk of a short circuit. This achieves the goal of detecting power line faults, avoiding the problem in related technologies that only determine whether the live wire is energized but cannot determine whether the power line is connected. Therefore, the problem of low power line fault detection efficiency in related technologies is solved, achieving the effect of improving power line fault detection efficiency.
[0031] In an optional embodiment, the device also includes: a second voltage detection module, wherein the input end of the second voltage detection module is connected to the neutral line and the second end of the first switch, the output end of the second voltage detection module is connected to the control module, and the second voltage detection module is used to detect the voltage value between the second end of the first switch and the neutral line, and output the second result obtained by detection to the control module; the control module is also used to determine whether the live wire where the first switch is located is connected to other live wires based on the second result. In this embodiment, the second voltage detection module is used to detect the voltage between the second end of the first switch and the neutral line, and output the second detection result to the control module. In this way, the control module can determine whether the live line of the first switch is connected to another live line based on the second result. For example, when the control module outputs a first control instruction to the first switch, placing the first switch in an off state (or an invalid state), that is, the second end of the first switch cannot connect the L1 live line to the load, at this time, if the second result detected by the second voltage detection module indicates that there is a live line voltage between the two input ends of the second voltage detection module, that is, there is a live line voltage between the second end of the first switch and the neutral line, for example, the live line voltage is 220V, or 110V, or other values, and the second result detected by the second voltage detection module is a logic 1, then it can be determined that the live line of the first switch is connected to another live line, thus achieving the purpose of detecting a possible live line-to-live line connection fault. Through this embodiment, the purpose of further detecting whether there is a live line-to-live line connection can be achieved, further achieving the effect of improving the detection efficiency of power line faults.
[0032] In an optional embodiment, the device further includes: a fuse and a third voltage detection module, wherein the first end of the fuse is connected to the second end of the first switch, the second end of the fuse is configured to be connected to the load, the second end of the first switch is configured to be connected to the load and the input end of the second voltage detection module respectively through the fuse, and the second end of the first switch is connected to the input end of the first voltage detection module through the fuse; the input end of the third voltage detection module is connected to the neutral line and the first end of the fuse, the output end of the third voltage detection module is connected to the control module, the third voltage detection module is used to detect the voltage value between the first end of the fuse and the neutral line, and output the third result obtained by detection to the control module; the control module is also used to determine whether the fuse is open based on the second result and the third result.In this embodiment, the fuse is arranged between the second end of the first switch and the load, that is, the second end of the first switch is connected to the load through the fuse, and the second end of the first switch is connected to the input end of the first voltage detection module through the fuse, that is, the connection end between the fuse and the load is connected to the input end of the first voltage detection module, and the second end of the first switch is also connected to the input end of the second voltage detection module through the fuse, that is, the second voltage detection module at this time is used to detect the voltage between the second end of the fuse (that is, the connection end between the fuse and the load) and the neutral line to obtain a second result, and output the second result to the control module. In addition, the third voltage detection module The input end of the voltage detection module is connected to the neutral line and the first end of the fuse (that is, the second end of the first switch), that is, the third voltage detection module is used to detect the voltage between the first end of the fuse and the neutral line, and output the third result obtained by detection to the control module. In this way, the control module can determine whether the fuse has an open circuit fault based on the second result and the third result. For example, when the control module outputs a first control instruction to the first switch to put the first switch in an off state (or an invalid state), at this time, if the second result detected by the second voltage detection module indicates that there is a live wire voltage between the two input ends of the second voltage detection module, that is, the second end of the fuse If there is a live voltage (such as 220V, or 110V, or other values) between the first terminal of the fuse and the neutral line, the detection result of the corresponding second voltage detection module is logic 1. At the same time, if the third result detected by the third voltage detection module indicates that there is no live voltage between the two input terminals of the third voltage detection module, that is, there is no live voltage (such as 220V, or 110V, or other values) between the first terminal of the fuse and the neutral line, the detection result of the corresponding third voltage detection module is logic 0. In this case, it can be determined that the fuse of this circuit is open. In addition, as described in the above embodiment, it can also be determined that the second terminal of the fuse (that is, the connection terminal between the fuse and the load) is open. There is a connection with other live wires; or, when the control module outputs a first control instruction to the first switch, so that the first switch is in a closed state (also called an effective state, or a conducting state), at this time, if the third result detected by the third voltage detection module indicates that there is a live wire voltage between the two input terminals of the third voltage detection module, that is, there is a live wire voltage between the first end of the fuse and the neutral wire, and at the same time, if the second result detected by the second voltage detection module indicates that there is no live wire voltage between the two input terminals of the second voltage detection module, that is, there is no live wire voltage between the second end of the fuse and the neutral wire, then at this time it can also be determined that the fuse of this circuit has been opened. Through this embodiment, on the basis of realizing the detection of live wire and neutral wire overlap faults and live wire and live wire overlap faults, it is also possible to further detect whether there is a fuse open circuit, thereby further achieving the effect of improving the detection efficiency of power line faults.
[0033] In an optional embodiment, the control module is configured to determine whether the second end of the first switch is connected to the neutral line based on the state of the first switch, the state of the target switch, and the first result. In this embodiment, the control module can determine whether the second end of the first switch is connected to the neutral line based on the state of the first switch, the state of the target switch, and the first result. For example, when the control module inputs a first control instruction to the first switch and a second control instruction to the target switch, so that the first switch is in an open state (or an invalid state) and the target switch is in a closed state (also called an effective state or a conductive state), if the first result indicates that there is a live line voltage between the two input terminals of the first voltage detection module, for example, the output result of the first voltage detection module is a logic 1, then it can be determined that the live line and the neutral line are connected, that is, at this time, there is a live line voltage (such as 220V, or 110V, or other values) between the two input terminals of the first voltage detection module. If the first result indicates that there is no live line voltage between the two input terminals of the first voltage detection module, for example, the output result of the first voltage detection module is a logic 0, then it can be determined that the live line and the neutral line are not connected, and the voltage between the two input terminals of the corresponding first voltage detection module is 0V. In actual applications, when there are multiple live lines, the above method can be used to detect whether each live line is connected to the neutral line. Through this embodiment, the purpose of adjusting the different states of the first switch and the target switch by the control module and judging whether there is a live wire and neutral wire overlap fault according to the detection result of the first voltage detection module is achieved.
[0034] In an optional embodiment, the control module is configured to determine whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch, and the second result. In this embodiment, the control module can determine whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch, and the second result. For example, when the control module inputs a first control instruction to the first switch and a second control instruction to the target switch, so that the first switch is in an off state (or can be called an invalid state), and the target switch is in an off state (also can be called an invalid state), at this time, if the second result indicates that there is a live wire voltage between the two input terminals of the second voltage detection module, for example, the output result of the second voltage detection module is logic 1 (or high level), it can be determined that there is a live wire connected to other live wires, that is, at this time, there is a live wire voltage (such as 220V, or 110V, or other values) between the two input terminals of the second voltage detection module. In practical applications, the detection conditions of other live wires can also be combined to determine which specific live wire the above-mentioned live wire (such as the aforementioned L1 live wire) is connected to. For example, the other wires also use the same connection method and the same detection device as the above-mentioned L1 live wire and the load, that is, the first switch, fuse, first voltage detection module, second voltage detection module and third voltage detection module are also connected between the other live wires and the load. When the output end of the second voltage detection module in the L1 wire is logic 1 (or high level), and the output end of the corresponding second voltage detection module in the Mth wire is also logic 1 (or high level), it can be determined that the above-mentioned L1 live wire is connected to the Mth live wire. Through this embodiment, the purpose of having the control module adjust the different states of the first switch and the target switch and determine whether there is a live wire connection fault with other live wires based on the detection results of the second voltage detection module is achieved.
[0035] In an optional embodiment, the control module is used to determine whether the fuse is open based on the state of the first switch, the state of the target switch, the second result, and the third result. In this embodiment, the control module can determine whether the fuse is open based on the state of the first switch, the state of the target switch, the second result, and the third result. For example, when the control module inputs a first control instruction to the first switch and a second control instruction to the target switch, so that the first switch is in an off state (or can be called an invalid state), and the target switch is in an off state (also can be called an invalid state), at this time, if the second result indicates that there is a live wire voltage between the two input terminals of the second voltage detection module, and the third result indicates that there is no live wire voltage between the two input terminals of the third voltage detection module, then it can be determined that the fuse is in an open circuit state; or, When the control module inputs a first control instruction to the first switch and a second control instruction to the target switch, so that the first switch is in a closed state (also called an effective state, or a conducting state) and the target switch is in an open state (also called an invalid state), at this time, if the second result indicates that there is no live wire voltage between the two input terminals of the second voltage detection module, and the third result indicates that there is a live wire voltage between the two input terminals of the third voltage detection module, then it can be determined that the fuse is in an open circuit state; the live wire voltage in the above embodiments refers to the normal voltage between the live wire and the neutral wire, such as 220V, or 110V, or other voltage standard values. Through this embodiment, the purpose of having the control module adjust the different states of the first switch and the target switch and determine whether there is an open circuit fuse fault based on the detection results of the second voltage detection module and the detection results of the third voltage detection module is achieved.
[0036] Obviously, the above-described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The present invention will be described in detail below with reference to the embodiments.
[0037] Figure 4 FIG. 1 is a structural block diagram of a power line fault detection device according to a specific embodiment of the present invention. Figure 4 As shown, Figure 4 Lap situation 1 refers to the lapping of the live wire and the neutral wire, and lapping situation 2 refers to the lapping between the live wires.
[0038] The working principle of the detection device in this embodiment is as follows: based on whether the controlled switch (corresponding to the first switch or the target switch) controls the output to be energized, the voltage before and after the fuse is detected, and all voltage detection information is combined. After detection by the control unit (corresponding to the control module), the specific connection line is determined, and the specific power line connection can be accurately located. According to the truth table in Table 1, the type of connection can be determined: live wire and live wire connection; according to the truth table in Table 2, the type of connection can be determined: live wire and neutral wire connection. The following is a detailed description of the embodiment of the present invention.
[0039] (1) Live and neutral wire connection detection
[0040] Cn (corresponding to the output terminal of the aforementioned first voltage detection module): When EN_Ln (corresponding to the controlled terminal of the aforementioned first switch) is invalid (i.e., its corresponding controlled switch Kn is closed, corresponding to the aforementioned disconnected state or invalid state), EN_N (corresponding to the controlled terminal of the aforementioned target switch) is valid (i.e., its corresponding controlled switch C is opened, corresponding to the aforementioned closed state, or valid state, or conductive state), for example, EN_Ln=1 (or EN_Ln terminal inputs a high level) is valid, EN_Ln=0 (or EN_Ln terminal inputs a low level) is invalid, E The validity or invalidity of N_N is similar to EN_Ln. One of the live wires Lm is selected to pass through the controlled switch C (corresponding to the aforementioned target switch), and the obtained live wire L_DETECT and live wire LOUTn are sent to the voltage detection Cn. If the live wire LOUTn is connected to the neutral wire N, then its voltage detection Cn is sent to the control unit as logic 1 (or high level), and it is judged that the corresponding live wire and neutral wire are connected; if the live wire LOUTn is not connected to the neutral wire N, then its voltage detection Cn is sent to the control unit as logic 0 (or low level), and it is judged that the corresponding live wire and neutral wire are not connected.
[0041] (2) Live wire and live wire connection detection
[0042] Voltage detection An, Bn (An, Bn correspond to the output end of the aforementioned third voltage detection module and the output end of the second voltage detection module, respectively): when EN_Ln is valid (that is, its corresponding controlled switch Kn is turned on) and EN_N is invalid (that is, its corresponding controlled switch C is closed), the live wire Ln passes through the controlled switch Kn to the fuse and finally to the live wire LOUTn, wherein the live wire Ln may be the same as or different from the above-mentioned live wire Lm. Therefore, the voltage detection An, Bn is compared with the voltage of the neutral wire N, and An / Bn is valid or invalid (defined as 1 for valid and 0 for invalid). Valid indicates that there is a live wire voltage at the detected point (equivalent to the normal voltage between the live wire and the neutral wire, such as 220V, or 110V, or other values), and invalid indicates that there is no live wire voltage at the detected point.
[0043] (3) Principle of voltage detection An, Bn, Cn
[0044] Voltage detection An, Bn: The voltage difference between the live wire and the neutral wire can be used to detect the voltage value and send it to the control unit, or it can be sampled by ADC and sent to the control unit, or it can be sent to the control unit after isolation through an optical coupler. This proposal does not limit the specific implementation scheme.
[0045] Voltage detection Cn uses the voltage difference between the live wire and the live wire to be tested, LOUTn (which may be connected to the neutral wire), to determine whether the live wire LOUTn is connected to the neutral wire. This voltage difference is the same as the voltage detection method An and Bn. The advantage of this proposal's live wire and neutral wire detection method is that it can detect live wire and neutral wire connection without blowing the fuse.
[0046] Table 1 is a truth table for judging the connection between live and neutral lines. As shown in Table 1, when EN_N is valid (corresponding to 1 in the table) and EN_Ln is invalid, when the result of detecting Cn is 1 (i.e. valid), it is equivalent to Figure 4 When the medium voltage detection module Cn detects the presence of a live wire voltage between its two input terminals, it can be determined that the live wire and the neutral wire are overlapped, that is, the live wire and the neutral wire are overlapped in the nth circuit in the figure. In actual applications, the same method can be used to detect whether there is a problem of live wire and neutral wire overlap for the live wires of other circuits.
[0047] Table 1
[0048] EN_Ln EN_N Cn result 0 1 1 Live wire and neutral wire connection 0 1 0 OK 1 - - -
[0049] Table 2 is a truth table for determining an open fuse and a hot-line-hot-line connection. As shown in Table 2, after detecting the hot-line-neutral connection, EN_N can be set to invalid, that is, EN_N=0. At this time, if EN_Ln is valid (corresponding to EN_Ln=1), An=1 and Bn=0, then the fuse can be determined to be in an open state. Alternatively, if EN_Ln is invalid (corresponding to EN_Ln=0), An=0 and Bn=1, then the fuse can be determined to be in an open state.
[0050] After EN_N is set to be invalid, that is, EN_N=0, if Bn=1 is detected when EN_Ln is invalid (corresponding to EN_Ln=0), it can be determined that the n-th live wire is connected to other live wires; in actual application, the voltage detection data of other wires can also be combined to determine which specific live wire the n-th live wire is connected to. For example, when Bn=1 is detected and Bm=1 (Bm represents the detection result of the second voltage detection module of the m-th wire, Figure 4 Not shown, with Figure 4Similar to B1 and Bn in ), at this time it can be determined that the nth live wire is connected to the mth live wire.
[0051] Table 2
[0052] EN_Ln An Bn result 1 0 0 - 1 1 1 OK 1 1 0 Fuse open 1 0 1 - 0 0 0 OK 0 1 1 The fuse is OK, the live wire is connected to the live wire 0 1 0 - 0 0 1 The fuse is open and the live wire is connected to the live wire
[0053] It should be noted that, in actual applications, for lines with multiple live wires, the same method as above can be used to detect each live wire to detect whether there are faults such as live wire and neutral wire overlap, live wire and live wire overlap, and fuse open circuit; in addition, the "OK" in the result column of the rightmost column in the above Table 1 and Table 2 indicates that there is no fault, and the "-" in the table indicates that the corresponding situation will not occur in actual application or is the result of other reasons, and does not belong to the content studied in the embodiments of the present invention.
[0054] In an embodiment of the present invention, the on / off status of a fuse can be detected by using pre-fuse voltage detection; and by comparing the voltage detection data after multiple fuses, the specific line connection situation can be accurately located. The embodiment of the present invention can realize the connection detection of multiple power line transmissions and the detection of fuse on / off, thereby achieving the effect of improving the detection efficiency of power line faults.
[0055] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0056] This embodiment also provides a fault detection method, which is applied to the device described in any of the above embodiments. Figure 5 FIG. 1 is a flow chart of a fault detection method according to an embodiment of the present invention. Figure 5 As shown, the method includes:
[0057] Step S502: The control module outputs the first control instruction to the first switch to adjust the state of the first switch, and outputs the second control instruction to the target switch to adjust the state of the target switch;
[0058] Step S504: the control module obtains the first result output by the first voltage detection module;
[0059] In step S506 , the control module determines whether the second end of the first switch is connected to the neutral line based on the state of the first switch, the state of the target switch, and the first result.
[0060] In an optional embodiment, the control module determines whether the second end of the first switch is connected to the neutral line based on the state of the first switch, the state of the target switch and the first result, including: when it is determined that the state of the first switch is open, the state of the target switch is closed, and the first result is a high level, determining that the second end of the first switch is connected to the neutral line; when it is determined that the state of the first switch is open, the state of the target switch is closed, and the first result is a low level, determining that the second end of the first switch is not connected to the neutral line.
[0061] In an optional embodiment, the device also includes a second voltage detection module, wherein the input end of the second voltage detection module is connected to the neutral line and the second end of the first switch, and the output end of the second voltage detection module is connected to the control module, and the second voltage detection module is used to detect the voltage value between the second end of the first switch and the neutral line, and output the second result obtained by detection to the control module; wherein the above method also includes: the control module determines whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch and the second result.
[0062] In an optional embodiment, the control module determines whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch and the second result, including: when it is determined that the state of the first switch is disconnected, the state of the target switch is disconnected, and the second result is a high level, determining that the live wire where the first switch is located is connected to the other live wires.
[0063] In an optional embodiment, the device further includes a fuse and a third voltage detection module, wherein the first end of the fuse is connected to the second end of the first switch, the second end of the fuse is configured to be connected to the load, the second end of the first switch is configured to be connected to the load and the input end of the second voltage detection module respectively through the fuse, and the second end of the first switch is connected to the input end of the first voltage detection module through the fuse; the input end of the third voltage detection module is connected to the neutral line and the first end of the fuse, the output end of the third voltage detection module is connected to the control module, and the third voltage detection module is used to detect the voltage value between the first end of the fuse and the neutral line, and output the third result obtained by detection to the control module; wherein the above method further includes: the control module determines whether the fuse is open based on the state of the first switch, the state of the target switch, the second result and the third result.
[0064] In an optional embodiment, the control module determines whether the fuse is open based on the state of the first switch, the state of the target switch, the second result, and the third result, including: when it is determined that the state of the first switch is closed, the state of the target switch is open, the second result is a low level, and the third result is a high level, determining that the fuse is open; when it is determined that the state of the first switch is open, the state of the target switch is open, the second result is the high level, and the third result is the low level, determining that the fuse is open.
[0065] In the above embodiment, the detection result of each voltage detection module is a high level or a low level, which is used to indicate whether there is a live wire voltage (such as 220V, or 110V or other values) between the input ends of the voltage detection module. For example, when the detection result of the voltage detection module is a high level, it indicates that there is a live wire voltage (such as 220V) between the input ends of the voltage detection module, and when the detection result of the voltage detection module is a low level, it indicates that there is no live wire voltage between the input ends of the voltage detection module, that is, the voltage between the input ends of the voltage module may be 0V at this time.
[0066] Figure 6 FIG. 1 is a flow chart of a power line fault detection method according to a specific embodiment of the present invention. Figure 6 As shown, combined Figure 4 The module in the figure illustrates this method, which includes the following steps:
[0067] S602, set EN_N = 1, EN_Ln = 0, that is, the control unit controls EN_N to be valid and EN_Ln to be invalid (i.e. Figure 4 The controlled switch Kn is in the disconnected state);
[0068] S604, determining whether Cn is 1 (or high level), "1" indicates that there is a live wire voltage, such as 220V, between the two input terminals of the voltage detection module Cn;
[0069] S606: If the result of the judgment in step S604 is yes (ie, Cn=1), determine the nth live wire (eg Figure 4 The live wire (Ln) is connected to the neutral wire;
[0070] It should be noted that in the above step S604, the above method can be used to determine whether there is a live wire and a neutral wire overlap for other live wires (such as L1, L2, Lm, or any other live wire), that is, the above n can be detected for each wire separately from 1 to the maximum value;
[0071] S608, after checking the connection between each live wire and neutral wire, if it is determined that Cn is not equal to 1 (n is from 1 to the maximum value), other faults can be detected. At this time, EN_N=0, EN_Ln=1 is set, that is, the control unit controls EN_N to be invalid and EN_Ln to be valid (i.e. Figure 4 The controlled switch Kn is in the closed state, or called the conducting state);
[0072] S610, determine whether An is equal to Bn;
[0073] S612: If the result of the judgment in S610 is yes, the line is determined to be normal, and the process returns to step S608 to continue judging whether other lines are normal.
[0074] S614: If the result of the above S610 is negative, it is determined that the line is abnormal;
[0075] S616, determine whether An=1 and Bn=0;
[0076] S618, when the result of the above S616 is yes, that is, when An=1 and Bn=0, it can be determined that the nth fuse is in an open circuit state;
[0077] The same method as above can be used to determine whether other fuses are open. For example, for the mth fuse, determine whether Am=1 and Bm=0. If so, the mth fuse is determined to be open.
[0078] S620: If the result of the judgment in S616 is negative, that is, An=0, Bn=1, set EN_Ln=0, EN_Lm=1 (m ranges from 1 to the maximum value);
[0079] S622, determine whether Bn=1 and Bm=1;
[0080] S624, if the result of the judgment in S622 is yes, then determining that the nth live wire and the mth live wire are connected;
[0081] It should be noted that the same method as above can be used to determine whether the n-th live wire is connected to the other live wires. If the result of the determination in step S622 is negative, the process returns to step S620 and sets the controlled terminals of the controlled switches of the other wires to 1, i.e., the control unit sets the controlled switches of the other wires to a closed state (or an effective state) to detect whether the n-th live wire is connected to the other live wires.
[0082] S626, end.
[0083] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0084] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.
[0085] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0086] An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0087] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0088] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.
[0089] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. They can be implemented using program code executable by the computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than that shown, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0090] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention are intended to be within the scope of protection of the present invention.
Claims
1. A fault detection device, characterized in that: include: A first switch, a first voltage detection module, a control module, and a target switch, wherein a first end of the first switch is configured to be connected to a live wire, a second end of the first switch is configured to be connected to a load, a controlled end of the first switch is connected to the control module, and the first switch adjusts its state based on a first control instruction of the control module; The input end of the first voltage detection module is connected to the second end of the first switch and the second end of the target switch respectively, and the output end of the first voltage detection module is connected to the control module. The first voltage detection module is used to detect the voltage value between the second end of the first switch and the second end of the target switch, and output a first detection result to the control module; The first end of the target switch is connected to the live wire, the controlled end of the target switch is connected to the control module, and the target switch adjusts the state of the target switch based on the second control instruction of the control module; The control module is configured to output the first control instruction to the first switch, output the second control instruction to the target switch, and determine whether the second end of the first switch is connected to the neutral line based on the first result; The fault detection device also includes: a second voltage detection module, wherein the input end of the second voltage detection module is connected to the neutral line and the second end of the first switch, and the output end of the second voltage detection module is connected to the control module, and the second voltage detection module is used to detect the voltage value between the second end of the first switch and the neutral line, and output a second result obtained by detection to the control module; the control module is also used to determine whether the live wire of the line where the first switch is located is connected to other live wires based on the second result.
2. The fault detection device according to claim 1, characterized in that: The fault detection device further comprises: fuse and a third voltage detection module, wherein, The first end of the fuse is connected to the second end of the first switch, the second end of the fuse is configured to be connected to the load, the second end of the first switch is configured to be connected to the load and the input end of the second voltage detection module respectively through the fuse, and the second end of the first switch is connected to the input end of the first voltage detection module through the fuse; The input end of the third voltage detection module is connected to the neutral line and the first end of the fuse, and the output end of the third voltage detection module is connected to the control module. The third voltage detection module is used to detect the voltage value between the first end of the fuse and the neutral line, and output a third detection result to the control module; The control module is further configured to determine whether the fuse is open based on the second result and the third result.
3. The fault detection device according to claim 1, characterized in that: The control module is configured to determine whether the second end of the first switch is connected to the neutral line based on a state of the first switch, a state of the target switch, and the first result.
4. The fault detection device according to claim 1, characterized in that: The control module is configured to determine whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch, and the second result.
5. The fault detection device according to claim 2, characterized in that: The control module is configured to determine whether the fuse is open based on a state of the first switch, a state of the target switch, the second result, and the third result.
6. A fault detection method, characterized in that: The fault detection device according to any one of claims 1 to 5 comprises: The control module outputs the first control instruction to the first switch to adjust the state of the first switch, and outputs the second control instruction to the target switch to adjust the state of the target switch; The control module obtains the first result output by the first voltage detection module; The control module determines whether the second end of the first switch is connected to the neutral line based on the state of the first switch, the state of the target switch and the first result; The fault detection device also includes a second voltage detection module, wherein the input end of the second voltage detection module is connected to the neutral line and the second end of the first switch, and the output end of the second voltage detection module is connected to the control module, and the second voltage detection module is used to detect the voltage value between the second end of the first switch and the neutral line, and output a second result obtained by detection to the control module; wherein the fault detection method also includes: the control module determines whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch and the second result.
7. The fault detection method according to claim 6, characterized in that: The control module determines whether the second end of the first switch is connected to the neutral line based on the state of the first switch, the state of the target switch, and the first result, including: When it is determined that the state of the first switch is open, the state of the target switch is closed, and the first result is a high level, determining that the second end of the first switch is connected to the neutral line; When it is determined that the state of the first switch is open, the state of the target switch is closed, and the first result is a low level, it is determined that the second end of the first switch is not connected to the neutral line.
8. The fault detection method according to claim 6, characterized in that: The control module determines whether the live wire where the first switch is located is connected to other live wires based on the state of the first switch, the state of the target switch, and the second result, including: When it is determined that the state of the first switch is disconnected, the state of the target switch is disconnected, and the second result is a high level, it is determined that the live wire where the first switch is located is connected to the other live wires.
9. The fault detection method according to claim 6, characterized in that: The fault detection device further includes a fuse and a third voltage detection module, wherein the first end of the fuse is connected to the second end of the first switch, the second end of the fuse is configured to be connected to the load, the second end of the first switch is configured to be connected to the load and the input end of the second voltage detection module respectively through the fuse, and the second end of the first switch is connected to the input end of the first voltage detection module through the fuse; the input end of the third voltage detection module is connected to the neutral line and the first end of the fuse, the output end of the third voltage detection module is connected to the control module, and the third voltage detection module is used to detect the voltage value between the first end of the fuse and the neutral line, and output a third detection result to the control module; The fault detection method further includes: the control module determining whether the fuse is open based on the state of the first switch, the state of the target switch, the second result, and the third result.
10. The fault detection method according to claim 9, characterized in that: The control module determines whether the fuse is open based on the state of the first switch, the state of the target switch, the second result, and the third result, including: When it is determined that the state of the first switch is closed, the state of the target switch is open, the second result is a low level, and the third result is a high level, determining that the fuse is in an open state; When it is determined that the state of the first switch is disconnected, the state of the target switch is disconnected, the second result is a high level, and the third result is a low level, it is determined that the fuse is in an open state.
Citation Information
Patent Citations
Charging equipment and short circuit detection circuit of output end of charging equipment
CN108539831A