Control Program Generation for FXP and FLP Unit Utilization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for generating executable control programs from graphical control models only utilize fixed-point execution units, leading to underutilization of control systems with both fixed-point and floating-point units, particularly in real-time sampling systems where additional calculation steps cannot be executed within the specified time period.
Innovation Solution
A method that translates graphical control models into program code that includes both fixed-point (FXP) and floating-point (FLP) operations, allowing portions of the control program to execute on both FXP and FLP units, ensuring balanced resource utilization and enabling simultaneous execution to maximize runtime efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If all model operations are translated exclusively into fixed-point operations for compatibility with any computing unit, then the control program can be executed on practically any computing unit, but the hardware resources are only partially utilized when the control system has both FXP and FLP units
Solution Approach 1:
The control program is segmented into multiple portions, with different portions assigned to different execution units (FXP unit and FLP unit). The code generator divides the model operations into fixed-point operations translated to FXP unit and floating-point operations translated to FLP unit, enabling parallel execution and full utilization of available hardware resources while maintaining compatibility across different computing unit configurations
Solution Approach 2:
The invention dynamically adapts the translation strategy based on the target computing unit's capabilities. The code generator detects whether the control system has FXP units, FLP units, or both, and accordingly translates model operations into appropriate operation types. This dynamic adaptation allows the system to optimize resource utilization for each specific hardware configuration while maintaining universal compatibility
2Productivity
If more powerful control systems are employed to handle fully utilized FXP units, then additional calculation steps can be executed, but the sampling rate and real-time performance are still limited by the available execution time
Solution Approach 1:
The invention enables continuous utilization of both FXP and FLP execution units simultaneously throughout the execution cycle. By translating different model operations into different operation types that can execute in parallel on different units, the system eliminates idle time and ensures that all hardware resources contribute continuously to the calculation, thereby increasing overall calculation capacity without extending execution time
Solution Approach 2:
The invention merges the execution capabilities of FXP and FLP units by combining fixed-point and floating-point operations into a single control program. This merging allows the system to leverage the strengths of both execution units simultaneously, achieving higher calculation capacity than would be possible with either unit alone while maintaining the original real-time sampling rate
Data Source
AI summary
A computer-implemented method for generating a control program that is executable on a control system from a graphical control model. A better utilization of the control system is achieved in that the graphical control model is translated into program code such that the generated program code has at least one FXP operation and at least one FLP operation, and in that the generated program code is translated into the executable control program such that when the control program is executed on the control system a portion of the control program is executed on the FXP unit and another portion of the control program is executed on the FLP unit.


