簡易檢索 / 詳目顯示

研究生: 趙唯志
Wei-Chih Chao
論文名稱: 以特徵代碼與卷積神經網路進行加工特徵之辨識
Recognizing Machining Features through Feature Codes and Convolutional Neural Networks
指導教授: 林清安
Ching-An Lin
口試委員: 黃中人
陳羽薰
學位類別: 碩士
Master
系所名稱: 工程學院 - 機械工程系
Department of Mechanical Engineering
論文出版年: 2023
畢業學年度: 112
語文別: 中文
論文頁數: 162
中文關鍵詞: 3D 模型特徵辨識深度學習
外文關鍵詞: 3D CAD Model, Feature recognition, Deep learning
相關次數: 點閱:63下載:5
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 電腦輔助製程規劃是通過自動化規劃零件加工製造的過程,減少手動干預,加快生產計劃的生成速度,即因應零件的改動,快速調整新的製程需求,降低生產成本。電腦輔助製程規劃的其中一個重要部為特徵辨識,其目的為將3D幾何模型的拓樸資訊轉換為加工特徵資訊,減少加工人員的作業時間與精力。雖然目前已有多種特徵辨識方法被提出,但沒有一種是針對具有高度複雜性的單一特徵,這導致在這些方法或神經網路模型難以應用在實際特徵當中,因此本研究提出建立高度複雜性之單一特徵的3D幾何模型的方法,並以圖基法進行特徵提取,將特些特徵提取後的面以特定的編碼規則進行神經網路的訓練,接著使用訓練後的神經網路進行特徵類別的預測。
    本文詳述了自動化建立高度複雜性之單一特徵的3D幾何模型的方法、自動化特徵搜尋的方法、特徵編碼之規則及一個有效運用這些特徵代碼的神經網路之架構,並以幾個實例驗證之結果進行探討。


    Computer-aided process planning is a process that automates the planning of part manufacturing, reducing manual intervention, accelerating the generation speed of production plans, and swiftly adjusting to new process requirements in response to changes in parts, thereby lowering production costs. One crucial aspect of computer-aided process planning is feature recognition, which aims to convert the topological information of 3D geometric models into machining feature information, thereby reducing the operational time and effort of machining personnel. Although various feature recognition methods have been proposed, none specifically target highly complex individual features. This limitation makes it challenging to apply these methods or neural network models to practical features. Therefore, this research proposes a method for constructing 3D geometric models of highly complex individual features and employs graph-based techniques for feature extraction. The extracted features are then trained using a neural network with specific encoding rules. Subsequently, the trained neural network is used to predict feature categories.
    This thesis details the automated method for constructing 3D geometric models of highly complex individual features, an automated feature search method, rules for feature encoding, and an effective neural network architecture that utilizes these feature codes. The results of several case studies are discussed for validation.

    摘要 I Abstract II 誌謝 III 目錄 IV 圖目錄 IX 表目錄 XVII 第一章 緒論 1 1.1 研究動機與目的 1 1.2 研究方法 3 1.3 論文架構 3 第二章 文獻回顧 5 2.1 模式匹配法 5 2.2 學習法 8 2.3 混和方法 20 2.4 特徵辨識資料集 20 2.5 總結 26 第三章 自動化產生深度學習所需的3D幾何模型資料 30 3.1 程式化建立3D幾何模型 30 3.1.1 Open CASCADE介紹 30 3.1.2 程式化建模 31 3.2 建立基礎特徵的3D幾何模型 32 3.2.1 Blind hole及Through hole特徵的草圖與引伸 35 3.2.2 Pocket及Passage特徵的草圖與引伸 36 3.2.3 Blind slot特徵的草圖與引伸 38 3.2.4 Through slot特徵的草圖與引伸 40 3.2.5 Blind Step特徵的草圖與引伸 41 3.2.6 Through Step特徵的草圖與引伸 43 3.3 建立工程特徵 45 3.3.1 取得欲建立工程特徵之幾何資訊 46 3.3.2 建立拔模角特徵 47 3.3.3 建立倒角與圓角特徵 50 3.4 破壞完整特徵之幾何 52 3.4.1 孔特徵的位置投影 52 3.4.2 非孔特徵的位置投影 53 3.4.3 第二個特徵之草圖繪製與引伸 54 3.5 參數的設定與結果 56 第四章 自動化特徵代碼提取 70 4.1 拓樸與幾何資訊 71 4.2 邊的分類 72 4.2.1相鄰面相切的判斷 73 4.2.2 Coedge之方向性 74 4.2.3邊之二面角判斷 74 4.3 迴圈分類 80 4.4 自動化特徵搜尋 81 4.4.1 取得AAG 81 4.4.2 凹特徵搜尋 82 4.4.3 凸特徵搜尋 84 4.4.4 相交特徵的搜尋 86 4.5 特徵編碼 89 4.5.1特徵代碼一 90 4.5.2特徵代碼二 91 4.5.3特徵代碼三 93 第五章 訓練特徵代碼之深度學習模型 97 5.1 神經網路模型 98 5.1.1神經網路架構 98 5.1.2 卷積運算 100 5.1.3 平坦化與全連接層 106 5.2 訓練深度學習模型 108 5.2.1 正反向傳播 108 5.2.2 訓練資料 110 5.3 訓練結果 112 5.3.1訓練曲線 112 5.3.2 實際應用 115 第六章 系統開發 117 6.1 軟體開發工具與系統環境 117 6.2 系統運作流程 119 6.3 實例驗證一 124 6.4 實例驗證二 128 6.5 系統限制 131 6.5.1 特徵相連 131 6.5.2 圖基法限制 132 第七章 結論與未來研究方向 134 7.1 結論 134 7.2 未來研究方向 135 參考文獻 137

    [1] Joshi Sanjay and Tien-Chien Chang (1988), “Graph-based heuristics for recognition of machined features from a 3D solid model,” Computer -Aided Design, Vol. 20, No. 2, pp. 58-66.
    [2] Laakko Timo and Martti Mäntylä (1993), “Feature modelling by incremental feature recognition,” Computer-Aided Design, Vol. 25, No. 8, pp. 479-492.
    [3] C. F. Yuen and Venuvinod Patrik (1999), “Geometric feature recognition: coping with the complexity and infinite variety of features,” International Journal of Computer Integrated Manufacturing, Vol. 12 No. 5, pp. 439-452.
    [4] Shu-Ming Gao and Jami J. Shah (1998), “Automatic recognition of interacting machining features based on minimal condition subgraph,” Computer-Aided Design, Vol.30, No. 9, pp.727-739.
    [5] Ying-Guang Li, Y. F. Ding, H Guo and Wen-Ping Mou (2010), “Feature recognition technology for aircraft structural parts based on a holistic attribute adjacency graph,” Proceedings of the Institution of Mechanical Engineers, Part B: Journal of Engineering Manufacture, Vol. 224, No. 2, pp. 271-278.
    [6] Na Cai, Soumiya Bendjebla, Sylvain Lavernhe, Charyar Mehdi-Souzani, Nabil Anwer (2018), “Freeform machining feature recognition with manufacturability analysis,” Procedia CIRP, Vol. 72, pp. 1475-1480.
    [7] Iain A. Donaldson and Jonathan R. Corney (1993), “Rule-based feature recognition for 2· 5D machined components,” International Journal of Computer Integrated Manufacturing, Vol. 6, No. 1-2, pp. 51-64.
    [8] Hai-yan Li, Yun-Bao Huang, Yu-Hang Sun and Li-Ping Chen (2015), “Hint-based generic shape feature recognition from three-dimensional B-rep models,” Advances in Mechanical Engineering, Vol. 7.4: 1687814015582082.
    [9] Yong-Se Kim (1992), “Recognition of form features using convex decomposition,” Computer-Aided Design, Vol. 24, No. 9, pp. 461-476.
    [10] Betkier Igor ,Oszczypała Mateusz ,Pobożniak Janusz , Sobieski Sergiusz, Betkier Przemysław (2023), “PocketFinderGNN: A manufacturing feature recognition software based on Graph Neural Networks (GNNs) using PyTorch Geometric and NetworkX,” SoftwareX, Vol. 23: 101466.
    [11] Hong-Jin Wu, Ruo-Shan Lei, Yi-Bing Peng and Liang Gao (2024), “AAGNet: A graph neural network towards multi-task machining feature recognition,” Robotics and Computer-Integrated Manufacturing, Vol. 86, 102661.
    [12] Prabhakar Shashikanth and Mark R. Henderson (1993), “Automatic form-feature recognition using neural-network-based techniques on boundary representations of solid models,” Computer-Aided Design, Vol. 24, No. 7, pp. 381-393.
    [13] Sunil V. B. and S. S. Pande (2009), “Automatic recognition of machining features using artificial neural networks,” International Journal of Advanced Manufacturing Technology, Vol. 41, pp. 932-947.
    [14] Yu Zhang, Yong-Sheng Zhang, Kai-Wen He, Dong-Sheng Li, Xun Xu and Ya-Dong Gong (2022), “Intelligent feature recognition for STEP-NC-compliant manufacturing based on artificial bee colony algorithm and back propagation neural network,” Journal of Manufacturing Systems, Vol. 62, pp. 792-799.
    [15] Pei-Zhi Shi, Qun-Fen Qi, Yu-Chu Qin, Paul J. Scott and Xiang-Qian Jiang (2020), “A novel learning-based feature recognition method using multiple sectional view representation,” Journal of Intelligent Manufacturing, Vol. 31, pp. 1291-1309.
    [16] Pei-Zhi Shi, Qun-Fen Qi, Yu-Chu Qin, Paul J. Scott and Xiang-Qian Jiang (2020), “Intersecting machining feature localization and recognition via single shot multibox detector,” IEEE Transactions on Industrial Informatics, Vol. 17, No. 5, pp. 3292-3302.
    [17] Pei-Zhi Shi, Qun-Fen Qi, Yu-Chu Qin, Paul J. Scott and Xiang-Qian Jiang (2022),“Highly interacting machining feature recognition via small sample learning,” Robotics and Computer-Integrated Manufacturing, Vol. 73, 102260.
    [18] Maturana Daniel and Sebastian Scherer. (2015), “Voxnet: A 3d convolutional neural network for real-time object recognition,” IEEE/RSJ International Conference on Intelligent Robots and Systems, September 28-October 2, Hamburg, Germany, pp. 922-928.
    [19] Zhi-Bo Zhang, Prakhar Jaiswal and Rahul Rai (2018), “Featurenet: Machining feature recognition based on 3d convolution neural network,” Computer-Aided Design, Vol. 101, pp. 12-22.
    [20] Xin-Hua Yao, Di Wang, Tao Yu, Cong-Cong Luan and Jian-Zhong Fu (2023), “A machining feature recognition approach based on hierarchical neural network for multi-feature point cloud models,” Journal of Intelligent Manufacturing, Vol. 34, No. 6, pp. 2599-2610.
    [21] Ruo-Shan Lei, Hong-Jin Wu and Yi-Ying Peng (2020), “MFPointNet: A Point Cloud-Based Neural Network Using Selective Downsampling Layer for Machining Feature Recognition,” Machines, Vol. 10, No. 12, 1165.
    [22] Hang Zhang, Shu-Sheng Zhang, Ya-Jun Zhang, Jia-Chen Liang and Zhen Wang (2022), “Machining feature recognition based on a novel multi-task deep learning network,” Robotics and Computer-Integrated Manufacturing, Vol. 77, 102369.
    [23] Rana Hanocka, Amir Hertz, Noa Fish, Raja Giryes, Shachar Fleishman and Daniel Cohen-Or (2019), “Meshcnn: a network with an edge,” ACM Transactions on Graphics,Vol. 38, No. 4, pp. 1-12.
    [24] Yu-Tong Feng, Yi-Fan Feng, Hao-Xuan You, Xi-Bin Zhao, Yue Gao (2019), “Meshnet: Mesh neural network for 3d shape representation,” Proceedings of the AAAI Conference on Artificial Intelligence, January 27-February 1, Honolulu, Hawaii, USA, Vol. 33, No. 01, pp. 8279-8286.
    [25] Joseph G. Lambourne, Karl D.D. Willis, Pradeep Kumar Jayaraman, Aditya Sanghi, Peter Meltzer and Hooman Shayani (2021), “Brepnet: A topological message passing system for solid models,” Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, June 20-25, Nashville, TN, USA, pp. 12773-12782.
    [26] Pradeep Kumar Jayaraman, Aditya Sanghi, Joseph G. Lambourne, Karl D.D. Willis, Thomas Davies, Hooman Shayani and Nigel Morris (2023), “Uv-net: Learning from boundary representations,” Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, June 20-25, Nashville, TN, USA, pp. 11703-11712.
    [27] Andrew R. Colligan, Trevor T. Robinson, Declan C. Nolan, Yang Hua, Weijuan Cao (2022), “Hierarchical cadnet: Learning from b-reps for machining feature recognition,” Computer-Aided Design, Vol. 147, 03226.
    [28] Peng-Yu Wang, Wen-An Yang and You-Peng You (2023), “A hybrid learning framework for manufacturing feature recognition using graph neural networks,” Journal of Manufacturing Processes, Vol.85, pp. 387-404.
    [29] Wei-Juan Cao, T. Robinson, Yang Hua, F. Boussuge, Andrew R. Colligan and Wan-Bin Pan (2020), “Graph representation of 3D CAD models for machining feature recognition with deep learning,” International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, August 17-19, Virtual, Online, Vol. 84003, American Society of Mechanical Engineers.
    [30] Karl D.D. Willis, Yewen Pu, Jieliang Luo, Hang Chu, Tao Du, Joseph G. Lambourne, Armando Solar-Lezama and Wojciech Matusik (2021), “Fusion 360 gallery: A dataset and environment for programmatic cad construction from human design sequences,” ACM Transactions on Graphics, Vol. 40, No. 4, pp. 1-24.
    [31] Rundi Wu, Chang Xiao and Changxi Zheng (2021), “Deepcad: A deep generative network for computer-aided design models,” Proceedings of the IEEE/CVF International Conference on Computer Vision, October 10-17, Montreal, QC, Canada, pp. 6772-6782.
    [32] Open CASCADE Technology, Retrieved from https://dev.opencascade.org/
    [33] PythonOCC, Retrieved from https://dev.opencascade.org/project/pythonocc
    [34] NX Open, Retrieved from
    NX OPEN API Automation & Customization Programming (nx-open.com)
    [35] PyTorch, Retrieved from
    https://pytorch.org/get-started/previous-versions/

    QR CODE