METHOD FOR AUTOMATIC INTERPRETATION OF A PIPELINE DIAGRAM

DE502020009190D1Active Publication Date: 2024-10-02SIEMENS AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE502020009190
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-03-05
Filing Date
2020-02-26
Publication Date
2024-10-02
Estimated Expiration
2040-02-26

AI Technical Summary

Technical Problem

Current methods for automating process engineering systems require manual interpretation of piping diagrams to define operational requirements, leading to inefficiencies and potential errors in system planning and automation.

Method used

A method for automatically interpreting piping diagrams by linking operational requirements to system components, using a predetermined set of modes of operation and boundary conditions to generate executable automation functions directly in software.

Benefits of technology

This approach simplifies system planning, reduces costs, and enhances quality by automatically generating automation functions within a single software tool, eliminating the need for separate documentation and minimizing human error.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The invention relates to a method for generating automation functions through automatic interpretation of a piping diagram, namely a piping diagram in the form of a so-called piping and instrumentation diagram (P&ID), particularly for process engineering plants or power plants. Such piping diagrams are used in a generally known manner for the design of a specific process engineering plant. The term "plant" also encompasses a sub-plant of a larger plant, for example, a sub-plant intended for heating or cooling within a larger plant, as well as a plant component, for example, a mixing device.

[0002] In a process plant, a distinction can be made between primary technology and secondary technology. Primary technology encompasses the structure of the plant from a process engineering or technological perspective, i.e., the process components of the plant, such as tanks, pumps, valves, heat exchangers, and their interconnections, especially piping. Secondary technology upgrades the primary technology for the intended operation of the plant, with different secondary technologies fulfilling different functions in the plant's operation.

[0003] The planning or configuration of the primary technology is carried out using a plant planning tool (e.g., COMOS from Siemens) in the form of creating a flow or piping diagram (P&ID diagram) of the plant, whereby graphical process objects representing components of the process plant are linked together. The concrete process objects (instances of object classes) contain technical information about the parameters of the components they represent, such as pipe diameters, motor power consumption, or the filling volume of a container. The P&ID diagram can also already contain the plant's sensors and actuators (measuring transducers and drives for control elements) along with the technical information about the sensors and actuators, or the corresponding information can be entered into the plant planning tool.

[0004] An essential secondary technology is the automation of the plant, which in turn can be divided into different sub-areas such as automation software, automation hardware and operator control and monitoring, whose solutions have often been designed by different specialists (automation engineers, project engineers) such as hardware engineers, software engineers and HMI (Human Machine Interface) engineers.

[0005] In addition to automation, electrification of the plant is another important secondary technology. All electrical system components, especially the motors, must be supplied with electrical power. For this purpose, electrification components such as transformers, converters, switchgear, etc., must be provided.

[0006] Other secondary technologies include building technology and telecommunications.

[0007] The fundamental step in planning a process plant is creating a piping diagram. The piping diagram includes all process components of the plant, such as vessels, pumps, fans, drives, sensors, etc., as well as the pipes connecting the components, which are shown in the piping diagram. According to the current state of the art, such a piping diagram can already contain all product-related information about the plant components. For sensors, this can be information relating to the start and end of the measuring range, a connection type (e.g., Profibus, 4-20 mA wired), a respective manufacturer, and the like. For pipelines, this can be information such as material, diameter, wall thickness, etc.

[0008] EP 3 029 535 A2 describes an approach to planning a process plant in which data is exchanged and synchronized between a piping diagram (P&ID) and an automation system. Templates or standards are used for this purpose.The method comprises parsing a P&ID and identifying instruments (objects) and / or groups of instruments (objects) within the P&ID, identifying one or more associated input and output tags for each identified instrument and / or group of instruments within the P&ID, and establishing at least one relationship between the one or more input and output tags. The input and output tags for an instrument and / or group of instruments and the at least one relationship between the corresponding input tags and output tags are derived from a template library. Based on the templates and a rule base, corresponding control loops are identified for each established relationship between the input tags and the output tags, the control loop controlling one or more instruments.

[0009] WO 2017 / 076420 A1 discloses a system and method for configuring an automation system for a process plant. The starting point here is also the plant's P&ID diagram, in which representatives of the plant's components are connected to one another via cables. Interfaces for interlocking properties, which, for example, lead to the component being switched off or prevent the component from being switched on, are defined for the plant component representatives. By analyzing the P&ID diagrams, for example using image processing, it is determined for each individual component to which other components they are connected. Further analysis of the interfaces is used to select those of the other components, or more precisely their representatives, whose interlocking properties are relevant for the components under investigation and / or the operating conditions.The selected representatives of the components are connected to each other at their interfaces, whereby a process logic for the automation of these components is then automatically generated, whereby these structural components are treated in an analogous manner to the plant components.

[0010] US 2009 / 0282067 A1 discloses a method and system for automatically generating process control databases and process graphics for a distributed process control system. Programmed process control database and process graphics generators automatically render the output in a target process control system environment (e.g., InFusion Engineering Environment - or IEE) from an intermediate representation (e.g., XML) of process control and process graphics definitions. The system also provides a rule database that defines a set of transformations from the schema-based intermediate language to a target graphics format. The system is further programmed to apply transformation rules from the rule database to the control system graphics definition to render graphical views of the distributed control system, including resolved aliases.

[0011] Various standards specify how piping diagrams should be structured and used. ISO 16028 (Diagrams for the chemical and petrochemical industry) specifies the corresponding diagrams and defines the graphical symbols to be used. IEC 62424 (Representation of process control engineering - Requests in P&I diagrams and data exchange between P&ID tools and PCE-CAE tools) defines requirements for piping diagrams and data exchange between plant design tools and engineering tools for automation systems.

