Relay protection test device and method, electronic equipment and storage medium

By designing a relay protection test device including main control module, power amplifier module, switching module, RF module and time-to-time module, using wireless RF communication and wireless time-to-time mode, the problem of time-consuming and complex wiring when testing multiple devices is difficult to meet the needs of multiple sets of current input and testing multiple devices is solved, and an efficient and simplified relay protection test process is achieved.

CN119805964APending Publication Date: 2025-04-11CHINA SOUTHERN POWER GRID COMPANY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411753543.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

Existing relay protection device testing equipment is difficult to meet the needs of multiple sets of current inputs, and the wiring is time-consuming and complex when testing multiple devices, which increases the risk of human error. In addition, the wired time-to-time method is costly and difficult to maintain in long-distance scenarios.

Method used

A relay protection test device is designed, including a main control module, a power amplifier module, a switching module, a radio frequency module and a timing module. The synchronization of multiple devices is achieved through wireless radio frequency communication, and the wiring and testing process is simplified by wireless timing.

Benefits of technology

Synchronous testing of multiple relay protection devices is realized, which reduces test time, simplifies wiring and testing processes, reduces operational complexity and risk of human errors, and reduces cost and maintenance difficulty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119805964A_ABST
    Figure CN119805964A_ABST
Patent Text Reader

Abstract

The invention discloses a relay protection testing device and method, electronic equipment and a storage medium. The device comprises a main control module, a power amplifier module, a switching value module, a radio frequency module and a time synchronization module. The main control module is respectively connected with the power amplifier module, the switching value module, the radio frequency module and the time synchronization module; the power amplifier module is used for voltage and current output control; the switching value module is used for detecting displacement of an input level and outputting an output signal; the radio frequency module is used for wireless radio frequency communication and receiving and outputting synchronous pulse signals; the time synchronization module is used for adjusting a local clock according to the synchronization pulse signal and controlling the power amplifier module and the switching value module. According to the technical scheme, wireless communication can be conducted through the radio frequency module, the flexibility of the system is improved, it is ensured that the multiple devices are kept synchronous in time through the time synchronization module, the time needed for testing the multiple devices can be shortened, the wiring and testing processes are simplified, and errors caused by misoperation are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of relay protection of power systems, and in particular to a relay protection test device, method, electronic equipment and storage medium. Background Art

[0002] In the testing of secondary control and protection equipment of power systems, most test equipment only provides one or two sets of analog outputs. When testing protection equipment that requires multiple sets of current, such as transformer protection and busbar protection, three or four sets of current inputs may be required, and it is difficult for a single device to meet this requirement. In some test scenarios, a larger current capacity is required, but a single device cannot provide sufficient output, and the problem needs to be solved by parallel current output.

[0003] At present, the test of relay protection devices is generally carried out on a single device. When multiple devices need to be tested, each device needs to be wired separately, which is not only time-consuming, but also increases the complexity of operation and is prone to human errors. In addition, the existing time synchronization method is generally achieved through wired optical fiber. When multiple test devices are distributed in remote locations, wired connection wiring is difficult and requires longer cables, which increases costs and maintenance difficulties. Summary of the invention

[0004] The present invention provides a relay protection test device, method, electronic equipment and storage medium to solve the problem that the wiring of a relay protection device is time-consuming and the operation is complicated.

[0005] According to one aspect of the present invention, there is provided a relay protection test device, comprising: a main control module, a power amplifier module, a switch quantity module, a radio frequency module, and a timing module;

[0006] The main control module is respectively connected to the power amplifier module, the switch quantity module, the radio frequency module, the timing module, and the human-machine touch control module;

[0007] The power amplifier module is used for output control of voltage and current;

[0008] The switch quantity module is used to detect the change of input level and output a switching signal;

[0009] The radio frequency module is used for wireless radio frequency communication, receiving and outputting synchronous pulse signals;

[0010] The timing module is used to adjust the local clock according to the synchronization pulse signal and control the power amplifier module and the switch quantity module.

[0011] Optionally, it also includes a human-machine touch control module, which is connected to the main control module. The human-machine touch control module is used to receive the time synchronization method set input and instruct the main control module to align. The human-machine touch control module is also used to display an operation interface; the time synchronization module adopts a wireless time synchronization method.

[0012] Optionally, the radio frequency module is connected to the main control module via a UART interface and a synchronization pulse input interface and a synchronization pulse output interface, and the UART adopts a half-duplex mode.

