Summary of the invention
Based on this, be necessary for the problems referred to above, provide a kind of based on the scheduling station of MMS and the data interactive method of transformer station and system, the information interaction between OO mode specification scheduling station and transformer station can be adopted.
Based on the scheduling station of MMS and a data interactive method for transformer station, comprising:
Traffic model based on MMS is expanded, obtains the system description model of transformer station, and be this transformer station's Configuration Agent service interface;
Scheduling station, according to the agency service interface of transformer station and system description model, is set up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station, is carried out data interaction with transformer station;
Traffic model based on MMS is expanded, obtains the step of the system description model of transformer station, comprising:
Arrange and describe the attribute of intelligent electronic device and the functional restraint object of data message;
The title description object of each intelligent electronic device of difference is set;
Scheduling station, according to the agency service interface of transformer station and system description model, before setting up the step of the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station, comprising:
The main station system model of scheduling station is expanded, according to described system description model setting intelligent electronic device description object corresponding thereto, according to described agency service interface setting MMS messaging parameter corresponding thereto;
Scheduling station and transformer station carry out the step of data interaction, specifically comprise:
Utilize described resource identification edit operation order;
Obtain the resource access path of target substation according to described resource identification number, send described operational order to described target substation;
Described scheduling station sends described operational order to described target substation, obtain the real time data of assigned I ED, resource access path in described target substation is converted to the resource identification number of described scheduling station, described real time data is shown in described scheduling station and preserves;
Described target substation carries out self-inspection, when detecting data and changing, be that request command is wrapped and given described scheduling station by the detection Organization of Data of change, after described scheduling station receives described request order bag, resolve described request order bag, and according to resolving the information comprised in the described request order bag that obtains and arrange the real time data information of described scheduling station, the information comprised in described request order bag comprises the access path of the IED equipment of change and/or the detection data of change.
Correspondingly, a kind of based on the scheduling station of MMS and the data interaction system of transformer station, comprising:
Transformer station's proxy module, for expanding the traffic model based on MMS, obtaining the system description model of transformer station, and being this transformer station's Configuration Agent service interface;
The Master station communication module be connected with described transformer station proxy module, for according to the agency service interface of transformer station and system description model, set up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station, carry out data interaction with this transformer station;
Described transformer station proxy module comprises:
FCDA expanding element, describes the attribute of intelligent electronic device and the functional restraint object of data message for arranging;
The title expanding element be connected with described FCDA expanding element, for the basis at described functional restraint object, arranges the title description object of each intelligent electronic device of difference;
Described Master station communication module comprises:
MMS messaging parameter setting unit, for arranging MMS messaging parameter corresponding thereto according to described agency service interface, comprises IP address and port;
IED description unit, for arranging intelligent electronic device description object corresponding thereto according to described system description model;
The URI acquiring unit be connected respectively with described MMS messaging parameter setting unit, described IED description unit, for according to the agency service interface of transformer station and system description model, set up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station;
Described Master station communication module also comprises:
Commard editor unit, for utilizing described resource identification edit operation order;
The order bag transmitting element be connected with described commard editor unit, for obtaining the resource access path of target substation according to described resource identification number, sends described operational order to described target substation;
Data receipt unit, for when described target substation is according to described operational order feedback communication data, receives described communication data; Also for request command bag that receiving target transformer station uploads;
The Data Analysis unit be connected with described data receipt unit, for when described target substation upload request order bag, obtains the device access path in this request command bag and/or real time data.
Implement the present invention, there is following beneficial effect:
MMS technology between the IED that originally can only be applied in transformer station has creatively been applied to the communication of transformer station and scheduling station by the present invention, so, carry out expanding the system description model (SCD) obtaining transformer station to intelligent substation traffic model originally according to IEC 61850 agreement, and be this transformer station's Configuration Agent service interface, scheduling station just may have access to intelligent substation by agency service interface, carries out data interaction with transformer station.The present invention adopts OO mode to communicate, and fundamentally solves in conventional art, needs to carry out protocol transform, needs maintenance information point table, can not contain the problems such as all information types in intelligent substation.Further, decrease the workload of manual maintenance and reduce error.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 carries out data interaction flow chart between traditional intelligent substation and scheduling station;
IEC 60870-5-101: international standard transmission protocol IEC60870-5-101, a kind of Operation of Electric Systems transmission protocol, is mainly used in communication between scheduling station and transformer station and uses, referred to as 101 stipulations.101 stipulations are mainly applicable to serial-port, mainly carrier channel and optical-fibre channel.
IEC 60870-5-104: international standard transmission protocol IEC60870-5-104, a kind of Operation of Electric Systems transmission protocol, define the combination of the function that the application layer of IEC60870-5-101 stipulations and TCP/IP transmit, be mainly used in communication between scheduling station and transformer station to use, referred to as 104 stipulations.104 stipulations are mainly applicable to network channel, are applicable to TCP/IP communication.
As shown in Figure 1, realize real time data by stipulations between scheduling station and intelligent substation mutual, the stipulations of employing mainly comprise CDT stipulations, 101 stipulations, 104 stipulations etc.When intelligent substation starts modeling, first according to 61850 model generation communication point tables in station; Then this communication point table is supplied to scheduling station, communication point table corresponds in the communication point table of main website by scheduling station attendant, scheduling station attendant needs to carry out uniting and adjustment experiment with intelligent substation attendant afterwards, verify that bilateral communication point table is errorless, checking stipulations information transmission is errorless, can formally put into operation.If transmit wrong, also need revision communication point table or amendment stipulations etc., solve the problem of error of transmission.There is a lot of problem in this communication modes: the MMS being first employing 61850 standard due to current intelligent substation inside carries out communication, so, need intelligent substation to realize 61850 to the mapping of stipulations; Next needs communication bilateral, and namely scheduling station and intelligent substation all maintenance point tables, require attendant's field experiment checking signal, bring complexity to maintenance, and easily make mistakes because of human error.
Fig. 2 is the flow chart that the present invention is based on the scheduling station of MMS and the data interactive method of transformer station, comprising:
S101: expand the traffic model based on MMS, obtains the system description model of transformer station, and is this transformer station's Configuration Agent service interface;
S102: scheduling station, according to the agency service interface of transformer station and system description model, is set up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station, carried out data interaction with transformer station.
MMS:Manufacturing Message Specification, manufactures message specification.An international standard, defines the mode that control information is transmitted between smart machine and system in similar computer and robot etc.This agreement specifies the operation how carrying out various equipment when receiving specifying information equally.
IED:Intelligent Electronic Device, intelligent electronic device, comprises one or more processor; the data from external source can be received; or externally send data, or carry out the device that controls, such as: multifunction electronic instrument, numerical protection, controller etc.There is certain logic nodes ' behavior in one or more specific environment and be limited by the device of its interface.
FCDA:Functionally Constrained Data Attribute, functional restraint data attribute.
Existing MMS technology is applied to the communication between the IED equipment in transformer station, and the present invention is creatively expanded to the communication between scheduling station and transformer station.So, need to carry out expanding the system description model (SCD) obtaining transformer station to intelligent substation traffic model originally according to IEC 61850 agreement, and be this transformer station's Configuration Agent service interface, scheduling station just may have access to intelligent substation by agency service interface, carries out data interaction with transformer station.The present invention adopts OO mode to communicate, and when solving intelligent substation and master station communication, needs the problem of carrying out protocol transform.Reduce the maintenance complexity that the communication of traditional stipulations mode brings to communication two party.Meanwhile, also reduce the error probability of traditional stipulations communication, due to traditional specification mode communication, both sides are needed to safeguard communication point table, and artificially safeguard and likely will bring error, and the present invention avoids artificial maintenance as far as possible, thus reduce the error probability of traditional stipulations communication in some sense.
In addition, the system description model (SCD) of transformer station strengthens the integrality of model data communication, and SCD model comprises FCDA and the IED description object for distinguishing each IED equipment in transformer station.Described IED description object adopts OO mode to define parameter and the value of each IED equipment.Tradition stipulations are when communication, and first needing model conversion is communication point table, in the process of conversion, can reduce department pattern data as required, only retain signal of interest.Therefore dispatching patcher cannot view all model datas on intelligent substation, and the present invention adopts OO mode authority data, by head it off.
Fig. 3 is the implementation column flow chart that the present invention is based on the scheduling station of MMS and the data interactive method of transformer station.Compared with Fig. 2, Fig. 3 is the flow chart of preferred embodiment.In the middle of an embodiment, in order to realize the slitless connection with the system description model of intelligent substation (SCD), the former traffic model based on IEC 61970 of scheduling station is expanded.Further, for realizing the facile communication of scheduling station and multiple transformer station, scheduling station stores the corresponding relation of resource identification number between (ID) and the resource access path of each transformer station of described scheduling station, by described resource identification access destination transformer station.
S201: arrange and describe the attribute of intelligent electronic device and the functional restraint object of data message;
S202: the title description object that each intelligent electronic device of difference is set;
S203: be this transformer station's Configuration Agent service interface;
S204: expand the main station system model of scheduling station, according to described system description model setting intelligent electronic device description object corresponding thereto, according to described agency service interface setting MMS messaging parameter corresponding thereto;
S205: scheduling station, according to the agency service interface of transformer station and system description model, sets up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station;
S206: store the corresponding relation between the resource identification number of described scheduling station and the resource access path of each transformer station;
S207: carry out data interaction with transformer station.
Part I, Communication Model is expanded.Using MMS directly to carry out the mutual of data for being supported between scheduling station and intelligent substation, needing respectively former and IEC 61970 standard of intelligent substation based on IEC 61850 standard to be expanded, so that some of description communication must parameter.
For Intelligent Substation System, on the model basis of IEC 61850 standard definition, first need on the basis of master mould, increase a Correspondent IED, this acts on behalf of IED and externally provides agency service interface (SERVER interface), internally comprises system description model (SCD).Scheduling station system acts on behalf of all real time datas of all objects of the interface accessing Intelligent Substation System inside that IED provides by this.
Because scheduling station system needs to act on behalf of by this data that IED accesses the inner all IED of transformer station, need to associate the object information etc. in each IED acting on behalf of in IED.On the one hand, the description attribute of intelligent electronic device and the functional restraint object (FCDA) of data message are set.At present, in the middle of IEC 61850 standard, in the middle of FCDA, define a series of element property, but the data that only can describe under this IED or data attribute.In the middle of FCDA, the element property of definition comprises:
SCL model description example:
<FCDA ldInst="B1"prefix=""lnClass="MMXU"lnInst="1"doName="Amps"fc="MX"/>
On the other hand, the title description object of each intelligent electronic device of difference is set.IEC 61850 model is expanded, obtain system description model (SCD), allow its data describing each IED in transformer station or data attribute, wherein, mainly comprise title description object and data transfer mode (Data SET) etc.Preferably, concrete expansion way is as follows:
On the basis in IEC 61850 model, the element property of FCDA defined, a kind of new attribute-iedName of new expansion, as shown in the table:
Attribute-name |
Explanation |
iedName |
IED describes |
FCDA example after expansion is as follows:
<FCDA ldInst="B1"prefix=""lnClass="MMXU"lnInst="1"doName="Amps"fc="MX"iedName="QB1"/>
For scheduling station system, on the model basis of IEC 61970 standard definition, first MMS communication object is corresponding thereto gone out according to described agency service Interface Expanding, derive from from Communication (communication link) object, describe the MMS communications parameter of the Intelligent Substation System that each adopts MMS mode to communicate with scheduling station; Need in addition to expand the IED description object with its slitless connection according to described system description model (SCD), derive from from RemotePoint, emphasis describe need and those IED to carry out real time data mutual etc.Concrete model figure as shown in Figure 2.
Class definition concrete in the middle of illustraton of model is described as follows:
Part II, model conversion.First the system description model (SCD) in Part I is exported as SCD model file.And this model file is supplied to scheduling station system.Secondly, model file imports by scheduling station system, generates the main station system model of scheduling station system.Scheduling station system is the corresponding relation of resource identification number between (ID) and the resource access path of Intelligent Substation System of recording dispatching main station system.Preferably, the corresponding relation between the resource identification number of described scheduling station and the resource access path of each transformer station is stored according to the mode of URI (Uniform Resource Identifier, universal resource identifier).Due to inner at same intelligent substation, the IED device access path of repetition can not be there is, and at different intelligent substations, then may there is the IED device access path of repetition, therefore, the resource access path two parts by intelligent substation station name+Intelligent Substation System are formed by the URI of the resource of scheduling station system herein.For example, if an existing intelligent substation name is called Guangzhou Railway Station, in its Substation Station, the access path of certain resource is " E1Q1SB1C1 $ CSWI1/ST/Pos/stVal ", then the URI of this resource of main website storage is " Guangzhou Railway Station $ E1Q1SB1C1 $ CSWI1/ST/Pos/stVal ".Finally, scheduling station system configuration and this intelligent substation carry out MMS parameter during MMS communication, comprise IP address and port.And configure intelligent electronic device (IED) description object, comprise the real time data of the IED equipment of this transformer station and the data interactive mode (Data SET) of these IED equipment, such as whether enable Report etc.
Fig. 4 is the first application process flow chart that the present invention is based on the scheduling station of MMS and the data interaction technology of transformer station.Compared with Fig. 2, Fig. 3, first application process of Fig. 4 mainly describes the communication that the traffic model how applying above-mentioned expansion carries out between scheduling station and transformer station.In one embodiment, achieve scheduling station and send the order bag/packet preset to Intelligent target transformer station.
S301: expand the traffic model based on MMS, obtains the system description model of transformer station, and is this transformer station's Configuration Agent service interface;
S302: scheduling station, according to the agency service interface of transformer station and system description model, sets up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station;
S303: utilize described resource identification edit operation order; Obtain the resource access path of target substation according to described resource identification number, send described operational order to described target substation;
S304: when described target substation is according to described operational order feedback communication data, receive described communication data.
Part III, connects MMS service, and carries out transfer of data.The step of step S301, step S302 and Fig. 2 is identical, does not repeat them here.In the middle of step S303, utilize described resource identification edit operation order, described operational order comprise remote control, remote regulating, set up an office, pair time etc.When editting default operational order bag, first scheduling station needs, according to the resource identification in these operational order bags number (ID), to be converted to the resource access path of Intelligent Substation System, to send described operational order bag to described transformer station.Thus by need amendment content be configured to described Intelligent Substation System.
Fig. 5 is the second application process flow chart that the present invention is based on the scheduling station of MMS and the data interaction technology of transformer station.Compared with Fig. 4, second application process of Fig. 5 achieves the communication between scheduling station and multiple intelligent substation.In the middle of an embodiment, achieve the two-way communication with intelligent substation.Further, in order to reduce the data volume of two-way communication, the IED equipment of intelligent substation to inside carries out self-inspection, when transformer station detects the information change of IED equipment, to scheduling station upload request order bag.
S401: arrange and describe the attribute of intelligent electronic device and the functional restraint object of data message; The title description object of each intelligent electronic device of difference is set;
S402: be this transformer station's Configuration Agent service interface;
S403: expand the main station system model of scheduling station, according to described system description model setting intelligent electronic device description object corresponding thereto, according to described agency service interface setting MMS messaging parameter corresponding thereto;
S404: scheduling station, according to the agency service interface of transformer station and system description model, sets up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station;
S405: store the corresponding relation between the resource identification number of described scheduling station and the resource access path of each transformer station;
S406: utilize described resource identification edit operation order; Obtain the resource access path of target substation according to described resource identification number, send described operational order to described target substation;
S407: when described target substation is according to described operational order feedback communication data, receive described communication data;
S408: when described target substation upload request order bag, obtain the device access path in this request command bag and/or real time data.
Step S401 is identical to the steps flow chart of step S405 and Fig. 3, establishes the communication connection relation between scheduling station and multiple transformer station.Wherein, communicate with multiple transformer station for the ease of scheduling station, store the corresponding relation between the resource identification number of described scheduling station and the resource access path of each transformer station with URI form.When utilizing number (ID) the edit operation order of described resource identification, can intended target transformer station rapidly by resource identification number (ID).Scheduling station obtains the resource access path of target substation according to described resource identification number (ID), sends described operational order to described target substation.When described target substation is according to described operational order feedback communication data, receive described communication data.
In the middle of an embodiment, in order to reduce the workload of multiple intelligent substation to scheduling station feedback communication data, scheduling station timing, to each Intelligent Substation System transmit operation order bag, obtains the real time data of assigned I ED.Scheduling station, after receiving the real time data of IED, needs the resource ID be converted to by the resource access path in Intelligent Substation System in scheduling station system, then the real time data information of acquisition is shown in scheduling station system and preserves.
Further, in order to reduce the data volume of the two-way communication between scheduling station and each intelligent substation.Each intelligent substation self carries out self-inspection, and whether the data such as remote measurement, remote signalling detecting our station change, if change, are then request command bag (Report bag) by the Organization of Data of change, and gives scheduling station by packet active.Scheduling station resolves Report after receiving Report bag, and according to the IED device access path, live data values etc. that comprise in Report bag, arranges the real time data information of scheduling station.Preferably, when the data volume changed is larger, comprise the access path of the IED equipment changed in request command bag, this accessing operation according to this access path configuration access operational order, and is added task process by scheduling station.When the data volume changed is fewer, request command bag directly comprises the data of this change, and scheduling station is according to the Data Update real time information of this change.Further, when intelligent substation receives straighforward operation order, this order of priority treatment, carries out real time remote control operation with scheduling station.
Real time data interactive mode traditional between scheduling station and intelligent substation, its maximum problem is to need both sides' maintain communications information table.Scheduling station of the present invention and intelligent substation carry out the mutual way of real time data based on MMS, directly support Object-Oriented Model way, fundamentally avoid maintain communications information table, thus reduce maintenance difficulties.
In addition, scheduling station of the present invention and intelligent substation carry out the mutual technology of real time data based on MMS, from ensureing that scheduling station can obtain all real time datas of complete model to the full extent, ensure that the integrality and transmission reliability etc. of data.
Fig. 6 is the schematic diagram that the present invention is based on the scheduling station of MMS and the data interaction system of transformer station, comprising:
Transformer station's proxy module, for expanding the traffic model based on MMS, obtaining the system description model of transformer station, and being this transformer station's Configuration Agent service interface;
The Master station communication module be connected with described transformer station proxy module, for according to the agency service interface of transformer station and system description model, set up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station, carry out data interaction with this transformer station.
Fig. 6 and Fig. 2 is corresponding, the operational mode of above-mentioned modules and identical in method.
Fig. 7 is the structural representation of the transformer station's proxy module that the present invention is based on MMS.As shown in Figure 7, in order to MMS being extended to the communication between scheduling station and intelligent substation, therefore the former traffic model based on IEC 61850 of intelligent substation being expanded, obtaining system description model (SCD).
Described transformer station proxy module comprises:
FCDA expanding element, describes the attribute of intelligent electronic device and the functional restraint object of data message for arranging;
The title expanding element be connected with described FCDA expanding element, for the basis at described functional restraint object, arranges the title description object of each intelligent electronic device of difference.
Fig. 8 is the structural representation of the Master station communication module that the present invention is based on MMS.As shown in Figure 8, in order to carry out slitless connection with said system descriptive model (SCD), therefore the former traffic model based on IEC 61970 of scheduling station being expanded, obtaining main station system model.
Described Master station communication module comprises:
MMS messaging parameter setting unit, for arranging MMS messaging parameter corresponding thereto according to described agency service interface, comprises IP address and port;
IED description unit, for arranging intelligent electronic device description object corresponding thereto according to described system description model;
The URI acquiring unit be connected respectively with described MMS messaging parameter setting unit, described IED description unit, for according to the agency service interface of transformer station and system description model, set up the corresponding relation between the resource identification number of described scheduling station and the resource access path of this transformer station.
In the middle of an implementation column, in order to realize the facile communication between scheduling station and multiple intelligent substation, described Master station communication module also comprises:
The URI memory cell be connected with described URI acquiring unit, for storing the corresponding relation between the resource identification number of described scheduling station and the resource access path of each transformer station.
Above-described embodiment is corresponding with Fig. 3, the operational mode of unit and identical in method.
In the middle of an implementation column, send to realize scheduling station the operational order preset to intelligent substation, described Master station communication module also comprises:
Commard editor unit, for utilizing described resource identification edit operation order;
The order bag transmitting element be connected with described commard editor unit, for obtaining the resource access path of target substation according to described resource identification number, sends described operational order to described target substation.
Described operational order comprises remote control, remote regulating, sets up an office, timing etc., and above-described embodiment is corresponding with Fig. 4, the operational mode of unit and identical in method.
In the middle of an implementation column, in order to realize the two-way communication of scheduling station and intelligent substation, described Master station communication module also comprises:
Data receipt unit, for when described target substation is according to described operational order feedback communication data, receives described communication data; Also for request command bag that receiving target transformer station uploads;
The Data Analysis unit be connected with described data receipt unit, for when described target substation upload request order bag, obtains the device access path in this request command bag and/or real time data.
Above-described embodiment is corresponding with Fig. 5, the operational mode of unit and identical in method.
Fig. 9 is the schematic diagram of the application system that the present invention is based on the scheduling station of MMS and the data interaction technology of transformer station, comprises scheduling station and multiple intelligent substation.Wherein, intelligent substation comprises system description model (SCD), for describing parameter and the value of the IED equipment of this transformer station inside in OO mode.Each intelligent substation is also configured with agency service interface, and scheduling station is by each agency service interface accessing target substation.Described scheduling station comprises main station system model, and this main station system model is based on according to described system description model (SCD), and the traffic model based on former 61970 carries out expanding, and realizes the slitless connection with SCD.The commard editor unit of described scheduling station, order bag transmitting element, realize the remote control between scheduling station and Intelligent target transformer station, remote regulating, set up an office, pair time etc. operation.
The communication that the present invention adopts OO mode to realize between intelligent substation and scheduling station, fundamentally solve in conventional art, need to carry out protocol transform, need maintenance information point table, the problems such as all information types in intelligent substation can not be contained.Further, decrease the workload of manual maintenance and reduce error.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required hardware platform by software and realize, and can certainly all be implemented by hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.