[0012] At the applicant's facility, additional operational requirements and specifications for the facility to be constructed are incorporated into a piping diagram as part of a piping diagram configuration. This step is referred to as configuration (piping diagram configuration), and the result is a configured piping diagram.

[0013] While the piping diagram originally only describes the components of a process plant and how they are connected, the configured piping diagram also contains information about how this plant is to be operated in manual mode and automatic mode. The configuration of a piping diagram is the basis for the fully automated creation of engineering documents in the areas of automation and electrification.

[0014] Even today, the operational requirements of a planned plant must be defined. Otherwise, engineering for the automation of the respective plant and its electrification would not be possible.

[0015] The IEC 62424 standard mentioned above describes how piping diagrams should be structured. Among other things, it also specifies that signal limit values ​​can be displayed in a piping diagram. It also describes how the functional relationships between sensors and actuators can be represented using symbols representing automation functions. Overall, however, this standard only provides a basic representation of some important automation relationships.

[0016] The IEC 62424 standard explicitly contains the sentence: "Detailed information on complex control functions shall not be part of the P&ID. Therefore, additional documentation (eg control narratives, function charts) has to be prepared to define the required functionality."

[0017] Accordingly, information on operational requirements has so far been defined parallel to the piping diagram in separate documents (texts, tables, logic diagrams, drawings, etc.), i.e., independently of the piping diagram. The form and format in which such documents are made available depends largely on the respective creator and the respective engineering area (control, operation and monitoring, protection, etc.).

[0018] The approach proposed here envisions specifying operational requirements as an integral part of a piping diagram. This makes information about operational requirements immediately available and amenable to automatic interpretation. Until now, a synopsis of a piping diagram with at least one document of the aforementioned type has always been performed by a human expert as a mental activity.

[0019] Accordingly, an object of the present invention is to provide a method which enables automatic interpretation of a piping diagram (P&I diagram) of a technical system, in particular to provide a method in which, as part of the automatic interpretation of a piping diagram, automation functions are automatically generated which implement the operational requirements included in the piping diagram in software and can be incorporated into automation software for automating the respective system.

[0020] This problem is solved by a method having the features of claim 1 and by a computer program comprising an implementation of the method. The approach proposed here is particularly suitable for process engineering plants or power plants.

[0021] A piping diagram comprises, in a manner known per se, objects as representatives of components of a system and connections between objects as representatives of connections between components of the system, whereby each connection itself is an object (a special object) in the piping diagram.

[0022] The objects are already named during the creation of the piping diagram or are at least named during the configuration of the piping diagram. To include a representative of a valve of a plant in a piping diagram, for example, a corresponding data object is selected from a library (by a human expert), which leads to at least a symbolic representation of a valve in the piping diagram. The data object is associated with an object type, in this case, "valve." The same applies to other technical units of a plant and an object that each represents a unit.

[0023] In the method proposed here, objects and / or connections of a piping diagram are linked to operational requirements. The operational requirements are defined based on a predefined set of modes of action (mode of action of the operational requirement) and a predefined set of boundary conditions (boundary condition of the operational requirement). The sets underlying the applicable modes of action and boundary conditions ensure an electronically analyzable representation of each operational requirement. The sets define, in a sense, a vocabulary available for formulating / formulating an operational requirement, and thus a fixed and limited vocabulary with which each operational requirement is formulated.

[0024] During the automatic interpretation of the piping diagram, the operational requirements contained in the piping diagram are successively evaluated. During the evaluation, an automation function is automatically generated for an operational requirement and at least based on a mode of operation included as a purpose in the respective operational requirement. This is an implementation of the function to be implemented according to the respective operational requirement in software, i.e., in executable program code, which, when executed by an automation system, results in the implementation of the function to be implemented according to the operational requirement.

[0025] For example, a selectable mode of operation when defining an operational requirement is "is controlled by." This mode of operation implies the need for a control function to implement the operational requirement in software. The resulting automation function therefore includes at least one control function. To ensure that the control precisely implements the originally defined operational requirement—for example, controlling a flow rate using a control valve—the automation function, and generally every automatically generated automation function, is linked to the objects linked by the underlying operational requirement.This connection with the objects linked by means of the operational requirement may be in the form of a connection with the objects included in the piping diagram and / or in the form of a connection with the real entities represented by the objects of the piping diagram.

[0026] Linking operational requirements to elements (objects and / or connections) of the piping diagram can be performed within the framework of the procedure or may have been performed previously. Defined operational requirements are a prerequisite for all further steps of the procedure proposed here.

[0027] The method is implemented for automatic execution in the form of a computer program, referred to below as an engineering tool, or possibly a distributed computer program, which comprises an implementation of the method proposed here and functions as a means for executing the method proposed here. The invention is thus a computer program with program code instructions that can be executed by a computer, referred to below as an engineering system, or possibly a distributed computer system, and are executed during operation, as well as a storage medium with such a computer program, i.e., a computer program product with program code means, and finally also an engineering system, into whose memory such a computer program is or can be loaded as a means for implementing the method and its embodiments.

[0028] The computer program (engineering tool) implementing the method proposed here, or the computer program comprising an implementation of the method proposed here, is executed on the engineering system and by means of the engineering system. The engineering tool can also include functions for creating and editing a piping diagram or the complete range of functions for creating and editing a piping diagram, thus becoming a complete engineering environment.

[0029] When process steps or process step sequences are described here and below, this refers to actions that occur due to the computer program or under the control of the computer program (due to the engineering tool or under the control of the engineering tool), unless it is expressly stated that individual actions are initiated by a user of the engineering tool. At a minimum, any use of the term "automatic" means that the action in question occurs due to the engineering tool or under the control of the engineering tool.

