CNC Tool-Path Calculation via Queue Buffer and Serial Interface

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing tool-path calculation systems for CNC machines are complex and generate high amounts of data, leading to reduced practicability and increased path errors due to the complexity of command-generating arrangements, which do not support higher-order differentiability for resultant path curves.

Innovation Solution

A tool-path calculation apparatus comprising an upper controller with an interpreter and a servo driver, including a queue buffer and high-speed serial communication interfaces, which interprets G-code files to produce executable instructions and calculates tool paths by storing and processing these instructions sequentially to reduce data transmission and enhance dynamic response.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If a precision interpolator unit with scanning rate converter and low-pass filter is used to generate command variables, then the control loop scanning rate is improved, but the device complexity increases due to the two-order filter structure and additional components

Engineering Contradiction:
Improvecontrol loop scanning rateVSAvoidcommand-generating arrangement complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent extracts the path calculation function from the upper controller and places it in the servo driver, separating the G-code interpretation (upper controller) from the toolpath calculation and command generation (servo driver). This extraction eliminates the need for complex interpolator units and filters in the command-generating arrangement, reducing device complexity while maintaining control loop performance

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system is segmented into two independent functional modules: the upper controller handles G-code interpretation and generates executable instructions, while the servo driver handles toolpath calculation and command variable generation. This segmentation allows each module to be optimized independently, reducing overall system complexity

Inventive Principle:
Principle #1Segmentation

2Productivity

If executable instructions are sent from upper controller to servo driver through high-speed serial communication, then the productivity is improved, but the reliability decreases due to potential data transmission errors

Engineering Contradiction:
Improvedata transmission speedVSAvoidinstruction transmission accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements a queue buffer mechanism in the servo driver that provides feedback control for data transmission. The buffer monitors incoming instructions, manages data flow, and enables error handling through acknowledgment protocols, ensuring reliable transmission while maintaining high-speed communication

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The queue buffer acts as a cushioning mechanism that anticipates and absorbs potential transmission errors or data flow mismatches. By providing a buffer zone before data processing, the system can handle transmission errors without compromising overall reliability, allowing error correction or retransmission without stopping productivity

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS8121720B2Tool-path calculation apparatus for numerical controlled system and method for operating the same
Publication Date: 2012.02.21 DELTA ELECTRONICS INC(CN)
  • US8121720B2 patent drawing
  • US8121720B2 patent drawing
  • US8121720B2 patent drawing

AI summary

A tool-path calculation apparatus for a numerical controlled system and a method for operating the same are applied to a CNC tool machine. The tool-path calculation apparatus includes an upper controller and a servo driver. Firstly, an interpreter is provided to interpret the tool paths to produce a plurality of executable instructions. Afterward, the executable instructions are sent from the upper controller to the servo driver through a serial communication interface and stored in a queue buffer. Finally, the executable instructions are received and calculated by a tool path calculator to produce a plurality of points along the tool paths.