[0013] Optionally, the switch quantity module includes a binary input quantity interface and a binary output quantity interface;

[0014] The binary input interface is used to detect input displacement; the binary output interface adopts a relay mode and a MOS tube mode, and the relay mode and the MOS tube mode are used for outputting binary output signals corresponding to different scenarios.

[0015] According to another aspect of the present invention, a relay protection test method is provided, which is applied to a plurality of relay protection testers, one of which serves as a host and the others as slaves, the relay protection tester comprising the relay protection test device according to any embodiment, and the relay protection test method comprising:

[0016] The host broadcasts a pre-synchronization command;

[0017] After receiving the responses from the slaves, the host broadcasts the local time to the slaves;

[0018] The slave adjusts the local time to the received local time of the host, and records the time difference between the arrival time of the host's broadcast information and the local time;

[0019] If the time difference is less than the preset time, the slave reports a successful timing mark to the master;

[0020] The slave receives control information from the master to perform a relay protection test.

[0021] Optionally, the host broadcasts a pre-synchronization command, including:

[0022] The host sends a pre-synchronization command through the radio frequency module to confirm the slave status;

[0023] The host receives responses from each of the slaves and broadcasts the local time to the slaves, including:

[0024] The slave receives the pre-synchronization command broadcast by the host through the radio frequency module, and after receiving the command, adds the slave number and responds according to the protocol;

[0025] The host repeatedly sends the broadcast command a first preset number of times, and determines whether the number of responses of the slave is continuous and whether the number of successful responses meets a second preset number according to the number of responses of each of the slaves;

[0026] If satisfied, the local time is broadcast to the slave.

[0027] Optionally, the slave adjusts the local time to the received local time of the host, and records the time difference between the arrival time of the host's broadcast information and the local time, including:

[0028] After the slave receives the local time broadcast by the master, it records the master broadcast time sent by the master;

[0029] The host covers the local according to the host broadcast time, and the local system time of the slave runs according to the host and responds to the host;

[0030] After the host receives the response from the slave, the host calculates the time difference of each slave receiving the broadcast, and sends it to the slaves in sequence for recording;

[0031] Calculate the crystal difference between the slave and the master and adjust the time scale.

[0032] Optionally, the slave receives control information from the master to perform a relay protection test, including:

[0033] The slave receives a broadcast command from the host, and reports a fault to the host when the slave fails;

[0034] Connect the relay tester and protection device;

[0035] Enter the multi-machine synchronization control interface, set the multi-machine synchronization method, multi-machine mode, total number of slaves, and response times;

[0036] Set voltage and current parameters, switch quantity parameters and state sequence parameters;

[0037] Wait for the slave wiring and parameter setting to be completed before conducting the relay protection test.

[0038] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0039] at least one processor; and

[0040] a memory communicatively connected to the at least one processor; wherein,

[0041] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the relay protection test method described in any embodiment of the present invention.

[0042] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the relay protection test method described in any embodiment of the present invention when executed.

[0043] The technical solution of the embodiment of the present invention is to set a main control module, a power amplifier module, a switch module, a radio frequency module, and a timing module. According to the output control of the power amplifier module on voltage and current, the switch module can detect the state change of the input signal and output the control signal according to these changes, so as to control and monitor the switch state of the device. When testing multiple devices, wireless radio frequency communication can be carried out through the radio frequency module to receive and output synchronization pulse signals. The timing module can adjust the local clock according to the synchronization pulse signal and control the power amplifier module and the switch module, so as to achieve synchronization of multiple devices. The main control module can calculate the trigonometric function of each sampling point of the cycle, and the state sequence logic control module can improve the performance and efficiency of the overall system according to application requirements. The technical solution of the embodiment of the present invention can perform wireless communication through the radio frequency module, improve the flexibility of the system, ensure that multiple devices are synchronized in time through the timing module, reduce the time required for testing multiple devices, simplify the wiring and testing process, reduce the complexity of operation, and reduce errors caused by operational errors.

[0044] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 is a structural schematic diagram of a relay protection test device provided according to an embodiment of the present invention;

[0047] Figure 2 is a structural block diagram of a relay protection testing method provided according to an embodiment of the present invention;

[0048] Figure 3 is a flow chart of a relay protection testing method provided according to an embodiment of the present invention;

[0049] Figure 4 is a flow chart of another relay protection testing method provided according to an embodiment of the present invention;

[0050] Figure 5 is a flow chart of another relay protection testing method provided according to an embodiment of the present invention;

[0051] Figure 6 is a flow chart of another relay protection testing method provided according to an embodiment of the present invention;

[0052] Figure 7 It is a structural schematic diagram of an electronic device for implementing the relay protection test method of an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0055] Figure 1 The present invention provides a schematic diagram of the structure of a relay protection test device. This embodiment is applicable to relay protection situations in power systems. The device can be implemented in the form of hardware and / or software. The device can be configured to test and verify various relay protection scenarios in power systems. Figure 1 As shown, the device includes: a main control module 101, a power amplifier module 102, a switch quantity module 103, a radio frequency module 104, and a time synchronization module 105;

[0056] The main control module 101 is respectively connected to the power amplifier module 102, the switch module 103, the radio frequency module 104, and the timing module 105; the power amplifier module 102 is used for output control of voltage and current; the switch module 103 is used to detect the displacement of the input level and output the output signal; the radio frequency module 104 is used for wireless radio frequency communication, receiving and outputting synchronization pulse signals; the timing module 105 is used to adjust the local clock according to the synchronization pulse signal and control the power amplifier module 102 and the switch module 103.

[0057] Among them, the main control module 101 can use SOPC (System on a Programmable Chip) chip, or a discrete FPGA (Field-Programmable Gate Array) and CPU (Central Processing Unit). SOPC chip is a programmable chip that integrates programmable logic devices, embedded microprocessors, memory and other modules. The microprocessor can be integrated with the programmable logic device, and the performance of the system can be improved by implementing peripheral functions such as real-time controllers and high-speed I / O interfaces on the programmable logic. Discrete FPGA and CPU refer to the use of FPGA and CPU as two independent physical components in hardware design, which provides system flexibility. The main control module 101 can realize the calculation of trigonometric functions of each cycle sampling point and state sequence logic control. The power amplifier module 102 can include output control of voltage and current, which can be a set of three-phase signals or two sets of three-phase signals. It can be connected to the main control module using a high-speed SPI interface to ensure that a higher number of sampling points per cycle is output, so that the waveform fitting is closer to the true value, so that the output does not need to use a filter to make the sine wave smooth. The switch quantity module 103 is used to detect the displacement of the input level and output the output signal. The switch quantity module 103 includes an input quantity interface and an output quantity interface, and the input quantity interface is used to detect the displacement of the input level. The output quantity interface outputs the output signal; the radio frequency module 104 can use a 433Mhz radio frequency transceiver circuit, or can use a 2.4Ghz ISM band communication for wireless radio frequency communication, receive and output synchronization pulse signals; when testing multiple devices, the radio frequency module 104 can be used to synchronize multiple test devices. The timing module 105 can be GPS timing, optical fiber timing, network port timing, wireless timing, etc., and the timing method is determined according to the specific application scenario. The timing module 105 can adjust the local clock according to the synchronization pulse signal to ensure the synchronization of the time of multiple test devices. The timing module 105 can also use the synchronization pulse signal to control the power amplifier module 102 and the switch quantity module 103, thereby controlling the change of the switch state. Specifically, when testing multiple devices, the host sets the synchronization parameters through the RF module 104, and after receiving the response from the slave, it outputs the synchronization pulse through the RF module 104, while the slave adjusts the local clock and controls the power amplifier module 102 and the switch module 103 of the slave through the data and synchronization pulse received by the RF module 104; when the multi-machine synchronization host mode is in multi-machine synchronization mode, the host only outputs the synchronization pulse signal to the RF module 104, and when the multi-machine synchronization slave mode is in multi-machine synchronization, the slave only receives the synchronization pulse signal.

[0058] The technical solution of the embodiment of the present invention is to set a main control module, a power amplifier module, a switch module, a radio frequency module, and a timing module. According to the output control of the power amplifier module on voltage and current, the switch module can detect the state change of the input signal and output the control signal according to these changes, so as to control and monitor the switch state of the device. When testing multiple devices, wireless radio frequency communication can be carried out through the radio frequency module to receive and output synchronization pulse signals. The timing module can adjust the local clock according to the synchronization pulse signal and control the power amplifier module and the switch module, so as to achieve synchronization of multiple devices. The main control module can calculate the trigonometric function of each sampling point of the cycle, and the state sequence logic control module can improve the performance and efficiency of the overall system according to application requirements. The technical solution of the embodiment of the present invention can perform wireless communication through the radio frequency module, improve the flexibility of the system, ensure that multiple devices are synchronized in time through the timing module, reduce the time required for testing multiple devices, simplify the wiring and testing process, reduce the complexity of operation, and reduce errors caused by operational errors.

