Reinforcement Learning Toolpaths for Collision-Safe CNC Machining

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Selecting appropriate toolpaths in Computer Aided Manufacturing (CAM) software for subtractive manufacturing is challenging for novice users due to the complexity of CNC machines and the need for manual exploration of various parameters, leading to time-consuming processes.

Innovation Solution

Employing reinforcement learning algorithms to automatically generate toolpaths that prioritize smoothness, length, and collision avoidance, using machine learning models that include scoring functions and multiple algorithms for training, such as convolutional neural networks and actor-critic architectures, to produce optimized toolpaths for 2.5-axis machining.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If manual parameter exploration is used to select toolpaths, then users can achieve desired manufacturing results, but the process becomes time-consuming and difficult for novice users

Engineering Contradiction:
Improvetoolpath qualityVSAvoidtime to create manufacturing plan
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The system enables self-service by allowing the machine learning model to automatically generate and optimize toolpaths without requiring user intervention in parameter selection. The model independently explores the parameter space and selects optimal toolpath parameters based on the workpiece geometry and manufacturing requirements.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the manual mechanical process of parameter exploration with an automated machine learning system. Instead of users manually adjusting parameters, the reinforcement learning model automatically learns optimal parameter configurations through training and deployment, substituting human cognitive effort with computational intelligence.

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

2Manufacturing precision

If multiple parameters are manually adjusted to optimize toolpaths, then manufacturing accuracy can be improved, but the complexity of operation increases significantly

Engineering Contradiction:
Improvetoolpath accuracyVSAvoidease of toolpath selection
Core Design Contradiction:
Manufacturing precisionVSEase of operation

Solution Approach 1:

The system performs self-service by automatically optimizing toolpath parameters without user intervention. The machine learning model independently analyzes workpiece geometry, selects appropriate toolpath strategies, and adjusts parameters to achieve optimal manufacturing results, eliminating the need for users to understand complex parameter interactions.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The machine learning model acts as an intermediary between the user and the complex CAM parameter space. Users provide simple inputs such as workpiece geometry and manufacturing requirements, while the model handles the complex parameter optimization in the background, translating simple user inputs into optimized toolpath parameters.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Manufacturing precision

If extensive parameter exploration is performed to find optimal toolpaths, then manufacturing quality improves, but device complexity increases

Engineering Contradiction:
Improvetoolpath optimizationVSAvoidsoftware complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent extracts the complex parameter exploration and optimization functionality from the user interface and encapsulates it within the machine learning model. The model internally handles the complex interactions between multiple parameters, while the user interface remains simple and intuitive, separating the complexity from the user-facing system.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system replaces the complex mechanical process of manual parameter exploration with an automated machine learning optimization process. The reinforcement learning model efficiently navigates the parameter space using learned patterns, reducing the computational and operational complexity compared to exhaustive manual exploration.

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

4Productivity

If automated machine learning generation is used for toolpaths, then time efficiency improves, but the complexity of the system increases

Engineering Contradiction:
Improvespeed of manufacturing plan creationVSAvoidmachine learning system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary action by pre-training the machine learning model on extensive datasets of workpiece geometries and optimal toolpaths. This pre-training phase captures complex patterns and relationships, enabling the model to generate optimized toolpaths quickly during deployment without requiring complex real-time computations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The machine learning model learns by copying optimal patterns from training data. Instead of implementing complex optimization algorithms from scratch, the model replicates successful toolpath generation patterns observed during training, simplifying the system architecture while maintaining high performance.

Inventive Principle:
Principle #26Copying

Data Source

PatentEP4168867B1Toolpath generation by reinforcement learning for computer aided manufacturing
Publication Date: 2024.01.10 AUTODESK INC
  • EP4168867B1 patent drawingFigure 1
  • EP4168867B1 patent drawingFigure 2A
  • EP4168867B1 patent drawingFigure 2b

AI summary

Methods, systems, and apparatus, including medium-encoded computer program products, for computer aided design and manufacture of physical structures using toolpaths generated by reinforcement learning for use with subtractive manufacturing systems and techniques, include: obtaining, in a computer aided design or manufacturing program, a three dimensional model of a manufacturable object; generating toolpaths that are usable by a computer-controlled manufacturing system to manufacture at least a portion of the manufacturable object by providing at least a portion of the three dimensional model to a machine learning algorithm that employs reinforcement learning, wherein the machine learning algorithm includes one or more scoring functions that include rewards that correlate with desired toolpath characteristics comprising toolpath smoothness, toolpath length, and avoiding collision with the three dimensional model; and providing the toolpaths to the computer-controlled manufacturing system to manufacture at least the portion of the manufacturable object.