Intelligent substation process layer data collection conversion transmitting device and control method thereof
Technical field
The present invention relates to substation data collection conversion transmission technique field, be specifically related to a kind of technology that is used for synchronizing information collection conversion of intelligent substation process layer and transmitting device.
Background technology
At present, there is the skimble-scamble problem of communication protocol in electric substation automation system, and communication differences influences the automation integrated level, causes actual automation performance not have the height of anticipation.Therefore, Uniform Communication Standard becomes the task of top priority of transformer substation construction.Uniform Communication Standard just is based on the basis of the communication standard that existing IEC/IEEE/ISO/OSI can use, and adopts agreement open and the support equipment self-description, to reach the possibility that increases new function.Simultaneously, based on the data object of the related needs of power industry, the syntax and semantics of communication will adopt the relevant corporate data object of electric power system.Under such demand background, IEC61850 has guided the digitized revolution of transformer station with its interoperability, free outstanding advantage such as configuration property and prolonged application property.Current, numerous equipment of each transformer station are based on different production producer and provide, and communication protocol is of a great variety; And these equipment can not be released operation fully in a short time; Release operation and mean the waste of resource and the reduction of production efficiency, therefore, occupy gradually in leading role's the evolution at IEC61850; How fully rational Application these from different manufacturers, the different automation equipment of communication protocol, become the problem of a lot of electric power researchs and operations staff's concern.High speed development along with correlation techniques such as computer, communications; The communication of power system technology has been gone through big several times development and change: the phase I: towards agreement; What solve is the problem how data are transmitted; This technology is in the communication of power system process, and device and subsystem can not be realized self-description and " plug and play ", must be pre-configured before communication is set up.And, vertically, be difficult to realize multicast communication, be difficult to solve the multicast and the information forwarding problems of automated system, laterally, be difficult to realize the direct visit of substation equipment level.Second stage: object-oriented, solution be the content problem of transfer of data.Phase III:, solve unified object model and the modeling problem of electric power system towards unified object model.Because historical reasons, each working group of TC57 has used object model and the modeling language of oneself in the standard of formulating all departments, and this causes in generating, and TC57 inside does not use same object model to represent same entity in the transmission and disttrbution field.At present, IEC has done a large amount of work in unity between the object model of IEC 61850 and IEC61970.Stage: realize that electric power enterprise unifies information architecture, hope to adopt unified standard to realize.It is a kind of development trend that electric power enterprise is unified information architecture, and standard battle joint performance turns to the Business survival battle.IEC61850 is the standard of a new generation; Basic value is to realize interoperability; Final value is to create essential condition into the big information platform of structure electric power enterprise; In the development of from now on Automation of Electric Systems, will accumulate bring out unlimited maybe, under such industry background, the present invention has very tangible scientific and technological meaning to the construction of further promotion Power System Intelligent transformer station.
Summary of the invention
The objective of the invention is to have the skimble-scamble problem of communication protocol to existing electric substation automation system; Advantage in conjunction with data in real time transmission technology in the conversion of process layer sampled value folding, IEEE1588 network synchronization technique and the GOOSE network of IEC61850-9-2; Design a data collection conversion transmitting device; Become the information translation under the different agreement unified stipulations to transmit, to realize comprehensive collection and analysis to the information of current intelligent substation process layer.
Another object of the present invention provides the control method of intelligent substation process layer data collection conversion transmitting device.
The technical scheme that realization the present invention solve the technical problem employing comprises: (1) is based on the process layer sampled value conversion merging method of IEC61850-9-2; (2) clock synchronizing method in the data transmission procedure; (3) data in real time transmission method in the GOOSE network; Concrete measure is following:
Intelligent substation process layer data collection conversion transmitting device comprises that the conversion of process layer sampled value merges subsystem and FPGA module; It is characterized in that said process layer sampled value conversion merges subsystem and is made up of multichannel AD and conditioning circuit module, clock synchronization module, high speed CPLD module, DSP module and other protocol process module; The FPGA module is made up of GOOSE message identification module, IEC61850-9-2 protocol processes model module, and IEC61850-9-2 protocol processes model module also comprises mounted cast module and communication service model module;
Said DSP module is connected with high speed CPLD module, clock synchronization module through high speed parallel bus, and high speed CPLD module is connected with multichannel AD and conditioning circuit module through the parallel data passage, and clock synchronization module is through parallel port acquisition pulse signal;
Said transfer of data subsystem merges subsystem through the FIF0 interface with the conversion of process layer sampled value and is connected;
Described IEC61850-9-2 protocol processes model module, its mounted cast module is made up of logic device module, logical node module and data processing module.
Described IEC61850-9-2 protocol processes model module, its communication service model module by definite value module, logger module, document transmission processing module, sampling transmission control module and to the time module etc. constitute.
The control method of said process layer data collection conversion transmitting device, its controlled step is following:
(4.1) conversion of process layer sampled value merges subsystem by parallel data channel transfer protocol data; The pps pulse per second signal that provides according to clock synchronization module carries out interpolation processing or extracts processing in CPLD; And stamp time tag, send into IEC 61850-9-2 protocol process module and GOOSE message identification module;
(4.2) IEC 61850-9-2 protocol process module and GOOSE message identification module are divided into the 61850-9-2 data message according to sampled value, on off state information and the GOOSE message sends to bay device.
The control method of described process layer data collection conversion transmitting device, its GOOSE message identification module receiving terminal GOOSE message identification process step is following:
(5.1) obtain message; (5.2) read the protocol-identifier of mark; (5.3) take a decision as to whether given byte, be, read the ethernet type sign indicating number,, then continue next step if answer not if answer; (5.4) read the control information of sign; (5.5) judge it is to get into other ethernet frame, whether less than threshold value if answer does not then continue next step if answer; (5.6) continue to judge whether equal desired value, be, continue next step,, get into other ethernet frame, (5.7) GOOSE message if answer not if answer.
More particularly, the process layer sampled value conversion merging method based on IEC61850-9-2 comprises the steps:
(1.1) the sampled value mode makes up; Adopt publisher/subscriber's structure; Because whole communication process is controlled by publisher's sampled value control module, and the sampled value control module is set in this mode, select multi-channel sampling value transmission control module among the design;
(1.2) for the concrete structure of sampled value mode provides a kind of realization approach, make up the merge cells among the IEC 61850-9-2, accomplish publisher's in the sampled value mode function as logical device;
(1.3) sampled value transmission and particular communication service mapping, the Abstract Common Service Interface that is independent of communication system is adopted in the communication between publisher and the subscriber, is mapped on the concrete communication protocol and communication network through specific communication map of services method SCSM;
(1.4) sampled value mode application level function and presentation layer function in the mapping of communication protocol stack and protocol stack realizes in said device:
Clock synchronizing method in the said data transmission procedure be meant based on the hardwire clock synchronization of external source and based on the Network Synchronization of IEEE 1588 to solve the merge cells stationary problem, comprise the steps:
(2.1) employing is based on the controlling of sampling mode of message transmissions, and signal is synchronous conversion command CMD;
(2.2) method of software synchronization is adopted in the generation of CMD;
(2.3) regard each node unification in the clock synchronization network as clock based on the IEEE1588 agreement, be divided into master clock and from clock, wherein master clock as the publisher of correct time synchronously from clock;
(2.4) definition one group network communication message: sync message, follow message, the time-delay request message, the time-delay response message, these communication messages are used to realize clock synchronization.
The data in real time transmission method is included in this one deck of the network switch and introduces the transmission real-time that message priority improves the GOOSE message in the said GOOSE network.
The data acquisition conversion transmitting device of taking said method and measure to form can reach following function:
(1) digital value of sending here for electronic mutual inductor is resolved according to the IEC61850-9-2 agreement;
(2) for the analog quantity of external CT/PT, inner AD carries out synchronous acquisition by device, and stamps time tag to the collection value;
(3) obtain the switching value of intelligent switch equipment, stamp time tag;
(4) for external electric minor instrument transformer the synchronous acquisition pulse per second (PPS) as benchmark is provided;
(5) calculate to gather measured value, obtain each phase voltage and current amplitude, phase angle, frequency, gain merit, idle data;
(5) the comprehensive collection capacity of each external instrument transformer, switchgear is mapped as each logical device, logical block in the IEC61850-9-2 agreement with these physical equipments, the generating apparatus model, and according to time tag with the data importing model;
(6) model data being mapped as corresponding M MS (GBT 16720.2-2005) message sends;
(7) send for the GOOSE message according to the height priority mapping for real-time switching information.
The invention has the beneficial effects as follows:
(1) device comprises compound data merge cells; Not only support parsing and processing to electronic mutual inductor and novel intelligent device data; Can also incorporate the communication of digitalization transformer substation network into to the conversion of existing PT/CT output analog acquisition, be convenient to traditional transformer station is transformed.
(2) install self and can produce synchronous pulse per second (PPS), be convenient to control the synchronous acquisition of various instrument transformer, better meet the needs of protection, observing and controlling in the digital transformer substation.
(3) output device is abideed by the IEC61850-9-2 standard design, and this device centralized procurement appearance, protocol conversion, data are incorporated in one simultaneously, reduces the transfer of data pilot process, helps the real-time Transmission of data.
Description of drawings
Fig. 1 is the internal structure block diagram representation of device according to the invention.
Fig. 2 is the clock synchronization processing module structured flowchart sketch map of device according to the invention.
Fig. 3 is an IEEE1588 disposed of in its entirety schematic flow sheet in the device according to the invention.
Fig. 4 is a receiving terminal GOOSE message identification process diagram intention according to the invention.
Fig. 5 is an IEC 61850-9-2 protocol processes model framework sketch map according to the invention.
Fig. 6 is a logic device modeling schematic flow sheet according to the invention.
Embodiment
Providing embodiment in conjunction with accompanying drawing does further technical scheme of the present invention and specifies.Can know referring to Fig. 1, Fig. 2; Intelligent substation data acquisition conversion transmitting device according to the invention belongs to hardware unit; Be installed in the transformer station; Because the sampled value message transmissions of intelligent substation process layer and control, supervision and the defencive function of transformer station are closely related; Be the important component part of serial communication between electric substation automation system process layer and the wall, the present invention is directed to the secondary device that adopts in the current transformer station, the skimble-scamble problem of transfer of data stipulations of measuring equipment, combine three big technology: (1) clock synchronization scheme; (2) the data in real time transmission technology in the GOOSE network; (3) IEC61850-9-2 protocol processes technology has designed the process layer data collection conversion transmitting device based on IEC61850-9-2, and being intended to accomplish the data of different types collection also can be according to standard handovers and the transmission of IEC61850-9-2.
Can know that referring to Fig. 1 the present invention merges subsystem by the conversion of process layer sampled value and the FPGA module is formed, the conversion of process layer sampled value merges the subsystem internal structure and mainly comprises following five parts:
(1) multichannel AD and conditioning circuit module are mainly realized functions such as signal filtering, circuit impedance coupling, signal direct current biasing and signal level conversion.
(2) clock synchronization processing module, present most synchronised clock scheme that this module is integrated can provide accurate synchronous time mark for Information Monitoring.This module can provide the pps pulse per second signal as benchmark to the CPLD of internal control collection simultaneously, and this pps pulse per second signal also can be exported to the reference signal of external electric minor instrument transformer as synchronous acquisition.
(3) high speed CPLD complex programmable logic component module is mainly realized the high-speed synchronous D/A conversion of multi-channel analog input, has fault-tolerant and self-test capability.
(4) DSP digital signal processor module, this module mainly realize the functions such as sampled value parsing, device modeling, textual description generation and the generation of MMS communication protocol message to the electronic mutual inductor transmission.
(5) other type protocol data processing module, but this module is an expansion module, mainly realizes the data processing function of other the dissimilar agreements except that IEC 61850-9-2.
Said transfer of data subsystem specifically adopts the FPGA module; Comprising IEC 61850-9-2 protocol processes model and GOOSE message identification module; IEC 61850-9-2 protocol processes model comprises device information model module and communication service model module again, main finishing device model construction, definite value, log record, file transfer, sampling transmission control and to the time function; GOOSE message identification module is mainly realized electric substation automation system rapid message demand.
Fig. 2 is clock synchronization processing module internal structure signal of the present invention; The internal structure of this module comprises IRIGB sign indicating number (Inter-Range Instrumentation Group) analyzing sub-module, control logic module; IEEE1588 packet parsing processing sub; MII Media Independent Interface submodule receives serial data, pulse per second (PPS), IRIGB sign indicating number and Ethernet data, carries out information interaction through data wire and address wire and outside.This module mainly is responsible for providing the synchronised clock of this device.Three kinds of GPS, IRIGB sign indicating number and IEEE 1588 time synchronization protocols are supported in the synchronised clock source.Control logic module be responsible for switching three kinds of patterns and according to reference format for example year, the moon, day, the time, branch, second, outwards export pulse per second (PPS) and temporal information.Said hardwire Clock Synchronization Technology based on external source mainly solves the merge cells stationary problem, among the present invention, adopts the controlling of sampling mode based on message transmissions, and signal is synchronous conversion command CMD.The effective content of CMD message is 0 * A
5, ST, DM and SP represent start bit respectively, differentiate position and stop bit, and this is the general format of asynchronous serial output.Each A/D picks up counting after receiving start bit, is judging that information collected meets the predetermined (0 * A of requirement
5) after, the process T0 time begins to carry out analog-to-digital conversion.
Referring to Fig. 3; The 1588 disposed of in its entirety flow process illustrated embodiment of IEEE shown in being; In TCP/IP Drive Layer, MAC MAC, physical layer three layer buildings; IEEE1588 message detection module obtains the information in the Ethernet through physical layer, after this module detects message information, sends the triggering signal instruction to the local clock module.The IEEE1588 process software carries out information interaction through dsp processor and TCP/IP Drive Layer.The synchronizing clock signals of system finally sends to Ethernet through TCP/IP Drive Layer, MAC layer, physical layer.Equipment such as intelligence sensor, protection, measurement all are equipped with IEEE 1588 clocks, and synchronous equipment sampled value is followed IEC 61850-9-2 agreement and sent on the Ethernet through intelligence sensor digitlization transmission.
Referring to Fig. 4, in the said GOOSE message identification module,, in the driving of network chip, add GOOSE message capturing program for receiving the message process, being used for identification is GOOSE message or common message.Common message then continues to give the upper-layer protocol stack to be handled, and the GOOSE message then can directly be resolved the switching information that obtains wherein.Transmitting terminal is introduced the method for multipriority transmit queue, and the real-time according to sending data is divided into multi-queue, and for example GOOSE data and sampled data can be put into senior formation and preferentially send when the protocol layer invocation protocol drives.Its receiving terminal GOOSE message identification process step is following:
(5.1) obtain message; (5.2) read the protocol-identifier of mark; (5.3) take a decision as to whether given byte, be, read the ethernet type sign indicating number,, then continue next step if answer not if answer; (5.4) read the control information of sign; (5.5) judge it is to get into other ethernet frame, whether less than threshold value if answer does not then continue next step if answer; (5.6) continue to judge whether equal desired value, be, continue next step,, get into other ethernet frame if answer not if answer; (5.7) GOOSE message.
Referring to Fig. 5, be said IEC 61850-9-2 protocol processes model framework, main realize that the sampled value that electronic mutual inductor is transmitted is resolved, device modeling, textual description generate, and function such as MMS communication protocol message generation.Performing step is:
The first step: IEC 61850-9-2 protocol processes framework makes up;
Second step:, can data and the self information that data processing equipment receives be carried out modeling again according to said frame.For example, be example with a logic device, the modeling flow process is referring to meaning shown in Figure 6.The effect of logical device is based on communication objective to logical node with data set is assembled and merger.
Need to prove that the present invention adopts communication protocol stack standard, sampled value mode aspect such as application level function and the realization of presentation layer function in the mapping of communication protocol stack and protocol stack all in device, to realize:
The communication protocol stack specification technique carries out concrete norm to 051 7 layer models.Wherein physical layer Ethernet speed is relevant with sample rate; The sample rate of confirming transformer differential protection among the present invention is phases 36 point weekly; Because merge cells sends Frame length and fixes; Be 984bit/s,, calculate as follows: (36 * 50Hz) * 984bit=1.771Mbit/s < 10Mbit/>s so the Ethernet rate selection 10Mbit/s between itself and the switch gets final product.Because to the high real-time requirement of sampled value transmission, for avoiding delaying time at the letter storehouse, message will map directly to data link layer, transport layer, network layer etc. is empty.
Said sampled value mode comprises the mapping techniques of object name, object reference, common data class etc. at the mapping techniques of communication protocol stack.
Application layer and presentation layer function realize in the said protocol stack, and application layer is responsible for one or more application service data cells (ASDU) are assembled an APDU Application Protocol Data Unit (APDU) being put before the people sends buffering area.When sample rate is higher, need APDU to gather a plurality of ASDU, sample rate is phases 36 point weekly here, APDU can only comprise 1 ASDU in the mapping.
Presentation layer adopts abstract syntax notation (ASN.1) that abstract data type is encoded among the present invention.For IEC 61850-9-2, ASN.1 coding requirement ratio is easier to, because the packet content that merge cells sends has concrete regulation, when APDU only comprised 1 ASDU, message length immobilized.
The course of work of this device is such: clock synchronization module, other type protocol data processing module, IEC 61850-9-2 protocol processes model and GOOSE message identification module belong to software section; The process layer is by parallel data channel transfer protocol data; Carry out protocol conversion by other type protocol data processing module; The pps pulse per second signal that provides according to clock synchronization module then carries out interpolation or extracts and handle in CPLD; And stamp time tag, and send into IEC 61850-9-2 protocol process module and GOOSE message identification module, be divided into the 61850-9-2 data message according to sampled value, on off state information subsequently and the GOOSE message sends to bay device.Number of data points can be revised in initial configuration according to state's network mark is accurate.The support of this conversion equipment is changed secondary side analog quantity Direct Sampling simultaneously.Sample rate can be set by initial setting up, and high sampling rate can reach 10M SPS.
Although top specific embodiments of the invention is described; But should be understood that; The invention is not restricted to the scope of embodiment, to those skilled in the art, as long as various variations appended claim limit and the spirit and scope of the present invention confirmed in; These variations are conspicuous, and all utilize innovation and creation that the present invention conceives all at the row of protection.