[0059] In some optional embodiments of the present invention, a human-machine touch control module is also included. The human-machine touch control module is connected to the main control module. The human-machine touch control module is used to receive the time synchronization method set input and instruct the main control module to align. The human-machine touch control module is also used to display the operation interface. The time synchronization module adopts a wireless time synchronization method.

[0060] Among them, the human-machine touch module can be connected to the main control module using the LVDS (Low Voltage Differential Signaling) interface and the Gigabit Ethernet interface to display the operation interface, set the operation parameters, and display the status of various modules reported by the main control module to achieve control of various functions of multiple test equipment. The timing module includes GPS timing, optical fiber timing, network port timing, and wireless timing. The timing module adopts wireless timing and can use wireless communication technology to achieve time synchronization. Technologies used for wireless timing include radio waves, satellite signals, Wi-Fi, Bluetooth, cellular networks, etc.

[0061] In some optional embodiments of the present invention, the radio frequency module is connected to the main control module via a UART interface and a synchronization pulse input interface and a synchronization pulse output interface, and the UART adopts a half-duplex mode.

[0062] Among them, the RF module is connected to the main control module through the UART (Universal Asynchronous Receiver / Transmitter) interface and the synchronization pulse input and synchronization pulse output interfaces. UART adopts half-duplex mode. In half-duplex mode, the communicating parties can transmit data in two directions, but can only communicate in one direction at the same time, that is, either sending data or receiving data, not at the same time. UART adopts half-duplex mode to ensure smooth communication. Under normal circumstances, the host first sets the synchronization parameters, receives the response from the slave, and then outputs the synchronization pulse through the RF module, while the slave adjusts the local clock and controls the power amplifier module and switch module of the slave through the data and synchronization pulse received by the RF module; when the multi-machine synchronous host mode is in multi-machine synchronous slave mode, the slave only receives the synchronization pulse signal. The RF module is not limited to using 433Mhz RF transceiver circuits and 2.4Ghz ISM band communication. The RF module can adapt to a variety of different frequencies and communication requirements.

[0063] In some optional embodiments of the present invention, the switch quantity module includes a binary input quantity interface and a binary output quantity interface;

[0064] The binary input interface is used to detect input position changes; the binary output interface uses relay mode and MOS tube mode. The relay mode and MOS tube mode are used for binary output signals corresponding to outputs in different scenarios.

[0065] Among them, the switch quantity module 103 includes a binary input quantity interface and a binary output quantity interface. The binary input quantity interface can detect input displacement by comparing the level, and a threshold voltage can be set to realize the boundary detection of high and low levels. Those greater than the threshold voltage belong to the high level "1", and those lower than the threshold voltage belong to the low level "0". The binary output quantity interface can use the relay mode and the MOS tube mode. The relay mode corresponds to an empty contact, that is, the contact is disconnected. The response time of the relay is usually at the millisecond level, so it is suitable for binary output scenarios with millisecond accuracy requirements. The MOS tube can be turned on and off quickly, and the response time can reach the microsecond or even nanosecond level. The MOS tube method is suitable for binary output scenarios that require accuracy less than milliseconds.

[0066] Figure 2 It is a structural block diagram of a relay protection testing method provided according to an embodiment of the present invention. Figure 3 A flow chart of a relay protection test method provided by an embodiment of the present invention. Figure 2 As shown, it is applied to multiple relay protection testers, one of the multiple relay protection testers is used as a host, and the others are slaves. The relay protection tester includes the relay protection test device described in any one of the above embodiments, such as Figure 3 As shown, the relay protection test method includes:

[0067] S301, the host broadcasts a pre-synchronization command.

[0068] Among them, Figure 2 As shown, the relay protection tester host 201 is connected to the first protection device 204, the relay protection tester first slave is connected to the second protection device 205, the relay protection tester Nth slave is connected to the N+1th protection device 206, and each relay protection tester can be a host or a slave. The relay protection testers in the same batch of networks can only have one and only one host, otherwise there will be communication abnormalities, resulting in output and control errors. Before performing data synchronization, the host first sends a pre-synchronization broadcast command to the slave to ensure that the slaves are ready to receive or send data. The host can send a pre-synchronization command through the radio frequency module to confirm the slave status, including whether the slave is online, whether the corresponding slave number is correct, whether there are duplicate slave numbers, etc.

