Method and system for generating control logic for executing an industrial process

By using regular expressions and named entity recognition models, domain dictionaries and intent classifiers, control logic is automatically extracted from control narratives, solving the problem of time-consuming and error-prone manual interpretation and conversion in the existing technology, and achieving efficient and reliable Control logic generation and execution.

CN113260930BActive Publication Date: 2024-10-11ABB (SCHWEIZ) AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980087265.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-12-31
Filing Date
2019-12-20
Publication Date
2024-10-11
Estimated Expiration
2039-12-20

AI Technical Summary

Technical Problem

Existing technology makes it difficult to automatically extract control logic from control narratives, causing engineers to manually interpret and convert, which is time-consuming and error-prone.

Method used

Predetermined regular expressions and named entity recognition models are used to extract control entities and set points from the control narrative, combined with domain dictionaries and intent classifiers to identify inputs, outputs and actions, and generate control logic.

Benefits of technology

The method of automatically extracting control logic from control narratives is implemented, which improves efficiency, reduces misunderstandings and errors, and the generated control logic is reliable and suitable for the execution of industrial processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113260930B_ABST
    Figure CN113260930B_ABST
Patent Text Reader

Abstract

The present invention relates to a method and system for generating control logic for executing an industrial process using a controller in a process plant. The method includes receiving a control statement including one or more control requirements of the industrial process, and extracting a plurality of control entities and a plurality of set points from the control statement using one or more sets of predetermined regular expressions and one or more models. The method further includes identifying a set of inputs, outputs, and control elements from the plurality of control entities using a domain dictionary, detecting a plurality of actions from the control statement using an intent classifier, identifying relationships between the set of inputs, outputs, and control elements, a plurality of set points, and a plurality of actions, and generating control logic for the controller to execute the process based on the identified relationships.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to control systems in industrial process plants. More particularly, the present invention relates to methods and systems for generating control logic for a control system to perform an industrial process. Background Art

[0002] The monitoring and control of various industrial processes in a process plant are automated through the use of control systems. In order to automate an industrial process, a control system associated with the industrial process (e.g., a programmable logic controller, a PID controller, or a distributed control system) needs to be programmed based on the requirements of the industrial process. Typically, the control system is programmed using control logic to control and monitor the industrial process. Typically, the requirements are synthesized by the customer or engineering, procurement, and construction contractors and provided through some formal or semi-formal representation including, for example, a list of input / output tags, a piping and instrumentation diagram (P&ID), and a control narrative.

[0003] The input / output tag list defines the topology of the control system, the P&ID gives the graphical specification of the piping, passive process devices, and control related active process devices, and the control narrative gives the textual description of the requirements of the industrial process. While the input / output tag list and P&ID are in structural notation and can be easily understood by the control system, the control narrative needs to be interpreted and converted into a control logic diagram that can be provided as input to the control system.

[0004] A control narrative usually consists of a textual description of the control logic philosophy and may contain tables, images or a combination thereof. Currently, automation engineers are required to understand, interpret and convert the requirements of an industrial process provided within a control narrative into a domain specific language / control diagram (e.g., IEC-61131-3 or IEC 61499 notation).

[0005] Engineers are assumed to have the ability to define control logic in a domain specific language. However, interpreting the requirements in control statements is subjective, for example due to differences in the way control statements can be written (e.g. different expressions (through words / images) of the same statement by different people). Furthermore, converting them into control logic is time consuming and prone to errors due to misunderstanding of the requirements.

[0006] In view of the above, there exists a need for methods and systems that can automatically extract control logic from a control statement and provide the control logic / control program to a control system for executing an industrial process. Summary of the invention

[0007] Aspects of the present invention provide a method for executing an industrial process using a controller in a process plant. The method includes receiving a control statement associated with the process, wherein the control statement includes one or more control requirements of the industrial process.

