In Situ Monitoring Network for Deposition Morphology and Residual Stress Reconstruction
Abstract
1. Introduction
2. Materials and Methods
2.1. Experimental Setup and Materials
2.2. Deep Semantic Segmentation Model for Deposition Morphology Extraction
2.3. Deposition Contour Extraction and Morphology Reconstruction
2.4. Geometric Model and Finite Element Model Generation Based on Reconstructed Morphology
2.5. Moving Heat Source Formulation and Thermo-Mechanical Coupling Strategy
3. Results and Discussion
3.1. Evaluation of Morphology Reconstruction Accuracy
3.2. Validation of Thermal Field Simulation via In Situ Temperature Measurements
3.3. Evolution of Residual Stress and Morphology-Induced Mechanisms
4. Conclusions
- An improved DeepLabv3+ semantic segmentation model was proposed to address the extreme interference conditions in LMD processes, including strong light reflection, intense molten pool radiation, and spatter noise. By employing ResNet101 as the backbone network instead of a lightweight architecture, the model effectively alleviates gradient vanishing issues and enhances the extraction of fine-grained features. In addition, the integration of the DenseASPP module and a cross-level feature fusion mechanism enables an effective combination of low-level spatial details and high-level semantic information. These improvements significantly enhance the robustness of the model under low-contrast and complex background conditions, achieving pixel-level accurate extraction of deposition layer contours.
- The proposed model achieves the best performance across all evaluation metrics, with a mean Intersection over Union (mIoU) of 97.32%, a mean Pixel Accuracy (mPA) of 98.67%, and an overall Accuracy of 99.42%. Compared with the baseline DeepLabv3+ model, the mIoU is improved by 2.59%. In addition, the proposed model outperforms state-of-the-art methods such as YOLOv8-Seg and PSPNet in both boundary detail representation and overall shape recognition. These results demonstrate its superior performance and strong potential for in situ monitoring in additive manufacturing.
- The machine vision-based method for extracting deposition layer height demonstrates high accuracy, with all measurement errors controlled within 0.91% when compared with dial indicator measurements. This high-fidelity morphological data provides reliable boundary conditions for subsequent thermo-mechanical simulations, overcoming the limitations of traditional idealized models that neglect micro-scale morphological features, and laying a solid foundation for accurate prediction of residual stress evolution.
- A comparison between the XRD-measured residual stresses and the numerical simulation results reveals a high degree of consistency in both magnitude and distribution trends, thereby validating the accuracy of the proposed “monitoring-reconstruction-simulation” coupled methodology. Notably, in regions with significant topographical fluctuations, the model based on actual morphology accurately captures the localized stress peaks induced by morphological variations, which remain unpredictable by traditional simplified models based on idealized flat-layer assumptions. These findings demonstrate the necessity of incorporating real-time morphological data into simulations, particularly for stress-sensitive materials such as HNS.
- This study reveals the significant influence of local morphology on residual stress distribution in HNS laser additive manufacturing. Convex regions, characterized by larger heat dissipation areas and higher cooling rates, undergo rapid shrinkage that is strongly constrained by the surrounding material, leading to pronounced stress concentration. In contrast, concave regions exhibit slower heat dissipation and more gradual cooling, which reduces local temperature gradients and mitigates thermal stress accumulation, resulting in lower residual stress levels. Furthermore, due to the geometric constraint imposed by the closed-loop ring structure, tangential stress is significantly higher than radial stress.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A. Governing Equations for Thermo-Mechanical Coupling Simulation
Appendix B. Thermo-Physical Properties of High-Nitrogen Steel (HNS)

References
- Asadi, R.; Ylä-Autio, A.; Wiikinkoski, O.H.; Ituarte, I.F. Multimodal deep learning-based on- and off-axis melt pool monitoring for layer height and surface metrology predictions in directed energy deposition. J. Intell. Manuf. 2025; in press. [CrossRef] [Scilit]
- Chen, Y.; Zhang, X.; Huang, A.; Pang, S.; Liang, L. An accurate CFD-FEM model for thermal stress simulation in selective laser melting. Materials 2026, 19, 22. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ghanadi, N.; Pasebani, S. A review on wire-laser directed energy deposition: Parameter control, process stability, and future research paths. J. Manuf. Mater. Process. 2024, 8, 84. [Google Scholar] [CrossRef] [Scilit]
- Perani, M.; Baraldo, S.; Decker, M.; Vandone, A.; Valente, A.; Paoli, B. Track geometry prediction for laser metal deposition based on online artificial vision and deep neural networks. Robot. Comput.-Integr. Manuf. 2023, 79, 102445. [Google Scholar] [CrossRef] [Scilit]
- Vergara, D.; Fernández-Arias, P.; Ariza-Echeverri, E.A.; del Bosque, A. Residual Stresses in Metal Manufacturing: A Bibliometric Review. Materials 2025, 18, 3612. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ye, L.; Xue, H.; Li, Z.; Zhou, Y.; Chen, G.; Xu, F.; Melentiev, R.; Newman, S.; Yu, N. Review of online quality control for laser directed energy deposition (LDED) additive manufacturing. Int. J. Extrem. Manuf. 2025, 7, 062005. [Google Scholar] [CrossRef] [Scilit]
- Fang, Q.; Tan, Z.; Li, H.; Shen, S.; Liu, S.; Song, C.; Zhou, X.; Yang, Y.; Wen, S. In-situ capture of melt pool signature in selective laser melting using U-Net-based convolutional neural network. J. Manuf. Process. 2021, 68, 347–355. [Google Scholar] [CrossRef] [Scilit]
- Asadi, R.; Queguineur, A.; Wiikinkoski, O.; Mokhtarian, H.; Aihkisalo, T.; Revuelta, A.; Ituarte, I.F. Process monitoring by deep neural networks in directed energy deposition: CNN-based detection, segmentation, and statistical analysis of melt pools. Robot. Comput.-Integr. Manuf. 2024, 87, 102710. [Google Scholar] [CrossRef] [Scilit]
- Lin, X.; Mao, Y.; Wu, L.; Zhu, K. Melt pool super-resolution reconstruction based on dual-path deep learning for laser powder bed fusion monitoring. Mater. Sci. Addit. Manuf. 2024, 3, 5585. [Google Scholar] [CrossRef] [Scilit]
- Zhu, Q.; Lu, Z.; Hu, Y. Transfer learning-enhanced physics-informed neural network for accurate melt pool prediction in laser melting. Adv. Manuf. 2025; in press. [CrossRef] [Scilit]
- Zhang, K.; Zhao, T.; Chen, M.; Zhang, J.; An, Q. Improved U-Net network with temporal adaptive module for precise melt pool detection in LDED additive manufacturing. J. Manuf. Process. 2025; in press. [CrossRef] [Scilit]
- Gadde, D.; Elwany, A.; Du, Y. Deep learning to analyze spatter and melt pool behavior during additive manufacturing. Metals 2025, 15, 840. [Google Scholar] [CrossRef] [Scilit]
- Tapia, G.; Elwany, A. A review on process monitoring and control in metal-based additive manufacturing. J. Manuf. Sci. Eng. 2014, 136, 060801. [Google Scholar] [CrossRef] [Scilit]
- Yang, K.; Chen, M.; Zhao, K.; Jia, Z.; Wang, Z.; Qi, H.; Sun, G. Research on gas pore formation and inhibition mechanism of high nitrogen steel during laser direct metal deposition. Opt. Laser Technol. 2024, 175, 110788. [Google Scholar] [CrossRef] [Scilit]
- Chen, L.C.; Zhu, Y.; Papandreou, G.; Schroff, F.; Adam, H. Encoder–decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European Conference on Computer Vision (ECCV); Springer: Cham, Switzerland, 2018; pp. 801–818. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Las Vegas, NV, USA, 2016; pp. 770–778. [Google Scholar] [CrossRef] [Scilit]
- Yang, M.; Yu, K.; Zhang, C.; Li, Z.; Yang, K. DenseASPP for semantic segmentation in street scenes. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Salt Lake City, UT, USA, 2018; pp. 3684–3692. [Google Scholar] [CrossRef] [Scilit]
- Lin, T.Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature pyramid networks for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Honolulu, HI, USA, 2017; pp. 2117–2125. [Google Scholar] [CrossRef] [Scilit]
- Kovšca, D.; Starman, B.; Klobčar, D.; Halilovič, M.; Mole, N. Towards an automated framework for the finite element computational modelling of directed energy deposition. Finite Elem. Anal. Des. 2023, 221, 103949. [Google Scholar] [CrossRef] [Scilit]
- Zhao, H.; Shi, J.; Qi, X.; Wang, X.; Jia, J. Pyramid scene parsing network. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Honolulu, HI, USA, 2017; pp. 6230–6239. [Google Scholar] [CrossRef] [Scilit]
- Vargas, R.; Sambath, M. YOLOv8: A novel object detection algorithm with enhanced performance and robustness. In 2024 International Conference on Advances in Data Engineering and Intelligent Computing Systems (ADICS); IEEE: Chennai, India, 2024. [Google Scholar] [CrossRef] [Scilit]
- Yang, M.; Wu, G.; Li, X.; Zhang, R.; Zhang, S.; Wang, H.; Illiashenko, Y. Influence of process parameters on residual stress in laser metal deposition of nickel-based superalloy. Weld. World 2025, 69, 1057–1072. [Google Scholar] [CrossRef] [Scilit]
- Cheng, M.; Zou, X.; Gong, M.; Chang, T.; Cao, Q.; Ju, H. Residual stress model in laser direct deposition based on energy equation. Coatings 2025, 15, 217. [Google Scholar] [CrossRef] [Scilit]
- Mukherjee, T.; Zhang, W.; DebRoy, T. An improved prediction of residual stresses and distortion in additive manufacturing. Comput. Mater. Sci. 2017, 126, 360–372. [Google Scholar] [CrossRef] [Scilit]
- Mithal, A.; Maharjan, N.; Tan, N.Y.J.; Chew, Y.; Idapalapati, S. Understanding residual stress evolution in directed energy deposition with interlayer deformation. J. Manuf. Sci. Eng. 2024, 146, 111002. [Google Scholar] [CrossRef] [Scilit]
- Rong, P.; Bai, Q.; Yin, M.; Li, W.; Song, Y.; Zheng, F. Thermal mechanical modeling and residual stress prediction for laser direct energy deposition of 30CrNi2MoVA steel considering solid-state phase transformation. J. Mater. Res. Technol. 2024; in press. [CrossRef] [Scilit]
- Mukherjee, T.; Manvatkar, V.; De, A.; DebRoy, T. Mitigation of thermal distortion during additive manufacturing. Scr. Mater. 2017, 127, 79–83. [Google Scholar] [CrossRef] [Scilit]
- Denlinger, E.R.; Irwin, J.; Michaleris, P. Thermomechanical modeling of additive manufacturing large parts. J. Manuf. Sci. Eng. 2014, 136, 061007. [Google Scholar] [CrossRef] [Scilit]
- Khan, K.M.; Rao, T.B.; Manjunath, B.N.; Abhinav, K.; Vinod, A.R.; Mohammed, R. Studies on the effect of substrate preheating, interlayer dwell, and heat treatment on microstructure, residual stress, and mechanical properties of IN625 superalloy built by direct metal deposition. J. Eng. Mater. Technol. 2023, 145, 041004. [Google Scholar] [CrossRef] [Scilit]
- Cheng, M.; Zou, X.; Pan, Y.; Zhou, Y.; Liu, W.; Song, L. Residual stress control using process optimization in directed energy deposition. Materials 2023, 16, 6610. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lu, X.; Chiumenti, M.; Cervera, M.; Zhang, G.; Lin, X. Mitigation of residual stresses and microstructure homogenization in directed energy deposition processes. Eng. Comput. 2022, 38, 4771–4790. [Google Scholar] [CrossRef] [Scilit]
- Caiazzo, F.; Alfieri, V.; Bolelli, G. Residual stress in laser-based directed energy deposition of aluminum alloy 2024: Simulation and validation. Int. J. Adv. Manuf. Technol. 2022, 118, 1197–1211. [Google Scholar] [CrossRef] [Scilit]
- Goldak, J.; Chakravarti, A.; Bibby, M. A new finite element model for welding heat sources. Metall. Trans. B 1984, 15, 299–305. [Google Scholar] [CrossRef] [Scilit]
- Liu, C.; Zhan, Y.; Zhao, H.; Shang, S.; Liu, C. The effect of process parameters on the temperature and stress fields in directed energy deposition of Inconel 690 alloy. Materials 2024, 17, 1338. [Google Scholar] [CrossRef] [Scilit]













| Components | C | N | Cr | Ni | Mn | Mo | Cu | O | Fe |
| Amount | 0.035 | 0.42 | 18.96 | 0.16 | 12.6 | 2.97 | 0.35 | 0.07 | Balance |
| Model | mIoU (%) | mPA (%) | Accuracy (%) |
|---|---|---|---|
| Modified DeepLabv3+ | 97.32 | 98.67 | 99.42 |
| DeepLabv3+ | 94.73 | 97.64 | 99.32 |
| YOLOv8-Seg | 94.71 | 97.71 | 96.71 |
| PSPNet | 95.69 | 97.30 | 98.40 |
| Measurement Point | Developed Algorithm (mm) | Dial Indicator (mm) | Manual Image Analysis (mm) |
|---|---|---|---|
| 1 | 3.605 ± 0.006 | 3.638 | 3.618 ± 0.048 |
| 2 | 4.770 ± 0.004 | 4.764 | 4.762 ± 0.058 |
| 3 | 3.549 ± 0.005 | 3.542 | 3.552 ± 0.033 |
| 4 | 4.860 ± 0.007 | 4.854 | 4.848 ± 0.043 |
| 5 | 3.735 ± 0.008 | 3.766 | 3.740 ± 0.029 |
| 6 | 4.806 ± 0.003 | 4.849 | 4.818 ± 0.067 |
| 7 | 3.980 ± 0.006 | 3.968 | 3.982 ± 0.038 |
| 8 | 3.702 ± 0.005 | 3.731 | 3.714 ± 0.052 |
| 9 | 3.781 ± 0.004 | 3.772 | 3.786 ± 0.024 |
| 10 | 4.508 ± 0.007 | 4.545 | 4.520 ± 0.062 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Lu, Y.; Huang, H.; Huang, X.; Wang, C.; Li, W.; Wu, B. In Situ Monitoring Network for Deposition Morphology and Residual Stress Reconstruction. Materials 2026, 19, 1785. https://doi.org/10.3390/ma19091785
Lu Y, Huang H, Huang X, Wang C, Li W, Wu B. In Situ Monitoring Network for Deposition Morphology and Residual Stress Reconstruction. Materials. 2026; 19(9):1785. https://doi.org/10.3390/ma19091785
Chicago/Turabian StyleLu, Yi, Hairan Huang, Xinyi Huang, Chen Wang, Wenbo Li, and Bin Wu. 2026. "In Situ Monitoring Network for Deposition Morphology and Residual Stress Reconstruction" Materials 19, no. 9: 1785. https://doi.org/10.3390/ma19091785
APA StyleLu, Y., Huang, H., Huang, X., Wang, C., Li, W., & Wu, B. (2026). In Situ Monitoring Network for Deposition Morphology and Residual Stress Reconstruction. Materials, 19(9), 1785. https://doi.org/10.3390/ma19091785

