CN107707544A - A kind of equipment automatic identification collocation methods of IEC 61850 - Google Patents
A kind of equipment automatic identification collocation methods of IEC 61850 Download PDFInfo
- Publication number
- CN107707544A CN107707544A CN201710904824.5A CN201710904824A CN107707544A CN 107707544 A CN107707544 A CN 107707544A CN 201710904824 A CN201710904824 A CN 201710904824A CN 107707544 A CN107707544 A CN 107707544A
- Authority
- CN
- China
- Prior art keywords
- iec
- automatic identification
- class
- function
- equipment automatic
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Abstract
This method discloses a kind of equipment automatic identification collocation methods of IEC 61850, this method mainly provides load, distributed power source, energy storage, the automatic identification and configuring technical of the user interaction such as electric automobile intelligent terminal and power distribution network monitoring intelligent terminal, the proprietary protocol of different user terminals is written as class with C++, project comprising such is compiled into dynamic link library again, based on RTTI technologies, matched with typied (p) .name in such with ClassName, if matching completely, then foundation includes such of this agreement, the automatic identification configuration to the intelligent terminals of IEC 61850 is realized on software.
Description
Technical field
A kind of collocation method the present invention relates to intelligence interface based on IEC-61850 standards to terminal device, belongs to big
The intelligent terminal plug and play technique field that scale user interaction needs.
Background technology
Since 21 century, national scientific and technological level is continued to develop, and economic strength is constantly lifted, and people are to various aspects of living
Requirement also tend to enrich.Along with the appearance for providing the users such as load, distributed power source, energy storage, electric automobile, the electricity in China
Power load species is more and more, has higher levels of requirement to the dispatching of transformer station.
In current power system, it is seen that transformer station from past Attended mode to few people on duty, collects till now
Control it is unattended under the pattern of station, substantial amounts of protection, observing and controlling information by automated system gather and on give.And as state is examined
Repair, the use and popularization of the new working method such as programming operations, except intakes such as traditional electric current, voltage, the position of the switch
On give and a small amount of switch controlling signal it is descending beyond, the self-diagnosis information of device and more operating functions are required for passing through
Electric substation automation system is realized.
Smart machine is numerous in the market, and various communication protocol functions are than relatively limited, and each producer is in order to which meet should
It is required that respective extension has been carried out to stipulations, and it is different plus understanding of each producer to stipulations, even causing same agreement
Also inconsistent situation occurs.Such as 103 stipulations, domestic and international each manufacturer have, but it is different;It is external for Modbus
Manufacturer is using more;And DNP3.0, America manufacturer is using more, such as SEL.Species is various and the logical of different degrees of difference be present
Letter stipulations leverage the integrated level of power automatic system, cause height of the actual automation performance without anticipation so that I
Have to find more preferable transformer station's communication protocol and substitute, IEC-61850 standards are arisen at the historic moment.
IEC61850 has four big outstanding features.First, IEC-61850 standards propose information layered general in transformer station
Read, the communication system of transformer station be divided into 3 levels, i.e. substation level, wall and process layer, and define layer and layer it
Between communication interface, network between substation level and wall is mapped to manufacture message rule using Abstract Common Service Interface
Model (MMS), transmission control protocol/internet protocol (TCP/IP) Ethernet or optical networking;Secondly, the standard employs object-oriented
Data modeling technology.In stipulations, every IED is subdivided logical device (Logical as a server (Service)
Device), logical node (Logical Node) and the data attribute of data object (Data Object) and each object
(Data Attribute) carries out modeling at different levels, and each server includes one or more logical device, logical device
Comprising logical node, logical node includes data object;Furthermore the standard employs the data self-described of object-oriented, transmission
Data to recipient all carry self explanation, it is not necessary to carry out the work such as gongwu amount correspondence, scales transforming to data again.
Because data are per se with explanation, so during transmission management and maintenance to data can not be simplified by pre-defined limitation
Work;Finally, the standard is devised independently of the Abstract Common Service Interface of used network and application layer protocol (ASCI), by
Specific protocol stack used by private communication service mapping (SCSM) is mapped to, solves the stability and future network skill of standard
Contradiction between art development, as long as changing SCSM that is, when network technical development, without changing ACSI.
The content of the invention
What this programme mainly solved is with the interactive intelligent terminal plug and play technique needed of large-scale consumer, difficult point
How to realize that IEC-61850 intelligent interface devices are realized in face of the intelligent terminal of different stipulations to automatically configure.
Technical scheme
A kind of IEC-61850 equipment automatic identification collocation methods based on DLL and RTTI, it is characterised in that:Including following
Step:
(1) the respective proprietary protocol of different user terminals is written as class first, compiling procedure meets IEC-61850 marks
It is accurate;
(2) project comprising such is compiled into dynamic link library, after the access of outside intelligent terminal, with RTTI
Technology carries out matching judgment to terminal type and protocol type;
(3) if the match is successful, foundation includes such of target protocol, while returns to the pointer of establishment, so far i.e. complete
Automatic identification and configuration into IEC-61850 equipment.
Above-mentioned steps are realized by means of plug-in unit, that is, provide there is Virtual Function PclExecute in stipulations base class, the Virtual Function
It is constantly called in main program, the parsing that sends and receives of message is realized, so can freely add the same of various stipulations
When ensure main program stability.
Function CreateCalss (ClassName) is included in dynamic link library, typeid (p) .name is called in the function
() is matched with ClassName, is then created such when complete matching and is returned to the pointer of establishment, otherwise returns to NULL.
CreateCalss (ClassName) function is called according to configuration in main program, returned not as NULL premise
Lower establishment thread, the thread constantly call stipulations class function PclExecute.
In step (1), user terminal includes load, distributed power source, energy storage and electric automobile.
In step (1), proprietary protocol is written as class by C++.
This method is first by DLL (Dynamic Link Library, dynamic link library) technology, by the intelligence of plug and play
The stipulations of energy terminal device are created as storehouse in advance, and corresponding IEC-61850 models are established when access so as to equipment, realize certainly
Dynamic configuration.Among this storehouse, RTTI (Run-Time Type Identification, runtime type information) skill is utilized
Art, so as to obtain the specific kenel of object when program performs, and data with existing is compared, and is included if it does, then creating
The class of corresponding stipulations.
The beneficial effect that the present invention is reached:
Present solution provides a kind of plug-in unit, and based on DLL and RTTI technologies, plug-in unit loading technique realizes communication protocol, main journey
Sequence is called by the form of plug-in unit, is realized by loading plug-in unit in the case where not compiling main program, so can freely added
Various stipulations are added not influence the stability of main program.
Brief description of the drawings
The derived class schematic diagram of Fig. 1 base class;
Fig. 2 dynamic link library schematic diagrames;
The schematic flow sheet of Fig. 3 this method.
Embodiment
The present invention considers that different user terminals equipment has different stipulations, such as load, distributed power source, energy storage, electricity
Electrical automobile etc., want to realize the automatic identification of equipment and configuration, it is necessary to their privately owned stipulations are created as storehouse, Zhi Hougen first
Type according to the terminal of access system is judged, if be consistent with certain stipulations having had built up, is established in a program
This corresponding a kind of IEC-61850 model, while carry out default automatically configure.
In order to which the stipulations of distinct device are created as storehouse, their proprietary protocol is first written as class, i.e., as base class
Derived class, illustrate PclExecute specific implementation method, as shown in Figure 1.Function PclExecute is had been defined in base class,
Its function is parsing and assembling message function.
Such as when identifying and configuring the equipment with RFID (radio frequency identification) technology, it is necessary to first by the equipment
Proprietary protocol is written as class, i.e. this is a kind of by TRFIDRs, and this one kind inherits base class TBaseClas.
Then the project comprising the derived class is compiled into dynamic link library (DLL), dynamic link library technology provides one
Kind method, allows process to call the function for being not belonging to its executable code, as shown in Figure 2.In being developed based on Linux, letter
In so file, so files include one or more and have been compiled, have linked and with using it several executable codes
The function that is stored separately of process.So files additionally aid shared data and resource.Multiple application programs can access simultaneously in
The content of single so copies in depositing.
Among dynamic link library, that play a key effect is function CreateCalss (Classname),
Call typeid (p) .name () to be matched with ClassName in CreateCalss functions, then created when complete matching
Such simultaneously returns to the pointer of establishment, otherwise returns to NULL and creates failure.CreateCalss is called according to configuration in main program
(ClassName) function, thread is created on the premise of returning not for NULL, the thread constantly calls stipulations class function
PclExecute.So far automatic identification and the configuration of different terminal equipment are completed.
During CreateCalss (Classname) carries out matching judgment, RTTI (Run-Time Type have been used
Identification) technology.Generally, virtual function mechanism and the exact type of a class is not needed, it is possible to that
The object of type implements correct behavior.But Virtual Function is only capable of identifying and can not reflecting exact type.With a lot of other languages
Speech is the same, and C++ is a kind of static types language.Its data type determines that in compiling duration, it is impossible to operationally changes.So
And due to the requirement of Polymorphism in Object-oriented Programming, in C++ pointer or reference (Reference) class of itself
Type, may be not consistent with the type of its actual representative (point to or quote).We are generally required a polymorphic pointer conversion
The type of object is actually pointed to for it, i.e., enters Mobile state judgement, that is, the detecting identification of regime type to object type.This is just
Type information when needing to know operation, then just generate the demand of runtime type identification.
As shown in figure 3, PclExecute is responsible for being that the assembling of message sends and receives parsing.By the privately owned association of each producer
View is written as after class, and these classes are the derived class as PclExecute, inherit its attribute and the specific implementation as it
Method.Then dynamic link library is compiled into by such, CreateClass functions is contained in the storehouse, this function call
Typied (p) .name and Classname carries out matching judgment, and such is created in the case where return value is not NULL, automatic to know
It is able to Pei Zhi not complete.
Such as:
Figure*p;
P=newCircle ();
Figure&q=*p;
P points to an object upon execution, but is intended to learn that the classification data of this object is just had any problem.Q equally to be learnt
The classification data of referenced (reference) object can not also obtain.RTTI seeks to solve this difficulty, that is, is performing
When, it is necessary to when knowing the object kenel that pointer is pointed to or is referenced to, the object has the ability to obtain.
Claims (6)
- A kind of 1. IEC-61850 equipment automatic identification collocation method, it is characterised in that:Comprise the following steps:(1)The respective proprietary protocol of different user terminals is written as class first, compiling procedure meets IEC-61850 standards;(2)Project comprising such is compiled into dynamic link library, after the access of outside intelligent terminal, with RTTI technologies Matching judgment is carried out to terminal type and protocol type;(3)If the match is successful, foundation includes such of target protocol, while returns to the pointer of establishment, so far completes The automatic identification of IEC-61850 equipment and configuration.
- 2. IEC-61850 equipment automatic identification collocation method according to claim 1, it is characterised in that:Above-mentioned steps are borrowed Help plug-in unit realization, that is, provide there is Virtual Function PclExecute in stipulations base class, the Virtual Function is constantly adjusted in main program With realizing the parsing that sends and receives of message, can so ensure the stabilization of main program while various stipulations are freely added Property.
- 3. IEC-61850 equipment automatic identification collocation method according to claim 1, it is characterised in that:Dynamic link library In include function CreateCalss (ClassName), call typeid (p) .name () and ClassName to carry out in the function Matching, then create such when complete matching and return to the pointer of establishment, otherwise return to NULL.
- 4. IEC-61850 equipment automatic identification collocation method according to claim 3, it is characterised in that:In main program CreateCalss (ClassName) function is called according to configuration, creates thread on the premise of returning not for NULL, the thread Constantly call stipulations class function PclExecute.
- 5. IEC-61850 equipment automatic identification collocation method according to claim 1, it is characterised in that:Step(1)In, User terminal includes load, distributed power source, energy storage and electric automobile.
- 6. IEC-61850 equipment automatic identification collocation method according to claim 1, it is characterised in that:Step(1)In, Proprietary protocol is written as class by C++.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710904824.5A CN107707544A (en) | 2017-09-29 | 2017-09-29 | A kind of equipment automatic identification collocation methods of IEC 61850 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710904824.5A CN107707544A (en) | 2017-09-29 | 2017-09-29 | A kind of equipment automatic identification collocation methods of IEC 61850 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107707544A true CN107707544A (en) | 2018-02-16 |
Family
ID=61175427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710904824.5A Pending CN107707544A (en) | 2017-09-29 | 2017-09-29 | A kind of equipment automatic identification collocation methods of IEC 61850 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107707544A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108491190A (en) * | 2018-03-28 | 2018-09-04 | 武汉斗鱼网络科技有限公司 | Similar integral structural information acquisition methods, device and electronic equipment |
CN111147510A (en) * | 2019-12-31 | 2020-05-12 | 中国兵器装备集团自动化研究所 | Data acquisition system and method based on SOA reflection factory architecture |
CN111555925A (en) * | 2020-06-09 | 2020-08-18 | 云南电网有限责任公司电力科学研究院 | Automatic identification and configuration method and system for power automation terminal |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070282495A1 (en) * | 2006-05-11 | 2007-12-06 | University Of Delaware | System and method for assessing vehicle to grid (v2g) integration |
US20090254655A1 (en) * | 2008-04-04 | 2009-10-08 | Beau Kidwell | Generation and Control of Network Events and Conversion to SCADA Protocol Data Types |
US20100020724A1 (en) * | 2007-03-30 | 2010-01-28 | Abb Technology Ag | Method of configuring an intelligent electronic device |
CN102073520A (en) * | 2010-12-30 | 2011-05-25 | 中国民航信息网络股份有限公司 | Dynamic management system and method for C++ application program version |
CN102707947A (en) * | 2012-04-25 | 2012-10-03 | 北京大学 | High-efficiency dynamic type conversion implementation method |
US20140282021A1 (en) * | 2013-03-15 | 2014-09-18 | Schweitzer Engineering Laboratories, Inc. | Visualization of Communication Between Devices in an Electric Power System |
US20140288718A1 (en) * | 2013-03-19 | 2014-09-25 | Kabushiki Kaihsa Toshiba | Power electronics device, communication device, cooperative control method and computer readable medium |
CN104536746A (en) * | 2014-12-23 | 2015-04-22 | 惠州市亿能电子有限公司 | Software structure based on DLL |
CN104701984A (en) * | 2015-03-13 | 2015-06-10 | 国家电网公司 | Intelligent electricity terminal plug and play method based on self recognition |
US20150312216A1 (en) * | 2014-04-28 | 2015-10-29 | Honeywell International Inc. | Legacy device securitization within a microgrid system |
US20160043549A1 (en) * | 2013-03-13 | 2016-02-11 | Prolucid Technologies Inc. | Distributed micro-grid controller |
CN105635173A (en) * | 2016-01-29 | 2016-06-01 | 山东鲁能智能技术有限公司 | Intelligent power distribution terminal communication weak coupling modularized system and method |
CN106257460A (en) * | 2016-08-24 | 2016-12-28 | 天津天大求实电力新技术股份有限公司 | Data base's general-purpose accessing implementation method for micro-capacitance sensor monitoring system |
-
2017
- 2017-09-29 CN CN201710904824.5A patent/CN107707544A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070282495A1 (en) * | 2006-05-11 | 2007-12-06 | University Of Delaware | System and method for assessing vehicle to grid (v2g) integration |
US20100020724A1 (en) * | 2007-03-30 | 2010-01-28 | Abb Technology Ag | Method of configuring an intelligent electronic device |
US20090254655A1 (en) * | 2008-04-04 | 2009-10-08 | Beau Kidwell | Generation and Control of Network Events and Conversion to SCADA Protocol Data Types |
CN102073520A (en) * | 2010-12-30 | 2011-05-25 | 中国民航信息网络股份有限公司 | Dynamic management system and method for C++ application program version |
CN102707947A (en) * | 2012-04-25 | 2012-10-03 | 北京大学 | High-efficiency dynamic type conversion implementation method |
US20160043549A1 (en) * | 2013-03-13 | 2016-02-11 | Prolucid Technologies Inc. | Distributed micro-grid controller |
US20140282021A1 (en) * | 2013-03-15 | 2014-09-18 | Schweitzer Engineering Laboratories, Inc. | Visualization of Communication Between Devices in an Electric Power System |
US20140288718A1 (en) * | 2013-03-19 | 2014-09-25 | Kabushiki Kaihsa Toshiba | Power electronics device, communication device, cooperative control method and computer readable medium |
US20150312216A1 (en) * | 2014-04-28 | 2015-10-29 | Honeywell International Inc. | Legacy device securitization within a microgrid system |
CN104536746A (en) * | 2014-12-23 | 2015-04-22 | 惠州市亿能电子有限公司 | Software structure based on DLL |
CN104701984A (en) * | 2015-03-13 | 2015-06-10 | 国家电网公司 | Intelligent electricity terminal plug and play method based on self recognition |
CN105635173A (en) * | 2016-01-29 | 2016-06-01 | 山东鲁能智能技术有限公司 | Intelligent power distribution terminal communication weak coupling modularized system and method |
CN106257460A (en) * | 2016-08-24 | 2016-12-28 | 天津天大求实电力新技术股份有限公司 | Data base's general-purpose accessing implementation method for micro-capacitance sensor monitoring system |
Non-Patent Citations (3)
Title |
---|
佚名: ""RTTI"", 《HTTPS://BAIKE.BAIDU.COM/HISTORY/RTTI/5752573/117091907》 * |
佚名: ""虚函数"", 《HTTPS://BAIKE.BAIDU.COM/HISTORY/虚函数/2912832/122297238》 * |
吴杭: ""基于IEC61850的电动汽车充电站通信网关的开发"", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108491190A (en) * | 2018-03-28 | 2018-09-04 | 武汉斗鱼网络科技有限公司 | Similar integral structural information acquisition methods, device and electronic equipment |
CN111147510A (en) * | 2019-12-31 | 2020-05-12 | 中国兵器装备集团自动化研究所 | Data acquisition system and method based on SOA reflection factory architecture |
CN111555925A (en) * | 2020-06-09 | 2020-08-18 | 云南电网有限责任公司电力科学研究院 | Automatic identification and configuration method and system for power automation terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104135068B (en) | A kind of distribution terminal plug and play method based on IEC61850 standard | |
CN102254074B (en) | Automatic modeling method of intelligent transformer substation spacer | |
Cavalieri et al. | Integration of IEC 61850 SCL and OPC UA to improve interoperability in Smart Grid environment | |
CN102880792B (en) | A kind of dynamic modelling method of the conventional substation based on IEC standard | |
CN102929911B (en) | Substation and scheduling station method of integrated modeling | |
CN110113220B (en) | Plug and play method for electric power Internet of things end equipment | |
CN102004817B (en) | International electrotechnical commission (IEC) 61850-7-420 standard-based distributed generating equipment modeling implementation method | |
CN113708974A (en) | Edge cloud network system based on self-adaptive networking and cooperation method | |
CN108683636B (en) | Charging pile communication method and system | |
CN105515819A (en) | IEC61850-based communication component and application component data interface method | |
CN105305418A (en) | Power distribution terminal self-description method based on IEC61850 standard | |
CN101741143B (en) | Method for realizing integral configuration of electric automation system | |
CN107707544A (en) | A kind of equipment automatic identification collocation methods of IEC 61850 | |
CN105354220A (en) | Application method for IED user customized configuration file of intelligent transformer substation | |
CN110429708A (en) | A kind of method and system for realizing controller switching equipment plug and play | |
CN109509239B (en) | SCD configuration-free generation method for secondary circuit configuration file of in-place protection device | |
CN106371869B (en) | IEC61850 configuration software implementation method for bay level equipment of intelligent substation | |
CN103151840A (en) | Communication method and device of IEC (international electrotechnical commission) 61850 system and non-IEC 61850 system | |
Pradeep et al. | CIM and IEC 61850 integration issues: Application to power systems | |
CN112018895B (en) | Plug-and-play information modeling and interaction method for distributed power supply controller | |
CN109670247A (en) | A kind of flexibility power distribution network real-time simulation information modelling approach | |
Park et al. | IEC 61850 standard based MMS communication stack design using OOP | |
Li et al. | Research on designing methods of the secondary system in digital substation | |
CN114398085A (en) | Automatic configuration method, device and medium for picture signals of intelligent substation monitoring system | |
Cavalieri et al. | Mapping IEC 61850 SCL to OPC UA for smart grid applications |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180216 |