[0030] A key advantage of the present invention is that, based on a definition of operational requirements, in particular operational requirements encompassed by the piping diagram, algorithms for implementing the operational requirements in the area of ​​secondary technology are automatically generated, i.e., in particular, for automatically implementing the operational requirements in automation software, e.g., algorithms for implementing control processes. A further advantage is that the underlying definition of the operational requirements can be carried out in a technological manner, i.e., the plant planner defines the process-related purpose of a component (e.g., heating, mixing, etc.) without having to be informed about how such a purpose is to be specifically fulfilled in the area of ​​secondary technology.The basis for the possibility of a technological definition of the operational requirements is created by the usability of a set of modes of action and a set of boundary conditions.

[0031] Optionally, the engineering tool (or a development environment encompassing the functionality of the engineering tool) automatically generates the operational requirements based on a user-defined process-engineering purpose that a specific plant component must fulfill. For example, if the user specifies that a particular valve is the minimum flow valve of a pump, the corresponding operational requirements can be automatically derived from this.

[0032] For redundant plant structures, a special embodiment of the approach proposed here requires the user to only define the presence of redundancy and the operational requirements of the first structure. All further definitions, such as determining the redundancy partners of the individual components or the operational requirements of the additional structures, are performed automatically by the engineering tool.

[0033] Based on the approach proposed here, a significant simplification of plant planning is possible, resulting in corresponding time and cost savings. The process is carried out entirely using a single software tool, namely the engineering tool, eliminating the need for data transfer to additional systems. This eliminates potential transmission errors and data inconsistencies. When implemented accordingly, the engineering system can optionally indicate to the user where the definition of operational requirements is not yet complete. This significantly improves the quality of plant planning.

[0034] To avoid unnecessary repetition, the following description will state that features and details described in connection with the aforementioned method for automatically interpreting a piping diagram naturally also apply to a computer program implementing the method, and vice versa. Accordingly, the computer program (the engineering tool) can also be developed by means, in particular program code means, for executing method steps performed within the framework of the method. Likewise, the method can be developed by method steps performed by the computer program. Consequently, features and details of the method always also apply to the corresponding computer program, and vice versa, so that reciprocal reference is or can always be made to the individual aspects of the invention with regard to the disclosure.

[0035] Advantageous embodiments of the invention are the subject matter of the dependent claims. References within the claims indicate the further development of the subject matter of the referenced claim by the features of the respective dependent claim. They are not to be understood as a waiver of independent, objective protection for the features or combinations of features of a dependent claim. Furthermore, with regard to the interpretation of the claims and the description, if a feature in a dependent claim is specified in more detail, it must be assumed that such a limitation does not exist in the respective preceding claims or in a more general embodiment of the subject process. Accordingly, any reference in the description to aspects of dependent claims is to be read expressly as a description of optional features, even without a specific reference.

[0036] In one embodiment of the method, an automation function is generated for an operational requirement and, on the one hand, based on a mode of operation encompassed by the respective operational requirement and, on the other hand, on at least one boundary condition encompassed by the same operational requirement. Combined consideration of a mode of operation and at least one boundary condition enables an even more precise specification of operational requirements, and an evaluation of the mode of operation of an operational requirement together with the or each boundary condition encompassed by the operational requirement ensures that such operational requirements are also implemented into an automation function.

[0037] In a further embodiment of the method, an automation function for an operational requirement is generated based on a database with procedural instructions. The database comprises a plurality of procedural instructions, with exactly one procedural instruction being maintained in the database for each mode of operation or constraint encompassed by an operational requirement (i.e., for each theoretically possible mode of operation or constraint limited by the respective vocabulary) or for each combination of a mode of operation with at least one constraint.Each operational requirement can be uniquely assigned to a specific procedural instruction based on its respective mode of operation and the associated boundary condition(s). Conversely, each procedural instruction from the database of procedural instructions can be assigned to an operational requirement and its mode of operation, as well as to the associated boundary condition(s). During the automatic interpretation of the piping diagram and the generation of an automation function for an operational requirement, the procedural instruction that matches the operational requirement is selected from the database for each operational requirement, i.e., the one that matches the operational requirement, i.e., the mode of operation of the operational requirement, or the mode of operation of the operational requirement and the associated boundary condition(s).Each procedural instruction comprises at least one work step, and each work step comprises an automatically evaluable definition for implementing a mode of operation and the associated boundary condition(s) into executable computer program instructions in the form of an automatically evaluable definition for using at least one automation technology module and for implementing the respective module(s) and its use in executable computer program instructions. By selecting exactly one procedural instruction for an operational requirement, a work step or a sequence of work steps is automatically selected. When executed by the engineering tool, this step or steps automatically implement the mode of operation and, if applicable, the associated boundary condition to be implemented based on the underlying operational requirement into an automation function.A generated automation function forms or supplements a computer program, which is referred to as an automation computer program for differentiation. The automation computer program is the automation software or a part of the automation software for the respective system. The automation computer program, and thus the automation software, comprises an implementation of the respective operational requirement, carried out at least through a work step selected from the database, in the form of computer program instructions executable by an automation system.

[0038] An exemplary embodiment of the invention is explained in more detail below with reference to the drawing. Corresponding objects or elements are provided with the same reference numerals in all figures.

[0039] It shows FIG 1 shows a piping diagram with objects, connections between objects and operational requirements, FIG 2 shows a section of a piping diagram with an operational requirement linked to two objects, FIG 3 and FIG 4 show schematically simplified representations of a data set resulting from an operational requirement and encoding the operational requirement, and FIG 5 shows a database with procedural instructions for the automatic implementation of operational requirements, FIG 6 shows an automation function resulting from an operational requirement and connecting the objects linked by means of the operational requirement, which functions as a technological implementation of the underlying operational requirement,and FIG 7 a schematically simplified representation of a sequence of the method proposed here with intermediate results of the method and a resultant of the method and a plurality of automation functions according to , FIG 5 comprehensive automation computer program.

