CN102436188B - Object-based multi-branch program control implementation method - Google Patents

Object-based multi-branch program control implementation method Download PDF

Info

Publication number
CN102436188B
CN102436188B CN201110298526.9A CN201110298526A CN102436188B CN 102436188 B CN102436188 B CN 102436188B CN 201110298526 A CN201110298526 A CN 201110298526A CN 102436188 B CN102436188 B CN 102436188B
Authority
CN
China
Prior art keywords
program control
configuration
data
program
type
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.)
Active
Application number
CN201110298526.9A
Other languages
Chinese (zh)
Other versions
CN102436188A (en
Inventor
周金国
金舒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Guodian Nanzi Railway Traffic Engineering Co Ltd
Original Assignee
Nanjing Guodian Nanzi Railway Traffic Engineering Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Guodian Nanzi Railway Traffic Engineering Co Ltd filed Critical Nanjing Guodian Nanzi Railway Traffic Engineering Co Ltd
Priority to CN201110298526.9A priority Critical patent/CN102436188B/en
Publication of CN102436188A publication Critical patent/CN102436188A/en
Application granted granted Critical
Publication of CN102436188B publication Critical patent/CN102436188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a structural-configuration-based multi-branch program control implementation method. The method comprises four parts, namely data organization, a configuration tool, a program control service and a monitoring tool. As an great improvement of the traditional multi-branch concurrent program control implementation mode, the method has the characteristics that variable and invariable parts of the functions are divided clearly based on multi-channel program control on the object; the variable part is configured by a user; the invariable part is realized by a program; and program reusability and configuration readability are greatly improved on the condition of not affecting high efficiency and flexibility of multi-branch program control. Based on the data organization characteristic of the object, the program control reality structure is modeled, the data organization method provided by the original system is compatible, the configuration mode that supervisory control and data acquisition (SCADA) system software has the consistent function is maintained, and the user can understand and master the method easily. By the simple and intuitive configuration mode, the configuration work load and the door threshold for the user to use the program control function are reduced, efficiency is improved, and maintenance cost is saved.

Description

Object-based multi-branch program control implementation method
Technical field
The present invention relates in data monitoring and acquisition system (SCADA) object-based multi-branch program control implementation method.
Background technology
In industrial automatization more and more higher today, the basic single-point distant control function that traditional data monitoring and acquisition system (SCADA) provide can not meet the requirement of user to system effectiveness and reliability.Programmed control (sequence, sequence are controlled) function is the expansion to basic distant control function, support that user organizes a plurality of single-point remote controls according to the actual requirements according to certain logical order, system automatically performs remote control, the operational efficiency of elevator system and reliability by reading these predefined configurations.
Traditional programmed control method is only supported to carry out successively one group of single-point straighforward operation with linear precedence,, a plurality of single-point remote controls is arranged in to the end to end sequence of a team that is, and the single-point remote control in sequence is carried out successively.But in engineering application, this simple sequential logic can not meet actual needs far away, increasing application need to realize more complicated logic control in single-point remote control.
At present in engineering site, the complex control for a plurality of single-point remote controls is generally by compile script, or even the mode of secondary development coding module realizes.The latter is too high for technical requirement, and the engineering staff who is not suitable for user or even Site Service grasps; Although the former decreases at difficulty, but still subsistence logic topological relation is not directly perceived, configures the problems such as dumb.
The programmed control of complex logic need support the multichannel of basic remote control and condition to select to carry out, it is congenital has structured features, and its advantage of object-based Method of Data Organization is according to actual conditions, to preserving the object of data, carry out modeling, logical organization and the organizational form of simulation real system.Problem is how to design supports the object type of programmable function, the relation between type, and segregation of duties and fit system between each functional module, to meet the demand of SCADA system to programmable function.
Summary of the invention
For problems of the prior art, how the programmed control configuration of complex logic is combined with the configuration instrument that SCADA software provides, make user can be according to demand in SCADA system convenient, flexible configuration program control, and realize based on this programme controlled complete function, be this method problem to be solved.
Technical scheme of the present invention is: a kind of object-based multi-branch program control implementation method, comprise Organization of Data, configuration tool, program control service, four parts of adviser tool, and it is characterized in that:
Organization of Data: Organization of Data, for program control each functional module provides better support, as the basic interface of programmable function, has strengthened the extendability of programmable function; Object-based program control data tissue comprises the design of object type definition and type hierarchy relation;
Configuration tool: because the Method of Data Organization of programmable function utilizes the object-based characteristic of SCADA system software, configuration tool is applicable to the configuration of programmable function completely;
Program control service: program control service operation is in backstage, and the operation of snoop-operations person in man-machine interface, reads program control configuration, program control according to configuration execution, the information producing in program control implementation is write in the respective attributes of corresponding object;
Adviser tool: program control service has all write the information producing in program control implementation in corresponding object attribute, the value that these attributes only need be monitored and read to adviser tool just can realize the function for monitoring to program control real-time executing state.
The real-time pictures Presentation Function that object-based SCADA system software provides is all by arrangement plan unit, according to the real-time change of object attribute values, to carry out some to change dynamically conventionally, therefore, the adviser tool of programmable function can be used the picture configuration tool that SCADA system software provides to carry out configuration.
Consider the feature of program control function highly structural, also can use the data-interface that SCADA system software provides to carry out secondary development, write independent programmed state and monitor man-machine interface.The working method of this man-machine interface program remains the program control topological picture of reading out data structural generation; Monitor the corresponding state attribute value of program control object, according to the variation of property value, change the form of pel in topological picture.
Beneficial effect of the present invention: as the significant improvement to the concurrent program control implementation of traditional multiple branches, object-based multichannel is program control has divided variable and immutable part in its function clearly, by transferring to user to configure variable part, immutable part realizes by program, not losing on the basis of the program control efficient and flexible nature of multiple branches, the reusability of program and the readability of configuration have greatly been improved.Object-based Organization of Data characteristic is carried out modeling to program control real structure, and the data organization method that provides of compatible original system, has kept the consistent configuration mode of whole SCADA system software function, is also easier to user and understands and grasp.Its easy configuration mode intuitively greatly reduces configuration effort amount, also reduced the threshold that user uses programmable function, and the work efficiency ,Ye Wei company of having improved user has saved maintenance cost.
Accompanying drawing explanation
Fig. 1 is the program control function destructing schematic diagram of the embodiment of the present invention.
Fig. 2 is the object type hierarchical relationship schematic diagram of the embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is further elaborated.
The program control function of SCADA system at least should meet following demand:
Convenient, flexible configuration;
Friendly consulting directly perceived;
The execution of high efficient and reliable;
Executing state feedback accurately and timely.
Can be configuration, Topology display, execution, four modules of executing state real time monitoring by the program control function destructing of SCADA system.Program control Organization of Data determines its configuration mode, and program control Topology display, execution and executing state show and all need to realize by reading program control configuration.Therefore, SCADA system software is the basis that the program control Method of Data Organization providing is programmable function, is also the core that programmable function is realized.As shown in Figure 1, be the program control function destructing schematic diagram of the present embodiment.
Object-based SCADA system software is object by the elementary cell of organising data in system, relation in system between all data and object all with the formal distribution of object properties in the example of various object types, be aided with again graphical tools, just data can be showed to user with a kind of structure that meets system practical topology, this kind of mode improved the data managing capacity of large-scale SCADA system greatly.
The present invention proposes a kind of multiple-limb programmed control implementation method based on structural configuration, comprise Organization of Data, configuration tool, program control service, four parts of adviser tool.
1. Organization of Data
Design good Method of Data Organization and can provide better support for program control each functional module, and Organization of Data is as the basic interface of programmable function, its logic reasonable in design has also strengthened the extendability of programmable function.Object-based program control data tissue design comprises hierarchical relationship design between object type definition and type.
1) object type definition
logicalControl, programmed control object.The single programmed control sequence of LogicalControl object encoding, it is the entrance of the program control configuration of system, its main attribute and illustrate as shown in table 1:
property Name data type explanation
name string defining objects title
description string defining objects is described, and can be used for the comment in interface display
executeTrigger bit trigger program control execution
pauseTrigger bit suspend program control execution.The judgement of condition set and single-point remote control are carried out and are atomic operation, can not be interrupted
stopTrigger bit stop program control execution.The judgement of condition set and single-point remote control are carried out and are atomic operation, can not be interrupted
resumeTrigger bit from the point of interruption, current step continues to carry out program control
redoTrigger bit the previous step of reforming
currentStep unsigned long point to the current step of program control execution.When program control execution, this attribute is empty
lastStep unsigned long point to program control execution previous step.When program control execution, this attribute is empty
childrenList unsigned long[] list content is program control startup operation step, can be ConditionSet or StepNode
parentLink unsigned long point to father node object, this attribute with form whole programme controlled topology together with ChildrenList attribute
Table logicalControl attribute specification table.
stepNode, represent an XM in program control structure, its main attribute and illustrate as shown in table 2:
Property Name Data type Explanation
Name string Defining objects title
Description string Defining objects is described, and can be used for the comment in interface display
StepType enum Define this XM object single-point remote control type pointed
ActionLink unsigned long Point to a single-point remotely-controlled object
Feedback string Carry out feedback information, user can read this information for status surveillance interface
FeedbackLevel unsigned short Carry out feedback information rank, user can read this information for status surveillance interface
ChildrenList unsigned long[] After single-point remote control is complete, need the condition node listing of carrying out to realize branching selection, its content is ConditionSet
ParentLink unsigned long Point to father node object, this attribute with form whole programme controlled topology together with ChildrenList attribute
Table
Figure 579460DEST_PATH_IMAGE002
stepNode attribute specification table.
condition, representing a condition in program control structure, this object type does not exist with program control joint form, and just as the ingredient of ConditionSet, therefore can be multiplexing.Its main attribute and illustrate as shown in table 3:
Property Name Data type Explanation
Name string Defining objects title
Description string Defining objects is described, and can be used for the comment in interface display
ObjectLink unsigned long Point to the object instance of condition judgment expression formula lvalue value
AttributeLink unsigned short Point to the object properties of condition judgment expression formula lvalue value
Operator enum The logic judgement operational symbol that this attribute value set is predetermined view, representative ">respectively ", "==", "<", ">=", "≤", " unequal to "
TargetValue string The r value of the expression formula of condition judgment
Table
Figure 212042DEST_PATH_IMAGE002
condition attribute specification table.
conditionSet, represent a conditional branching in program control structure, different from Condition, ConditionSet is a set that comprises a plurality of Condition, in set, between Condition, be with relation.The main attribute of ConditionSet and illustrate as shown in table 4:
property Name data type explanation
name string defining objects title
description string defining objects is described, and can be used for the comment in interface display
conditionList unsigned long[] condition list
failureLink unsigned long if ConditionSet execution result is false, this property value points to the Condition object that in Condition list, first execution result is false
feedbackCode enum condition judgment return code, user can read this information for status surveillance interface
childrenList unsigned long[] list content is StepNode object instance.Condition judgment is that true jumps to the StepNode object configuring in list
parentLink unsigned long point to father node object, this attribute forms whole programme controlled topology together with ChildrenList attribute
Table
Figure 541392DEST_PATH_IMAGE002
conditionSet attribute specification table.
2) type hierarchy relation design
Hierarchical relationship between object type has determined the institutional framework between object, based on objective system, the modeling of hierarchical relationship between live entities is depended on to this.
LogicalControl: the top object type of program control configuration, his father's object type means the Device object of equipment; Its subobject type can be the ConditionSet(execution of having ready conditions) or StepNode(unconditionally carry out).
StepNode: represent program control XM, its parent object is the ConditionSet(execution of having ready conditions) or the program control startup operation of LogicalControl(, unconditionally carry out); Its subobject type is ConditionSet.
ConditionSet: represent program control conditional branching, its parent object is LogicalControl or StepNode; Its subobject type is StepNode.
Condition: represent executive condition.This object type is only used for configuration relation judgement, irrelevant with programmable function logic, thereby can reach multiplexing object.Condition does not have subobject type, the Folder of the Device that his father's object type is indication equipment or expression catalogue.
As shown in Figure 2, be the object type hierarchical relationship schematic diagram of the embodiment of the present invention.
2. configuration tool
Because the Method of Data Organization of programmable function utilizes the object-based characteristic of SCADA system software completely, therefore the configuration tool that software provides is applicable to the configuration of programmable function completely, user only need understand the organizational form of programmable data and not spend familiar new configuration tool, learns new collocation method.
3. program control service
Program control service operation is in backstage, and its function is the operation of snoop-operations person in man-machine interface, reads program control configuration, program control according to configuration execution, the information producing is write in the respective attributes of corresponding object in program control implementation.
4. adviser tool
Program control service has all write the information producing in program control implementation in corresponding object attribute, and the value that these attributes only need be monitored and read to adviser tool just can realize the function for monitoring to program control real-time executing state.
The real-time pictures Presentation Function that object-based SCADA system software provides is all by arrangement plan unit, according to the real-time change of object attribute values, to carry out some to change dynamically conventionally, therefore, the adviser tool of programmable function can be used the picture configuration tool that SCADA system software provides to carry out configuration.
Consider the feature of program control function highly structural, also can use the data-interface that SCADA system software provides to carry out secondary development, write independent programmed state and monitor man-machine interface.The working method of this man-machine interface program remains the program control topological picture of reading out data structural generation; Monitor the corresponding state attribute value of program control object, according to the variation of property value, change the form of pel in topological picture.
Typical case application: object-based multiple branches control method is applied in a plurality of SCADA projects of my company at present, the collocation method of its flexible and convenient and visual and understandable object structure are subject to user's consistent favorable comment.Its typical case's application comprises following.
1. transmission line malfunction automatic segmentation excision.
Line fault automatic segmentation excision function is carried out one group of switch being associated, disconnecting link action after listening to line fault information, between each action, needs to judge condition a plurality of and that relation is complicated.This function is comprised of failure monitoring and program control execution two parts, and programmed control is responsible for listening to after line fault in system, and judges after fault section, carries out one group of straighforward operation, and fault section is excised from circuit.
2. stop/power transmission completely.
Each main switch, disconnecting link that stopping in PSCADA system/power transmission action need relates to stop/power transmission operate, and will judge many places situation therebetween in case unexpected generation.The opereating specification of stop/power transmission is wide completely, and remote control and Rule of judgment that it relates to are numerous, complex structure.In this case, object-based multiple-limb programmable function has embodied the easy feature of its flexible configuration to greatest extent, has greatly reduced the workload of configuration.
3. long-range group of control.
Long-range group of control refers in SCADA system one group of like device device monitored and straighforward operation, and it is widely used, but steering logic is simple, and the present invention more can easily be competent at.
Although the present invention with preferred embodiment openly as above; but specific embodiments and the drawings are not for limiting the present invention, anyly have the knack of this skill person, without departing from the spirit and scope of the invention; from working as, can make various changes or retouch, but equally within protection scope of the present invention.What therefore protection scope of the present invention should be defined with the application's claim protection domain is as the criterion.