[0008] The method further includes extracting a plurality of control entities and a plurality of setting points from the control statement using one or more sets of predetermined regular expressions and one or more models for identifying named entities in the control statement. In an embodiment, each setting point in the plurality of setting points is associated with a control entity in the plurality of control entities.

[0009] The method further includes identifying a set of inputs, outputs, and control elements from the plurality of control entities using a domain dictionary. The domain dictionary identifies the inputs, outputs, and control elements for a predetermined industry. The method further includes detecting a plurality of actions from the control statement using an intent classifier. The intent classifier identifies the actions using keywords associated with the plurality of actions and a lexicon of the keywords.

[0010] The method further includes identifying relationships among a set of inputs, outputs and control elements, a plurality of set points and a plurality of actions. The method further includes generating control logic for a controller to execute a process based on the identified relationships.

[0011] In an embodiment, a set of inputs, outputs and control elements, a plurality of set points and a plurality of actions are mapped to a plurality of control entities. Furthermore, relationships between the plurality of control entities are identified based on the resulting mappings between the set of inputs and outputs, the plurality of set points and the plurality of actions for each control entity. Furthermore, one or more control logic blocks are generated based on the identified relationships between the plurality of set points and the plurality of actions, the plurality of control entities.

[0012] Aspects of the present invention provide a system for generating control logic for executing a process using a controller of a process plant. In an embodiment, the system is a server that is communicatively coupled to the controller via a communication network. The system includes an input interface, a processor, and an output interface.

[0013] The input interface receives a control statement associated with the industrial process, wherein the control statement includes one or more control requirements of the industrial process. In an embodiment, the input interface is a human-machine interface via which a user inputs a document containing the control statement in a human-readable format.

[0014] The processor extracts a plurality of control entities and a plurality of set points from the control narrative using one or more sets of customer-specific or domain-specific predetermined regular expressions and one or more models for identifying named entities in the control narrative. In an embodiment, each of the plurality of set points is associated with a control entity of the plurality of control entities. In an embodiment, the one or more sets of predetermined regular expressions and the one or more models are retrieved by the input unit from a data storage device. In an embodiment, the data storage device is a database that is internally coupled to the system. In another embodiment, the data storage device is a database server that exists via a cloud network and is externally accessed by the input unit.

[0015] In an embodiment, a processor builds a first model from a document set including a set of annotations associated with a set of control entities. The first model includes a mapping between the set of annotations and a set of regular expressions (a first set), wherein the annotations of the control entities are based on the domain of industrial processes. In addition, the processor builds a second model associated with a set of set points, wherein the second model includes a mapping between the set of annotations associated with the set of set points and another set of regular expressions (a second set), wherein the annotations of the set points are based on the domain of industrial processes. It is also possible to have a unified model that has the ability to identify both control entities and set points. Therefore, pre-identified regular expressions (e.g., provided by an expert, extracted from a database) are used together with a specific model (e.g., machine learning or NLP) for identifying control entities and set points.

[0016] In addition, a plurality of actions are detected from the control statement using an intent classifier, wherein the intent classifier uses keywords and a dictionary of keywords to identify the actions. A set of inputs, outputs, and control elements from a plurality of control entities are identified using a domain dictionary, wherein the domain dictionary identifies the inputs, outputs, and control elements for a predetermined industry. In addition, relationships between the set of inputs, outputs, and control elements, the plurality of set points, and the plurality of actions are identified. In addition, control logic is generated for the controller to perform the process, wherein the control logic is based on the identified relationships between the set of inputs, outputs, and control elements, the one or more set points, and the one or more actions.

[0017] The output interface transmits the generated control logic to the controller via a communication network. In an embodiment, the output interface is a wireless interface capable of transmitting the generated control logic via a communication network. The controller is capable of executing the control logic for executing the process. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a simplified view of an environment in which various embodiments of the invention can be practiced.

[0019] Figure 2A-2B is an example illustration of relationships identified between control entities of an example control narrative according to an embodiment of the present invention.

[0020] Figure 3 is a flow chart of a method for performing an industrial process according to an embodiment of the present invention.