[0040] The representation in FIG 1 shows an example of a section of a piping diagram 10. This comprises, in a manner known per se, objects 12 (only individual ones are designated) and connections 14 representing pipelines or general fluidic connections (also only individual ones are designated) between the objects 12.

[0041] Each object 12, in particular each object 12 and each connection 14 (connection 14 as a special form of an object 12), is based on an object type 16. For instantiating objects 12 based on a respective object type 16 and for using instantiated objects 12 in a piping diagram 10, the usable object types 16 are stored in an object type database 18.

[0042] The object type database 18 functions as a construction kit from which an object 12 can be extracted for use in a piping diagram 10. Extraction from the construction kit (from the object type database 18) occurs by selecting an object type 16, instantiating an object 12 based on the selected object type 16, and placing the instantiated object 12 in the piping diagram 10. In principle, any number of objects 12 can be instantiated based on one and the same object type 16 (the "construction kit" is not exhaustive).

[0043] Each object 12 used in a piping diagram 10 functions as a representative of a physical unit of the respective system. The objects 12, 20, 22, 24 of the FIG 1 The piping diagrams 10 shown function, for example, as representatives of valves, pumps, and sensors, namely as representatives of such units in a real technical system, for example, an existing system or a system yet to be constructed based on the piping diagram 10. In the interest of better readability of the further description, an object 12 acting as a representative of a valve is itself referred to as a valve 20, and the object 12, 20 is designated by a corresponding reference numeral. This also applies accordingly to an object 12 acting as a representative of a pump 22 and to an object 12 acting as a representative of a sensor 24.

[0044] The representation in FIG 2 shows a section of a piping diagram 10 as in FIG 1 The shown part of the piping diagram 10 comprises (as object 12 of the piping diagram 10) a valve 20, namely a control valve, and as a sensor (as well as object 12 of the piping diagram 10) a flow sensor, hereinafter referred to as sensor 24. The valve 20 and the sensor 24 are connected by means of an operational requirement 30, represented in the form of an arrow. Operational requirements 30 are already in FIG 1 shown (only individual ones are indicated).

[0045] The arrow representing an operational requirement 30 originates from an object 12 and points to another object 12. When represented in FIG 2 The arrow representing operational requirement 30 originates from sensor 24 and points toward valve 20. This direction is part of the definition of operational requirement 30 and means (the direction encodes) that data originating from sensor 24 should influence valve 20 (here: its state / position). In general, the direction of an operational requirement 30 (the direction of an arrow representing operational requirement 30) means that data from an object 12 from which operational requirement 30 originates should directly or indirectly influence a state of an object 12 at which operational requirement 30 ends.

[0046] In a further form of an operational requirement 30, the operational requirement establishes a non-directional connection between objects 12 and is therefore represented in a connection without an arrow. A non-directional operational requirement 31 is FIG 1 already shown. In this case, operational requirement 31 means that the states of objects 12 connected via operational requirement 31 should influence each other (for example, two pumps 22 should be operated at the same power).

[0047] An operational requirement 30, 31 is associated with at least two objects 12, in particular with exactly two objects 12. The fact that an operational requirement 30, 31 is associated with two objects 12 does not prevent one and the same object 12 from being the starting point or destination point for multiple operational requirements 30, 31. For example, the data originating from one and the same sensor 24 can influence the state of different objects 12. Likewise, the state of one and the same object 12 can be influenced by data originating from different other objects 12.

[0048] To connect an operational requirement 30, 31 with two objects 12, for example, it is used that each object 12 is assigned a unique designation 40. In the FIG 2 In the situation shown, the designation 40 of the valve (control valve) 20 is, for example, "Control Valve 1," and the designation 40 of the sensor (flow sensor) 24 is, for example, "Flow Sensor 1." A designation 40 used in a piping diagram 10 can only be used once to ensure the uniqueness of the designations 40.

[0049] An operational requirement 30, 31 specifies a possible type of influence on an object 12 based on data from the respective other object 12. When specifying an operational requirement 30, 31, exactly one type of influence is selected as a mode of action 42 from a predefined set 44 of possible influences. The set 44 is available in the form of a database. For better clarity for the user, operational requirements 30, 31 that specify different modes of action are represented differently in the piping diagram 10, for example, by using different line types. Operational requirements 30, 31 with different modes of action 42 and therefore different graphical representations are already included in FIG 1 shown.

[0050] One or more boundary conditions 46 from a predefined set 48 of possible boundary conditions 46 are assigned to the operational requirement 30, 31 or at least to an object 12, 20, 24 linked via the operational requirement 30, 31. This set 48 is also available in the form of a database. The boundary condition 46 can be specified as part of the definition of the operational requirement 30, 31. Each mode of action 42 is assigned a specific number of possible boundary conditions. For example, a possible boundary condition 46 for the mode of action 42 is "is regulated by" (cf. FIG 2 , in which the operational requirement 30 expresses that the flow 24 is controlled by means of the control valve 20) a predetermined or predeterminable setpoint for the controlled variable. The "redundancy" mode of operation (cf. operational requirement 31 in FIG 1 , which expresses that the two pumps 22 are to be operated in a redundant mode) includes as a possible boundary condition 46 a specification of those signals (for example the power consumption of the pumps 22) via which a synchronization of the affected objects 12, 22 is to take place.

[0051] At the FIG 2 In the situation shown, the operational requirement 30 is linked to the valve 20 (object 12) and to the sensor 24 (object 12). The linking is made, for example, by means of the designations 40 of the objects 12, 20, 24. A data set 50 encoding the operational requirement 30 then includes these designations 40 as reference 52 for referencing these objects 12, 20, 24, as schematically simplified in FIG 3 is shown. Additionally or alternatively, the linking of the operational requirement 30 can also take place in the form of a direct referencing of the objects 12, 20, 24 linked by means of the operational requirement 30. Then, a data set 50 encoding the operational requirement 30 includes as a reference 52, for example, the addresses (memory addresses) 54 of the linked objects 12, 20, 24, as schematically simplified in FIG 4 is shown.

