Industrial Control Program Block Execution Time Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users of industrial control systems lack the ability to analyze the distribution of computing times between individual program blocks due to varying execution priorities and interruptions, limiting their understanding of CPU utilization and load distribution.

Innovation Solution

A method and system that determine processing times for program blocks, assign block identifiers, and display these in a graphical view, allowing users to adjust processing priorities interactively and optimize timing behavior by analyzing discrepancies between processing and execution times, as well as communication times, to improve CPU efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If program blocks are executed with different priorities and can be interrupted by higher priority blocks, then the system can respond to critical events faster, but the user cannot analyze the distribution of computing times between individual program blocks

Engineering Contradiction:
Improveresponse speed to critical eventsVSAvoidinformation about computing time distribution
Core Design Contradiction:
SpeedVSLoss of information

Solution Approach 1:

The patent introduces a measurement unit as an intermediary component that transparently monitors and records execution times of program blocks without interfering with the priority-based interrupt execution. This mediator captures start and end times of each program block execution, enabling post-analysis of computing time distribution while preserving the real-time responsiveness of the control system.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If the user can only specify a current cycle time for the main block, then the system is simpler to operate, but only a limited conclusion can be drawn about the distribution of the load in the industrial controller

Engineering Contradiction:
Improvesimplicity of operationVSAvoidprecision of load distribution analysis
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent segments the overall cycle time measurement into individual program block execution time measurements. Instead of providing only a aggregate cycle time for the main block, the system divides the measurement into discrete segments corresponding to each program block, enabling detailed load distribution analysis while maintaining the simple cycle time specification interface for users.

Inventive Principle:
Principle #1Segmentation

3Productivity

If processing times are measured and displayed for each program block, then the user can optimize timing behavior, but the device complexity increases

Engineering Contradiction:
Improveefficiency of industrial controlVSAvoidcomplexity of analysis system
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The measurement unit automatically performs timing measurements for all program blocks without requiring manual configuration or intervention. The system self-services by continuously monitoring execution times, storing measurements in a buffer, and making data available for analysis, thereby reducing the operational complexity despite the enhanced functionality.

Inventive Principle:
Principle #25Self-service

4Adaptability or versatility

If the control program is occupied with communication tasks, then communication with automation components is enabled, but the processing time for control instructions increases

Engineering Contradiction:
Improvecommunication capabilityVSAvoidprocessing time for control instructions
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent segments the total execution time into distinct components: communication time and control instruction processing time. By measuring and displaying these separately, users can identify the time consumed by communication tasks versus actual control processing, enabling optimization of the balance between communication versatility and control responsiveness.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentEP2477085B1System and method for analysing a time behaviour of the execution of a control program in an industrial control device
Publication Date: 2013.07.17 SIEMENS AG
  • EP2477085B1 patent drawingFigure 1
  • EP2477085B1 patent drawingFigure 2
  • EP2477085B1 patent drawingFigure 3

AI summary

For the user of industrial controls, there is no way to analyze the distribution of the computing times of individual program blocks; therefore, a method and a system are proposed with which processing times for block identifiers of program blocks (OB1,OB35, OB40,OB80) can be graphically displayed in a view (8).