A method for automatically testing a relay protection device with a fault location function
By using measurement and control devices in relay protection devices to realize periodic control of multiple inputs and outputs and automatic power-on and power-off, the problem of low efficiency in the existing technology is solved, and the fault location and time can be quickly located, significantly accelerating the Improved troubleshooting speed.
Patent Information
- Application Number
- CN202111410285.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-11-19
Smart Images

Figure CN114137344B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of relay protection, and in particular to an automatic testing method for a relay protection device with a fault locating function. Background Art
[0002] At present, there are a large number of relay protection and automation devices in the substations that have been put into operation. These secondary devices support the normal operation of the power system, but occasionally some devices may have problems with incorrect output or abnormal power-on startup, causing certain economic losses and adverse effects. Some relay protection and automation devices have hidden dangers or defects. These hidden dangers or defects are highly concealed and have low probability of occurrence. Secondary equipment manufacturers failed to discover them during the development or testing process. After a large number of devices were put into operation, problems were exposed in actual operation due to hardware problems or timing errors. Most of the problems with the put into operation equipment are low-probability problems. It is necessary to find a way to expose the problems as soon as possible and locate the approximate scope of the problems. When problems occur during the power-on process of the device, in order to simulate the working conditions where the problem occurs, it is generally adopted to manually power on and start the device repeatedly to observe whether there are abnormal problems in the device. This is inefficient and the effect is not obvious. Summary of the invention
[0003] Based on the above-mentioned problems in the prior art, the purpose of the present invention is to provide an automatic testing method for a relay protection device with a fault locating function. The method of the present invention can accelerate the exposure of problems without the need for on-duty supervision, and can locate the scope of the problem based on the feedback signal, providing an important reference for in-depth analysis of the problem.
[0004] The present invention is achieved by the following technical solutions:
[0005] A method for automatically testing a relay protection device with a fault location function, the method comprising:
[0006] Step S100, building a test system, wherein the test system includes a measurement and control device;
[0007] Step S200, performing logic design on the measurement and control device to drive the outlet 1;
[0008] Step S300: locating the fault.
[0009] Furthermore, the step S100 includes:
[0010] The positive pole of the power supply module of the device under test is controlled by "Export 1" of the measurement and control device;
[0011] The power supply provides input power to the input module of the measurement and control device;
[0012] The positive pole of the power supply is connected to the "input 0+" of the measurement and control device through the "export 1" of the measurement and control device;
[0013] The positive pole of the power supply is connected to the "input 1~5+" of the measurement and control device through the "export 1~5" of the device under test.
[0014] Furthermore, the step S200 includes:
[0015] Step S210, the test inputs the "start control word" and starts running. Initially, the "logic AND" output is true, the "logic OR 1" output is true, and the "drive output 1 state" becomes true;
[0016] Step S220, the "delay element" inputs the time value as the "closing time value", and after the time value is changed, the true state is passed to the "widening element", during which the "driving outlet 1 state" is always true, and the "exit 1" is always closed;
[0017] Step S230, the input time value of the "widening element" is the "opening time value". After the closing time value has passed, the input of the "widening element" changes from false to true. When the rising edge occurs, the element immediately transfers the state backward;
[0018] Step S240, "Logical AND" output is false, "Logical OR 1" output is false, "Drive Output 1 State" becomes false, and "Outlet 1" is disconnected;
[0019] Step S250, the input of the "delay element" is a falling edge, and the false state is immediately passed backward;
[0020] Step S260, the "stretching element" senses the falling edge and needs to pass the false state backward after the disconnection time is set, and it always outputs true during this period, while "export 1" remains disconnected;
[0021] Step S270, when the disconnection time is up, the "widening element" passes the false state to the "logical AND", after which the "driving output 1 state" becomes true, and the process (2) is repeated, and the cycle repeats.
[0022] Step S280, through repeated cycles, "export 1" is controlled to be repeatedly closed and opened, and the device under test is repeatedly powered on and off automatically through it;
[0023] Step S290, when the device under test has an erroneous output in one of its "outputs 1 to 5" during a power-on process, the "input 1 to 5" action of the measurement and control device will be triggered, and the "logical or 2" and "logical or 3" will form a self-holding logic. The automatic stop condition will be met, and the "drive output 1 status" will continue to remain in the true state. The "output 1" of the measurement and control device will always be closed, the automatic power-on and power-off logic will stop, and the test environment will remain to wait for the cause to be found out.
[0024] Furthermore, the step S300 includes:
[0025] Step S310, locating the exit channel where the problem occurs in the device under test;
[0026] Step S320, locating the time when the problem occurs.
[0027] Furthermore, the step S310 includes:
[0028] The measurement and control device can be connected to multiple inputs, each of which corresponds to an output of the device under test.
[0029] Furthermore, the step S310 includes:
[0030] The measurement and control device keeps a log record of each input action. By querying the log record, the problem of incorrect outlet of the device under test can be accurately located to which outlet the problem lies.
[0031] The technical solution of the present invention can achieve the following beneficial technical effects:
[0032] The present invention is realized by a measurement and control device, which has multiple inputs and multiple outputs. By designing the control logic of the output channel of the measurement and control device, the output channel is periodically closed and opened, and power is supplied to the device under test through the output channel. The device under test can be automatically powered on and off, simulating the working conditions of the problem, and accelerating the exposure of potential problems. Once the problem is exposed, the test method can stop automatically, and locate the position and time of the fault according to the recorded information, providing an important basis for subsequent in-depth analysis of the problem.
[0033] The testing method introduced in the present invention can not only accelerate the exposure of potential problems, but also realize automated testing without the need for human supervision. The test frequency and cycle can be set, and the location and relative time of the problem can be located after the problem recurs, greatly accelerating the troubleshooting and analysis speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a wiring diagram of the test system of the present invention;
[0035] Figure 2 This is a schematic diagram of the automatic test logic of the measurement and control device of the present invention;
[0036] Figure 3 It is a schematic diagram of the cyclic action of the outlet 1 of the measurement and control device of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0038] In a specific embodiment, the present invention provides an automatic testing method for a relay protection device with a fault location function. Specifically, the present invention is implemented by a measurement and control device, which has multiple inputs and multiple outputs. By designing the control logic of the output channel of the measurement and control device, the output channel is periodically closed and disconnected, and the device under test is powered through the output channel, so that the device under test can be automatically powered on and off, simulating the working conditions of the problem, and accelerating the exposure of potential problems. Once the problem is exposed, the test method can automatically stop, and locate the location and time of the fault according to the recorded information, providing an important basis for subsequent in-depth analysis of the problem.
[0039] Before testing, the device under test and the measurement and control device must be Figure 1 connect.
[0040] Specifically, the automatic testing method for a relay protection device with a fault location function comprises the following steps:
[0041] Step S100: constructing a test system, wherein the test system includes a measurement and control device.
[0042] Specifically, the test system wiring instructions are as follows:
[0043] DC220V power supply directly provides power for the measurement and control device;
[0044] The positive pole of the power supply module of the device under test is controlled by the "export 1" of the measurement and control device, that is, the measurement and control device can control whether the device under test is powered on. When "export 1" is closed, the device under test is powered on and starts initialization operation. When "export 1" is disconnected, the device under test loses power and stops running.
[0045] The DC220V power supply also provides input power for the input module of the measurement and control device, and the negative pole of the input power supply is directly connected to "input-";
[0046] The positive pole of the DC220V power supply is connected to the "open input 0+" of the measurement and control device through the "export 1" of the measurement and control device. That is, when "export 1" is closed, the "open input 0" of the measurement and control device is activated and a log is recorded; when "export 1" is disconnected, the "open input 0" of the measurement and control device returns and a log is recorded;
[0047] The positive pole of the DC220V power supply is connected to the "input 1~5+" of the measurement and control device through the "export 1~5" of the device under test. That is, whether the "input 1~5" of the measurement and control device is actuated is controlled by whether the "export 1~5" of the device under test is closed. If the "export 1~5" of the device under test is actuated, it will inevitably trigger the "input 1~5" of the measurement and control device and leave a log record.
[0048] Step S200, perform logic design on the measurement and control device to drive the output 1.
[0049] Specifically, the test start automatic stop logic design method is as follows:
[0050] After the test system is built, the automatic operation method of the system needs to be designed. The key to the test system is the control of the "export 1" of the measurement and control device. Figure 2 Perform logic design:
[0051] After the measurement and control device is powered on, it drives the output 1 according to the following logic. The logic is as follows:
[0052] (1) The test starts with the input of the "start control word" and the operation begins. Initially, the "logic AND" output is true, the "logic OR 1" output is true, and the "drive output 1 status" becomes true;
[0053] (2) The input time value of the "delay element" is the "closing time value". After the time value is changed, the true state is passed to the "widening element". During this period, the "drive outlet 1 state" is always true and the "exit 1" is always closed.
[0054] (3) The input time value of the "widening component" is the "opening time value". After the closing time value has passed, the input of the "widening component" changes from false to true. When the rising edge occurs, the component immediately transfers the state backward;
[0055] (4) "Logical AND" output is false, "Logical OR 1" output is false, "Drive Output 1 Status" becomes false, and "Output 1" is disconnected;
[0056] (5) The input of the “delay element” is a falling edge, and the false state is immediately passed backward;
[0057] (6) When the "widening element" senses the falling edge, it needs to pass the false state backward after the disconnection time is set, and it always outputs true during this period, while "export 1" remains disconnected;
[0058] (7) When the disconnection time is up, the "widening element" passes the false state to the "logical AND", and then
[0059] "Drive exit 1 status" becomes true, and then the process goes into step (2) again, and the cycle repeats.
[0060] "Exit 1" will follow the following Figure 3 Cycle closing and opening.
[0061] (8) Through repeated cycles, "exit 1" is controlled to be repeatedly closed and opened, through which the device under test is repeatedly powered on and off automatically, without the need for personnel on duty. The automatic test cycle can be changed by modifying the time setting value;
[0062] (9) When the device under test experiences an erroneous output in one of its "Outlets 1 to 5" during a power-on process, the "Input 1 to 5" action of the measurement and control device will be triggered. The "Logical OR 2" and "Logical OR 3" will form a self-holding logic, the automatic stop condition will be met, and the "Drive Output 1 Status" will continue to remain in the true state. The "Outlet 1" of the measurement and control device will always be closed, the automatic power-on and power-off logic will stop, and the test environment will remain open while waiting for the cause to be found.
[0063] Through this automatic testing method, the device under test can be automatically powered on and off, and the power-on and power-off cycles can be adjusted through fixed values. The test cycle and frequency are controllable, which can accelerate the exposure of potential problems. Once the problem recurs, the test will be immediately paused, waiting for designers to locate the fault and analyze the problem based on the phenomenon.
[0064] Step S300: locating the fault.
[0065] Step S310, locating the exit channel where the problem occurs in the device under test.
[0066] In this test system, the measurement and control device can be connected to multiple inputs, each of which corresponds to an outlet of the device under test. The measurement and control device has a log record of each input action. By querying the log record, the problem of incorrect outlet of the device under test can be accurately located to which outlet the problem is.
[0067] Step S320, locating the time when the problem occurs.
[0068] The measurement and control device has a time stamp for the SOE record of the input action, and the SOE resolution accuracy is up to 1ms; each time the "export 1" of the measurement and control device is closed, the device under test is powered on, and the "input 0" action of the measurement and control device is also triggered. The record contains a detailed action time record t0, and the moment t0 is also the power-on moment of the device under test. If the device under test has an erroneous output problem at this startup, the measurement and control device will also record the SOE record of the "input X" action, with a time stamp of tx. This can accurately locate the time Tx=t0-tx from the time of power-on of this erroneous output problem. This time is very important for further analysis of the problem, because the device under test will experience the loading and initialization of various program modules during the power-on startup process. There are various timing coordinations in this process. The programmer will have a rough time interval division for the initialization time of each module. After obtaining Tx, it can be used to locate which module the device is in the initialization stage when the problem occurs. When conducting targeted analysis (such as adding an oscilloscope to the board test point), it can achieve twice the result with half the effort, which is conducive to rapid problem troubleshooting.
[0069] In another embodiment of the present invention, problem reproduction can be accelerated by manually powering on and off the device under test repeatedly, or by increasing the number of samples of the device under test. If a high-probability problem is encountered, it is possible to reproduce it faster. In terms of problem location analysis, the scope of suspicion can be expanded from the beginning, and additional test and analysis methods can be comprehensively added. Then, fault characteristics can be extracted and the scope can be narrowed down step by step.
[0070] In summary, the present invention provides an automatic testing method for a relay protection device with a fault location function, the method comprising: step S100, building a test system, the test system comprising a measurement and control device; step S200, performing a logic design on the measurement and control device to drive exit 1; step S300, performing fault location. The testing method introduced in the present invention can not only accelerate the exposure of potential problems, but also realize automated testing without the need for personnel on duty, and the test frequency and cycle can be set, and the location and relative time of the problem can be located after the problem reappears, greatly accelerating the speed of fault troubleshooting and analysis.
[0071] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.
Claims
1. A method for automatically testing a relay protection device with a fault location function, characterized in that: The method comprises: Step S100, building a test system, the test system includes a measurement and control device; including: the positive pole of the power supply module of the device under test is controlled by the "export 1" of the measurement and control device; the power supply provides the input power supply for the input module of the measurement and control device; the positive pole of the power supply is connected to the "input 0+" of the measurement and control device through the "export 1" of the measurement and control device; the positive pole of the power supply is connected to the "input 1~5+" of the measurement and control device through the "export 1~5" of the device under test; Step S200, performing logic design on the measurement and control device to drive the output 1; including: Step S210, the test inputs the "start control word" and starts running. Initially, the "logic AND" output is true, the "logic OR 1" output is true, and the "drive output 1 state" becomes true; Step S220, the "delay element" inputs the time value as the "closing time value", and after the time value is changed, the true state is passed to the "widening element". During this period, the "driving outlet 1 state" is always true, and the "exit 1" is always closed; Step S230, the input time value of the "widening component" is the "opening time value". After the closing time value has passed, the input of the "widening component" changes from false to true. When the rising edge occurs, the component immediately passes the state backward; Step S240, "Logical AND" output is false, "Logical OR 1" output is false, "Drive Output 1 State" becomes false, and "Outlet 1" is disconnected; Step S250, the "delay element" input is a falling edge, and the false state is immediately passed backward; Step S260, the "stretching element" senses the falling edge and needs to pass the false state backward after the disconnection time is set, during which it always outputs true, and "export 1" remains disconnected; Step S270, after the disconnection time is up, the "widening element" passes the false state to the "logical AND", after which the "driving output 1 state" becomes true, and the aforementioned step S220 is repeated, and the cycle repeats; Step S280, through repeated cycles, "exit 1" is controlled to be repeatedly closed and opened, through which the device under test is repeatedly automatically powered on and off; Step S290, when the device under test has a false output in one of its "outputs 1 to 5" during a power-on process, the "input 1 to 5" action of the measurement and control device will be triggered, and the "logical OR 2" and "logical OR 3" will form a self-holding logic, the automatic stop condition will be met, and the "drive output 1 state" will continue to remain in the true state, the measurement and control device "output 1" will always be closed, the automatic power-on and power-off logic will stop, and the test environment will remain to wait for the cause to be found out; Step S300, performing fault location, includes: Step S310, locating the exit channel where the problem occurs in the device under test; Step S320, locating the time when the problem occurs.
2. The automatic testing method for a relay protection device with a fault location function according to claim 1 is characterized in that: The step S310 includes: The measurement and control device can be connected to multiple inputs, each of which corresponds to an output of the device under test.
3. The automatic testing method for a relay protection device with a fault location function according to claim 2 is characterized in that: The step S310 includes: The measurement and control device keeps a log record of each input action. By querying the log record, the wrong outlet problem of the device under test can be accurately located to which outlet the problem lies.