[0052] In general, a data set 50 encoding an operational requirement 30, 31 comprises references 52 of the objects 12, 20, 24 linked by means of the operational requirement 30, 31, in particular exactly one first reference 52 for referencing a first object 12, 24 and exactly one second reference 52 for referencing a second object 12, 20.

[0053] When evaluating an operational requirement 30, 31 (an automatic evaluation of the data set 50 encoding the operational requirement 30, 31), it is automatically recognizable from the references 52 which objects 12, 20, 24 are linked to one another by means of the operational requirement 30, 31. In particular, it is automatically recognizable which type of objects 12, 20, 24 are linked to one another. This can be recognized, for example, from the types (object types 16) of the respective objects 12, 20, 24, because a representation of a valve 20 in a piping diagram 10 requires an instantiation of an object 12, 20 based on a corresponding object type 16, and the underlying object type 16 differs from an object type 16 such as is used, for example, for a representation of a pump 22.Additionally or alternatively, the type of the respective object 12, 20, 24 is automatically recognizable on the basis of a date encoding the object type 16 and directly encompassed by the respective object 12, 20, 24.

[0054] Through the type of influence specified by the operational requirement 30, 31, it is automatically possible to determine, on the one hand, from which object 12, 24 the data originates that is essential for influencing the other object 12, 20, and, on the other hand, it is automatically possible to determine which object 12, 20 is influenced according to the data. By means of the mode of action 42 encompassed by the operational requirement 30, 31, it is automatically possible to determine how the influence is specifically to take place. It is therefore automatically possible to determine which object 12, 24 functions as a data source in an operational requirement 30 and which object 12, 20 functions as a data sink in an operational requirement 30. This also applies to a non-directed operational requirement 31, for example, the operational requirement 31 in FIG 1 , where each object 12, 20, 24 is both a data source and a data sink.

[0055] In the example shown ( FIG 2 ) it is automatically recognizable in the manner outlined above that relevant data within the scope of operational requirement 30 originates from a flow sensor (sensor 24) and is intended to influence a control valve (valve 20). The mode of action 42 encompassed by operational requirement 30 (the data set 50 encoding operational requirement 30) determines how the data originating from sensor 24 should influence valve 20. A mode of action 42 selected based on quantity 44, such as "is controlled by," means that the measured value obtained from sensor 24 should be controlled by changing the position of valve 20. A sign of the control loop, for example, is specified as a boundary condition 46 of the operational requirement.For example, a positive sign means that whenever the measured value (actual value) from sensor 24 falls below the setpoint specified as a further boundary condition 46, the valve 20 should be opened further, and whenever the measured value exceeds the setpoint, the valve 20 should be closed further.

[0056] In the interest of better readability of the following description, reference to a data set 50 encoding operational requirements 30, 31 is omitted below, and data set 50 itself is referred to as operational requirements 30, 31. This allows for shorter formulations and is also objectively justified by the fact that each data set 50 results from a respective operational requirement 30, 31.

[0057] From the operational requirement 30, as described above, the type of linking of the objects 12, 20, 24 linked by means of the operational requirement 30 results, based on the mode of operation 42 encompassed by it.

[0058] Based on the mode of action 42 (a date encoding the mode of action 42 and included in the data set 50) or the boundary condition 46 (a date encoding the boundary condition 46 and included in the data set 50), access is made to a database 64 ( FIG 5 ) with procedural instructions 66 ( FIG 5 ) for the automatic creation of a software (automation computer program 110; FIG 7 ) which can be executed by a computer system, in particular an automation system, for example a programmable logic controller or the like.

[0059] For each mode of action 42 permitted as an element of the set 44 of possible influences, each boundary condition 46 permitted as an element of the set 48 of boundary conditions, and for each permitted combination of a mode of action 42 and a boundary condition 46, there exists in the database 64 at least one procedural instruction 66.

[0060] The representation in FIG 5 shows a simplified schematic representation of an operational requirement 30 in the form of the data set 50 encoding the operational requirement 30. The database 64 with the procedural instructions 66 stored therein is shown only in a simplified schematic representation, as are the procedural instructions 66. For an individual procedural instruction 66, it is shown in a simplified schematic representation that it comprises data sets, referred to below as work steps 70-77 (each data set encodes a work step), which define the implementation of an operational requirement 30, 31 into executable computer program instructions.

[0061] Each procedural instruction 66 comprises or defines a sequence of work steps 70-81 (at least one work step) for the step-by-step, automatic construction of a software (automation computer program 110) which is suitable for realizing the required mode of operation 42 or the corresponding boundary condition 46.

[0062] The representation in FIG 5 also shows a set 84 with work steps 70-81. This set 84 results from the automatic successive evaluation of the operational requirements 30, 31 included in the piping diagram 10 during the automatic interpretation of the piping diagram 10. Based on an operational requirement 30, 31 (of the respective data set 50) as well as the included mode of operation 42 or the included mode of operation 42 and the or each included boundary condition 46, a suitable process instruction 66 is selected in the database 64. The work steps 70-81 included in the selected process instruction 66 are included in the set 84. The evaluation of the data sets 50 and the formation of this set 84 is carried out automatically and by means of an engineering tool 120 ( FIG 7 ). The formation of this set 84 can be carried out by means of an intermediate step in which a set 86 is first formed with the process instructions 66 selected in the database 64 or references to the selected process instructions 66 and the set 84 with the work steps 70-81 is then formed in a subsequent step on the basis of the set 86 with the selected process instructions 66.