[0021] Figure 4A-4B is a flow chart for converting a control statement into control logic for executing an industrial process using a controller of a process plant according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] The present invention relates to generating the control logic required to execute an industrial process using a controller of a process plant. Figure 1 Various embodiments of the present invention may be practiced in an environment such as environment 100 shown in FIG. Figure 1 The environment 100 shown in FIG. 1 shows a process plant (102) in which a controller (114) is connected to a plurality of entities / process elements (116a-n) for performing an industrial process. For example, in a pulp and paper process plant, a controller (or distributed control system) may control the operation of a plurality of entities (e.g., motors, conveyors, and a plurality of control valves) that facilitate movement of pulp along a conduit during the process of making paper.

[0023] The controller also communicates with the system (110) via a communication network (112). In an embodiment, the system generates control logic for the controller for executing the industrial process. The control logic is delivered to the controller via the communication network in a machine-readable form (e.g., XML format). Although the environment shows a single controller receiving control logic for a particular industrial process from the system, it is understood that multiple controllers operating within a single process plant can receive control logic associated with multiple industrial processes from a single system or multiple systems. Multiple systems can communicate via a single or multiple communication networks (e.g., a control network, a plant network, the Internet, etc.).

[0024] In an embodiment, the system includes a computing device (e.g., a server) that is capable of communicating via a cloud network. As shown, the system includes multiple modules, such as an input unit (102), a processor (108), a communication unit (106), and a data storage device (104). The multiple modules can communicate with each other via a communication bus 108. The communication bus can be a dedicated interface (e.g., a wired line or appropriate I / O) that connects the multiple modules.

[0025] The input unit can be a human-machine interface that receives a control statement associated with an industrial process from a user. The control statement can include one or more control requirements of the industrial process in a human-readable format. The control statement provides a textual description of the logic required to control and monitor the operation of the process plant. In an example, where the process plant is a pulp and paper process plant that manufactures paper, the control statement can be provided to a controller that performs a plurality of actions as part of the process of manufacturing paper.

[0026] The processor can include a single processor or multiple processors operating in parallel. In an embodiment, the processor can parse the control statement to obtain a plurality of expressions. The processor can extract a plurality of control entities and a plurality of set points from the plurality of expressions using one or more sets of predetermined regular expressions and one or more models (e.g., custom entity recognition models) for identifying named entities in the control statement.

[0027] Regular expressions have been identified, e.g. provided by an expert or read from a domain specific database, etc. Custom entities are defined by the operator using the system to represent / annotate other objects (e.g. control entities). Thus, the custom entities provided as input help train a model (e.g. based on NLP or machine learning) to identify objects (control entities, set points, etc.) in addition to those identified using regular expressions (e.g. defined by an expert). Accordingly, there are two separate channels for identifying objects - one using regular expressions and one using the model. The outputs of both are combined to derive a final set of objects.

[0028] In an embodiment, the processor extracts a plurality of control entities from a plurality of expressions based on a first set of predetermined regular expressions (tag regular expressions created using expert knowledge or a domain database) and a first model. The first set of predetermined regular expressions identifies control entities as defined using known data of the control entities. For example, these can be control entities predefined by an expert, identified from a domain database / rules, etc.

[0029] The first model includes a mapping between a set of annotations associated with a control entity, wherein the annotations of the control entity are based on the domain of the industrial process. Such annotations are created by experts (during the training of the model) to indicate the control entity. The processor can build the first model from a document set (training set) including a set of annotations associated with a set of control entities. The training set is developed by subject matter experts who provide the annotation set based on domain knowledge. Upon receiving the training set, the processor can apply a deep learning technique based on natural language processing (NLP) (such as, but not limited to, a conditional random field or a recurrent neural network) to the training set to train and develop the first model.

