CNC Look-Ahead Control for Macroinstruction Execution Reliability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Excessive restriction of look-ahead processing in numerical controllers leads to decreased efficiency in machining program execution, as it restricts necessary macroinstructions, causing erroneous operations.

Innovation Solution

A numerical controller with a look-ahead analysis unit, condition data storage, analysis restriction and resumption processing units, and a speculation analysis unit that allows arbitrary setting of analysis restriction and resumption conditions, enabling timely restriction and resumption of look-ahead processing based on machine and control state monitoring.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If look-ahead processing is restricted to prevent erroneous operations of macroinstructions, then reliability is improved, but productivity deteriorates due to decreased efficiency in machining program execution

Engineering Contradiction:
Improveaccuracy of macroinstruction executionVSAvoidefficiency of machining program execution
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies local quality by differentiating the treatment of different instruction types. Address instructions (G-code) continue to undergo look-ahead analysis without restriction, while macroinstructions are subject to conditional restriction. This selective approach ensures that critical address instructions maintain their look-ahead capability for safety, while macroinstructions are restricted only when necessary to prevent errors, thereby resolving the contradiction between reliability and productivity.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements dynamics by making the look-ahead restriction for macroinstructions conditional and changeable based on the control state. The analysis restriction processing unit dynamically adjusts whether macroinstructions undergo look-ahead analysis based on evaluated conditions (such as whether the macroinstruction references variables that may change during execution). This dynamic adjustment allows the system to optimize between reliability and productivity in real-time based on the specific machining context.

Inventive Principle:
Principle #15Dynamics

2Reliability

If look-ahead processing is completely restricted for macroinstructions, then erroneous operations are eliminated, but cycle time increases due to loss of speculative analysis benefits

Engineering Contradiction:
Improveprevention of erroneous macroinstruction operationsVSAvoidcycle time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action through the speculation analysis unit, which performs preliminary analysis of macroinstructions even when look-ahead restriction is active. The speculation analysis unit pre-evaluates potential execution paths and stores results, so that when the macroinstruction is actually executed, the pre-computed information is available, avoiding the need for time-consuming real-time analysis and reducing cycle time while maintaining reliability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism (the speculation analysis unit and condition data storage unit) that bridges the gap between restricted look-ahead processing and the need for timely execution. The speculation analysis unit acts as an intermediary by performing advance analysis and storing results, while the condition data storage unit mediates between the restriction logic and execution logic, allowing the system to maintain both reliability and timing requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If look-ahead analysis is performed on all instructions, then productivity is maintained, but reliability deteriorates due to erroneous operations of macroinstructions with changing control states

Engineering Contradiction:
Improveefficiency of machining program executionVSAvoidaccuracy of macroinstruction execution
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies local quality by differentiating the treatment of different instruction types. Address instructions (G-code) continue to undergo look-ahead analysis without restriction, while macroinstructions are subject to conditional restriction. This selective approach ensures that critical address instructions maintain their look-ahead capability for safety, while macroinstructions are restricted only when necessary to prevent errors, thereby resolving the contradiction between reliability and productivity.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements feedback through the analysis restriction processing unit, which continuously evaluates the control state and adjusts the look-ahead restriction for macroinstructions accordingly. The system monitors whether macroinstructions reference variables that may change during execution and dynamically adjusts the analysis restriction based on this feedback, allowing the system to maintain productivity while preventing erroneous operations.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20240231321A1Numerical control device and computer-readable storage medium
Publication Date: 2024.07.11 FANUC LTD
  • US20240231321A1 patent drawing
  • US20240231321A1 patent drawing
  • US20240231321A1 patent drawing

AI summary

A numerical control device includes a look-ahead analysis unit which sequentially looks ahead and analyzes a processing program; a control unit which controls a machine; a condition data storage unit which stores condition data including an analysis suppression condition specifying a look-ahead suppression condition and an analysis restart condition corresponding to the analysis suppression condition; an analysis suppression processing unit which suppresses analysis by the look-ahead analysis unit, when the analysis suppression condition is satisfied; an analysis restart processing unit which restarts the lookahead and the analysis when the control state of the machine satisfies the analysis restart condition while the analysis by the look-ahead analysis unit is suppressed; and a speculation analysis unit which executes speculative analysis, wherein when look-ahead is resumed, the result of speculative analysis by the speculation analysis unit is used.