[0063] Each step 70-81 defines the use of exactly one module 88 ( FIG 6 ) or at least one automation technology block 88. Automation technology blocks 88 are known per se. Examples of automation technology blocks 88 are controllers (P controllers, PI controllers, PID controllers, etc.), summation points (addition, subtraction), multiplication points (multiplication, division), delays (PT1 element, PT2 element, etc.), assignments, and so on. The definition of the use of the at least one block 88 determines at least one link between the block 88 and at least one other block 88 or with another data source or sink, for example, an object 12.

[0064] Each work step 70-81 includes a definition of how the respective block 88 or the respective blocks 88 are to be implemented in an automation computer program 110, for example, by the work step 70-81 including corresponding program code instructions, for example, program code instructions for a PI control algorithm, or by referring to such program code instructions. Furthermore, each work step 70-81 includes a definition of how the defined use can be implemented in executable computer program instructions, for example, by the work step 70-81 including a definition of how output variables of a block (e.g., the calculation result of a subtraction point) are to be used as input variables of other blocks (e.g., the control difference of a control algorithm).

[0065] The procedural instructions 66 and the described work steps 70-81 ultimately contain the knowledge of an automation expert for implementing operational requirements 30, 31 into corresponding automation algorithms.

[0066] Each procedural instruction 66 comprises automatically executable work steps 70-81 (each procedural instruction 66 at least one automatically executable work step 70-81) and when the work steps 70-81 are executed, the automation software (automation computer program 110) is created, which comprises an implementation of the originally underlying operational requirements 30, 31 in the form of computer program instructions executable by means of a respective automation system.

[0067] The representation in FIG 6 shows a simplified schematic representation of the implementation of the work steps 70-81, namely the work steps 70-81 selected on the basis of the underlying operational requirements 30, 31, ie an implementation of the underlying operational requirements 30, 31 into an automation function 90. The implementation takes place automatically and by means of an engineering tool 120 ( FIG 7 ) by the engineering tool 120 executing the individual work steps 70-81.

[0068] The procedural instruction 66 for implementing the mode of operation 42 "is controlled by" comprises, for example, a sequence of work steps 70-81 as follows: Implement a subtraction 70, Implement a controller 71 (for example, a P controller, i.e. proportional controller, or a PI controller, i.e. proportional / integral controller, etc.), Implement a multiplication 72, Use 73 the result of the subtraction as the multiplier of the multiplication 72, Use 74 the value "100 / ( MBE - MBA )" as the multiplicand of the multiplication 72, where "MBA" is the measuring range start and "MBE" is the measuring range end of the sensor 24 from which the operational requirement 30 originates (start of the arrow connection), Use 75 the product of the multiplication 72 as the control difference for the controller 71, Send 76 the Controller output signal as control signal to object 20, at which the operational requirement 30 ends (end of the arrow connection).The work steps 70-81, or at least individual work steps 70-81, therefore also define a connection with and a use of at least one object 12, 20, 24 linked by means of the operational requirement 30.

[0069] The work steps 70, 71, 72 mentioned first in the previous paragraph (implement a subtraction; implement a controller; implement a multiplication) each mean and result in the creation of an automation technology module 88 specified in the work step 70, 71, 72 and, through this creation, becoming part of the automatically generated automation software (automation computer program 110), namely a module 88 that implements a subtraction, a module 88 that implements a controller, and a module 88 that implements a multiplication. The further work steps 73, 74, 75 each mean and result in the "wiring" of the modules 88 specified in the work step.The expression "to be connected" means a use of data originating from a module 88 (by means of an output of the module 88 connected according to the work step) or a supply of a module 88 with data (by means of an input of the module 88 connected according to the work step).

[0070] In the presentation in FIG 6 The function resulting from the implementation of the procedural instruction 66 (automation function 90) is illustrated. Here, too, the database 64 serves as a non-exhaustive "kit" from which a procedural instruction 66 is selected based on the respective mode of operation 42, the respective boundary condition 46, or a combination of a mode of operation 42 and at least one boundary condition 46, and the or each work step 70-81 comprised thereby forms the basis of the resulting automation function 90. The representation of the resulting automation function 90 in FIG 6 The form of a functional diagram with function blocks serves to provide a better understanding and is intended as an example. The work steps 70-81 covered by the underlying procedural instructions 66 can be implemented by generating such function blocks and wiring them, or alternatively, by directly generating software code, e.g., for an automation system.

[0071] Procedural instructions 66 are optionally assigned not only to the modes of action 42 of an operational requirement 30, 31, but also to its boundary conditions 46. For example, the boundary condition 46 "opening actuator increases the controlled variable" (positive sign of the control loop) includes a procedural instruction 66, which comprises a sequence of work steps 70-81 as follows: Use 77 the measurement signal of the sensor 24, from which the operational requirement 30 originates, as the subtrahend of the subtraction 70 and the setpoint as the minuend of the subtraction 70. The boundary condition 46 "opening actuator decreases the controlled variable" (negative sign of the control loop), on the other hand, includes a procedural instruction 66, which comprises a sequence of work steps 70-81 as follows: Use 77 the measurement signal of the sensor 24, from which the operational requirement 30 originates, as the minuend of the subtraction 70 and the setpoint as the subtrahend of the subtraction 70.As procedural instruction 66 for the boundary condition "the setpoint is a function of pressure 1" ("Pressure 1" is the measuring signal of a pressure sensor which is shown in the example piping diagram. FIG 2 not shown), a sequence of work steps 70-81 functions as follows: Implement a general function 78, Use 79 the measurement signal of pressure sensor 1 as the argument of function 78, Use 80 the function value as the minuend or subtrahend of the subtraction 70. Whether the function value is to be used as the minuend or subtrahend is determined, as described above, from the process instruction 66 regarding the sign of the control loop. As process instruction 66 for the boundary condition "setpoint change delayed", a sequence of work steps 70-81 functions as follows: Implement a delay function 81 (e.g., first-order delay element PT1) between the setpoint and the subtraction 70. The result of the implementation of the process instructions from the boundary conditions 46 is shown in the illustration in FIG 5 already shown.