[0069] S302: After receiving responses from the slaves, the host broadcasts the local time to the slaves.

[0070] When the host broadcasts the pre-synchronization command, the slave receives the command and processes it according to the command. After processing the request, the slave generates a response message containing the requested command or status information and sends it back to the host. When the host receives the response from each slave, it determines whether the slave is online. If the slave is online, it broadcasts the local time to the slave.

[0071] S303, the slave adjusts the local time to the local time of the received host, and records the time difference between the arrival time of the host's broadcast information and the local time;

[0072] Among them, the slave adjusts the local time of the slave to the local time of the received host according to the local time broadcast by the host, so as to synchronize with the broadcast time of the host and maintain the consistency of time. When the slave receives the broadcast information of the host, it will record the local time of the receiving moment. The slave determines the time difference by calculating the difference between the time when the host's broadcast information arrives and the local time. Record the time difference between the time when the host's broadcast information arrives and the local time.

[0073] S304, if the time difference is less than the preset time, the slave reports a successful time synchronization mark to the host;

[0074] A time threshold, i.e., a preset time, can be set, which is the maximum time difference allowed. For example, the preset time can be set to 1 microsecond, that is, if the time difference between the slave and the master is within plus or minus 1 microsecond, the slave reports a successful time synchronization mark to the master.

[0075] S305: The slave receives control information from the master to perform relay protection testing.

[0076] Among them, after the host confirms that the slave is connected, the host can control the slave to achieve the same function as the host to perform relay protection testing.

[0077] The technical solution of the embodiment of the present invention is that before the host performs data synchronization, it first sends a pre-synchronization broadcast command to the slave to ensure that the slaves are ready to receive or send data. After the host receives the response of each slave, it determines whether the slave is online. The host can effectively manage and coordinate the slave devices to ensure data consistency and operation synchronization. If the slave is online, it broadcasts the local time to the slave. When the slave receives the broadcast information of the host, it will record the local time of the receiving moment. The slave determines the time difference by calculating the difference between the time when the broadcast information of the host arrives and the local time. If the time difference is less than the preset time, the slave reports a successful time synchronization mark to the host, and the slave can accurately adjust its local time to synchronize it with the broadcast time of the host, so that the slave can be controlled by the host to achieve the same function as the host to perform relay protection testing.

[0078] Figure 4 is a flow chart of another relay protection test method provided according to an embodiment of the present invention. In some optional embodiments of the present invention, reference Figure 3 and Figure 4 After further refining S301, the host broadcasts a pre-synchronization command and S302, the host receives responses from each of the slaves and broadcasts the local time to the slaves, the method includes:

[0079] S401, the host sends a pre-synchronization command through the RF module to confirm the slave status;

[0080] Among them, the host uses the RF module to broadcast the pre-synchronization command. The slave receives the pre-synchronization command from the host through the RF module. The slave will perform self-checks or status confirmations according to the command content. After the slave completes the status check, it will send a response signal back to the host through the RF module. The response signal may contain the status information of the slave, such as whether it is ready, whether there is an error, etc. After the host receives the response from the slave, it will parse this information to confirm the status of the slave. If the slave reports a normal status, the host can continue to perform subsequent synchronization operations; if the slave reports an error or an abnormal status, the host needs to take error handling measures, such as resending the command, trying to diagnose the problem, or recording error information. After confirming the status of all slaves, the host can perform further synchronization operations.

[0081] S4021, the slave receives the pre-synchronization command broadcast by the host through the RF module, and after receiving the command, adds the slave number and responds according to the protocol;

[0082] Among them, the slave receives the pre-synchronization command broadcast by the host through the RF module. When the host broadcasts the pre-synchronization command through the RF module, all slaves within the communication range will receive the command. After the slave receives the pre-synchronization command, in order to identify and distinguish each slave, each slave will add its own slave number to the response message before sending a response. The slave constructs a response message according to the predefined communication protocol format. The response message may include a start bit, a slave number, status information, an end bit, etc. The slave sends a response message back to the host through the RF module. After the host receives the response from the slave, it will identify the source of the response based on the slave number in the response, check the status of the slave, and confirm whether the slave has correctly received the pre-synchronization command. If the slave's response indicates that it is ready for synchronization or subsequent operations, the host can proceed to the next step, such as sending synchronization time or other synchronization data. If the slave's response indicates that there is a problem, the host can take corresponding measures, such as resending the command or performing error handling.

