AI Code Block Selection for Industrial Automation Code Updates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The challenge of efficiently and consistently managing and selecting appropriate code blocks for control software in industrial automation environments is hindered by the complexity and diversity of code versions, leading to inefficiencies and resource waste due to the use of flawed or inferior code blocks.

Innovation Solution

A generative artificial intelligence (AI) code block selector and codebase updating system that includes a code block repository, AI model library, and a code block selector to evaluate and select code blocks based on configuration criteria, ensuring adherence to quality parameters through isolated testing and AI model evaluation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If engineers manually track and evaluate code block versions, then code blocks can be maintained and updated, but the process becomes inefficient and inconsistent leading to wasted time and resources

Engineering Contradiction:
Improvecode block development efficiencyVSAvoidtime spent tracking and evaluating code versions
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system enables automated self-evaluation of code blocks through AI models that automatically assess code quality, performance metrics, and compatibility without requiring manual engineer intervention for each code block evaluation

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

Manual engineering processes for code block tracking and evaluation are replaced with an automated AI-based system that uses machine learning models to assess and select optimal code blocks, substituting human mechanical evaluation with intelligent automation

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Adaptability or versatility

If multiple versions of code blocks are maintained for flexibility, then adaptability to different tasks is improved, but system complexity increases making management difficult

Engineering Contradiction:
Improvecode block flexibility for different tasksVSAvoidcodebase management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system implements automated feedback loops where AI models continuously evaluate code block performance and provide quality assessments, enabling automatic selection of the best code blocks for specific tasks without manual intervention

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The AI-based code block selector serves multiple functions including quality evaluation, performance assessment, compatibility checking, and automatic selection, consolidating what would otherwise require multiple separate manual processes into a single universal system

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Speed

If code blocks are deployed without thorough evaluation, then deployment speed increases, but the risk of deploying flawed or inferior code blocks increases

Engineering Contradiction:
Improvecode block deployment speedVSAvoidcode block quality assurance
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The system performs preliminary AI-based evaluation and quality assessment of code blocks before deployment, automatically identifying potential issues and selecting only high-quality code blocks for deployment, thus ensuring reliability before the deployment action occurs

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

An AI-based evaluation system acts as an intermediary between code block creation and deployment, automatically assessing quality and performance metrics to filter out flawed code blocks before they reach the deployment stage

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20250306567A1Generative artificial intelligence code block selector and codebase updating system
Publication Date: 2025.10.02 ROCKWELL AUTOMATION TECH INC
  • US20250306567A1 patent drawing
  • US20250306567A1 patent drawing
  • US20250306567A1 patent drawing

AI summary

Intelligent code block selection and codebase updating using generative AI is disclosed herein. A user may request a code block for performing a task based on a given quality parameter (e.g., most energy efficient, fastest, or the like). The system may select an AI model for evaluating code blocks to meet the quality parameter. The system may identify code blocks for evaluation and execute each code block in an isolated testing environment. The selected AI model evaluates each code block execution and selects a code block based on completing the task in a way that most adheres to the quality parameter. The selected code block is returned via a user interface. The selected code block may be stored in a configuration code building block library associated with the quality parameter and the task and used when developing and revising software for the industrial automation environment.