[0072] By evaluating a respective operational requirement 30, 31, the respective associated mode of operation 42 and the or each associated boundary condition 46, as well as by implementing the procedural instructions 66 associated with the mode of operation 42 and boundary condition(s) 46, an automation function 90 is automatically generated. It should be noted that there may be further operational requirements 30 as well as associated modes of operation 42 and boundary conditions 46 that influence the same automation function 90. For example, an operational requirement 30 could be "Pressure 2 limits flow 1," which means that control valve 1 should regulate flow 1, but only as long as a certain value (e.g., maximum value) for pressure 2 is not exceeded.The implementation of this operational requirement 30 by implementing the corresponding procedural instructions 66 modifies and extends the automation function 90, which originally arose from the operational requirement 30 "is regulated by".

[0073] Because at least individual work steps 70-81 create a link with the objects 12, 20, 24 linked by means of the underlying operational requirement 30, the automation function 90 generated by the work steps 70-81 is itself connected with the objects 12, 20, 24 linked by means of the underlying operational requirement 30.

[0074] The link between automation function 90 and an object 12 exists, for example, in that a module 88 defined in a work step 70-81 at least receives, or receives and processes, data originating from an object 12 acting as a data source. Receiving the data or precisely one datum is implemented, for example, in the form of access to a data area of ​​the respective object 12. Likewise, the link between automation function 90 and an object 12 exists, for example, in that a module 88 defined in a work step 70-81 transmits data to an object 12 acting as a data source. The transmission of the data or precisely one datum is also implemented, for example, in the form of access to a data area of ​​the respective object 12.

[0075] In the case of FIG 2 In the example explained, the automation function 90 is connected to the sensor 24 and the valve 20. By accessing the data area of ​​the sensor 24, a measured value recorded by the sensor 24 is available for processing in the area of ​​the automation function 90, and to influence the position of the valve 20, a controller output signal generated by the automation function 90 is output as a control signal to the valve 20, for example, by writing the control signal into a data area there.

[0076] As already becomes clear from the example, the procedural instructions 66 influence each other and are not independent of each other. In particular, an automation function 90 that was created by implementing a procedural instruction 66 can be modified again by implementing another procedural instruction 66. This can include, for example, installing new subfunctions, using existing data connections (in FIG 5 shown as arrows in the functional diagram) are broken up again, new data connections are installed, existing subfunctions are replaced by others, etc.

[0077] For a system (engineering system) that implements a list of procedural instructions 66 selected from the database 64 according to one or more operational requirements 30, 31 and their associated modes of action 42 and boundary conditions 46, it is preferably provided that a priority order is defined in the database 64 for the work steps 70-81 encompassed by the procedural instructions 66 therein. The priority can refer to a procedural instruction 66 and thus to the work steps 70-81 encompassed thereby as a whole and / or to each individual work step 70-81.When specifying a priority for a procedural instruction 66, a relative change in the specified priority or an absolute, unchangeable priority can be provided for each work step 70-81 included therein, so that here too at least individual work steps 70-81 attributable to one and the same procedural instruction 66 can be given different priorities.

[0078] The priority sequence results in a work step 70-81 with a higher priority being executed before another work step 70-81 with a lower priority. When implementing the operational requirements 30, 31, the associated procedural instructions 66 are first determined and compiled. The determined procedural instructions 66 and the work steps 70-81 they comprise are each assigned a priority. Thus, based on the determined procedural instructions 66, a set of work steps 70-81 results, and within this set, the work steps 70-81 are ordered according to their respective priority. The work steps 70-81 are finally executed according to the priority sequence.

[0079] For example, for steps 70-81, which are used to generate the FIG 6 For the automation function 90 shown, it is already specified in the database 64 that all work steps 70-81 of the procedural instruction 66 for mode of operation 42 "is controlled by" are to be executed with the highest priority, whereby the priority order of all work steps 70-81 within this procedural instruction is arbitrary. The work step "Use 77 the measurement signal of sensor 24, from which the operational requirement 30 originates, as the subtrahend of the subtraction 70," which belongs to the procedural instruction 66 for the boundary condition 46 "opening actuator increases the controlled variable," has the next highest priority.The work step "Use 77 the measurement signal of sensor 24, from which the operational requirement 30 originates, as the minuend of the subtraction 70," which belongs to the procedural instruction 66 for the boundary condition 46 "opening actuator decreases the controlled variable," has a similar priority to the previously mentioned work step, whereby it is irrelevant which work step has the slightly higher or lower priority. The next work steps in the priority sequence are then all work steps of the procedural instruction 66 for the boundary condition 46 "the setpoint is a function of pressure 1," whereby the priority sequence of the work steps within this procedural instruction 66 is arbitrary. The work step "Use 77 the setpoint as the minuend of the subtraction 70" from the procedural instruction 66 for the boundary condition 46 "opening actuator increases the controlled variable" has the next highest priority.The work step belonging to process instruction 66 for boundary condition 46 "Setpoint change delayed" has the lowest priority in the example.

[0080] The advantage of the approach proposed here is that the user can define virtually any operational requirements 30, 31 by selecting one or more modes of action 42 from a predefined set 44 of possible influences and selecting one or more boundary conditions 46 from a predefined set 48 of boundary conditions, which are then automatically implemented into corresponding automation functions 90. This also makes it possible to automatically implement automation functions 90 that have never been conceived and defined in their entirety by humans for a specific system, as described in a piping diagram 10.

[0081] The representation in FIG 7 shows the aspects of the innovation proposed here explained so far in the form of a schematically simplified flow chart.

