Automatic testing device for clock synchronization function
By designing an automatic test device and using IRIG-B encoded pulse signals and multiple protocol functions, the complexity of testing the clock synchronization function of secondary equipment in the power system was solved, automated testing was realized, and test accuracy and coverage were improved.
Patent Information
- Application Number
- CN202310300651.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-09-24
AI Technical Summary
The existing technology lacks a dedicated test device for the clock synchronization function of secondary equipment in the power system, resulting in a complex test environment that requires manual control and cannot fully cover complex functions.
Design an automatic test device for clock synchronization function, including a human-machine interface module, an IRIG-B time synchronization module and a test management module. It performs automatic testing through IRIG-B encoded pulse signals and multiple protocol functions, and supports Python script interfaces and test templates. interface to implement automated testing of the clock synchronization function.
It realizes automated testing of the clock synchronization function of power system devices, simplifies the testing process, improves test accuracy and coverage, and is suitable for different types of power system equipment.
Smart Images

Figure HDA0004145030260000011 
Figure HDA0004145030260000012
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of power system protection testing, and in particular to an automatic testing device for a clock synchronization function. Background Art
[0002] In recent years, with the improvement of the automation level of power systems and the expansion of the scale of power systems, the unified time of the entire network plays a key role in the dispatch of power systems. If there is no unified clock, the event record data provided by the dispatch automation system, substation automation system, fault recording device, relay protection, safety automatic device and other power system secondary equipment scattered in different locations will inevitably have time sequence misalignment, making it difficult to accurately describe the event sequence and development process of the power system, and unable to provide an effective analysis basis for power grid accident analysis. Therefore, unified and accurate time is an important measure to ensure the safe operation of the power system and improve the operation level.
[0003] Therefore, the clock synchronization function of secondary equipment in the power system, such as fault recording devices, relay protection, and safety automatic devices, is extremely important. This function must be fully tested during the research and development stage and even during the commissioning and maintenance stage to ensure that the clock synchronization function is safe and reliable under various conditions.
[0004] At present, there is a lack of special test equipment on the market for testing the clock synchronization function of secondary equipment in power systems. In particular, the current power system construction is carried out in phases and batches, and there are different distinctions between smart stations and conventional stations. The newly built stations support relatively complete time synchronization test functions, and the existing stations are often expanded through the IEC61850 / IEC103 / IEC104 protocol. For merging units and smart terminals, GOOSE / SV protocols are also required for functional expansion, and some early stations do not even have these expanded functions. Therefore, when testing the clock synchronization function of these devices, the staff often needs to equip the GPS timing device to provide the IRIG-B clock source to the device under test. When testing related functions, it is necessary to manually change the GPS clock to test certain functions. The acquisition of time information and alarm time information of the tested device requires joint debugging with related background systems. The test method is complicated. Even so, some complex functions cannot be fully covered. Therefore, it is urgent to develop a clock synchronization function test device to solve this situation. Summary of the invention
[0005] The purpose of the present invention is to provide a clock synchronization function automatic test device to solve the drawbacks that the clock synchronization function test of the power system device in the past needs to build a complex test environment and needs manual control to complete.
[0006] In order to achieve the above object, the solution of the present invention is:
[0007] According to the present invention, a clock synchronization function automatic test device is provided, comprising a human-machine interface module, an IRIG-B timing module and a test management module;
[0008] The human-machine interface module sends preset status information to the IRIG-B timing module and the test management module, and receives the test results of the test management module for display;
[0009] The IRIG-B timing module generates an IRIG-B coded pulse signal required for the test according to the preset status information sent by the human-machine interface module, and tests the clock synchronization function of the device under test;
[0010] The test management module integrates multiple protocol functions, connects to the device under test, obtains status information of the device under test, compares the status information of the device under test with preset status information to obtain test results, manages the test results of the device under test, and sends the test results to the human-machine interface module.
[0011] According to some embodiments, the human-machine interface module provides a Python script interface, and the test function is customized according to the Python script to complete the function expansion.
[0012] According to some embodiments, the human-machine interface module provides a test template interface function to complete the test of a predetermined function.
[0013] According to some embodiments, the human-machine interface module controls the IRIG-B timing module via a network and / or a serial port interface.
[0014] According to some embodiments, the status information of the device under test includes the time information of the device under test and the event information when an abnormal signal occurs, the preset status information includes the preset time information and the preset event sequence information, the time information of the device under test is compared with the preset time information, and the event information of the device under test when an abnormal signal occurs is compared with the preset event sequence information.
[0015] According to some embodiments, the IRIG-B timing module is used to output IRIG-B normal and abnormal pulse signals.
[0016] According to some embodiments, the IRIG-B timing module is used to output IRIG-B normal and abnormal pulse signals, specifically including: the IRIG-B timing module receives preset status information of the human-machine interface module, and completes various test functions by outputting IRIG-B normal and abnormal pulse signals; the various test functions include: IRIG-B time setting function, IRIG-B coded start and stop control function, parity check function, quality control function, leap second control function and skip second function; wherein:
[0017] The IRIG-B time setting function: the IRIG-B timing module receives the preset status information of the human-machine interface module, updates the module system time according to the preset time information in the preset status information, and outputs the corresponding IRIG-B coded pulse signal at the same time, after which the system time automatically increases every second and synchronously outputs the IRIG-B coded pulse signal;
[0018] The start-stop control function of the IRIG-B code: the IRIG-B timing module receives the preset status information of the human-machine interface module, starts and stops the output of the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the logic of loss and recovery in the clock synchronization function;
[0019] The parity check function: the IRIG-B timing module receives the preset status information of the human-machine interface module, changes the parity check bit in the IRIG-B pulse coding signal according to the preset event sequence information in the preset status information, and verifies the functional logic when the parity check in the clock synchronization function changes;
[0020] The quality control function: the IRIG-B timing module receives the preset status information of the human-machine interface module, changes the quality bit in the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the functional logic when the quality in the clock synchronization function changes;
[0021] The leap second control function: the IRIG-B timing module receives the preset state information of the human-machine interface module, generates leap second changes in the IRIG-B coded pulse signal according to the preset event sequence information in the preset state information, including positive leap seconds and negative leap seconds, and verifies the functional logic of the quality change in the clock synchronization function;
[0022] The leap second function: the IRIG-B timing module receives the preset status information of the human-machine interface module, generates a leap second change in the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the functional logic of the leap second change in the clock synchronization function.
[0023] According to some embodiments, the IRIG-B timing module further includes a switch output function, and at the corresponding moment when each test function is triggered, the output related switch displacement is applied to the device under test to generate event information of key test nodes.
[0024] According to some embodiments, the test management module includes an NTP software and hardware interface, directly obtains time information from the device under test through the NTP interface, and detects the time synchronization status measurement function of the device under test that supports the NTP interface to obtain time information.
[0025] According to some embodiments, the test management module includes an IEC61850 / IEC103 / IEC104 client function, supports the detection of the clock synchronization function of secondary equipment in the power system, and detects the timing status measurement function of the device under test by selecting the protocol supported by the device under test and reading the precise time information of the device under test; detects the timing status alarm function of the device under test by reading the timing alarm information of the device under test; and can also read SOE event information to assist in verifying the results of the function under test.
[0026] According to some embodiments, the test management module includes GOOSE / SV functions, supports the detection of merging units and smart terminal clock synchronization functions, can read the precise time information of the device under test through the GOOSE / SV protocol, and detect the time synchronization status measurement function of the device under test.
[0027] The present invention provides a clock synchronization function automatic test device, which adopts a software-hardware collaborative approach to ensure the accuracy of timing and the convenience of testing through software functions and hardware interfaces. A single device can complete normal and abnormal logic tests of the clock synchronization function of a power system device, covering a wide range of test scenarios and being easy to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of the structure of the test system of the present invention;
[0029] Figure 2 It is a standard IRIG-B normal coded pulse signal. DETAILED DESCRIPTION
[0030] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0031] The clock synchronization function automatic test device is used to automatically test the clock synchronization function of power system secondary equipment such as relay protection, safety automatic device, fault recording device, measurement and control device, merging unit and remote module. The test system structure diagram is shown in the figure. Figure 1 According to an embodiment of the present application, a clock synchronization function automatic test device includes a human-machine interface module, an IRIG-B timing module and a test management module.
[0032] The human-machine interface module sends preset status information to the IRIG-B timing module and the test management module, and receives the test results of the test management module for display;
[0033] The IRIG-B timing module generates an IRIG-B coded pulse signal required for the test according to the preset status information sent by the human-machine interface module, and tests the clock synchronization function of the device under test;
[0034] The test management module integrates multiple protocol functions, connects to the device under test, obtains status information of the device under test, compares the status information of the device under test with preset status information to obtain test results, manages the test results of the device under test, and sends the test results to the human-machine interface module.
[0035] According to some preferred embodiments of the present invention, the human-machine interface module provides a Python script interface, and the user can flexibly customize the test function through the script to complete the function expansion. The Python script controls the mode, time, and criteria of the IRIG-B coded pulse signal to form test cases with different functions.
[0036] According to some preferred embodiments of the present invention, the human-machine interface module provides a test template interface function to complete the test of the predetermined function. In this way, when expanding functions, the function interface needs to be redeveloped, which is less flexible than the Python script control method.
[0037] According to some preferred embodiments of the present invention, the human-machine interface module controls the IRIG-B timing module via a network and / or a serial port interface.
[0038] According to some preferred embodiments of the present invention, the state information of the device under test includes the time information of the device under test and the event information when an abnormal signal occurs, the preset state information includes the preset time information and the preset event sequence information, the time information of the device under test is compared with the preset time information, and the event information of the device under test when an abnormal signal occurs is compared with the preset event sequence information.
[0039] According to some preferred embodiments of the present invention, the IRIG-B timing module is used to output IRIG-B normal and abnormal pulse signals, including differential and / or optical fiber output interface forms. Standard IRIG-B normal coded pulse signals are as follows: Figure 2 shown.
[0040] According to some preferred embodiments of the present invention, the IRIG-B timing module is used to output IRIG-B normal and abnormal pulse signals, specifically including: the IRIG-B timing module receives preset status information of the human-machine interface module, and completes various test functions by outputting IRIG-B normal and abnormal pulse signals; the various test functions include: IRIG-B time setting function, IRIG-B coded start and stop control function, parity check function, quality control function, leap second control function and skip second function; wherein:
[0041] The IRIG-B time setting function: the IRIG-B timing module receives the preset status information of the human-machine interface module, updates the module system time according to the preset time information in the preset status information, and outputs the corresponding IRIG-B coded pulse signal at the same time, after which the system time automatically increases every second and synchronously outputs the IRIG-B coded pulse signal;
[0042] The start-stop control function of the IRIG-B code: the IRIG-B timing module receives the preset status information of the human-machine interface module, starts and stops the output of the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the logic of loss and recovery in the clock synchronization function;
[0043] The parity check function: the IRIG-B timing module receives the preset status information of the human-machine interface module, changes the parity check bit in the IRIG-B pulse coding signal according to the preset event sequence information in the preset status information, and verifies the functional logic when the parity check in the clock synchronization function changes;
[0044] The quality control function: the IRIG-B timing module receives the preset status information of the human-machine interface module, changes the quality bit in the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the functional logic when the quality in the clock synchronization function changes;
[0045] The leap second control function: the IRIG-B timing module receives the preset state information of the human-machine interface module, generates leap second changes in the IRIG-B coded pulse signal according to the preset event sequence information in the preset state information, including positive leap seconds and negative leap seconds, and verifies the functional logic of the quality change in the clock synchronization function;
[0046] The leap second function: the IRIG-B timing module receives the preset status information of the human-machine interface module, generates a leap second change in the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the functional logic of the leap second change in the clock synchronization function.
[0047] According to some preferred embodiments of the present invention, the IRIG-B timing module further includes a switch output function, which outputs relevant switch displacements and applies them to the device under test at the corresponding moment when each test function is triggered, generates event information of key test nodes, cooperates with the IEC61850 / IEC103 / IEC104 client to obtain SOE event information, and jointly completes the clock synchronization function test of the device under test.
[0048] According to some preferred embodiments of the present invention, the test management module includes an NTP software and hardware interface, and directly obtains time information from the device under test through the NTP interface to detect the time synchronization status measurement function of the device under test.
[0049] According to some preferred embodiments of the present invention, the test management module includes an IEC61850 / IEC103 / IEC104 client function, and supports detection of clock synchronization functions of secondary equipment in the power system. For secondary equipment that lacks NTP protocol support but has expanded time monitoring functions through IEC61850 / IEC103 / IEC104, the test management module provides IEC61850 / IEC103 / IEC104 client functions, which can select the protocol supported by the device under test. For smart stations, the IEC61850 protocol is generally used, while conventional station measurement and control equipment and PMU equipment use 104 protocol. Other protection equipment, security control equipment, and recording equipment generally use 104 protocol. Through the selected protocol, the precise time information of the device under test is read, and the ping-pong principle is used for calibration to complete the time synchronization state measurement function of the device under test for detection; after the abnormal signal simulation is generated by the above-mentioned IRIG-B module, the time synchronization alarm information of the device under test is read using the corresponding protocol, and the time synchronization alarm function of the device under test is detected; for secondary equipment that does not support NTP and IEC61850 / IEC103 / IEC104 expansion of time monitoring functions, the switch quantity position change information can be applied during the test, and the SOE event information of the device under test can be read to assist in verifying the results of the function under test.
[0050] According to some preferred embodiments of the present invention, the test management module includes a GOOSE / SV hardware and software interface, which is mainly used to obtain the time synchronization status measurement information of the merging unit and the intelligent terminal. For the intelligent terminal and the merging unit supporting GOOSE, the time synchronization monitoring information data and the equipment status self-test data are transmitted through GOOSE; for the equipment that does not support GOOSE, the data is transmitted through the SV protocol, and the acquired time information is also calibrated according to the ping-pong principle to complete the detection of the time synchronization status measurement function of the device under test.
Claims
1. A clock synchronization function automatic test device, characterized in that: Including human-machine interface module, IRIG-B timing module and test management module; The human-machine interface module sends preset status information to the IRIG-B timing module and the test management module, and receives the test results of the test management module for display; The IRIG-B timing module generates an IRIG-B coded pulse signal required for the test according to the preset status information sent by the human-machine interface module, and tests the clock synchronization function of the device under test; The test management module integrates multiple protocol functions, connects to the device under test, obtains status information of the device under test, compares the status information of the device under test with preset status information to obtain test results, manages the test results of the device under test, and sends the test results to the human-machine interface module.
2. The clock synchronization function automatic testing device according to claim 1, characterized in that: The human-machine interface module provides a Python script interface, and the test function is customized according to the Python script to complete the function expansion.
3. The clock synchronization function automatic testing device according to claim 1, characterized in that: The human-machine interface module provides a test template interface function to complete the test of the predetermined function.
4. The clock synchronization function automatic testing device according to claim 1, characterized in that: The human-machine interface module controls the IRIG-B timing module via a network and / or a serial port interface.
5. The clock synchronization function automatic testing device according to claim 1, characterized in that: The state information of the device under test includes the time information of the device under test and the event information when an abnormal signal occurs. The preset state information includes the preset time information and the preset event sequence information. The time information of the device under test is compared with the preset time information, and the event information of the device under test when an abnormal signal occurs is compared with the preset event sequence information.
6. The clock synchronization function automatic test device according to claim 5, characterized in that: The IRIG-B timing module is used to output IRIG-B normal and abnormal pulse signals.
7. The clock synchronization function automatic testing device according to claim 6, characterized in that: The IRIG-B timing module is used to output IRIG-B normal and abnormal pulse signals, specifically including: the IRIG-B timing module receives preset status information of the human-machine interface module, and completes various test functions by outputting IRIG-B normal and abnormal pulse signals; the various test functions include: IRIG-B time setting function, IRIG-B coded start and stop control function, parity check function, quality control function, leap second control function and skip second function; wherein: The IRIG-B time setting function: the IRIG-B timing module receives the preset status information of the human-machine interface module, updates the module system time according to the preset time information in the preset status information, and outputs the corresponding IRIG-B coded pulse signal at the same time, after which the system time automatically increases every second and synchronously outputs the IRIG-B coded pulse signal; The start-stop control function of the IRIG-B code: the IRIG-B timing module receives the preset status information of the human-machine interface module, starts and stops the output of the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the logic of loss and recovery in the clock synchronization function; The parity check function: the IRIG-B timing module receives the preset status information of the human-machine interface module, changes the parity check bit in the IRIG-B pulse coding signal according to the preset event sequence information in the preset status information, and verifies the functional logic when the parity check in the clock synchronization function changes; The quality control function: the IRIG-B timing module receives the preset status information of the human-machine interface module, changes the quality bit in the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the functional logic when the quality in the clock synchronization function changes; The leap second control function: the IRIG-B timing module receives the preset state information of the human-machine interface module, generates leap second changes in the IRIG-B coded pulse signal according to the preset event sequence information in the preset state information, including positive leap seconds and negative leap seconds, and verifies the functional logic of the quality change in the clock synchronization function; The leap second function: the IRIG-B timing module receives the preset status information of the human-machine interface module, generates a leap second change in the IRIG-B coded pulse signal according to the preset event sequence information in the preset status information, and verifies the functional logic of the leap second change in the clock synchronization function.
8. The clock synchronization function automatic test device according to claim 7, characterized in that: The IRIG-B timing module also includes a switch output function. At the corresponding moment when each test function is triggered, the output related switch displacement is applied to the device under test to generate event information of key test nodes.
9. The clock synchronization function automatic testing device according to claim 5, characterized in that: The test management module includes an NTP software and hardware interface, which directly obtains time information from the device under test through the NTP interface, and detects the time synchronization state measurement function of the device under test that supports the NTP interface to obtain time information.
10. The clock synchronization function automatic testing device according to claim 5, characterized in that: The test management module includes IEC61850 / IEC103 / IEC104 client functions, supports the detection of clock synchronization functions of secondary equipment in power systems, and detects the timing status measurement function of the device under test by selecting the protocol supported by the device under test and reading the precise time information of the device under test; detects the timing status alarm function of the device under test by reading the timing alarm information of the device under test; and can also read SOE event information to assist in verifying the results of the function under test.
11. The clock synchronization function automatic testing device according to claim 5, characterized in that: The test management module includes GOOSE / SV functions, supports the detection of the clock synchronization functions of the merging unit and the intelligent terminal, reads the precise time information of the device under test through the GOOSE / SV protocol, and detects the time synchronization status measurement function of the device under test.
Citation Information
Patent Citations
Method for testing inter-station SOE through substation measuring and control device telecommand quantity testing system
CN103490504A
Whole group synchronous testing system for intelligent substation relay protection device
CN103869242A
Hand-held time synchronization tester
CN104102122A
IRIG-B000 code simulation device
CN105388780A
Merging unit time synchronization test device
CN107918064A
