Dual-data checking method and device based on IEC61850 protocol
By using the dual data calibration method in telemetry data calibration and using the IEC61850 standard for mutation calibration and secondary calibration, the problem of low accuracy of telemetry data calibration is solved, and the accuracy and correctness of the data are improved.
Patent Information
- Application Number
- CN202510190978.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-06-24
AI Technical Summary
In the prior art, the accuracy of telemetry data calibration is not high, which may lead to operational risks.
A dual data calibration method based on the IEC61850 regulations is adopted to perform mutation verification of the received telemetry data, and if it fails, a secondary verification is performed to confirm the accuracy of the data.
It improves the calibration accuracy of telemetry data, reduces errors, ensures the accuracy and accuracy of telemetry data, and reduces operational risks.
Smart Images

Figure CN120196619A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a dual - data verification method and device based on the IEC61850 protocol, belonging to the technical field of telemetry data verification. Background Art
[0002] At present, with the large - scale construction of new energy, the power system has higher and higher requirements for the accuracy and correctness of telemetry values. Therefore, it is necessary for telecontrol to strengthen the management of telemetry, and important telemetry data needs to be verified to ensure the accuracy and correctness of telemetry data. At present, telecontrol has no verification function for telemetry data, directly receives the periodic or sudden - change data sent by the device, and then forwards it to the master station; if there are problems in the transmission or parsing process, abnormal telemetry may be sent, resulting in operation risks. Summary of the Invention
[0003] The purpose of the present invention is to provide a dual - data verification method and device based on the IEC61850 protocol to solve the problem of low accuracy in current telemetry data verification.
[0004] The present invention provides a dual - data verification method based on the IEC61850 protocol to solve the above - mentioned technical problems. The method includes: 1) When the telecontrol device receives the sent telemetry data and the type of the received telemetry data belongs to the set type, perform sudden - change verification on the received telemetry data. 2) If the sudden - change verification is qualified, store the received telemetry data in the set database; if the sudden - change verification is unqualified, the telecontrol device reads the corresponding telemetry data, compares the read telemetry data with the telemetry data with unqualified sudden - change verification. If the difference is large, store the read telemetry data in the set database.
[0005] Further, the sudden - change verification includes dead - zone sudden - change verification and sudden - change difference verification. When both the dead - zone sudden - change verification and the sudden - change difference verification pass, the sudden - change verification is qualified.
[0006] Further, the dead - zone sudden - change verification refers to whether the sudden - change dead - zone value of the received telemetry data is less than the set dead - zone value. If it is less, the dead - zone sudden - change verification passes. The sudden - change dead - zone value of the telemetry data is equal to the ratio of the difference between the newly received telemetry data and the original telemetry data to the original telemetry data.
[0007] Further, the sudden - change difference verification refers to whether the sudden - change difference of the received telemetry data is less than the set sudden - change difference. If it is less, the sudden - change difference verification passes. The sudden - change difference of the telemetry data is equal to the absolute value of the difference between the newly received telemetry data and the original telemetry data.
[0008] Further, if the type of the received telemetry data in step 1) does not belong to the set type, the received telemetry data is stored in a set database.
[0009] Further, if the difference between the read telemetry data and the telemetry data with unqualified mutation verification is small, both the telemetry data with unqualified mutation verification and the read telemetry data are stored in a set database.
[0010] Further, whether the type of the received telemetry data in step 1) belongs to the set type is realized by judging whether the type of the received telemetry data is in the Hash table. The Hash table is created according to the internal indexes of each telemetry data type in the set database, and the Hash table is used to store the telemetry data of the set type.
[0011] Further, the set type includes active power, reactive power, voltage and current.
[0012] The present invention also provides a dual data verification device based on the IEC61850 protocol, including a processor, and the processor is used to execute computer program instructions to implement the above-mentioned dual data verification method based on the IEC61850 protocol.
[0013] The beneficial effects of the present invention are: As an improved invention, the present invention first performs mutation verification on the received telemetry data. If the mutation verification is qualified, it means that the current telemetry data is okay and can be directly stored; if the mutation verification is unqualified, it means that the current telemetry data may have problems and needs to be further confirmed by the relevant telemetry data read by the remote control device. If the difference between the read telemetry data and the telemetry data with unqualified mutation verification is large, it means that the telemetry data with unqualified mutation verification indeed has problems. At this time, only the read telemetry data needs to be stored in the set database. Through the above process, it can be seen that the telemetry data verification of the present invention adopts a dual verification mechanism, and further verifies the relevant telemetry data read by the remote control device in the case of unqualified mutation verification, avoiding errors caused by only one verification and improving the accuracy of data verification. Description of the Drawings
[0014] Figure 1 is a flowchart of the dual data verification method based on the IEC61850 protocol of the present invention. Detailed Embodiments
[0015] The following further describes the detailed embodiments of the present invention with reference to the drawings.
[0016] The core of the present invention lies in: a dual-verification mechanism is adopted for the telemetry data verification. First, the received telemetry data is subjected to mutation verification, that is, the first verification. If the mutation verification fails, the read telemetry data is used for the second verification to improve the accuracy of the telemetry data.
[0017] Embodiment of the dual-data verification method based on IEC61850 protocol In the IEC61850 protocol, telemetry is sent to automation devices such as monitoring and telecontrol through data reports, and at the same time, it also supports monitoring, telecontrol, etc. to read the values of telemetry data. Therefore, the telemetry data verification of the present invention adopts a dual-verification mechanism. First, the received telemetry data is subjected to mutation verification. If the mutation verification is qualified, it means that the current telemetry data is okay and can be directly stored; if the mutation verification is unqualified, it means that there may be problems with the current telemetry data, and relevant telemetry data read by the telecontrol device needs to be used for further confirmation. If the difference between the read telemetry data and the telemetry data with unqualified mutation verification is large, it means that the telemetry data with unqualified mutation verification indeed has problems. At this time, only the read telemetry data needs to be stored in the set database. The implementation process of this method is as Figure 1 shown, and the following is a detailed description.
[0018] 1. Create a Hash table to store telemetry data of important classification identifiers.
[0019] When the telecontrol device is powered on and starts, it reads the telemetry data and telemetry types in the set database and initializes them, and writes the important telemetry types into the Hash table, where the set database is a real-time database. The telemetry data received by the telecontrol device includes various types of data, among which active power, reactive power, voltage, and current are important telemetry data, and these important telemetry data need to be verified. As other implementation manners, important telemetry data can also be defined according to needs. To facilitate the verification of these important telemetry data, the present invention creates a Hash table for storing telemetry data related to active power, reactive power, voltage, and current. This Hash table is created according to the internal index in the set database, and only the internal indexes corresponding to these data of active power, reactive power, voltage, and current can be stored in the Hash table.
[0020] 2. Perform the first verification If the type of the received telemetry data belongs to the set type, the received telemetry data is subjected to mutation verification. For this embodiment, it can be determined whether the telemetry internal index corresponding to the received telemetry data is in the Hash table. If it is, it means that the telemetry data is of the set type (i.e., relatively important) telemetry data, and at this time, it enters the mutation verification process.
[0021] The mutation verification adopted in this embodiment includes dead zone mutation verification and mutation difference verification. When both the dead zone mutation verification and the mutation difference verification pass, the mutation verification is qualified. Among them, the dead zone mutation verification refers to whether the mutation dead zone value of the received telemetry data is less than the set dead zone value. If it is less, the dead zone mutation verification passes. The mutation dead zone value of the telemetry data is equal to the ratio of the difference between the newly received telemetry data and the original telemetry data to the original telemetry data. The mutation difference verification refers to whether the mutation difference of the received telemetry data is less than the set mutation difference. If it is less, the mutation difference verification passes. The mutation difference of the telemetry data is equal to the absolute value of the difference between the newly received telemetry data and the original telemetry data.
[0022] Specifically, in the power system, the current I is defined as XJ_I, the voltage U is defined as XJ_U, the active power P is defined as XJ_P, the reactive power Q is defined as XJ_Q, and other telemetry is defined as XJ_Unknow. The set dead zone value XJ_DeadZone of the mutation dead zone is defined as 0.2, and the calculation formula for the mutation dead zone is: mutation dead zone value = (new value - old value) / old value; the set mutation difference XJ_FabsVal is 20, and the calculation formula for the mutation difference is: mutation difference = fabs(new value - old value), where fabs represents taking the absolute value.
[0023] If the currently received telemetry data is current data, calculate the mutation dead zone value according to the above mutation dead zone calculation formula, and judge whether the value is greater than 0.2. If it is not greater, enter the logic of calculating the mutation difference; after entering the logic of calculating the mutation difference, calculate the absolute value of the mutation according to the mutation difference calculation formula, and judge whether it is greater than the set mutation difference XJ_FabsVal (20 in this embodiment). If it is not greater, directly store the telemetry data in the real-time database, otherwise enter the secondary verification.
[0024] As other implementation methods, the mutation verification can adopt any one of the dead zone mutation verification and the mutation difference verification.
[0025] 3. Conduct secondary verification The secondary verification requires the telecontrol device to read the corresponding telemetry data, compare the read telemetry data with the telemetry data that fails the mutation verification. If the difference is large, store the read telemetry data in the set database.
[0026] For this embodiment, after the telemetry value is read and returned by the remote control device, the read telemetry data is compared with the new value (i.e., the telemetry value with unsuccessful primary verification). If the two are similar (i.e., the percentage of data change is less than 5%), it indicates that there is no problem with the telemetry value with unsuccessful primary verification. At this time, the telemetry value with unsuccessful primary verification can be put into the real-time database. If the difference is large, the read telemetry data is stored in the real-time database to ensure that the jump value can be masked after the telemetry data jumps, and to ensure the correctness and accuracy of the important telemetry data sent to the master station.
[0027] Through the above process, it can be seen that the telemetry data verification of the present invention adopts a dual-verification mechanism, and the relevant telemetry data read by the remote control device is further verified in the case of unqualified mutation verification, avoiding errors caused by only one verification, improving the accuracy of data verification, and ensuring the correctness and accuracy of the important telemetry data sent by the remote control to the master station.
[0028] Embodiment of a dual data verification device based on IEC61850 protocol The dual data verification device based on IEC61850 protocol of the present invention includes a processor, and the processor is used to execute computer program instructions to implement the above-mentioned dual data verification method based on IEC61850 protocol. The specific implementation process of this method has been described in detail in the previous method embodiment and will not be repeated here.
Claims
1. A double data verification method based on IEC61850 protocol, characterized in that: The method includes: 1) When the telecontrol device receives the telemetry data sent up, and the type of the received telemetry data belongs to the set type, a mutation check is performed on the received telemetry data; 2) If the mutation check is qualified, the received telemetry data will be stored in the set database; if the mutation check is unqualified, the telecontrol device will read the corresponding telemetry data and compare the read telemetry data with the telemetry data that failed the mutation check. If the difference is large, the read telemetry data will be stored in the set database.
2. The double data verification method based on IEC61850 protocol according to claim 1, characterized in that: The mutation check includes a dead zone mutation check and a mutation difference check. When both the dead zone mutation check and the mutation difference check are passed, the mutation check is qualified.
3. The double data verification method based on IEC61850 protocol according to claim 2 is characterized in that: The dead zone mutation check refers to whether the mutation dead zone value of the received telemetry data is less than the set dead zone value. If it is, the dead zone mutation check passes. The mutation dead zone value of the telemetry data is equal to the ratio of the difference between the newly received telemetry data and the original telemetry data and the original telemetry data.
4. The double data verification method based on IEC61850 protocol according to claim 2 is characterized in that: The mutation difference check refers to whether the mutation difference of the received telemetry data is less than the set mutation difference. If so, the mutation difference check passes. The mutation difference of the telemetry data is equal to the absolute value of the difference between the newly received telemetry data and the original telemetry data.
5. The double data verification method based on IEC61850 protocol according to claim 1, characterized in that: In the step 1), if the type of the received telemetry data does not belong to the set type, the received telemetry data is stored in the set database.
6. The double data verification method based on IEC61850 protocol according to claim 1 is characterized in that: If the difference between the read telemetry data and the telemetry data that failed the mutation check is small, both the telemetry data that failed the mutation check and the read telemetry data are stored in the setting database.
7. The double data verification method based on IEC61850 protocol according to claim 1 is characterized in that: Whether the type of telemetry data received in step 1) belongs to the set type is achieved by judging whether the type of telemetry data received is in a Hash table. The Hash table is created based on the internal index of each telemetry data type in the set database. The Hash table is used to store telemetry data of the set type.
8. The double data verification method based on IEC61850 protocol according to claim 1 is characterized in that: The setting types include active power, reactive power, voltage and current.
9. A dual data verification device based on IEC61850 protocol, comprising a processor, characterized in that: The processor is used to execute computer program instructions to implement the double data verification method based on the IEC61850 protocol as described in any one of claims 1-8.