[0030] In an embodiment, the processor extracts a plurality of set points from a plurality of expressions based on a second set of predetermined regular expressions (marked regular expressions) and a second model. Each of the plurality of set points is associated with a control entity of a plurality of control entities. The second set of predetermined regular expressions identifies a set point, which is known in advance, such as defined by an expert, from a domain database, etc. The second model includes a mapping between a set of annotations associated with the set of set points, wherein the annotations of the set points are based on the domain of the industrial process. Such annotations can be provided by an expert for training. The processor can build the second model from a document set (training set) including the set of annotations associated with the set of set points. The training set is developed by a subject matter expert who provides the annotation set based on domain knowledge. Upon receiving the training set, the processor can apply a deep learning technique based on natural language processing (NLP) (such as, but not limited to, a conditional random field or a recurrent neural network) to the training set to train and develop the second model.

[0031] It was mentioned above that there are separate models for identifying control entities and set points, where each model is built using regular expressions and machine learning or NLP. However, it should be noted that there can be one unified model that is created to identify both control entities and set points. Thus, a combination of regular expressions and custom entity recognition is used to identify objects such as control entities and set points.

[0032] Continuing with the above description, consider an example where a control statement may contain text such as "Seawater will be filtered and stored in a filter box if the temperature needs to be below 21°C..." In this example, a regular expression for °C (a unit for measuring temperature) is used to identify the set point of 21°C. In addition, a machine learning model is used to identify the set point, which can be trained on multiple training examples containing a temperature entity as a set point.

[0033] In an embodiment, the first model and the second model are custom named entity recognition (CER) algorithms that tag control statements and are used in combination with a first set of predetermined regular expressions and a second set of predetermined expressions (labeled regular expressions) to maximize detection of control entities and set points. The first and second predetermined sets of expressions and the first and second models are retrieved from a data storage device 104 that is communicatively coupled to the system. Extraction of control entities can be described with reference to the control statements shown in FIG1 as follows:

[0034]

[0035] Description 1

[0036] In the control narrative of Description 1 shown above, the plurality of control entities found based on the first set of predetermined expressions and the first model associated with the control entities are PIC-0152, PV-0152, PIC-0146, PV-0146, FIC-0555, FV-0555, PDIC-0555, PY-0555A, PY-0555B, and FY-0555, wherein PIC-0152 and PIC-0146 are annotations for pressure controllers, PV-0152 and PV-0146 are annotations for pressure control valves, FIC-0555 is an annotation for flow control, FV-0555 is an annotation for control valves, FY-0555 is an annotation for low signal selectors, PDIC-0555 is an annotation for pressure differential controllers, and PY-0555A and PY-0555B are annotations for blocks, wherein differences in set points of pressure controllers are calculated. The above annotations can be defined in the first model by subject matter experts.

[0037] In this example, the set point associated with the pressure controlled by the pressure controller PIC-0146 (the control entity in this example) can be 15 Pascals (not shown in the description herein), at which pressure the pressure controller PIC-0146 operates the production header A by operating the pressure control valve PV-0152. The set point associated with the pressure valve can be extracted using a second set of predetermined expressions related to the set points and a second model associated with the set points.

[0038] When extracting multiple control entities present in the control statement, the processor uses a database of control entities to identify a type or category for each control entity. In an embodiment, the database of control entities identifies multiple types of control entities associated with multiple industrial processes. For example, ISA (International Society of Automation) nomenclature can be used to identify the specific type of each control entity. For example, the control entities identified in Description 1 can be classified into different categories or types (e.g., controllers, valves, and other entities) using ISA as shown in Table 1 below.

[0039] Controller valve Other entities PIC-0152 PV-0152 PY-0555A PIC-0146 PV-0146 PY-0555B FIC-0555 FV-0555 FY-0555 PDIC-0555

[0040] Table 1

[0041] In addition, the processor is configured to identify a set of inputs, outputs, and control elements from the plurality of control entities using a domain dictionary, wherein the domain dictionary identifies inputs, outputs, and control elements for a predetermined industry. In an embodiment, a Domain Defined Dictionary (DDD) defines nomenclature for control entities applicable to a particular industry. For example, an excerpt of a sample domain-driven dictionary for an oil and gas project is illustrated in Table 2 below:

