CN109713636B - Method and device for automatically checking setting value - Google Patents

Method and device for automatically checking setting value Download PDF

Info

Publication number
CN109713636B
CN109713636B CN201811650010.4A CN201811650010A CN109713636B CN 109713636 B CN109713636 B CN 109713636B CN 201811650010 A CN201811650010 A CN 201811650010A CN 109713636 B CN109713636 B CN 109713636B
Authority
CN
China
Prior art keywords
fixed value
value
substation
feature code
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811650010.4A
Other languages
Chinese (zh)
Other versions
CN109713636A (en
Inventor
黎恒烜
汪洋
冀肖彤
陈前臣
鄂士平
石旭刚
张侃君
杨铭
王添慧
黄浩
文博
李鹏
洪梅子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN HAOMAI ELECTRIC POWER AUTOMATION Co Ltd
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hubei Electric Power Co Ltd
Original Assignee
WUHAN HAOMAI ELECTRIC POWER AUTOMATION Co Ltd
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hubei Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WUHAN HAOMAI ELECTRIC POWER AUTOMATION Co Ltd, State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Hubei Electric Power Co Ltd filed Critical WUHAN HAOMAI ELECTRIC POWER AUTOMATION Co Ltd
Priority to CN201811650010.4A priority Critical patent/CN109713636B/en
Publication of CN109713636A publication Critical patent/CN109713636A/en
Application granted granted Critical
Publication of CN109713636B publication Critical patent/CN109713636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/16Electric power substations

Abstract

The invention relates to a method and a device for automatically checking a setting value. The method firstly carries out compression coding on all fixed value items to reduce the data volume; then, an encryption algorithm is adopted for the compressed data to obtain a characteristic value, and whether the fixed value is abnormal can be judged only by comparing whether the current characteristic value and the standard characteristic value are different; when an abnormal condition exists, the substation master station system reads the files compressed by the system through the file transmission service of the MMS communication protocol, decodes the files, compares the files one by one and finds abnormal items. The method greatly improves the comparison efficiency, reduces the workload, and effectively solves the problems of large workload, easy error, low efficiency and the like of fixed value checking in field work.

Description

Method and device for automatically checking setting value
Technical Field
The invention relates to the technical field of operation, maintenance and overhaul of secondary equipment of an intelligent substation, in particular to a method and a device for automatically checking a setting value.
Background
In recent years, with the development of national economy of China, the dependence of various social circles on electric power is gradually enhanced, and the safety, stability and reliable operation of a power grid are guaranteed to be very important. Whether the relay protection device sets a correct fixed value or not is closely related to the operation safety of the whole power grid, and important influence is generated on the development of power utilities. However, with the continuous development of the power system, the operation mode of the power grid changes very frequently, and the fixed value of the relay protection device also needs to be adjusted correspondingly with the change of the operation mode.
At present, after unmanned on duty is carried out to many transformer substations, under the general condition, the transformer substation need change protection device's definite value in the operation process, perhaps regularly, overhaul back check definite value, and the personnel of fortune examining all need drive tens of kilometers and carry out the on-the-spot modification to equipment, and the wave is run back and forth. This work is not only costly, but also consumes a lot of effort and time by the staff. More importantly, the changed fixed value needs to be printed out and checked item by item, and the workload is huge. For example, a 220kV intelligent substation has at least two to three thousand fixed values, and the manual checking of the fixed values is heavy and is prone to error. In the prior art, a few systems can realize automatic checking, but the checking mode is a mode of calling fixed values locally and checking one by one, so that the efficiency is low.
Disclosure of Invention
The invention provides a method and a device for automatically calibrating a fixed value, aiming at the problems of large workload, high error probability, low efficiency and the like of fixed value calibration in field work. The method firstly carries out compression coding on all fixed value items to reduce the data volume; and then, a characteristic value of the compressed data is obtained by adopting an MD5(Message Digest algorithm, fifth edition) encryption algorithm, whether the fixed value is abnormal or not can be judged only by comparing the difference between the current characteristic value and the standard characteristic value, when the abnormal data exists, the transformer substation master station system reads the compressed files of the system through a file transmission service of an MMS (Manufacturing Message Specification) communication protocol, decodes the files, compares the decoded files one by one to find abnormal items, the comparison efficiency is greatly improved, and the workload is effectively reduced.
On one hand, the invention provides a method for automatically checking a setting value, which specifically comprises the following steps:
step 1: the substation system analyzes an SCD (substation configuration Description) file provided by a substation system integrator, and acquires relevant configuration information of substation equipment, wherein the relevant configuration information includes but not only a corresponding communication IP (Internet protocol), a fixed value item, a reference path and the like;
step 2: the substation system reads the fixed values of the communication IP, the fixed value items, the reference path and other related fixed value items analyzed in the step 1 from the protection device at regular time, and the reading mode is according to related regulations of an MMS communication protocol in the IEC61850 standard;
and step 3: the substation system performs compressed encoding on the fixed value read in the step 2 by adopting Huffman encoding to obtain a compressed encoding result, and stores the compressed encoding result;
the Huffman coding constructs the code word with the shortest average length of the different character heads completely according to the probability of character occurrence, and is sometimes called as optimal coding. The Huffman coding is a lossless compression algorithm, can ensure that data cannot be lost, and has mature algorithm theory and simple programming realization.
The basic method of huffman coding processing is to count the occurrence frequency of each symbol in the data, obtain shorter byte number from the symbol with higher occurrence probability, and allocate long byte number with low occurrence frequency, so as to compress the data.
And 4, step 4: the substation system encrypts the encoding result in the step 3 by adopting an MD5 encryption algorithm to obtain a feature code;
the MD5 encryption algorithm can ensure that even if the original data only has one byte change, the obtained characteristic values are different greatly, and the length of the MD5 value calculated by the data with any length is fixed, thereby being convenient for comparison.
And 5: the substation system uploads the feature codes in the step 4 to the substation master station system by adopting an MMS communication protocol;
step 6: the transformer substation master station system receives the feature codes sent by the system;
and 7: the transformer substation master station system compresses the standard fixed value by adopting Huffman coding;
and 8: the transformer substation master station system adopts the compression coding in the step 7 of the MD5 encryption algorithm to obtain a characteristic value to obtain a new characteristic code;
and step 9: comparing the feature codes received in the step 6 with the feature codes obtained by calculation in the step 8 by the substation master station system, judging whether the feature codes are the same or not, if the feature codes are the same, judging that the feature codes are normal, if the feature codes are different, giving an alarm, and performing a step 10;
step 10: the substation master station system reads a fixed value compression coding result corresponding to the feature code in the step 4;
step 11: the transformer substation master station system performs Huffman decoding on the compression coding result received in the step 10 to obtain the fixed value of each fixed value item of the protection device;
step 12: and the main station compares the fixed value of the fixed value item with the fixed value of the fixed value item obtained in the step 11 according to the value of the standard fixed value item of the main station, and determines which items are inconsistent to locate the abnormal item.
On the other hand, the invention provides an automatic fixed value checking device, which specifically comprises: the device comprises a current feature code acquisition unit, a protection device unit, a fixed value feature code acquisition unit and a fixed value check unit.
The current feature code obtaining unit is used for analyzing an SCD file provided by a transformer substation system integrator, obtaining related configuration information of transformer substation equipment, regularly reading fixed values of communication IP, fixed value items, reference paths and other related fixed value items from the protection device, performing compression coding on the read fixed values by adopting Huffman coding, and encrypting a coding result by adopting an MD5 encryption algorithm to obtain a current feature code. The protection device unit is responsible for providing fixed values of communication IP, fixed value items, reference paths and other related fixed value items.
The fixed value feature code acquisition unit is responsible for compressing the standard fixed value by adopting Huffman coding, and then compressing the coding result by adopting an MD5 encryption algorithm to acquire a feature value to obtain a fixed value feature code.
The fixed value checking unit is responsible for comparing the current feature code obtained by the current feature code obtaining unit with the fixed value feature code obtained by calculation of the fixed value feature code obtaining unit, judging whether the current feature code is the same or not, if the current feature code is the same, the current feature code is normal, if the current feature code is not the same, the fixed value code is alarmed, reading a fixed value compression coding result corresponding to the current feature code, carrying out Huffman decoding, obtaining the fixed value of each fixed value item of the protection device, comparing the fixed value with the value of a standard fixed value item, and positioning an abnormal item.
The invention has the beneficial effects that: on the basis of the prior art, the comparison efficiency is improved, and whether the fixed value is abnormal or not can be judged only by once comparison; network data flow is reduced, lossless compression is carried out on data, and a characteristic value is taken, so that the data volume is reduced; for data compression and decompression, the specific value of the constant value item when the abnormity occurs can be known.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
The present invention will be described in further detail by way of examples.
On the one hand, the embodiment provides an automatic fixed value checking method, which does not need to call the fixed value locally, and automatically checks the fixed value, so that the comparison efficiency is greatly improved, and the specific steps include:
step 1: the substation system of the transformer substation analyzes the SCD file to obtain the relevant configuration information of the transformer substation equipment;
step 2: according to the analyzed configuration information, the substation system configures an icd model file (IED Capability Description) of the substation system according to a model provided in an IEC61850-7-4 standard and relevant regulations in an IEC61850 engineering relay protection application model of Q/GDW1396-2012, the model file configures a logic equipment node storing feature code information for each protection device of the substation, and the substation master station system can obtain the feature codes of corresponding equipment by reading the logic node;
and step 3: the substation system leads the model file in the step 2 into a main station system, the main station can obtain relevant configuration information of the system, and communication between the substation main station system and the sub-substation system to be monitored is realized according to an MMS (multimedia messaging service) communication protocol in the IEC61850 standard;
and 4, step 4: the system reads the fixed value of the protection device in an active reading mode because the message cannot be actively sent when the fixed value changes; calling the fixed value of the protection device at fixed time according to the related information acquired in the step 1, wherein the fixed time can be set according to the actual requirements of the site;
and 5: the protection device is used as a main body, the substation system stores the fixed value in a file, and then the Huffman coding is adopted for compression coding;
step 6: the substation system adopts an MD5 algorithm to obtain feature codes from the compressed coding files;
the MD5 algorithm can be briefly summarized as: the input information is processed in 512-bit packets, each packet is divided into 16 32-bit sub-packets, and after a series of processing, the output of the algorithm is composed of four 32-bit packets, and the four 32-bit packets are concatenated to generate a 128-bit hash value.
And 7: the substation system uploads the feature codes in the step 6 to the substation master station system;
and 8: the transformer substation master station system compresses the standard fixed value by adopting Huffman coding, and then adopts an MD5 algorithm to obtain the feature code;
and step 9: comparing the feature code obtained in the step 8 with the feature code received in the step 7 to see whether the feature codes are the same; if the difference is the same, the normal is performed, if the difference is different, the alarm is performed, and the step 10 is performed;
step 10: calling the compressed coding file of the protection device to a master station system in a file transmission service mode;
step 11: the master station system decodes the locally recalled compressed files to obtain each fixed value item;
step 12: and comparing each fixed value item with the standard value, and positioning the abnormal item.
On the other hand, the present embodiment provides an automatic calibration device for a constant value, which specifically includes:
the current feature code obtaining unit analyzes an SCD file provided by a transformer substation system integrator, obtains related configuration information of transformer substation equipment, reads the analyzed fixed values of the communication IP, the fixed value items, the reference path and other related fixed value items from the protection device at regular time, compresses and codes the read fixed values by adopting Huffman coding, and encrypts a coding result by adopting an MD5 encryption algorithm to obtain a current feature code.
The protection device unit is responsible for providing fixed values of communication IP, fixed value items, reference paths and other related fixed value items.
And the constant value feature code acquisition unit compresses the standard constant value by adopting Huffman coding, and then compresses the coding result by adopting an MD5 encryption algorithm to acquire a feature value to obtain a constant value feature code.
And the fixed value checking unit is used for comparing the current feature code obtained by the current feature code obtaining unit with the fixed value feature code obtained by calculation of the fixed value feature code obtaining unit, judging whether the current feature code is the same as the fixed value feature code, if the current feature code is the same as the fixed value feature code, the fixed value feature code is normal, if the current feature code is different from the fixed value feature code, alarming, reading a fixed value compression coding result corresponding to the current feature code, carrying out Hoffman decoding, obtaining the fixed value of each fixed value item of the protection device, comparing the fixed value with the value of a standard fixed value item.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. A method for automatically checking a fixed value is characterized by comprising the following steps: step 1: the substation system analyzes the SCD file provided by the substation system integrator to acquire the relevant configuration information of the substation equipment; step 2: the substation system reads the fixed value of each fixed value item from the protection device at regular time; and step 3: the substation system performs compression coding on the fixed value read in the step 2 to obtain a compression coding result; and 4, step 4: the substation system encrypts the encoding result in the step 3 to obtain a feature code; and 5: the substation system transmits the feature codes in the step 4 to a substation master station system; step 6: the transformer substation master station system receives the feature codes sent by the system; and 7: the transformer substation master station system compresses and codes the standard fixed value in the same way as the step 3; and 8: the transformer substation master station system acquires the characteristic value of the compressed code in the step 7 in the same way as the step 4 to obtain a characteristic code; and step 9: comparing the feature codes received in the step 6 with the feature codes obtained by calculation in the step 8 by the substation master station system, if the feature codes are the same, judging that the feature codes are normal, and if the feature codes are different, giving an alarm and performing a step 10; step 10: the substation master station system reads a fixed value compression coding result corresponding to the feature code in the step 4; step 11: the transformer substation master station system decodes the compression coding result received in the step 10 in a mode corresponding to the step 3 to obtain a fixed value of each fixed value item; step 12: and the substation master station system compares the value of the standard fixed value item with the fixed value item fixed value obtained in the step 11, searches different items and positions the abnormal item.
2. The automatic rating value checking method according to claim 1, wherein the step 1 comprises acquiring relevant information of the substation equipment in an analytic mode, wherein the relevant information comprises corresponding communication IP, a rating item and a reference path.
3. The method for automatically checking the definite value according to claim 1, wherein the step 1 comprises configuring an icd model file of the system according to the analyzed information and according to a model provided in an IEC61850-7-4 standard and a relevant specification in an IEC61850 engineering relay protection application model, wherein the model file configures one logic device node for storing characteristic code information for each protection device of the transformer substation.
4. The automatic check method for valuables according to claim 1, wherein the step 2 of reading the valuables of each valuables item from the protection device at regular intervals comprises reading in a manner according to the related specifications of the MMS communication protocol in the IEC61850 standard.
5. The method for automatically checking the definite value according to claim 1, wherein the step 3 comprises a compression coding method of huffman coding.
6. The method for automatically checking the definite value according to claim 1, wherein the step 4 comprises an encryption mode of an MD5 encryption algorithm.
7. The automatic calibration method for the definite value according to claim 1, wherein the step 5 comprises uploading the characteristic code to the substation master station system by adopting an MMS communication protocol.
8. The method of automatically checking definite values as claimed in claim 3, wherein configuring the model file comprises importing the model file into the master station system.
9. An automatic check device of definite value, its characterized in that includes:
the current feature code acquisition unit is responsible for analyzing an SCD file provided by a transformer substation system integrator, acquiring related configuration information of transformer substation equipment, regularly reading a fixed value analyzed to a related fixed value item from the protection device, performing compression coding on the read fixed value by adopting Huffman coding, and encrypting a coding result by adopting an MD5 encryption algorithm to obtain a current feature code;
the protection device unit is responsible for providing fixed values of the communication IP, the fixed value items and the related fixed value items of the reference path;
the fixed value feature code acquisition unit is responsible for compressing a standard fixed value by adopting Huffman coding, and then compressing a coding result by adopting an MD5 encryption algorithm to acquire a feature value to obtain a fixed value feature code;
and the constant value checking unit is responsible for comparing the current feature code obtained by the current feature code obtaining unit with the constant value feature code obtained by the constant value feature code obtaining unit, if the current feature code is the same as the constant value feature code, the current feature code is normal, if the current feature code is different from the constant value feature code, the constant value compression coding result corresponding to the current feature code is read, the Huffman decoding is carried out, the constant value of each constant value item of the protection device is obtained, the constant value of each constant value item is compared with the value of a standard constant value item, and an abnormal item is.
CN201811650010.4A 2018-12-31 2018-12-31 Method and device for automatically checking setting value Active CN109713636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811650010.4A CN109713636B (en) 2018-12-31 2018-12-31 Method and device for automatically checking setting value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811650010.4A CN109713636B (en) 2018-12-31 2018-12-31 Method and device for automatically checking setting value

Publications (2)

Publication Number Publication Date
CN109713636A CN109713636A (en) 2019-05-03
CN109713636B true CN109713636B (en) 2020-01-17

Family

ID=66260596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811650010.4A Active CN109713636B (en) 2018-12-31 2018-12-31 Method and device for automatically checking setting value

Country Status (1)

Country Link
CN (1) CN109713636B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912877B (en) * 2019-11-09 2022-01-11 许继集团有限公司 Data transmitting and receiving method and device based on IEC61850 model in transformer substation

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2816077B2 (en) * 1993-01-19 1998-10-27 三菱電機株式会社 How to display the set value of the device
JPH077839A (en) * 1993-06-16 1995-01-10 Fuji Electric Co Ltd Changing system for setting of digital protective relay
CN103227449B (en) * 2013-03-22 2015-09-23 南京南瑞继保工程技术有限公司 A kind of protective device definite value Automatic Checking System
CN106851299B (en) * 2014-05-21 2019-11-08 三星半导体(中国)研究开发有限公司 The decoding method and its device based on jpeg file format in mobile device
CN106685093A (en) * 2017-03-20 2017-05-17 云南电网有限责任公司玉溪供电局 Remote on-line modification and check system for wave record setting value
CN109038473A (en) * 2017-06-08 2018-12-18 南京南瑞继保电气有限公司 A kind of relay protection device constant value adjusting and nucleus correcting system based on file mode

Also Published As

Publication number Publication date
CN109713636A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN109120464A (en) Secondary equipment of intelligent converting station configuration information remote online control device
US20150295807A1 (en) Manipulation of streams of monitoring data
CN109713636B (en) Method and device for automatically checking setting value
CN115864661B (en) Remote monitoring method for operation data of power equipment
Fehér et al. Smart meter data compression using generalized deduplication
CN111198049A (en) Remote intelligent online temperature measurement system for power equipment based on ubiquitous power Internet of things
CN115826469A (en) Automatic valve control method and system
CN117526998A (en) Power supply fault monitoring method and system based on spread spectrum carrier communication
CN104134168A (en) Data management system
Sari et al. The implementation of timestamp, bitmap and rake algorithm on data compression and data transmission from iot to cloud
CN114979268B (en) Data transmission method, device, server and system for industrial gas enterprise
CN115865274A (en) Data compression method, data decompression method and data compression device
CN106488480B (en) Work order engine implementation method and device
CN117014527A (en) Data processing method and device, storage medium and electronic equipment
CN108600046A (en) Equipment condition monitoring terminal based on perceptual hash, system and method
Sarkar et al. Arithmatic coding based approach for power system parameter data compression
KR101802720B1 (en) Compression and Minimization of the PV Inverter communication data
Sarkar et al. An alternative voltage and frequency monitoring scheme for SCADA based communication in power system using data compression
CN111131249A (en) Data processing method and device
CN114666406B (en) Electric power Internet of things data compression method and device based on object model
CN112148694A (en) Data compression method and data decompression method for electronic equipment and electronic equipment
CN216490566U (en) Online intelligent inspection system of centralized control station
Shu et al. A two-stage data compression method for real-time database
CN116935598B (en) Monitoring method and system based on intelligent power distribution of building
WO2023105647A1 (en) Flow information collecting system, flow information collecting method, and flow information collecting program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant