Research on Analytical Model and DDQN-SVR Prediction Model of Turning Surface Roughness

Chen Chaoyi, Lu Juan, Kai Chen, Yujia Li, Junyan Ma, Liao XiaopingJournal of Mechanical Engineering 2021 · DOI

TL;DR

This paper introduces a two-pronged approach to predicting surface roughness in hard turning: a new segmented analytical model that accounts for varying geometric conditions and a DDQN-SVR model that uses reinforcement learning to automatically fine-tune machine learning parameters. The hybrid approach significantly outperforms traditional models, providing engineers with a more reliable way to select cutting parameters for high-quality manufacturing.

What Problem Does This Paper Address?

In precision manufacturing, surface roughness is a "make or break" metric for part quality. While "hard turning" (machining hardened steel) is an efficient alternative to grinding, predicting the resulting surface finish is notoriously difficult.

Existing methods generally fall into two camps:

  1. Analytical Models: These use physics and geometry but often oversimplify the tool-workpiece interaction, leading to poor accuracy across different feed rates.
  2. Data-Driven Models: Machine learning models like Support Vector Regression (SVR) are powerful but highly sensitive to internal settings (hyperparameters). Finding the "sweet spot" for these settings usually involves trial-and-error or optimization algorithms that often get stuck in local traps.

The authors aim to bridge these gaps by refining the geometric math and applying advanced Deep Reinforcement Learning to automate the ML tuning process.

Methods

The researchers developed two distinct models:

  • Segmented Analytical Model: Unlike standard models that assume a single geometric relationship, this model breaks the tool-workpiece contact into three distinct cases based on the relationship between the feed rate ($f$), tool nose radius ($r$), and the side relief angle ($k'$). This allows the math to adapt as cutting conditions change.
  • DDQN-SVR Prediction Model:
    • SVR: Used as the core predictor because it handles small datasets well.
  • Double Deep Q-Network (DDQN): This is the "brain" that optimizes the SVR. It treats parameter tuning like a game: the "state" is the current SVR settings, "actions" are increasing or decreasing those settings, and the "reward" is the accuracy ($R^2$ score) of the resulting prediction.
  • Why DDQN? Standard DQN often overestimates the value of certain actions. DDQN uses two separate networks to decouple action selection from evaluation, leading to much more stable and accurate optimization.

Datasets

The models were trained and validated using a real-world experimental dataset:

  • Material: 45 steel (a common medium-carbon steel).
  • Process: Dry turning using YT5 carbide tools.
  • Design of Experiments: A Box-Behnken design was used to generate 29 sets of cutting data, varying cutting speed, feed rate, depth of cut, and tool nose radius.
  • Split: For the ML model, 20 sets were used for training and 9 for testing.

Key Insights and Ideas

  • Geometry Matters: The "aha moment" for the analytical model was realizing that the peak-to-valley height of the machined surface changes its geometric behavior significantly depending on whether the feed rate is large or small relative to the tool radius. By segmenting the model into three cases, they captured nuances that previous researchers missed.
  • RL as a Super-Tuner: Using Reinforcement Learning (DDQN) to tune SVR is more robust than traditional methods like Particle Swarm Optimization (PSO). The DDQN "learns" the landscape of the parameter space, making it less likely to get stuck in sub-optimal configurations.
  • Stability is King: The study highlights that while standard DQN can reach high accuracy, DDQN provides a much more stable learning curve with lower variance, which is critical for industrial applications where reliability is paramount.

Key Results

  • Analytical Superiority: The proposed segmented analytical model achieved an $R^2$ of 0.6394, a massive improvement over the comparison model which had a negative $R^2$ (meaning the comparison model was worse than a horizontal line).
  • ML Performance: The DDQN-SVR model was the clear winner, achieving an $R^2$ of 0.9388 and a Mean Absolute Percentage Error (MAPE) of only 7.0%.
  • Algorithm Comparison: DDQN-SVR outperformed both standard DQN-SVR and DDPG (Deep Deterministic Policy Gradient) approaches in terms of both peak accuracy and consistency across multiple runs.

Limitations and Future Work

While the models are highly effective, the authors acknowledge a few areas for growth:

  • Environmental Factors: The current models focus primarily on geometry and basic cutting parameters. They do not yet account for tool wear, machine tool vibration, or thermal deformation, all of which affect roughness in real-world shops.
  • Computational Efficiency: While DDQN is effective, the search environment for hyperparameters could be further optimized to reduce the time required for the model to converge.
  • Generalization: Future work involves testing these models on a wider variety of materials and tool geometries to ensure the "segmented" logic holds up across the board.

Summary updated

Abstract

摘要: 在车削加工中,零件质量是生产者需要密切关注的问题。表面粗糙度作为评价零件质量的一项重要指标,选择满意的切削参数来提高表面粗糙度可有效提高零件质量。为提高表面粗糙度的预测精度,在现有研究基础之上提出一种分段的表面粗糙度理论解析模型对表面粗糙度进行预测。同时尝试采用双深度Q网络(DDQN)优化支持向量回归(SVR)提高数据驱动模型的预测性能,探寻DDQN优化SVR内部参数的环境设计,并且与其他算法对比了其优化效果与稳定性。基于45钢的车削试验,验证分段的表面粗糙度理论模型和DDQN-SVR预测模型的有效性,为基于表面粗糙度的切削参数选择提供了较好的技术支持。
BibTeX
@article{chaoyi2021research,
  author = {CHEN Chaoyi and Lu Juan and Kai Chen and Yujia Li and Junyan Ma and Liao Xiaoping},
  title = {{Research on Analytical Model and DDQN-SVR Prediction Model of Turning Surface Roughness}},
  journal = {Journal of Mechanical Engineering},
  year = {2021},
  doi = {10.3901/jme.2021.13.262},
}
Figure