CN106886411A - A kind of protective relaying device logic figure collocation method based on QT - Google Patents
A kind of protective relaying device logic figure collocation method based on QT Download PDFInfo
- Publication number
- CN106886411A CN106886411A CN201710086001.6A CN201710086001A CN106886411A CN 106886411 A CN106886411 A CN 106886411A CN 201710086001 A CN201710086001 A CN 201710086001A CN 106886411 A CN106886411 A CN 106886411A
- Authority
- CN
- China
- Prior art keywords
- logic
- relaying device
- protective relaying
- graphic
- method based
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Emergency Protection Circuit Devices (AREA)
Abstract
The invention discloses a kind of protective relaying device logic figure collocation method based on QT:Step 1, the relay protection logic of protective relaying device is divided according to function and purposes, be divided into different basic logic models;Step 2, all of basic logic model is patterned modeling generation graphic logic pel, and according to the input and output that actual conditions are each graphic logic primitive generating respective amount;Step 3, it is that the specific code of each graphic logic figure element is realized by graphical configuration tool;Step 4, the annexation set up between different graphic logic pels by graphical configuration tool;Step 5, a whole set of relay protection logic is compiled, checked and emulated by graphical configuration tool, and generate the relay protection logic configuration file of XML format.Allocative efficiency, scalability and the responding ability to changes in demand of protective relaying device logic are improved, and realizes cross-platform work.
Description
Technical field
The present invention relates to a kind of protective relaying device logic figure collocation method based on QT.
Background technology
Recently as developing rapidly for computer graphics technology, in relay protection field for graphical and visualization
The demand of ground configuration protective relaying device logic is also more and more.In the prior art, it is to solidify the logical algorithm of relay protection
In the middle of code, between different algorithms interacting between interaction and algorithm and hardware corridor be all by code function or
Code pointer calls to realize.Adopt in this way, mainly there is following shortcoming:
The logic of the firstth, protective relaying device is the interaction process in code, can cause the relay protective scheme cannot intactly, intuitively
Show user to check and understand.
If the logic of the second, protective relaying device goes wrong, the Engineering Service at scene and technical support personnel be not due to having
Having code will not also write code, can lead to not orientation problem alone.
3rd, the logic of protective relaying device only has the research staff can to change, each algorithm connection change, can all make
Modification, compiling and test into code, cause substantial amounts of workload to waste.
The content of the invention
Regarding to the issue above, the present invention provides a kind of protective relaying device logic figure collocation method based on QT, carries
The allocative efficiency of protective relaying device logic high, improves the scalability and the response energy to changes in demand of protective relaying device
Power, reduces the risk of configuration error, and realizes cross-platform work.
To realize above-mentioned technical purpose, above-mentioned technique effect is reached, the present invention is achieved through the following technical solutions:
A kind of protective relaying device logic figure collocation method based on QT, comprises the following steps:
Step 1, the relay protection logic of protective relaying device is divided according to function and purposes, be divided into different bases
Logical model;
Step 2, all of basic logic model is patterned modeling generation graphic logic pel, and according to actual conditions
It is the input and output of each graphic logic primitive generating respective amount;
Step 3, it is that the specific code of each graphic logic figure element is realized by graphical configuration tool;
Step 4, the annexation set up between different graphic logic pels by graphical configuration tool;
Step 5, a whole set of relay protection logic is compiled, checked and emulated by graphical configuration tool, and generate XML
The relay protection logic configuration file of form.
It is preferred that, in step 1, basic logic model includes and logical model or logical model, NOT logic model, protection pressure
Plate logical model, protection control word logical model, system service logical model and basic algorithm logical model.
It is preferred that, in step 3, each graphic logic pel includes a function property, by graphical configuration tool
The execution function in correspondence code is configured in function property.
It is preferred that, in step 4, in QT develops graphical configuration tool, the figure of loading, parsing and preservation protective relaying device
Shape logic pel, is that different graphic logic pels establishes a connection by the input and output of logic pel.
It is preferred that, the code that logic map file and Different Logic pel are generated in step 5 is realized.
The beneficial effects of the invention are as follows:
First, the present invention can provide the protective relaying device logic figure configuration interface of hommization, it is possible to achieve protection is patrolled
Collect configuration and decoupled with protection algorism.
Secondth, the present invention can carry out visualizing compiling and inspection according to the logic of protective relaying device, be easy to find to protect
Protect the allocation problem of logic.
3rd, the present invention is developed based on QT and XML, realize it is cross-platform, as long as support the platform of XML technology, so that it may
To use the present invention.
4th, the present invention can be greatly improved efficiency of research and development, testing efficiency, and maintenance cost, learning cost are reduced well
And human cost.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the protective relaying device logic figure collocation method based on QT of the present invention;
Fig. 2 is the mapping relations that logic pel of the present invention and code are realized;
Fig. 3 is cross-platform schematic diagram of the invention.
Specific embodiment
Technical solution of the present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings, so that ability
The technical staff in domain can be better understood from the present invention and can be practiced, but illustrated embodiment is not as to limit of the invention
It is fixed.
As shown in figure 1, a kind of protective relaying device logic figure collocation method based on QT, comprises the following steps:
Step 1, the relay protection logic of protective relaying device is divided according to function and purposes, be divided into different bases
Logical model, basic logic model refers to the input, output, unique mark, specific for being related to the conventional logic in relay protection
The key contents such as function, appearance graphic and association code function are combined and are configured to model, main to include and logical model or patrol
Collect model, NOT logic model, protection pressing plate logical model, protection control word logical model, system service logical model and basis
Algorithm logic model etc..Basic algorithm logical model refers to the special basis for being customized code function to user for opening
Logical model, mainly includes sampling channel pretreatment, analog quantity channel pretreatment, trip protection command determination, distance protection, difference
The logical algorithm model such as dynamic protection and export events.
Step 2, all of basic logic model is patterned modeling generation graphic logic pel, and according to reality
Situation is the input and output of each graphic logic primitive generating respective amount.
For the basic logic model of all of protective relaying device is patterned modeling, allow these basic logic models can
It is logic pel with graphical representation in the tool, graphic logic pel needs right according to the generation of the actual conditions of relay protective scheme
Answer the input and output of quantity.
Step 3, it is that the specific code of each graphic logic figure element is realized by graphical configuration tool.
Each graphic logic pel includes a function property, is matched somebody with somebody in function property by graphical configuration tool
Put the execution function in correspondence code.Perform function refer to relay protection logic configuration file when protective relaying device runs,
When running to each graphic logic pel, will be according to the execution function name configured in function property, in finding code
Corresponding function body performs computing and produces result of calculation.If not configuring execution function in logic pel, run to this and patrol
When collecting pel, do not go in code to find corresponding execution function, do not process directly.
Step 4, the annexation set up between different graphic logic pels by graphical configuration tool.
Graphical configuration tool is developed by based on QT, the graphical of protective relaying device can be loaded, parses and preserve
Logic pel, and can be that different graphic logic pels establishes a connection, as shown in Figure 2 by being input into and exporting.
Step 5, when whole relay protection logic configuration after the completion of, a whole set of relay protection is patrolled by graphical configuration tool
Collect and be compiled, check and emulate, compile, check and emulate the whole relay protection logic of completion with postponing, QT exploitations are graphical
Configuration tool can generate the relay protection logic configuration file of XML format, including logic map file and Different Logic pel
Code is realized.Can just complete whole during relay protection logic configuration file and correlative code realization are downloaded into protective relaying device
The development of individual device.
As shown in figure 3, the present invention is developed based on QT and XML, realize it is cross-platform, as long as support QT and XML technology
Platform, it is possible to use the present invention.The programming language of current main-stream, such as Java, C++, QT, C# etc. all support XML file
Parsing, the present invention seamless with these programming languages can be used cooperatively.It is a kind of visual, patterned, flexible configuration
With the whole process protective relaying device logic figure collocation method being easily modified.
The beneficial effects of the invention are as follows:
First, the present invention can provide the protective relaying device logic figure configuration interface of hommization, it is possible to achieve protection is patrolled
Collect configuration and decoupled with protection algorism.
Secondth, the present invention can carry out visualizing compiling and inspection according to the logic of protective relaying device, be easy to find to protect
Protect the allocation problem of logic.
3rd, the present invention is developed based on QT and XML, realize it is cross-platform, as long as support the platform of XML technology, so that it may
To use the present invention.
4th, the present invention can be greatly improved efficiency of research and development, testing efficiency, and maintenance cost, learning cost are reduced well
And human cost.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, be included within the scope of the present invention.
Claims (6)
1. a kind of protective relaying device logic figure collocation method based on QT, it is characterised in that comprise the following steps:
Step 1, the relay protection logic of protective relaying device is divided according to function and purposes, be divided into different bases
Logical model;
Step 2, all of basic logic model is patterned modeling generation graphic logic pel, and according to actual conditions
It is the input and output of each graphic logic primitive generating respective amount;
Step 3, it is that the specific code of each graphic logic figure element is realized by graphical configuration tool;
Step 4, the annexation set up between different graphic logic pels by graphical configuration tool;
Step 5, a whole set of relay protection logic is compiled, checked and emulated by graphical configuration tool, and generate XML
The relay protection logic configuration file of form.
2. a kind of protective relaying device logic figure collocation method based on QT according to claim 1, its feature exists
In, in step 1, basic logic model include with logical model or logical model, NOT logic model, protection pressing plate logical model,
Protection control word logical model, system service logical model and basic algorithm logical model.
3. a kind of protective relaying device logic figure collocation method based on QT according to claim 1, its feature exists
In in step 3, each graphic logic pel includes a function property, by graphical configuration tool in function property
Execution function in middle configuration correspondence code.
4. a kind of protective relaying device logic figure collocation method based on QT according to claim 1, its feature exists
In, in step 4, in QT develops graphical configuration tool, the graphic logic figure of loading, parsing and preservation protective relaying device
Unit, is that different graphic logic pels establishes a connection by the input and output of logic pel.
5. a kind of protective relaying device logic figure collocation method based on QT according to claim 1, its feature exists
In the code that logic map file and Different Logic pel are generated in step 5 is realized.
6. a kind of protective relaying device logic figure collocation method based on QT according to claim 2, its feature exists
In basic algorithm logical model includes sampling channel pretreatment, analog quantity channel pretreatment, trip protection command determination, distance
Protection, differential protection and export events logical algorithm model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710086001.6A CN106886411A (en) | 2017-02-17 | 2017-02-17 | A kind of protective relaying device logic figure collocation method based on QT |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710086001.6A CN106886411A (en) | 2017-02-17 | 2017-02-17 | A kind of protective relaying device logic figure collocation method based on QT |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106886411A true CN106886411A (en) | 2017-06-23 |
Family
ID=59179859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710086001.6A Pending CN106886411A (en) | 2017-02-17 | 2017-02-17 | A kind of protective relaying device logic figure collocation method based on QT |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106886411A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783760A (en) * | 2017-11-08 | 2018-03-09 | 许昌许继软件技术有限公司 | A kind of protection device visual development method based on functional unit |
CN107832523A (en) * | 2017-11-06 | 2018-03-23 | 成都交大许继电气有限责任公司 | A kind of graphical liquid crystal display development approach of electric railway |
CN109739490A (en) * | 2018-12-15 | 2019-05-10 | 南京理工大学 | Quick electrical component model creating method based on QT graph framework |
CN110457029A (en) * | 2019-08-13 | 2019-11-15 | 中国核动力研究设计院 | A kind of Logical Configuration icon configuration method based on SCADE basic algorithm block |
CN110795075A (en) * | 2018-08-03 | 2020-02-14 | 上海小渔数据科技有限公司 | Data processing method and device for software programming |
CN110908758A (en) * | 2019-11-19 | 2020-03-24 | 国网智能科技股份有限公司 | Graphical configuration method and system for anti-misoperation lockout logic expression |
CN111832736A (en) * | 2019-04-19 | 2020-10-27 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for processing machine learning models |
CN112527256A (en) * | 2020-12-16 | 2021-03-19 | 北京中水科水电科技开发有限公司 | Integrated hydropower station model development system and method |
CN113688037A (en) * | 2021-08-19 | 2021-11-23 | 上海核工程研究设计院有限公司 | Nuclear power plant instrument control system software configuration debugging and packaging integrated method |
CN116974949A (en) * | 2023-09-25 | 2023-10-31 | 四川金信石信息技术有限公司 | Technical operation and maintenance robot control method and system based on multi-mode generation type AI |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103077212A (en) * | 2012-12-28 | 2013-05-01 | 广东电网公司电力科学研究院 | Transformer substation configuration file control method and system |
CN104133588A (en) * | 2014-07-11 | 2014-11-05 | 国电南瑞科技股份有限公司 | Script-based relay protection device graphic development method |
CN104866319A (en) * | 2015-06-04 | 2015-08-26 | 南京国电南自城乡电网自动化工程有限公司 | Logic diagram execution sequence and feedback decoupling method based on adjacency matrix |
CN105243196A (en) * | 2015-09-18 | 2016-01-13 | 国网安徽省电力公司培训中心 | Transformer substation secondary circuit simulation modeling method |
CN105630563A (en) * | 2016-01-25 | 2016-06-01 | 南京国电南自电网自动化有限公司 | Dynamic model configuration method of relay protection device specification based on XML (Extensible Markup Language) |
CN106201462A (en) * | 2016-06-28 | 2016-12-07 | 南京国电南自电网自动化有限公司 | Protective relaying device collocation method based on component library |
CN106293735A (en) * | 2016-08-09 | 2017-01-04 | 南京国电南自电网自动化有限公司 | Protective relaying device object abstract method based on encapsulation technology |
-
2017
- 2017-02-17 CN CN201710086001.6A patent/CN106886411A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103077212A (en) * | 2012-12-28 | 2013-05-01 | 广东电网公司电力科学研究院 | Transformer substation configuration file control method and system |
CN104133588A (en) * | 2014-07-11 | 2014-11-05 | 国电南瑞科技股份有限公司 | Script-based relay protection device graphic development method |
CN104866319A (en) * | 2015-06-04 | 2015-08-26 | 南京国电南自城乡电网自动化工程有限公司 | Logic diagram execution sequence and feedback decoupling method based on adjacency matrix |
CN105243196A (en) * | 2015-09-18 | 2016-01-13 | 国网安徽省电力公司培训中心 | Transformer substation secondary circuit simulation modeling method |
CN105630563A (en) * | 2016-01-25 | 2016-06-01 | 南京国电南自电网自动化有限公司 | Dynamic model configuration method of relay protection device specification based on XML (Extensible Markup Language) |
CN106201462A (en) * | 2016-06-28 | 2016-12-07 | 南京国电南自电网自动化有限公司 | Protective relaying device collocation method based on component library |
CN106293735A (en) * | 2016-08-09 | 2017-01-04 | 南京国电南自电网自动化有限公司 | Protective relaying device object abstract method based on encapsulation technology |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107832523A (en) * | 2017-11-06 | 2018-03-23 | 成都交大许继电气有限责任公司 | A kind of graphical liquid crystal display development approach of electric railway |
CN107783760B (en) * | 2017-11-08 | 2020-10-27 | 许昌许继软件技术有限公司 | Visual development method for protection device based on functional component |
CN107783760A (en) * | 2017-11-08 | 2018-03-09 | 许昌许继软件技术有限公司 | A kind of protection device visual development method based on functional unit |
CN110795075B (en) * | 2018-08-03 | 2023-08-11 | 上海小渔数据科技有限公司 | Data processing method and device for software programming |
CN110795075A (en) * | 2018-08-03 | 2020-02-14 | 上海小渔数据科技有限公司 | Data processing method and device for software programming |
CN109739490A (en) * | 2018-12-15 | 2019-05-10 | 南京理工大学 | Quick electrical component model creating method based on QT graph framework |
CN109739490B (en) * | 2018-12-15 | 2022-05-13 | 南京理工大学 | Quick electrical component model creating method based on QT graph framework |
CN111832736A (en) * | 2019-04-19 | 2020-10-27 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for processing machine learning models |
CN111832736B (en) * | 2019-04-19 | 2024-04-12 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer readable storage medium for processing machine learning model |
CN110457029A (en) * | 2019-08-13 | 2019-11-15 | 中国核动力研究设计院 | A kind of Logical Configuration icon configuration method based on SCADE basic algorithm block |
CN110457029B (en) * | 2019-08-13 | 2022-06-28 | 中核控制系统工程有限公司 | Logic configuration icon configuration method based on SCADE basic algorithm block |
CN110908758A (en) * | 2019-11-19 | 2020-03-24 | 国网智能科技股份有限公司 | Graphical configuration method and system for anti-misoperation lockout logic expression |
CN110908758B (en) * | 2019-11-19 | 2023-09-01 | 山东鲁软数字科技有限公司智慧能源分公司 | Anti-misoperation locking logic expression graphical configuration method and system |
CN112527256A (en) * | 2020-12-16 | 2021-03-19 | 北京中水科水电科技开发有限公司 | Integrated hydropower station model development system and method |
CN113688037A (en) * | 2021-08-19 | 2021-11-23 | 上海核工程研究设计院有限公司 | Nuclear power plant instrument control system software configuration debugging and packaging integrated method |
CN116974949A (en) * | 2023-09-25 | 2023-10-31 | 四川金信石信息技术有限公司 | Technical operation and maintenance robot control method and system based on multi-mode generation type AI |
CN116974949B (en) * | 2023-09-25 | 2023-12-05 | 四川金信石信息技术有限公司 | Technical operation and maintenance robot control method and system based on multi-mode generation type AI |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106886411A (en) | A kind of protective relaying device logic figure collocation method based on QT | |
US10831456B1 (en) | External code integrations within a computing environment | |
US8739129B1 (en) | Multi-domain unified debugger | |
Hu et al. | Mapping UML Diagrams to a Petri Net Notation for System Simulation. | |
EP3971706A2 (en) | Method, apparatus and electronic device for deploying operator in deep learning frame work | |
Feldbrugge et al. | Petri net tool overview 1986 | |
CN104662514A (en) | Modernization of legacy software systems based on modeled dependencies | |
CN104932905A (en) | Automatic code generation method from AADL to C language | |
CN112036023B (en) | Software integrated generation system of generator transformer set protection device | |
CN110262794A (en) | A kind of AADL behaviour expanding method and tool based on specification with description language | |
CN101211262A (en) | Software architecture description language quick construction and support method | |
CN105630563A (en) | Dynamic model configuration method of relay protection device specification based on XML (Extensible Markup Language) | |
CN104133948B (en) | A kind of simulation model generation method, system and simulation model | |
CN206400347U (en) | flexible DC power transmission control protection closed loop test system | |
CN111880784A (en) | SIMSCRIPT language-oriented discrete event simulation graphical modeling method | |
CN103942092B (en) | A kind of HLA synergy emulation methods for supporting LabView graphic programmings | |
CN102968533B (en) | A kind of general simulation method for liquid rocket engine | |
CN109753281A (en) | A kind of microgrid energy management strategy visualization toolkit based on graphic programming | |
CN107704684B (en) | Construction and interactive application method of non-point source phosphorus pollution index model | |
Zhang | An Approach for Extracting UML Diagram from Object-Oriented Program Based on J2X | |
CN101216769A (en) | Hiberarchy system description language SmartC to C code automatic conversion method | |
Awan et al. | Formal Requirements Specification: Z Notation Meta Model Facilitating Model to Model Transformation | |
CN105511344B (en) | The implementation method of D.C. high voltage transmission measure and control device graphic logic interlock function | |
Denckla et al. | Stream-and state-based semantics of hierarchy in block diagrams | |
CN106094561B (en) | Marine Synthesize Electric Propulsion System modeling and simulating method and device |
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: 20170623 |