[0042] Controlling Entity Type of controlling entity Pressure transmitter enter Liquid level transmitter enter valve Output Pressure Controller Control elements

[0043] Table 2

[0044] Further based on the type of each control entity as identified from the standard nomenclature (e.g., ISA) and the category of each control entity identified from the domain dictionary, multiple control entities can be classified as input, output, or other control entities. An example of the classification of control entities using Tables 1 and 2 is shown in Table 3 below:

[0045] Recognized input Identified output PT-0152 PV-0152 PT-0146 PV-0146 FT-0555 FV-0555

[0046] Table 3

[0047] The processor is configured to detect multiple actions from the control statement using an intent classifier, wherein the intent classifier uses keywords and a dictionary of keywords to identify actions. For example, the intent classifier and a set of synonyms for each keyword can be used to identify multiple actions present in the control statement. For example, in the last paragraph of the description 1 stating "... when the differential pressure decreases, the flow rate is increased, and the low signal selector FY-0555 selects the output signal from the pressure differential controller PDIC-0555 by closing the control valve FV-0555", 'increase flow' is mapped to an action associated with 'reduce pressure and close the control valve'.

[0048] In addition, the processor identifies relationships between sets of inputs, outputs, and control elements, multiple set points, and multiple actions. Identifying relationships can include identifying relationships between various identified objects (control entities) and across different control blocks or elements. In an embodiment, inputs, outputs, set points, and actions are mapped to control entities, and connections between control entities are identified using co-reference resolution or dependency resolution. In Description 1, by applying co-reference resolution to the sentence "When the pressure controller PIC-0152 controls the pressure of the production manifold by operating the pressure control valve PV-0152", as in Figure 2A The relationship between PIC-0152 and PV-0152 is identified as shown in FIG.

[0049] Figure 2A is an example illustration 200A of an identified relationship between a control entity 204 (e.g., PV-0152) and a control entity 202 (e.g., PIC-0152). By applying reference resolution, the control entity 204 is identified as an output to the control entity 202 (e.g., PIC-0152) via a relationship 206. Similarly, Figure 2B Identify relationships between other entities in the control statement of Description 1 as shown in .

[0050] Figure 2B The relationship 400B identified between the control entity 208 (e.g., FIC-0555), the control entity 210 (e.g., FV-0555), and the control entity 212 (PDIC-0555) is shown. The entity 210 (FV-0555) is identified as an output 216 to the entity 208 (FIC-0555), and the entity 212 (PDIC-0555) is identified as an output 214 to the entity 210.

[0051] Upon identifying a relationship between a set of inputs, outputs and control elements, one or more set points and one or more actions, the processor generates control logic for the controller to perform a process. In an embodiment, the processor generates a plurality of control logic blocks based on the identified relationships. In addition, the processor maps each control logic block to a control library module present in a module library based on a semantic similarity score. For example, if a semantic similarity score obtained by comparing the semantics of the control library module and the control logic block is greater than a predefined threshold, the control logic block is mapped to the control library module.

[0052] Accordingly, the processor generates a plurality of control library modules from the plurality of control logic blocks. The processor generates control logic in a machine-readable format, such as an extended markup language (XML format), from the plurality of control library modules. In an example, a control builder tool including a plurality of reusable control libraries is used with the processor to generate control logic for a controller, such as an AC 800M controller.

[0053] In an example, once a control block is mapped to a control library module and a set of input, output, and control elements are connected, an XML file is created to generate the corresponding control logic in platform-neutral tags.

[0054] Description 2 below shows an example XML schema representing the generated control logic.

[0055]

[0056] Note 2

[0057] Additionally, Description 3 shows a generated XML file for the example control statement depicted in Description 1 above.

[0058]

[0059] Note 3

