Summary of the invention
Based on this, the application provides a kind of substation secondary device method for parameter configuration and system, it is possible to reduce substation
The number of secondary device parameter configuration improves the efficiency that substation secondary device carries out related work.
A kind of substation secondary device method for parameter configuration, includes the following steps:
On any one secondary device of substation, is required according to the operating parameter of the secondary device, establish secondary set
Received shipment row parameter configuration model;Wherein, the content of the parameter configuration model includes that secondary device operating parameter file content is retouched
It states, parameter type format defines, content of parameter part defines and the value range of each parameter;
Using preset secondary device operating parameter model management tool, mould is configured according to corresponding secondary device operating parameter
The content of type creates simultaneously editing parameter data structure and parameter macrodefinition partial content, and generates the operating parameter mould of structuring
Type file;
Using the secondary device operating parameter configuration tool, each parameter configuration of device of operating parameter model file is read
Content requires setting operating parameter content part, and the binary system operating parameter file of generating means according to device actual motion;
Using the secondary device operating parameter configuration tool, by document transfer mode by binary system operating parameter file
It descends into other secondary devices, and other secondary device configuration parameters is controlled by remote command and are come into force.
A kind of substation secondary device parameter configuring system, comprising:
Module is established, for any one secondary device in substation, is wanted according to the operating parameter of the secondary device
It asks, establishes secondary device operating parameter allocation models;Wherein, the content of the parameter configuration model includes secondary device operation ginseng
The description of number file content, parameter type format defines, content of parameter defines and the value range of each parameter;
First generation module, it is secondary according to correspondence for utilizing preset secondary device operating parameter model management tool
The content of equipment operating parameter allocation models creates simultaneously editing parameter data structure and parameter macrodefinition partial content, and generates
The operating parameter model file of structuring;
Second generation module reads operating parameter model text for utilizing the secondary device operating parameter configuration tool
Each parameter configuration content of the device of part, according to device actual motion require setting operating parameter content, and the two of generating means into
Operating parameter file processed;
Configuration module, for utilize the secondary device operating parameter configuration tool, by document transfer mode by two into
Operating parameter file processed descends into other secondary devices, and controls other secondary device configuration parameters lifes by remote command
Effect.
Above-mentioned substation secondary device method for parameter configuration and system are direct on any one secondary device of substation
It is required according to the operating parameter of the secondary device, establishes secondary device operating parameter allocation models, generate the operation ginseng of structuring
Exponential model file further generates binary system operating parameter file, then passes through document transfer mode for binary system operating parameter
File descends into other secondary devices, and controls other secondary device configuration parameters by remote command and come into force;Only need root
Its own preset secondary device operating parameter model management tool and secondary device are utilized according to any one secondary device
Operating parameter configuration tool can complete the generation of binary system operating parameter file, descend into other secondary devices, owned
The configuration of secondary device reduces the study of field adjustable personnel without more set substation secondary device operating parameter configuration tools
Cost improves the efficiency that substation secondary device carries out related work.
Specific embodiment
With reference to the accompanying drawing to the specific embodiment of substation secondary device method for parameter configuration and system of the invention
It is described in detail.
The substation secondary device method for parameter configuration flow chart of one embodiment is shown with reference to Fig. 1, Fig. 1, including such as
Lower step:
S10 requires according to the operating parameter of the secondary device on any one secondary device of substation, establishes two
Secondary device operating parameter allocation models;Wherein, the content of the parameter configuration model includes in secondary device operating parameter file
Appearance description, parameter type format defines, content of parameter part defines and the value range of each parameter;
In above-mentioned steps S10, the secondary device can in substation protective relaying device, measure and control device or its
His intelligent controlling device.
S20 is matched using preset secondary device operating parameter model management tool according to corresponding secondary device operating parameter
The content of model is set, simultaneously editing parameter data structure and parameter macrodefinition partial content are created, and generates the operation ginseng of structuring
Exponential model file;
In above-mentioned steps S20, preset secondary device operating parameter model management tool is had by secondary device itself,
So just without starting the operating parameter model that external secondary device operating parameter model management tool generates the secondary device
File can save the resource for generating the operating parameter model file of the secondary device, improve relevant formation efficiency;Above-mentioned knot
The operating parameter model file of structure indicates the operating parameter model file by each parameter type and the corresponding content of each parameter
It is expressed according to certain preset structure.
S30 reads each parameter of device of operating parameter model file using the secondary device operating parameter configuration tool
Content is configured, setting operating parameter content part, and the binary system operating parameter of generating means are required according to device actual motion
File;
In above-mentioned steps S30, secondary device operating parameter configuration tool is had by secondary device itself, is just not necessarily in this way
Start external secondary device operating parameter configuration tool and generate binary system operating parameter file, can save and generate binary system fortune
The resource of row Parameter File, improves formation efficiency.
S40, using the secondary device operating parameter configuration tool, by document transfer mode by binary system operating parameter
File descends into other secondary devices, and controls other secondary device configuration parameters by remote command and come into force.
Substation secondary device method for parameter configuration provided in this embodiment is on any one secondary device of substation
It is directly required according to the operating parameter of the secondary device, establishes secondary device operating parameter allocation models, generate the fortune of structuring
Row parameter model file further generates binary system operating parameter file, is then run binary system by document transfer mode
Parameter File descends into other secondary devices, and controls other secondary device configuration parameters by remote command and come into force;Only need
Its own preset secondary device operating parameter model management tool and secondary is utilized according to any one secondary device
The configuration tool of equipment operating parameter can complete the generation of binary system operating parameter file, descend into other secondary devices, carry out
The configuration of all secondary devices reduces field adjustable personnel's without more set substation secondary device operating parameter configuration tools
Learning cost improves the efficiency that substation secondary device carries out related work.
In one embodiment, above-mentioned operating parameter model file can be xml (Extensible Markup
Language, extensible markup language) format file, including Parameters data structure definition part, parameter macrodefinition part and
Content of parameter part.
In one embodiment, above-mentioned parameter data structure definition part may include the operational parameter data of secondary device
The content of format definition, Parameters data structure is defined using xml format, and Parameters data structure is fixed in operating parameter model file
Justice is DataType (data type) node, and the DataType node includes multiple data objects;The data object includes
First id attribute, the first id attribute include multiple DA (data attribute) node, and the data object node nested can wrap
Node containing data object;The DA node includes title, type, description, unit, maximum value, minimum value, options and setting step
It is long.Wherein, above-mentioned DA node no longer includes other nodes
As one embodiment, above-mentioned parameter data structure definition part can be indicated with following code:
As one embodiment, above-mentioned DA node may include the title (name), type (Type), description of secondary device
(desc), unit (unit), maximum value (max), minimum value (min), options (lst) and setting step-length (step).This implementation
In example, above-mentioned DA node is a kind of self-description data parameter, and above-mentioned self-description data parameter indicates that the node can be indicated directly
Each content of parameter part of this secondary device.Wherein, the title of each parameter of above-mentioned secondary device, the requirement whether filled in and
Parameter specification is as follows:
Desc: Chinese must be filled out.
Val: value must fill out.
Lst: value list can be sky.
Unit: unit can be sky.
Step: step-length can be sky.
Min: minimum value can be sky.
Max: minimum value can be sky.
Type: type must fill out, the correctness for checking parameter configuration.Wherein, the above-mentioned type is defined as follows:
INT:4 byte integer type
BYTE:1 byte integer type
WORD:2 byte integer type
FLOAT: floating point type
HEX:16 binary data
STR_XX: character string type, wherein XX indicates character string maximum length
IPSTR:IP character string type
As one embodiment, in the definite value of the above-mentioned enumeration type by each parameter, lst (value lists of multiple options)
It can store value list in attribute, be split using space, val (operating value) attribute is sequence of the actual value in value list
Number, the serial number of value list is since 0.For example, above-mentioned lst content can be " 4,800 9,600 19,200 38,400 57600
115200 ", if actual value is " 19200 ", val content is " 2 ".The maximum value of enumeration type definite value and minimum value are value simultaneously
The serial number range of list.
In one embodiment, above-mentioned parameter macrodefinition part may include MacroType (configuration of defmacro content root)
Node, includes multiple Macro (customized macroparameter) node under the MacroType node, and the Macro node includes the
Two id attributes, Value (the value content of definition) attribute and desc (description) attribute.
Above-mentioned parameter macrodefinition part can be promoted configuration file editor can the property read, as one embodiment, above-mentioned ginseng
The data format definition of number macrodefinition part can be such that
In one embodiment, above-mentioned parameter content part may include Config (configuration) node, the Config section
Point includes DO (parameter) Object node that Parameters data structure defines part, the content of the DO Object node and the parameter number
According to the content matching of structure.Above-mentioned parameter content part is the value part of binary system operating parameter file, and the contents of the section can be with
Edit-modify is carried out by the unified configuration tool of secondary device itself, realizes to realize the unified management of each parameter and match
It sets.
As one embodiment, above-mentioned Config node includes the 3rd id attribute, and the 3rd id attribute includes DOType
The name attribute value of each DA of (parameter type) and DOType.Wherein, the corresponding relationship code of DOType and data attribute can
With are as follows:
<YkTab Tag=" 0x91 " DspTab=" 0xAA " Num=" 1 ">
< YkData Index=" 0 " Gin=" 0x3101 " Attr=" 0x0007 " CloseChn=" 0x000000008 "
OpenChn=" 0x000000004 " Name=" remote control 1 "/>
</YkTab>
In one embodiment, above-mentioned binary system operating parameter file may include big small end, cyclic check code and text
Three attribute values of part name.In the present embodiment, above-mentioned binary system operating parameter file is raw using user-defined format dynamic creation method
At, comprising big small end, the binary system operating parameter file of three attribute values of cyclic check code and filename generation code and
Format can be such that
<Config ByteOrder=" LittleEndian " CRC=" 0 " FileLen=" 0 "/>, wherein ByteOrder
(big small end) includes two options of LittleEndian (small end) and BigEndian (big end), and CRC (cyclic check code) is by secondary
The automatic operation of equipment operating parameter configuration tool generates, and FileLen (filename) is the length of actual binary operating parameter file
Degree.
The generation of above-mentioned binary system operating parameter file can first determine whether the big small end for needing the secondary device downloaded,
The big small end of binary system operating parameter file is written into the 1st byte of binary file, the 2nd~3 byte is CRC byte, the 4th~
7 be file size byte, and the 8th~12 byte is reserved field.The content of binary system operating parameter file since the 13rd byte,
Data content is defined according to DataType, the acquired value content from the data parameters of file, according to the data attribute length write of DA
Enter in file.CRC is written in 2~3 bytes after the completion of length generates, and configuration file length is written in 4~7 bytes;It is finally completed each two
The configuration of the binary system operating parameter file of secondary device.
It show the substation secondary device parameter configuring system structural schematic diagram of one embodiment with reference to Fig. 2, Fig. 2, wraps
It includes:
Module 10 is established, for any one secondary device in substation, according to the operating parameter of the secondary device
It is required that establishing secondary device operating parameter allocation models;Wherein, the content of the parameter configuration model includes secondary device operation
The description of Parameter File content, parameter type format defines, content of parameter defines and the value range of each parameter;
First generation module 20, for utilizing preset secondary device operating parameter model management tool, according to corresponding two
The content of secondary device operating parameter allocation models creates simultaneously editing parameter data structure and parameter macrodefinition partial content, and raw
At the operating parameter model file of structuring;
Second generation module 30 reads operating parameter model for utilizing the secondary device operating parameter configuration tool
Each parameter configuration content of the device of file requires setting operating parameter content, and the two of generating means according to device actual motion
System operating parameter file;
Configuration module 40, for utilizing the secondary device operating parameter configuration tool, by document transfer mode by two
System operating parameter file descends into other secondary devices, and controls other secondary device configuration parameters lifes by remote command
Effect.
The substation secondary device parameter configuring system of offer of the invention and substation secondary device parameter of the invention
Configuration method correspond, above-mentioned substation secondary device method for parameter configuration embodiment illustrate technical characteristic and its have
Beneficial effect suitable for the embodiment of substation secondary device parameter configuring system, hereby give notice that.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.