Claims (3)

1. object-based multiple branches programmed control realizes a system, comprises Organization of Data, configuration tool, program control service, four parts of adviser tool, it is characterized in that:
Organization of Data: Organization of Data is that program control each functional module provides support, and as the basic interface of programmable function, has strengthened the extendability of programmable function; Object-based program control data tissue comprises the design of object type definition and type hierarchy relation;
Described object type definition: LogicalControl, programmed control object;
The single programmed control sequence of LogicalControl object encoding, it is the entrance of the program control configuration of system; StepNode, represents an XM in program control structure; Condition, represents a condition in program control structure, and this object type does not exist with program control joint form, and just as the ingredient of ConditionSet, can be multiplexing; conditionSet, represent a conditional branching in program control structure, ConditionSet is a set that comprises a plurality of Condition, in set, between Condition, be with relation;
Described type hierarchy relation design: LogicalControl, the top object type of program control configuration, his father's object type means the Device object of equipment, and its subobject type is the ConditionSet(execution of having ready conditions) or StepNode(unconditionally carry out); StepNode, represents program control XM, and its parent object is the ConditionSet(execution of having ready conditions) or the program control startup operation of LogicalControl(, unconditionally carry out), its subobject type is ConditionSet; ConditionSet, represents program control conditional branching, and its parent object is LogicalControl or StepNode, and its subobject type is StepNode; Condition, represents executive condition, is used for configuration relation judgement, irrelevant with programmable function logic, thereby can reach multiplexing object, and Condition does not have subobject type, the Device that his father's object type is indication equipment or represent the Folder of catalogue;
Configuration tool: because the Method of Data Organization of programmable function utilizes the object-based characteristic of SCADA system software, configuration tool is applicable to the configuration of programmable function completely;
Program control service: program control service operation is in backstage, and the operation of snoop-operations person in man-machine interface, reads program control configuration, program control according to configuration execution, the information producing in program control implementation is write in the respective attributes of corresponding object;
Adviser tool: program control service has all write the information producing in program control implementation in corresponding object attribute, the value that these attributes were monitored and read to adviser tool realizes the function for monitoring to program control real-time executing state; Working method is the program control topological picture of reading out data structural generation; Monitor the corresponding state attribute value of program control object, according to the variation of property value, change the form of pel in topological picture.
2. object-based multiple branches programmed control according to claim 1 realizes system, it is characterized in that: the real-time pictures Presentation Function that object-based SCADA system software provides is by arrangement plan unit, according to the real-time change of object attribute values, to carry out some to change dynamically, configuration is carried out in the picture configuration tool that the adviser tool of programmable function is used SCADA system software to provide.
3. object-based multiple branches programmed control according to claim 1 realizes system, it is characterized in that: the data-interface that uses SCADA system software to provide carries out secondary development, write independent programmed state and monitor man-machine interface, the working method of described man-machine interface program is the program control topological picture of reading out data structural generation; Monitor the corresponding state attribute value of program control object, according to the variation of property value, change the form of pel in topological picture.
CN201110298526.9A 2011-09-29 2011-09-29 Object-based multi-branch program control implementation method Active CN102436188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110298526.9A CN102436188B (en) 2011-09-29 2011-09-29 Object-based multi-branch program control implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110298526.9A CN102436188B (en) 2011-09-29 2011-09-29 Object-based multi-branch program control implementation method