[0060] In addition, the output interface transmits the control logic in a machine-readable format to the controller via the communication network for use in executing the process. The controller executes the control logic to execute the industrial process associated with the control statement received by the system 110. Figure 3 The method of generating control logic is further explained.

[0061] Figure 3 is a flow chart 300 illustrating a method for generating control logic for executing an industrial process with a controller in a process plant according to an embodiment of the present invention.

[0062] At 302, a control statement written in a human-readable format is received by a system communicatively coupled to a controller. The control statement includes one or more control requirements of an industrial process to be executed by the controller.

[0063] At 304, a plurality of control entities and a plurality of setting points are extracted from the control narrative using one or more sets of predetermined regular expressions and one or more models for identifying named entities in the control narrative. Each setting point in the plurality of setting points is associated with a control entity in the plurality of control entities.

[0064] In an embodiment, the control statement is parsed to obtain a plurality of expressions. In addition, control entities are extracted from the plurality of expressions based on a first set of predetermined regular expressions and a first model. The first set of predetermined regular expressions includes a mapping between a set of control entities and a set of regular expressions, and the first model includes a mapping between a set of annotations associated with the set of control entities and the set of regular expressions. The annotations of the control entities are based on a domain of the industrial process.

[0065] Furthermore, in an embodiment, the setpoints are extracted from the plurality of expressions based on a second set of predetermined regular expressions and a second model. The second set of predetermined regular expressions includes a mapping between a set of setpoints and another set of regular expressions, and the second model includes a mapping between a set of annotations associated with the set of setpoints and another set of regular expressions. The annotations of the setpoints are based on a domain of the industrial process.

[0066] In another embodiment, a single model and a combined set of predetermined regular expressions are used to extract a plurality of control entities and a plurality of set points. The combined set of predetermined regular expressions includes a mapping between a set of control entities and a set of set points and a set of regular expressions, wherein the regular expressions associated with the control entities are distinct from the regular expressions associated with the set points. In addition, the combined model includes a mapping between a set of annotations associated with the set of control entities and the set of set points and the set of regular expressions. Accordingly, the annotations for the control entities are distinct from the annotations for the set points.

[0067] Furthermore, for identifying a type of each control entity of the plurality of control entities using the database of control entities.In an embodiment, the database of control entities identifies a plurality of types of control entities associated with a plurality of industrial processes.

[0068] At 306 , a set of inputs, outputs, and control elements are identified from the plurality of control entities using a domain dictionary, wherein the domain dictionary identifies the inputs, outputs, and control elements for a predetermined industry.

[0069] At 308, a plurality of actions are detected from the control narrative using an intent classifier. In an embodiment, anomalies are detected within the plurality of actions based on a set of rules associated with the domain of the industrial process. Examples of abnormal or ambiguous actions include false positives of actions, counter-actions (actions not identified according to control engineering), and the like.

[0070] Examples of rule sets include domain defined rules (DDRs) built using the knowledge of domain experts. For example, a rule may state "a low signal selector has at least two inputs." Thus, if a low signal selector is detected as providing only one input, then based on this rule, an anomaly is detected. Another example of a rule is "all variables use the same number of tags as the number of tags of the controller."

[0071] Furthermore, while labels and relationships are identified from control statements, there is a possibility that some information is missing from the control statements regarding the set of inputs and outputs or the relationships between the identified control statements. Expert input and natural language processing (NLP) based algorithms built on domain knowledge can be used to detect missing information.

[0072] Additionally, the relationship is updated based on one or more of the missing information and the correct information associated with the anomaly.

[0073] At 310, relationships between a set of inputs, outputs, and control elements, a plurality of set points, and a plurality of actions are identified. This step involves mapping the set of inputs, outputs, and control elements, a plurality of set points, and a plurality of actions to control entities and identifying connections between the control entities. In an embodiment, this mapping is determined using coreference resolution / dependency resolution.

