Applying Machine Learning for Milling to Prevent Chatter
Machine learning is used to predict system behavior based on process data. It can be used to model milling behavior and improve performance.
Share
DMG MORI - Cincinnati
Featured Content
View MoreECi Software Solutions, Inc.
Featured Content
View MoreTakumi USA
Featured Content
View MoreMachining technology continues to advance in response to industry needs. Despite continuing increases in productivity, however, challenges remain. For example, while the digital transformation of part design and path planning for CNC machining is widespread, CAM software generally treats machining as a geometric activity. Provided the cylindrical tool follows the commanded path through the stock model, it is assumed that the machining process is acceptable and the desired geometry is obtained. This approach does not consider the inherent constraints imposed by machining dynamics.
It is known that some spindle speed-axial depth of cut combinations exhibit chatter, which produces large forces, large vibrations and poor surface finishes, while others do not. Machining dynamics models are therefore implemented to select spindle speed-axial depth combinations that avoid chatter, while meeting design tolerances. Milling stability maps, which separate stable spindle speed-axial depth combinations from those that produce chatter, can be produced using a measurement of the tool tip vibration response and a cutting force model. See Fig. 1.
Figure 1: Milling stability map. Spindle speed-axial depth combinations below the boundary are predicted to be stable. Those above the boundary are predicted to produce chatter. The blue line is the stability boundary. Source (all figures): Tony Schmitz
Stability maps demonstrate large stable zones at high spindle speeds. When tool wear constrains the maximum cutting speed, however, lower spindle speeds must be selected. At low spindle speeds, process damping can increase the stability limit. Because the inputs to the stability map are not perfectly known, the predicted stability boundary also has uncertainty.
Applying machine learning enables the uncertainty to be reduced as more data is collected. One machine learning algorithm is k-nearest neighbors, or KNN. It is applied here to model milling stability with process damping effects. A KNN classifier uses proximity to predict the behavior at selected data point based on the surrounding points. The assumption is that similar points are found near one another. For the milling stability classification problem, a label (stable or unstable) is assigned based on a majority vote. In other words, the label that is most frequently represented around a given spindle speed-axial depth combination is used to predict the behavior at that point.
The Fig. 1 stability map was produced using the vibration response for a selected tool-toolholder-spindle combination and 1018 steel workpiece. It was used to generate a training dataset for the KNN classifier, where each point in a grid was labeled as stable or unstable depending on whether it was above or below the stability boundary. See Fig. 2.
Figure 2: Dataset for KNN training produced using the Fig. 1 stability boundary. The blue circles in the grid are labeled as stable and the red crosses are labeled as unstable (chatter).
The process damping behavior was next established using a “stair step” approach with a minimum number of cutting tests. A low spindle speed of 800 rpm was selected for the first test. A conservative axial depth of 1 mm was chosen given the predicted stability map (with no process damping) shown in Fig. 1. Based on the test result, a progression was followed:
- If the cut was stable, the spindle speed was maintained and the axial depth was increased by 0.5 mm (50% of the original axial depth). This was repeated until an unstable result was achieved.
- When an unstable cut was obtained, the spindle speed was reduced by 200 rpm (25% of the original spindle speed) and the previous unstable cutting depth was selected.
- The sequence was repeated.
The test results are shown in Fig. 3. Next, knowledge about process damping was included with the test results to update the grid of points in Fig. 2. For a stable cut at a selected spindle speed-axial depth, all points with an equal or smaller axial depth and equal or lower spindle speed were also labeled as stable. This provided many updating points from a single test and contributed to the “stair step” updating.
Figure 3: Process damping test results. The blue circles represent stable tests. Red crosses represent unstable (chatter) tests. The original analytical stability boundary is included (solid blue line).
The re-labeled low spindle speed points from Fig. 2 are shown in Fig. 4. The KNN classifier with process damping effects is displayed in Fig. 5. It is seen that the stability boundary is now increased at low spindle speeds. This demonstrates the value in combining machine learning and limited test data with physics-based milling models to increase prediction accuracy.
Figure 4: New data points with process damping effects. The test points from Fig. 3 are identified using the symbols with thicker lines.
Related Content
Lean Approach to Automated Machine Tending Delivers Quicker Paths to Success
Almost any shop can automate at least some of its production, even in low-volume, high-mix applications. The key to getting started is finding the simplest solutions that fit your requirements. It helps to work with an automation partner that understands your needs.
Read MoreCutting Part Programming Times Through AI
CAM Assist cuts repetition from part programming — early users say it cuts tribal knowledge and could be a useful tool for training new programmers.
Read MoreTranslating a Prototyping Mindset to Production
The experimental mindset that benefited BDE Manufacturing Technologies as a prototype job shop has given it an adaptable edge as a production facility.
Read MoreHow to Accelerate Robotic Deburring & Automated Material Removal
Pairing automation with air-driven motors that push cutting tool speeds up to 65,000 RPM with no duty cycle can dramatically improve throughput and improve finishing.
Read MoreRead Next
Building Out a Foundation for Student Machinists
Autodesk and Haas have teamed up to produce an introductory course for students that covers the basics of CAD, CAM and CNC while providing them with a portfolio part.
Read MoreRegistration Now Open for the Precision Machining Technology Show (PMTS) 2025
The precision machining industry’s premier event returns to Cleveland, OH, April 1-3.
Read More5 Rules of Thumb for Buying CNC Machine Tools
Use these tips to carefully plan your machine tool purchases and to avoid regretting your decision later.
Read More