Publications (2)

Publication Number Publication Date
CN102436188A CN102436188A (en) 2012-05-02
CN102436188B true CN102436188B (en) 2014-01-22

Family

ID=45984292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110298526.9A Active CN102436188B (en) 2011-09-29 2011-09-29 Object-based multi-branch program control implementation method

Country Status (1)

Country Link
CN (1) CN102436188B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455000B (en) * 2013-08-26 2017-07-07 北京科东电力控制系统有限责任公司 A kind of SCADA system equipment modeling method for automatically forming control logic
CN104076736B (en) * 2014-07-15 2017-02-15 上海维宏电子科技股份有限公司 Method for achieving motion control multi-branch synchronous execution based on teaching instructions
CN105159178B (en) * 2015-10-19 2017-12-05 南京国电南自轨道交通工程有限公司 A kind of object-based definite value area order switching programmed control method
US10401816B2 (en) * 2017-07-20 2019-09-03 Honeywell International Inc. Legacy control functions in newgen controllers alongside newgen control functions

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘文彪,詹成国.跨平台SCADA图形系统的分析与设计.《华电技术》.2008,第30卷(第8期), *
金舒,戴宏斌,贾志敏.面向对象的高性能实时数据库ChRDB.《电力自动化设备》.2009,第29卷(第12期), *