[0083] S4022, the host repeatedly sends the broadcast command a first preset number of times, and determines, based on the number of responses of each slave, whether the number of responses of the slave is continuous and whether the number of successful responses meets a second preset number;

[0084] Among them, the host will repeatedly send the broadcast command to all slaves according to the preset first number of times. The first preset number refers to the number of times the host sends the broadcast command, for example, it can be 5 times. After receiving the broadcast command, each slave will respond according to the protocol requirements. The slave needs to add its own slave number in the response so that the host can identify and confirm the status of each slave. The host will record the number of responses of each slave to determine whether the slave responds continuously. If the slave can respond in time after each broadcast, the response is considered to be continuous. In addition to recording the number of responses, the host will also determine whether the number of successful responses of each slave meets the second preset number. The second preset number refers to the number of times the slave needs to respond successfully, for example, it can be 3 times.

[0085] S4023: If satisfied, broadcast the local time to the slave.

[0086] If the slave's response times are continuous and the number of successful responses reaches a second preset number, the host may consider the slave to be in normal working condition, and the host broadcasts the local time to the slave. If the slave's response is not continuous or the number of successful responses is insufficient, the host may need to take further measures, such as resending the command, diagnosing the slave problem, or recording error information.

[0087] Specifically, the broadcast command is sent repeatedly for 5 times. When the host receives the response from each slave, it records the slave's response number and the number of responses. After the slave responds, the host determines whether the slave's response times are continuous and greater than 3 times. If not, the slave is ignored, or the tester is asked to check the machine, turn off the slave power, turn it back on and re-network. If the slave's response times are continuous and it responds successfully 3 times, the host broadcasts the local time to the slave.

[0088] S403, the slave adjusts the local time to the local time of the received host, and records the time difference between the arrival time of the host's broadcast information and the local time;

[0089] S404, if the time difference is less than the preset time, the slave reports a successful time synchronization mark to the host;

[0090] S405: The slave receives control information from the master to perform relay protection testing.

[0091] The technical solution of the embodiment of the present invention ensures the uniqueness of the response by adding its own slave number to each slave, so that the host can distinguish and identify the responses of each slave. Sending commands multiple times increases the probability that the slave receives the command, especially in a wireless communication environment, which may be affected by interference or signal attenuation. By checking the continuity of the response, problems in the communication link can be discovered in time, reducing communication failures caused by accidental errors. By requiring the slave to successfully respond within a certain number of times, it can be verified whether the slave is working properly, thereby improving the reliability and efficiency of the entire system.

[0092] Figure 5 is a flowchart of another relay protection test method provided according to an embodiment of the present invention. In some optional embodiments of the present invention, reference Figure 3 and Figure 5 , after further refining S303, the slave adjusts the local time to the local time of the received master, and records the time difference between the arrival time of the master's broadcast information and the local time, the method includes:

[0093] S501, the host broadcasts a pre-synchronization command;

[0094] S502, after receiving the responses from the slaves, the host broadcasts the local time to the slaves;

[0095] S5031, after receiving the local time broadcast by the master, the slave records the master broadcast time sent by the master;

[0096] The host broadcasts its local time through the RF module, and the slave records the time information after receiving the time information broadcast by the host. The host sends the time and the slave receives the time. The slave can use these two times to calculate the time difference between the host and the slave, that is, the slave receives the time minus the host sends the time. The slave can adjust its local time based on this time difference to synchronize with the local time of the host as much as possible. It helps to ensure the time consistency of all devices in the network.

[0097] S5032, the host covers the local according to the host broadcast time, the local system time of the slave runs according to the host's operation, and responds to the host;

[0098] The master broadcasts its local time to all slaves. After receiving the time information broadcast by the master, the slave records the time information. The slave adjusts its local system time according to the received master time information to ensure that the slave system time is consistent with the master time. After the slave completes time synchronization and runs according to the master time, the slave sends a response signal to the master, indicating that the slave has successfully received and synchronized the master time and has started to run according to the master time.

[0099] S5033, after the host receives the response from the slave, the host calculates the time difference of each slave receiving the broadcast, and sends it to the slaves in sequence for recording;