[0082] In a first step 100, an operator defines operational requirements 30, 31 with modes of operation 42 or with modes of operation 42 and boundary conditions 46 in a piping diagram 10.

[0083] In a second, preferably automatically executed step 102, the defined operational requirements 30, 31, each with their modes of action 42 and boundary conditions 46, are compiled for automatic further processing. The result of the compilation is a plurality of data records 50, namely a plurality of data records 50, each encoding an operational requirement 30, 31. To the extent that such data records 50 are linked to the pipe performance diagram 10 (i.e., the data of the pipe performance diagram 10) when defining operational requirements 30, 31, this compilation of data records 50 is created, for example, by the data records 50 being automatically identified in the data of the pipe performance diagram 10 and extracted from the data of the pipe performance diagram 10.Alternatively, this compilation of data records 50 can also be generated directly and independently of the data of the piping diagram 10 when defining operational requirements 30, 31. In any case, a sequence of data records 50 is available for automatic further processing, as schematically simplified in the representation in . FIG 7 together with the second step 102.

[0084] In a third step 104, the sequence of data records 50 is processed automatically. Based on each data record 50, either an automation function 90 is created (based on the data record 50, a process instruction 66 is selected; the process instruction 66 comprises work steps 70-81; execution of the work steps 70-81 generates the automation function 90; cf. FIG 5 and FIG 6 ) or an already generated automation function 90 is modified or expanded, or two or more already generated automation functions 90 are functionally linked. In this case, a sequence of automation functions 90 is automatically created on the basis of the sequence of data records 50, wherein the number of resulting automation functions 90 may be quite different from the number of data records 50 comprised by the sequence of data records 50. The totality of the resulting automation functions 90 represents an automatically generated automation computer program 110. Upon execution of such an automation computer program 110, the automation functions 90 comprised therein are executed.

[0085] The automation computer program 110 is the software already mentioned above, which is suitable for implementing the operational requirements 30, 31 and their modes of operation 42 and boundary conditions 46. The automation computer program 110 is completely generated when all data records 50 comprised in the sequence of data records 50 have been processed. The processing of all data records 50 is carried out by means of an engineering tool 120 implemented in the form of a computer program, which at least FIG 6 shown third step 104, optionally the second and third steps 102, 104, automatically. In this respect, the engineering tool 120 is shown in the form of a frame enclosing at least the third step 104.

[0086] The engineering tool 120 is designed in a manner known per se for the automatic execution of the method proposed here by means of a computer acting as an engineering system and is loaded into a memory of the computer for this purpose.

[0087] Individual, prominent aspects of the description submitted here can be briefly summarized as follows: The approach proposed here enables automatic interpretation of a piping diagram 10, namely a piping diagram 10 comprising objects 12, 20, 22, 24. At least two objects 12, 20-24 are linked to operational requirements 30, 31, wherein an operational requirement 30, 31 is defined on the basis of a predetermined set 44 of modes of action 42 and on the basis of a predetermined set 48 of boundary conditions 46. During the automatic interpretation of the piping diagram 10, the operational requirements 30, 31 comprised by the piping diagram 10 are successively evaluated.In this case, an automation function 90 is generated for an operational requirement 30, 31 and at least on the basis of an operating mode 42 included as a purpose by the respective operational requirement 30, 31, which is connected to the objects 12, 20, 24 linked by means of the underlying operational requirement 30.

Claims

1. Method for generating automation functions (90) by automatically interpreting a piping diagram (10), wherein the piping diagram (10) comprises objects (12, 20, 22, 24) and connections (14) between objects (12, 20-24), wherein objects (12, 20-24) and / or connections (14) are linked with operational requirements (30, 31), characterised in that in a first step (100) operational requirements (30, 31) are defined on the basis of a predefined set (44) of operating principles (42) and on the basis of a predefined set (48) of boundary conditions (46) by means of an operator in the piping diagram (10), wherein in a second step (102) the operational requirements (30, 31) included in the piping diagram (10) are successively evaluated by an automatic interpretation of the piping diagram (10) and a plurality of data records (50) is generated which encode an operational requirement (30, 31) in each case, wherein in a third step (104) an automation function (90) is generated, modified or extended on the basis of the data records (50) for an operational requirement (30, 31) and at least on the basis of an operating principle (42) included as an intended purpose in the respective operational requirement (30, 31), or two or more already generated automation functions (90) are functionally connected to one another and wherein the automation function is connected to the objects (12, 20, 24) linked by means of the underlying operational requirement (30).

2. Method according to claim 1, wherein an automation function (90) is generated for an operational requirement (30, 31) and on the basis of an operating principle (42) included in the respective operational requirement (30, 31) as well as of a boundary condition (46) included in the respective operational requirement (30, 31).

3. Method according to claim 1 or 2, wherein an automation function (90) is generated for an operational requirement (30, 31) on the basis of a database (64) containing process instructions (66), wherein a process instruction (66) is held available in the database (64) for each operating principle (42) or boundary condition (46) included in an operational requirement (30, 31) or each combination of an operating principle (42) with at least one boundary condition (46), wherein an associated process instruction (66) is selected from the database (64) for each operational requirement (30, 31) on the basis of the operating principle (42) and / or boundary condition (46) included therein, wherein each process instruction (66) comprises at least one process step (70-81), and wherein each process step (70-81) comprises an automatically evaluable definition for the use of at least one building block (88) of the automation technology and for transforming the or each respective building block (88) and its or their use into executable computer program instructions.

4. Computer program (120) for generating automation functions (90) by automatically interpreting a piping diagram (10), comprising an implementation of the method according to one of claims 1 to 3.

5. Engineering tool (120) for automatically executing the method in accordance with one of the method steps according to one of claims 1 to 3 having functions for creating and processing a piping diagram.

6. Digital storage medium having electronically readable control signals that can interact with a computer in such a way that a method according to one of claims 1 to 3 is performed.