[0074] At 312, control logic is generated for the controller to perform the process, wherein the control logic is based on the relationship identified between the set of inputs, outputs and control elements, one or more set points and one or more actions. In an embodiment, the set of inputs, outputs and control elements, the plurality of set points and the plurality of actions are mapped to a plurality of control entities. In addition, the relationship between the plurality of control entities is identified based on the mappings derived between the set of inputs and outputs, the plurality of set points and the plurality of actions for each control entity. In addition, one or more control logic blocks are generated based on the relationship identified between the plurality of set points and the plurality of actions, the plurality of control entities. In addition, each control logic block is mapped to a control library module present in a module library of a control builder tool, and control logic is generated in a machine-readable format from the one or more control library modules, wherein the one or more control library modules are mapped to the one or more control logic blocks.

[0075] Reference Figure 4A-4B Another embodiment of a method for generating control logic from a control statement is described below.

[0076] Figure 4A-4B is a flowchart 400 illustrating generation of control logic from a control statement according to another embodiment of the present invention.

[0077] At 402, a control statement is parsed to obtain a plurality of expressions.

[0078] At 404, control entities are extracted from the plurality of expressions based on a first set of predetermined regular expressions and a first model (e.g., an NLP-based model) for identifying control entities. At 406, a plurality of control entities are identified from the extracted control entities using a predetermined set of rules. For example, rules from a standard (e.g., for industrial automation). At 408, a set of inputs, outputs, and control elements are identified from the plurality of control entities using a domain definition dictionary.

[0079] At 410, a plurality of set points are extracted from the plurality of expressions based on a second set of predetermined regular expressions and a second model for identifying set points.

[0080] At 414 , a plurality of actions are detected from the control statement using a classifier (eg, an intent classifier). Upon detecting the set of inputs, outputs, and control elements, the plurality of set points, and the plurality of actions, the method flows to step 416 .

[0081] At 416, the relationships between the set of inputs, outputs and control elements, the plurality of set points and the plurality of actions are identified. This involves identifying control blocks, and also identifying relationships between the control blocks.

[0082] At 418 , anomalies are detected with respect to the plurality of actions based on a set of rules associated with the domain of the industrial process (domain definition rules).

[0083] At 420 , the relationship is updated with one or more of the missing information and the correct information associated with the anomaly.

[0084] At 422, one or more control logic blocks are generated based on the relationship.

[0085] At 424, each control logic block is mapped to a control library module.

[0086] At 426 , control logic is generated in machine-readable form from the one or more control library modules mapped to the one or more control logic blocks.

[0087] The disclosed method and system provide an efficient means for automatically deriving control logic from a control statement associated with an industrial process. The derived control logic is unambiguous and reliably facilitates execution of the industrial process. The further disclosed method is fast and saves time in execution of the industrial process. Moreover, the generated control logic is in a platform-neutral format, which facilitates execution of the control logic on various types and configurations of control systems / controllers.

Claims

1. A method for generating control logic for executing an industrial process using a controller in a process plant, the method comprising: receiving, from a user via a system associated with the controller in the process plant, a control statement associated with the industrial process of the process plant, wherein the control statement includes one or more control requirements required to control the industrial process; extracting, by the system, a plurality of control entities and a plurality of set points from the control narrative using one or more sets of predetermined regular expressions stored in a database associated with the system and one or more models, wherein each set point of the plurality of set points is associated with a control entity of the plurality of control entities; identifying, by the system, at least one of a type or a category for each of the extracted plurality of control entities, wherein the type for each of the extracted plurality of control entities is identified using a database of control entities, wherein the database of control entities identifies a plurality of types of control entities associated with a plurality of industrial processes, wherein a category for each of the extracted plurality of control entities is identified using a domain dictionary, wherein the domain dictionary identifies nomenclature for control entities applicable to a particular industry, wherein the category of the control entity is categorized as one of a set of input, output, or control element; detecting, by the system, a plurality of actions from the control statement using an intent classifier, wherein the intent classifier identifies actions using keywords present in the control statement; identifying, by the system, a relationship between the set of input, output, and control elements, the plurality of set points, and the plurality of actions using one of coreference resolution or dependency parsing; as well as The control logic is generated by the system for the controller to perform the process, wherein the control logic is based on the identified relationships between the set of inputs, outputs and control elements, the one or more set points, and the one or more actions.