[0100] After the host receives the response signal from the slave, it will record the time of the response. The host will calculate the time difference of each slave receiving the broadcast command based on the time in the slave's response and the time when the host receives the response. After the host calculates the time difference of each slave, it will send these time differences to the corresponding slaves through the RF module in turn. After the slave receives the time difference sent by the host, it will record this time difference, which can be used for subsequent time synchronization or status correction.

[0101] S5034. Calculate the crystal oscillator difference between the slave and the master, and adjust the time scale.

[0102] Among them, the crystal oscillator difference refers to the difference between the crystal oscillator frequencies of the slave and the master. Since the crystal oscillator is affected by factors such as temperature and aging, the frequency may drift, resulting in time synchronization errors. The calculation of the crystal oscillator difference can be achieved by measuring the frequency difference between the master and slave clocks. The calculation of the crystal oscillator difference involves sending synchronization messages and exchanging timestamp information between the master and slave clock nodes. By analyzing the timestamp, the crystal oscillator difference can be calculated. The slave can adjust its own time scale according to the crystal oscillator difference to reduce the time error and synchronize the time with the master more accurately.

[0103] S504, if the time difference is less than the preset time, the slave reports a successful time synchronization mark to the master;

[0104] S505: The slave receives control information from the master to perform relay protection testing.

[0105] The technical solution of the embodiment of the present invention can ensure that the system time of the slave is synchronized with the host as much as possible by calculating the crystal oscillator difference between the slave and the host and adjusting the time scale, thereby reducing the time error caused by the crystal oscillator difference and improving the reliability and accuracy of the entire system.

[0106] Figure 6 is a flow chart of another relay protection test method provided according to an embodiment of the present invention. Figure 3 and Figure 6 After S305, the slave receives the control information of the host to perform the relay protection test, the method includes:

[0107] S601, the host broadcasts a pre-synchronization command;

[0108] S602, after receiving the responses from the slaves, the host broadcasts the local time to the slaves;

[0109] S603, the slave adjusts the local time to the local time of the received host, and records the time difference between the arrival time of the host's broadcast information and the local time;

[0110] S604, if the time difference is less than the preset time, the slave reports a successful time synchronization mark to the master;

[0111] S6051, the slave receives the broadcast command from the host, and reports to the host when a failure occurs;

[0112] After the slave is synchronized with the host, the host will broadcast commands to all slaves through the RF module. This may include requesting status updates or synchronizing time. The slave receives the broadcast command from the host and performs the corresponding operation according to the command content. During the execution of the command, the slave continuously monitors its own status to check for faults or abnormal conditions. If the slave detects a fault, such as hardware damage or communication failure, the slave will stop executing the command and report the fault information.

[0113] S6052, connect the relay tester and protection device;

[0114] Before the relay protection test is performed, all wiring work needs to be completed, including connecting the relay protection tester to the protection device, and wires can be used to connect the relay tester and the protection device.

[0115] S6053, enter the multi-machine synchronization control interface, set the multi-machine synchronization method, multi-machine mode, total number of slaves, and response times;

[0116] Among them, the multi-machine synchronization control interface is configured through the human-machine touch module, the multi-machine synchronization mode is set to wireless synchronization, the multi-machine mode is set to slave, the total number of slaves and the slave number, as well as the number of slave responses are set. The host initiates a command. If the number of slave responses does not reach the preset number, it is considered that the slave is offline and can be ignored.

[0117] S6054, setting voltage and current parameters, switch quantity parameters and state sequence parameters;

[0118] Among them, after completing the wiring, it is necessary to set the parameters of the relay protection tester, including voltage and current parameters, switch quantity parameters and state sequence parameters, etc. The voltage and current parameters refer to the voltage and current values ​​required for the operation of the equipment, including rated voltage and current, maximum voltage, minimum voltage, short-circuit current and starting current, etc. Setting the voltage and current parameters prevents damage caused by excessively high or low voltage and damage to the equipment by excessive current. The switch quantity parameter refers to the binary signal in the system, which is used to control the on or off state of the equipment. Relays or MOS tubes can be used for the output signals corresponding to the outputs of different scenarios. The state sequence parameters refer to the state changes that the equipment undergoes when performing tasks. By setting the state sequence parameters, it can be ensured that the equipment performs tasks in a predetermined logical order to ensure the accuracy of the test.

[0119] S6055, wait for the slave wiring and parameter setting to be completed, and then perform relay protection test.

[0120] Before the host sends a test command, it needs to wait for all slaves to complete wiring and parameter setting, which can ensure that each slave is ready to receive the test command and perform relay protection test.

[0121] The technical solution of the embodiment of the present invention can timely discover and handle problems by actively reporting faults on the slave, thereby ensuring system operation and optimization. Setting voltage and current parameters, switch quantity parameters and state sequence parameters can ensure the stability and safety of the system, and waiting for the slave to complete wiring and parameter setting, thereby achieving synchronization between the master and the slave, can ensure the accuracy and effectiveness of relay protection testing, thereby improving the safety and reliability of the power system.

[0122] Figure 7A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

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

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

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

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

[0127] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

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

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

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

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

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

[0133] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0134] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A relay protection test device, characterized in that: include: Main control module, power amplifier module, switch module, radio frequency module, timing module; The main control module is respectively connected to the power amplifier module, the switch quantity module, the radio frequency module, the timing module, and the human-machine touch control module; The power amplifier module is used for output control of voltage and current; The switch quantity module is used to detect the change of input level and output a switching signal; The radio frequency module is used for wireless radio frequency communication, receiving and outputting synchronous pulse signals; The timing module is used to adjust the local clock according to the synchronization pulse signal and control the power amplifier module and the switch quantity module.

2. The testing device according to claim 1, characterized in that: It also includes a human-machine touch control module, which is connected to the main control module. The human-machine touch control module is used to receive the time synchronization method set input and instruct the main control module to align. The human-machine touch control module is also used to display an operation interface. The time synchronization module adopts a wireless time synchronization method.

3. The testing device according to claim 1, characterized in that: The radio frequency module is connected to the main control module via a UART interface and a synchronous pulse input interface and a synchronous pulse output interface, and the UART adopts a half-duplex mode.

4. The testing device according to claim 1, characterized in that: The switch quantity module comprises a binary input quantity interface and a binary output quantity interface; The binary input interface is used to detect input displacement; the binary output interface adopts a relay mode and a MOS tube mode, and the relay mode and the MOS tube mode are used for outputting binary output signals corresponding to different scenarios.

5. A relay protection testing method, characterized in that: Applicable to multiple relay protection testers, one of the multiple relay protection testers is used as a host, and the others are slaves, the relay protection tester includes the relay protection test device according to any one of claims 1 to 4, and the relay protection test method includes: The host broadcasts a pre-synchronization command; After receiving the responses from the slaves, the host broadcasts the local time to the slaves; The slave adjusts the local time to the received local time of the host, and records the time difference between the arrival time of the host's broadcast information and the local time; If the time difference is less than the preset time, the slave reports a successful timing mark to the master; The slave receives control information from the master to perform a relay protection test.

6. The testing method according to claim 5, characterized in that: The host broadcasts a pre-synchronization command, including: The host sends a pre-synchronization command through the radio frequency module to confirm the slave status; The host receives responses from the slaves and broadcasts the local time to the slaves, including: The slave receives the pre-synchronization command broadcast by the host through the radio frequency module, and after receiving the command, adds the slave number and responds according to the protocol; The host repeatedly sends the broadcast command a first preset number of times, and determines whether the number of responses of the slave is continuous and whether the number of successful responses meets a second preset number according to the number of responses of each of the slaves; If satisfied, the local time is broadcast to the slave.

7. The testing method according to claim 5, characterized in that: The slave adjusts the local time to the received local time of the host, and records the time difference between the arrival time of the host's broadcast information and the local time, including: After the slave receives the local time broadcast by the master, it records the master broadcast time sent by the master; The host covers the local according to the host broadcast time, and the local system time of the slave runs according to the host and responds to the host; After the host receives the response from the slave, the host calculates the time difference of each slave receiving the broadcast, and sends it to the slaves in sequence for recording; Calculate the crystal difference between the slave and the master and adjust the time scale.

8. The testing method according to claim 5, characterized in that: The slave receives control information from the master to perform a relay protection test, including: The slave receives a broadcast command from the host, and reports a fault to the host when the slave fails; Connect the relay tester and protection device; Enter the multi-machine synchronization control interface, set the multi-machine synchronization method, multi-machine mode, total number of slaves, and response times; Set voltage and current parameters, switch quantity parameters and state sequence parameters; Wait for the slave wiring and parameter setting to be completed before conducting the relay protection test.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the relay protection test method according to any one of claims 5 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the relay protection test method according to any one of claims 5 to 8 when executed.

Citation Information

Cited By

  • HBM-DRAM grouping test system and method

    CN121191564A