Adaptive process level data dynamic detection and identification method
Through the dynamic detection and identification method of adaptive process layer data, the acquisition and execution unit module and FPGA module automatically handle the detection tasks, solving the problems of high cost, insufficient optical port and low automation of the digital tester, and achieving efficient 24-channel optical ports Detection and automated identification.
Patent Information
- Application Number
- CN202411119352.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-15
AI Technical Summary
When existing digital testers detect process layer data of smart substations and high-reliability substations, they are costly, insufficient optical ports, difficult interface matching, and low degree of automation, which cannot meet the detection needs of complex devices.
A dynamic detection and identification method for data of adaptive process layer is designed, and the configuration file is generated by connecting the acquisition and execution unit module to the virtual terminal, and the FPGA module and CPU module are used to automatically identify and process SV transmission, GOOSE transmission and GOOSE reception functions, providing 24 Road optical port detection, realize automatic detection.
It has achieved sufficient number of optical ports, convenient interface matching, and high degree of automation. It can meet the automatic identification and detection needs of complex devices, save space and have strong applicability.
Smart Images

Figure CN119030605A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital information transmission, and in particular to an adaptive process layer data dynamic detection and identification method. Background Art
[0002] At present, smart substations and new generation high-reliability substations have been widely promoted, and the detection of process layer data as the core data of protection and measurement and control devices must be completely completed by digital testers. Digital testers have many disadvantages, such as: (1) high cost, the price of ordinary digital relay protection testers is about 200,000 yuan; (2) small number of optical ports, ordinary digital relay protection testers can only provide eight optical ports, which cannot meet the requirement of 24 optical ports for the device to be tested; (3) it is difficult to match the interface with the detection system. During the automatic detection work, the system needs to retrieve and process the information reflecting the test results. The tester cannot automatically retrieve and match, and the corresponding configuration needs to be manually modified; (4) the degree of automation is low and cannot meet the needs of automatic testing.
[0003] Based on this, a new method needs to be designed to replace the digital tester to complete the detection of data layer data. Summary of the invention
[0004] In order to overcome the deficiencies in the prior art, the present invention provides an adaptive process layer data dynamic detection and identification method.
[0005] To achieve the above object, the present invention discloses an adaptive process layer data dynamic detection and identification method, comprising the following steps:
[0006] (S1) Connect the device under test to the acquisition execution unit module in the adaptive process layer data dynamic monitoring and identification system through virtual terminals, generate a CCD configuration file for the device under test and the acquisition execution unit module, import the configuration file into the tooling configuration tool module, the tooling configuration tool module confirms the configuration information required for the test, and generates an XML configuration file.
[0007] (S2) When the automatic test starts, the XML configuration file generated in step (S1) is imported into the adaptive process layer data dynamic detection and identification system, the CPU of the execution unit module parses the XML configuration file transmitted by the tooling configuration tool module, and stores each data set information according to the state sequence; according to the needs of the device under test, it is divided into SV sending, GOOSE sending and GOOSE receiving; if the demand of the device under test is SV sending, jump to step (S3); if the demand of the device under test is GOOSE sending, jump to step (S4); if the demand of the device under test is GOOSE receiving, jump to step (S5).
[0008] (S3) In the SV sending function, the FPGA module of the acquisition execution unit module allocates two memories, defining FPGA memory A and FPGA memory B respectively, to store the control block information of the two SV state sequences. The CPU of the acquisition execution unit module initially sends the contents of the two state sequences and the enable flag and timing trigger time of the timing trigger to the FPGA module. The timing trigger function is only for state sequence 1; the FPGA module forms a sine wave according to the waveform amplitude, frequency, and phase in the data set sent by the CPU to form a quality SV message. At the same time, according to the initial value and final value of the amplitude, it determines whether it is necessary to complete the power data transition according to the step length and step time. Then, according to the timing trigger time, the SV message is output from the specific network port. After the state duration, the SV message of the next state sequence is output. When the duration is 0, the current state is maintained. If there are more than two state sequences, after the FPGA processes the second sequence, it will send a CAN network interrupt to the CPU. After the CPU receives the interrupt, it will send the configuration information of state sequence 3 to FPGA memory A. When the FPGA control sends the content of state sequence 3, it will continue to send CAN network interrupts to the CPU. The CPU will send the configuration information of state sequence 4 to FPGA memory B, and so on, until the state continues in the last state sequence. At the same time, the tooling configuration tool will detect the abnormal SV reception information related to the device under test in real time, as well as a series of actions of the device under test caused by the digital quantity of the SV message sent by the acquisition execution unit module, and record them, so as to detect whether the relevant functions of the device under test are normal.
[0009] (S4) In the GOOSE sending function, the FPGA module of the acquisition execution unit module allocates a piece of memory, defined as FPGA memory C, to store the control information of the GOOSE sending state sequence. When the telesignaling, telemetry and other information in the state sequence changes, the CPU will perform GOOSE message grouping according to the control block information and the change in the CCD file. At the same time, the GOOSE sending destination MAC address, network card output configuration and state duration of the current state sequence will be sent to the FPGA, and the FPGA will output the above GOOSE message from a specific network card according to the configuration sent by the CPU. When the state duration is 0, it remains in the current sequence. If it is not 0, the CAN network interrupt continues to call the CPU for new state sequence content, and performs the GOOSE message sending function until the state continues in the last state sequence. At the same time, the tooling configuration tool module will detect the abnormal GOOSE reception of the device under test in real time, as well as a series of actions of the device under test caused by a series of changes in telesignaling, telemetry and other content in the GOOSE message sent by the acquisition execution unit module, and record them, so as to detect whether the relevant functions of the device under test are normal.
[0010] (S5) In the GOOSE receiving function, the FPGA module of the acquisition execution unit module allocates a piece of memory, defined as FPGA memory D, to store GOOSE receiving related information. The CPU determines the data set information to be received through the CCD file. The CPU sends the destination MAC address, APPID and receiving port information of the first data set to the FPGA to receive the GOOSE message of the device under test. After a delay of 25 seconds, the CPU retrieves whether the GOOSE reception of the acquisition execution unit module eliminates GOOSE reception abnormalities such as broken links to determine whether the reception is successful. At the same time, the result is returned to the tooling configuration tool module for recording, so as to detect whether the GOOSE function of the relevant optical port of the device under test is normal. Then determine whether data set 1 has multiple ports for receiving. If so, the CPU sends the destination MAC address, APPID and second receiving port information of the first data set to the FPGA. After a delay of 25 seconds, the result is judged and recorded. If not, the CPU performs the same processing on the second data set until all data set information is transmitted.
[0011] Preferably, in step (S1), the configuration information confirmed by the tooling configuration tool module includes the number of state sequences, the duration of the state sequence, the timing trigger enable and time, the data set module selection, the message output network port number, and the data set content.
[0012] The present invention has the following technical effects:
[0013] (1) Sufficient number of optical ports. Due to the automation requirements in the detection process, the optical ports can only be connected one-to-one through optical fibers. An ordinary digital relay protection tester can only provide 8 optical ports, which cannot meet the detection requirements of the maximum 24 optical ports required by the device under test. The acquisition execution unit module in the present invention can provide 24 optical ports for automatic identification and detection, which can basically meet the requirements of all types of test devices.
[0014] (2) The interface is easy to match with the tooling. During the automatic testing process, the system needs to retrieve and process the information reflecting the test results. The acquisition execution unit module in the present invention can provide an interface to adapt to the automatic testing tooling.
[0015] (3) High degree of automation
[0016] The detection system of the present invention can meet the needs of one-key adaptive recognition detection. With only one instruction, it can automatically complete the automatic recognition detection of the device function according to the detection steps and content without any human operation.
[0017] (4) The unique processing method of the integrated execution unit saves space loss and has strong applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1It is the structural principle diagram of the adaptive process layer data dynamic monitoring and identification system;
[0019] Figure 2 Send a flow chart for SV;
[0020] Figure 3 Send a flow chart to GOOSE;
[0021] Figure 4 This is a schematic diagram of the GOOSE receiving process. DETAILED DESCRIPTION
[0022] The following is combined with Figure 1 To Attachment Figure 4 The principles and features of the present invention are described, and the examples given are only used to explain the present invention, rather than to limit the scope of the present invention.
[0023] An adaptive process layer data dynamic detection and identification method comprises the following steps:
[0024] (S1) Connect the device to be tested with the acquisition execution unit module in the adaptive process layer data dynamic monitoring and identification system through virtual terminals, generate a CCD configuration file for the device to be tested and the acquisition execution unit module, import the configuration file into the tooling configuration tool module, the tooling configuration tool module confirms the configuration information required for the test and generates an XML configuration file; wherein the configuration information confirmed by the tooling configuration tool module includes the number of state sequences, the duration of the state sequence, the timing trigger enable and time, the data set module selection, the message output network port serial number, the data set content, etc.
[0025] (S2) When the automatic test starts, the XML configuration file generated in step (S1) is imported into the adaptive process layer data dynamic detection and identification system, the CPU of the execution unit module parses the XML configuration file transmitted by the tooling configuration tool module, and stores each data set information according to the state sequence; according to the needs of the device under test, it is divided into SV sending, GOOSE sending and GOOSE receiving; if the demand of the device under test is SV sending, jump to step (S3); if the demand of the device under test is GOOSE sending, jump to step (S4); if the demand of the device under test is GOOSE receiving, jump to step (S5).
[0026] (S3) In the SV sending function, the FPGA module of the acquisition execution unit module allocates two memories, defining FPGA memory A and FPGA memory B respectively, which are used to store the control block information of the two SV state sequences. The CPU of the acquisition execution unit module initially sends the contents of the two state sequences and the enable flag and timing trigger time of the timing trigger to the FPGA module. The timing trigger function is only for state sequence 1; the FPGA module forms a sine wave according to the waveform amplitude, frequency, and phase in the data set sent by the CPU to form a high-quality SV message. At the same time, according to the initial value and final value of the amplitude, it determines whether it is necessary to complete the change of the power data according to the step size and step time, and then outputs the SV message from the specific network port according to the timing trigger time. After the state duration, the next state sequence is output. SV message, when the duration is 0, the current state is maintained; if the number of state sequences is more than two, after the FPGA processes the second sequence, it will send a CAN network interrupt to the CPU. When the CPU receives the interrupt, it will send the configuration information of state sequence 3 to the FPGA memory A. When the FPGA control sends the content of state sequence 3, it will continue to send CAN network interrupts to the CPU. The CPU will send the configuration information of state sequence 4 to the FPGA memory B, and so on, until the state continues in the last state sequence; the tooling configuration tool module will retrieve the SV reception abnormal information related to the device under test in real time, and collect a series of actions of the device under test caused by the digital quantity of the SV message sent by the execution unit module, and record them, so as to detect whether the relevant functions of the device under test are normal.
[0027] The SV sending control block configuration information is shown in Table 1, the SV sending data configuration information is shown in Table 2, and the SV timing trigger function configuration information is shown in Table 3, among which, the SV sending data configuration content: each control block can support up to 48 sending data (excluding rated delay), and each sending data needs to be configured separately.
[0028] Table 1SV sends control block configuration information
[0029] Serial number Data Item Data Types 1 Status duration 4 bytes (unsigned) 2 Destination MAC address 6 bytes (unsigned) 3 APPID 2 bytes (unsigned) 4 DataNum 2 bytes (unsigned) 5 smvID_len 2 bytes (unsigned) 6 smvID 64 bytes (string) 7 ConfRev 2 bytes (unsigned) 8 Number of Asdu 2 bytes (unsigned) 9 DelayTime 2 bytes (unsigned) 10 priority_o,vid 2 bytes (unsigned)
[0030] Table 2 Send data configuration information
[0031]
[0032]
[0033] Table 3 SV timing trigger function configuration information
[0034] Serial number Data Item Data Types 1 Scheduled sending enable 1 byte (unsigned) 2 Second 1 byte (unsigned) 3 point 1 byte (unsigned) 4 hour 1 byte (unsigned)
[0035] (S4) In the GOOSE sending function, the FPGA module of the acquisition execution unit module allocates a piece of memory, defined as FPGA memory C, to store the control information of the GOOSE sending state sequence. When the telesignaling, telemetry and other information in the state sequence change, the CPU will perform GOOSE message grouping according to the control block information and the change in the CCD file. At the same time, the GOOSE sending destination MAC address, network card output configuration and state duration of the current state sequence will be sent to the FPGA, and the FPGA will output the above GOOSE message from a specific network card according to the configuration sent by the CPU. When the state duration is 0, it remains in the current sequence. If it is not 0, the CAN network interrupt continues to call the CPU for new state sequence content, and performs the GOOSE message sending function until the state continues in the last state sequence. The tooling configuration tool will retrieve the GOOSE reception abnormality of the device under test in real time, as well as a series of actions of the device under test caused by a series of changes in telesignaling, telemetry and other content in the GOOSE message sent by the acquisition execution unit module, and record them, so as to retrieve whether the relevant functions of the device under test are normal. The GOOSE sending block configuration information is shown in Table 4.
[0036] Table 4 GOOSE sending block configuration information
[0037]
[0038]
[0039] (S5) In the GOOSE receiving function, the FPGA module of the acquisition execution unit module allocates a memory, defined as FPGA memory D, to store GOOSE receiving related information. The CPU determines the data set information to be received through the CCD file. The CPU sends the destination MAC address, APPID and receiving port information of the first data set to the FPGA to receive the GOOSE message sent by the device under test. After a delay of 25 seconds, the acquisition execution unit module GOOSE reception is retrieved to determine whether the GOOSE reception abnormalities such as broken links are eliminated to determine whether the reception is successful. At the same time, the result is returned to the tooling configuration tool module for recording, so as to detect whether the GOOSE function of the relevant optical port of the device under test is normal. Then determine whether data set 1 has multiple ports for receiving. If so, the CPU sends the destination MAC address, APPID and second receiving port information of the first data set to the FPGA. After a delay of 25 seconds, the result is judged and recorded. If not, the CPU performs the same processing on the second data set until all data set information is transmitted. The configuration information of the GOOSE receiving control block is shown in Table 5.
[0040] Table 5 GOOSE receiving control block configuration information
[0041] Serial number Data Item Data Types 1 GOOSE receiving destination MAC 1-64 6 bytes (unsigned) 2 APPID 1-64 2 bytes (unsigned) 3 Strobe Configuration 1-64 4 bytes (unsigned) 4 Accept configuration end flag 1 byte (unsigned)
[0042] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An adaptive process layer data dynamic detection and identification method, It is characterized in that The following steps are involved: (S1) connecting the device under test to the acquisition execution unit module in the adaptive process layer data dynamic monitoring and identification system through virtual terminals, generating a CCD configuration file for the device under test and the acquisition execution unit module, importing the configuration file into the tooling configuration tool module, the tooling configuration tool module confirms the configuration information required for the test, and generates an XML configuration file; (S2) When the automatic test starts, the XML configuration file generated in step (S1) is imported into the adaptive process layer data dynamic detection and identification system, the CPU of the execution unit module analyzes the XML configuration file transmitted by the tooling configuration tool module, and stores each data set information according to the state sequence; according to the needs of the device under test, it is divided into SV sending, GOOSE sending and GOOSE receiving; if the demand of the device under test is SV sending, jump to step (S3); if the demand of the device under test is GOOSE sending, jump to step (S4); if the demand of the device under test is GOOSE receiving, jump to step (S5); (S3) In the SV sending function, the FPGA module of the acquisition execution unit module allocates two memories, defining FPGA memory A and FPGA memory B respectively, which are used to store the control block information of the two SV state sequences. The CPU of the acquisition execution unit module initially sends the contents of the two state sequences and the enable flag and timing trigger time of the timing trigger to the FPGA module. The timing trigger function is only for state sequence 1; the FPGA module forms a sine wave according to the waveform amplitude, frequency, and phase in the data set sent by the CPU to form a high-quality SV message. At the same time, according to the initial value and final value of the amplitude, it determines whether it is necessary to complete the change of the power data according to the step size and step time, and then outputs the SV message from the specific network port according to the timing trigger time. After the state duration, the next state sequence is output. SV message, when the duration is 0, the current state is maintained; if the number of state sequences is more than two, after the FPGA processes the second sequence, it will send a CAN network interrupt to the CPU. After the CPU receives the interrupt, it will send the configuration information of state sequence 3 to FPGA memory A. When the FPGA control sends the content of state sequence 3, it will continue to send CAN network interrupts to the CPU. The CPU will send the configuration information of state sequence 4 to FPGA memory B, and so on, until the state continues in the last state sequence; the tooling configuration tool module will retrieve the SV reception abnormal information related to the device under test in real time, and collect a series of actions of the device under test caused by the digital quantity of the SV message sent by the execution unit module, and record them, so as to detect whether the relevant functions of the device under test are normal; (S4) In the GOOSE sending function, the FPGA module of the acquisition execution unit module allocates a memory, defined as FPGA memory C, to store the control information of the GOOSE sending state sequence. When the telesignaling, telemetry and other information in the state sequence change, the CPU will perform GOOSE message grouping according to the control block information and the change in the CCD file, and at the same time send the GOOSE sending destination MAC address, network card output configuration and state duration of the current state sequence to the FPGA. The FPGA will output the above GOOSE message from a specific network card according to the configuration sent by the CPU. When the state duration is 0, it remains in the current sequence. If it is not 0, the CAN network interruption continues to call the CPU for new state sequence content, and performs the GOOSE message sending function until the state continues in the last state sequence. At the same time, the tooling configuration tool module will retrieve the GOOSE reception abnormality of the device under test in real time, as well as a series of actions of the device under test caused by a series of telesignaling, telemetry and other content changes in the GOOSE message sent by the acquisition execution unit module, and record them, so as to detect whether the relevant functions of the device under test are normal; (S5) In the GOOSE receiving function, the FPGA module of the acquisition execution unit module allocates a memory, defined as FPGA memory D, to store GOOSE receiving related information. The CPU determines the data set information to be received through the CCD file. The CPU sends the destination MAC address, APPID and receiving port information of the first data set to the FPGA to receive the GOOSE message sent by the device under test. After a delay of 25 seconds, the acquisition execution unit module GOOSE reception is retrieved to determine whether the GOOSE reception abnormalities such as broken links are eliminated to determine whether the reception is successful. At the same time, the result is returned to the tooling configuration tool module for recording, so as to detect whether the GOOSE function of the relevant optical port of the device under test is normal; then determine whether data set 1 has multiple ports for receiving. If so, the CPU sends the destination MAC address, APPID and second receiving port information of the first data set to the FPGA. After a delay of 25 seconds, the result is judged and recorded. If not, the CPU performs the same processing on the second data set until all data set information is transmitted.
2. The adaptive process layer data dynamic detection and identification method according to claim 1, It is characterized in that In step (S1), the configuration information confirmed by the tooling configuration tool module includes the number of state sequences, the duration of the state sequence, the timing trigger enable and time, the data set module selection, the message output network port number, and the data set content.
Citation Information
Patent Citations
On-line and off-line integrated analytical testing method for intelligent substation
CN103033703A
SV direct sampling and GOOSE message same-port transmitting method
CN103701716A
Method and system of SV and GOOSE input test of intelligent substation relay protector
CN104734364A
Station-domain protection system of intelligent transformer station and function debugging method of system
CN104935079A
One-to-many intelligent substation process layer virtual secondary equipment and implementation method
CN105914884A