Also Published As

Publication number Publication date
CN102436188A (en) 2012-05-02

Similar Documents

Publication Publication Date Title
CN104716745B (en) A kind of Topology g eneration method and its system towards distribution power automation terminal
US20080195576A1 (en) Method, and Computer Based-System and Virtual Asset Register
CN102957205B (en) A kind of method and system setting up electricity distribution network model
CN100580623C (en) Method and device for holding data consistency between integrated applications
CN102436188B (en) Object-based multi-branch program control implementation method
CN102290811B (en) Method for evaluating accident prearranged plan and running way
CN103150426A (en) Unified modeling method for regulation and control integrated simulation of primary grid equipment and secondary grid equipment
CN105515189A (en) Integrated intelligent gateway machine configuration method based on unified modeling of transformer station
CN104636490A (en) Graphical comparing method for SCD (substation configuration description) files of intelligent substation
KR101423109B1 (en) Integrated mapping system between different types of standards applied to scada and substation automation
KR101397380B1 (en) System for integrating meta-modeling
CN104184621A (en) Intelligent substation network topology graph generating method and system
KR101856861B1 (en) Operation system applicable to distribution network and various type microgrid
CN105323087A (en) Integrated network management system of electric power communication network
US9269113B2 (en) Energy management system and a screen generation method thereof
CN110867956A (en) Topology automatic identification system and method based on intelligent platform area
CN102646112A (en) Visual modeling method for capability description file of direct-current protection control device
CN105264446A (en) Apparatus and method for interfacing with supervisory monitoring and control arrangements
KR101397379B1 (en) System for transformation meta-modeling
CN104991628A (en) Intelligent power monitoring system for data center and monitoring method
CN102710025B (en) Power system communication device and method
CN206282343U (en) Intelligence matches somebody with somebody power information Integrated System Architecture
CN105159178B (en) A kind of object-based definite value area order switching programmed control method
CN102025553A (en) Evaluation method for running states of information and application resources
CN105426615A (en) Modeling method for intelligent electronic device of power monitoring management system of intelligent substation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant