# US 2026/0086524 A1 · Machine learning techniques for generating controller logic

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0086524 A1
- Document ID: US20260086524A1
- Status: Published application
- Kind: A1
- Application number: 19/329,031
- Filed: 2025-09-15
- Published: 2026-03-26
- Earliest claimed: 2024-09-25
- Assignees: Honeywell International Inc.
- Applicants: Honeywell International Inc.
- Inventors: Archisman SARKAR; Narendar Reddy GADDAM; Sri Savitha Krishna UPPALURI; Varun MOHAN
- Web page: https://patentgrep.com/patent/US20260086524A1

## CPC

- G05B 19/056: {Programming the PLC}
- G06F 8/30: Creation or generation of source code
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 20/00: Machine learning
- G06F 40/186: Templates
- G06F 40/30: Semantic analysis
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments of the present disclosure relate to generating controller logic. Indication of a controller logic generation request associated with an asset identifier may be received. A prompt template set associated with a controller logic generation workflow may be identified based on the asset identifier. The prompt template of the prompt template set may comprise one or more instruction sets. The prompt template set may be input into a large language model comprising one or more transformer neural networks and configured to generate a controller logic configuration file for the asset identifier based on the prompt template set and intent classification associated with each prompt template. The controller logic configuration file may be received from the large language model. Performance of one or more prediction-based actions may be initiated based on the controller logic configuration file.

## Claims

### Claim 1

A computer-implemented method for generating controller logic, the computer-implemented method comprising:
receiving, by one or more processors, indication of a controller logic generation request associated with an asset identifier;
identifying, by the one or more processors and based on the asset identifier, a prompt template set associated with a controller logic generation workflow, wherein each prompt template of the prompt template set comprises one or more instruction sets;
inputting, by the one or more processors, the prompt template set into a large language model comprising one or more transformer neural networks and configured to generate a controller logic configuration file for the asset identifier based on the prompt template set and intent classification associated with each prompt template;
receiving, by the one or more processors and from the large language model, the controller logic configuration file; and,
initiating, by the one or more processors, performance of one or more prediction-based actions based on the controller logic configuration file.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining, using the large language model, the intent classification for a prompt template, wherein the intent classification is one of a search task or a reasoning task.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
in response to determining that the intent classification is a search task, generating, using the large language model, a search query based on the prompt template; and,
retrieving, from a repository and based on the search query, relevant data associated with the asset identifier, wherein the repository comprises design metadata for an asset associated with the asset identifier.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, further comprising:
in response to determining that the intent classification is a reasoning task, generating, by the large language model, an output corresponding to the prompt template by performing one or more logical reasoning tasks based on the one or more instruction sets in the prompt template.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the controller logic generation workflow defines a sequence of operations for generating the controller logic configuration file, wherein the one or more instruction sets in each prompt template corresponds to a particular operation in the sequence of operations.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the prompt template set comprises a plurality of sequential prompt templates corresponding to the sequence of operations defined by the controller logic generation workflow, wherein the large language model is configured to process each prompt template in a sequential order to generate an output for each prompt template.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the controller logic configuration file is one of a PLC logic configuration file or DCS logic configuration file.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the performance of the one or more prediction-based actions comprises applying the controller logic configuration file to a controller associated with an asset associated with the asset identifier.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the indication of the controller logic generation request comprises one or more design metadata files associated with the asset identifier and having disparate formats, and the computer-implemented method further comprises: translating the one or more design metadata files into a common format; and, storing the one or more design metadata files in a repository.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising:
fine-tuning the one or more transformer neural networks based on domain-specific controller operations data.

### Claim 11

An apparatus for generating controller logic, the apparatus comprising at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the apparatus to:
receive indication of a controller logic generation request associated with an asset identifier;
identify based on the asset identifier, a prompt template set associated with a controller logic generation workflow, wherein each prompt template of the prompt template set comprises one or more instruction sets;
input the prompt template set into a large language model comprising one or more transformer neural networks and configured to generate a controller logic configuration file for the asset identifier based on the prompt template set and intent classification associated with each prompt template;
receive, from the large language model, the controller logic configuration file; and,
initiate performance of one or more prediction-based actions based on the controller logic configuration file.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the apparatus is further caused to:
determine, using the large language model, the intent classification for a prompt template, wherein the intent classification is one of a search task or a reasoning task.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the apparatus is further caused to:
in response to determining that the intent classification is a search task, generate, using the large language model, a search query based on the prompt template; and,
retrieve, from a repository and based on the search query, relevant data associated with the asset identifier, wherein the repository comprises design metadata for an asset associated with the asset identifier.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the apparatus is further caused to:
in response to determining that the intent classification is a reasoning task, generate, by the large language model, an output corresponding to the prompt template by performing one or more logical reasoning tasks based on the one or more instruction sets in the prompt template.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the controller logic generation workflow defines a sequence of operations for generating the controller logic configuration file, wherein the one or more instruction sets in each prompt template corresponds to a particular operation in the sequence of operations.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the prompt template set comprises a plurality of sequential prompt templates corresponding to the sequence of operations defined by the controller logic generation workflow, wherein the large language model is configured to process each prompt template in a sequential order to generate an output for each prompt template.

### Claim 17 (depends on 11)

The apparatus of claim 11, wherein the controller logic configuration file is one of a PLC logic configuration file or DCS logic configuration file.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the performance of the one or more prediction-based actions comprises applying the controller logic configuration file to a controller associated with an asset associated with the asset identifier.

### Claim 19 (depends on 11)

The apparatus of claim 11, wherein the indication of the controller logic generation request comprises one or more design metadata files associated with the asset identifier and having disparate formats, and the apparatus is further caused to:
translate the one or more design metadata files into a common format; and,
store the one or more design metadata files in a repository.

### Claim 20

At least one non-transitory computer-readable storage medium for generating controller logic, the at least one non-transitory computer-readable storage medium having computer coded instructions configured to, when executed by at least one processor:
receive indication of a controller logic generation request associated with an asset identifier;
identify based on the asset identifier, a prompt template set associated with a controller logic generation workflow, wherein each prompt template of the prompt template set comprises one or more instruction sets;
input the prompt template set into a large language model comprising one or more transformer neural networks and configured to generate a controller logic configuration file for the asset identifier based on the prompt template set and intent classification associated with each prompt template;
receive, from the large language model, the controller logic configuration file; and,
initiate performance of one or more prediction-based actions based on the controller logic configuration file.