2. The method of claim 1, wherein: Extracting the plurality of control entities and the plurality of set points further comprises: parsing the control statement to obtain a plurality of expressions; extracting control entities from the plurality of expressions based on a first set of predetermined regular expressions and a first model, wherein the first set of predetermined regular expressions comprises a mapping between a set of control entities and a set of regular expressions, wherein the first model comprises a mapping between a set of annotations associated with the set of control entities and the set of regular expressions, wherein the annotations of the control entities are based on a domain of the industrial process; and The set points are extracted from the plurality of expressions based on a second set of predetermined regular expressions and a second model, wherein the second set of predetermined regular expressions includes a mapping between a set of set points and another set of regular expressions, wherein the second model includes a mapping between a set of annotations associated with the set of set points and the another set of regular expressions, wherein the annotations of the set points are based on a domain of the industrial process.

3. The method of claim 1, wherein: Identifying the one or more actions further comprises: detecting anomalies within the plurality of actions based on a set of domain-defined rules associated with a domain of the industrial process; and The relationship is updated with one or more of missing information and correct information associated with the anomaly, wherein the missing information is detected using natural language processing built into the domain of the industrial process.

4. The method of claim 1, wherein: Generating the control logic comprises: generating one or more control logic blocks, wherein each control logic block is mapped to a control library module present in a module library based on a semantic score, wherein the semantic score obtained by comparing the semantics of the control library module and the control logic block is greater than a predefined threshold; and The control logic is generated in a machine-readable format based on a control library module mapped to each control logic block.

5. A system for generating control logic for executing a process using a controller of a process plant, wherein the system is communicatively coupled to the controller, the system comprising: Input interface, which is used to: receiving, from a user, a control statement associated with an industrial process of a process plant, wherein the control statement includes one or more control requirements required for controlling the industrial process; as well as Processors that: extracting a plurality of control entities and a plurality of set points from the control narrative using one or more sets of predetermined regular expressions and one or more models stored in a database associated with the system, wherein each set point in the plurality of set points is associated with a control entity in the plurality of control entities; identifying at least one of a type or a category for each of the extracted plurality of control entities, wherein the type for each of the extracted plurality of control entities is identified using a database of control entities, wherein the database of control entities identifies a plurality of types of control entities associated with a plurality of industrial processes, wherein the category for each of the extracted plurality of control entities is identified using a domain dictionary, wherein the domain dictionary identifies nomenclature for control entities applicable to a particular industry, wherein the category of the control entity is categorized as one of a set of input, output, or control element; detecting a plurality of actions from the control statement using an intent classifier, wherein the intent classifier identifies actions using keywords present in the control statement; identifying a set of inputs, outputs, and control elements from the plurality of control entities using a domain dictionary, wherein the domain dictionary identifies inputs, outputs, and control elements for a predetermined industry; identifying a relationship between the set of input, output, and control elements, the plurality of set points, and the plurality of actions using one of coreference resolution or dependency parsing; as well as generating the control logic for the controller to perform the process, wherein the control logic is based on the identified relationships between the set of inputs, outputs, and control elements, the one or more set points, and the one or more actions; as well as The output interface is used to transmit the control logic to the controller through a communication network for executing the process.

6. The system of claim 5, wherein: The processor is configured to: constructing a first model from a collection of documents comprising a collection of annotations associated with a collection of control entities, wherein the first model comprises a mapping between the collection of annotations and a collection of regular expressions, wherein the annotations of the control entities are based on a domain of the industrial process; and A second model associated with the set of set points is constructed, wherein the second model includes a mapping between a set of annotations associated with the set of set points and another set of regular expressions, wherein the annotations of the set points are based on a domain of the industrial process.