簡易檢索 / 詳目顯示

研究生: 蘇士誠
Su, Shih-Cheng
論文名稱: 基於模組化架構實現馬達驅動系統之V-Model在環驗證平台
Implementation of a V-Model In-the-Loop Verification Platform for Motor Drive Systems Based on Modular Architecture
指導教授: 蔡明祺
Tsai, Mi-Ching
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2026
畢業學年度: 114
語文別: 中文
論文頁數: 130
中文關鍵詞: V-ModelModel-in-the-LoopSoftware-in-the-LoopProcessor-in-the-LoopHardware-in-the-LoopMaximum Torque Per Ampere永磁同步馬達磁場導向控制
外文關鍵詞: V-Model, model-in-the-Loop, software-in-the-Loop, processor-in-the-Loop, hardware-in-the-Loop, maximum torque per ampere, permanent magnet synchronous motor, field-oriented control
相關次數: 點閱:22下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文提出一套基於模組化架構之馬達驅動系統V-Model在環驗證平台,旨在提升控制系統開發、測試與驗證之效率。平台以 MATLAB/Simulink建立馬達、逆變器及控制演算法等功能模組,並依循 V-Model開發流程,整合模型在環(MIL)、軟體在環(SIL)、處理器在環(PIL)及硬體在環(HIL)等驗證層級。透過統一的系統參數設定、驗證流程與資料管理機制,可在不同開發階段比較關鍵訊號波形及分析誤差,以確認控制系統模型、生成程式碼、目標微控制器與硬體系統間的等效性。此外,本研究建置MATLAB App圖形化操作介面,提供驗證層級選擇、參數設定、系統模型執行、波形顯示及資料管理等功能,以降低操作複雜度。研究結果顯示,所建置之平台能有效支援馬達驅動控制器從模型設計至硬體驗證的系統化開發,並藉由模組化設計提高模型的重複使用性、可維護性與擴充性,可作為馬達驅動控制系統快速原型開發與在環驗證之工具。

    This thesis proposes a V-model in-the-loop verification platform for motor drive systems based on a modular architecture to improve the efficiency of control system development, testing, and verification. The platform uses MATLAB/Simulink to develop functional modules, including the motor, inverter, and control algorithms, and follows the V-model development process to integrate multiple verification levels: model-in-the-loop (MIL), software-in-the-loop (SIL), processor-in-the-loop (PIL), and hardware-in-the-loop (HIL). A unified framework for system parameter configuration, verification procedures, and data management enables key signal waveforms to be compared and errors to be analyzed across different development stages, thereby verifying equivalence among the control system model, generated code, target microcontroller, and hardware system. In addition, this study develops a MATLAB-based graphical user interface that provides functions for verification level selection, parameter configuration, system model execution, waveform display, and data management, enhance reducing operational complexity. The results show that the developed platform effectively supports the systematic development of motor drive controllers from model design to hardware verification. Furthermore, the modular design improves model reusability, maintainability, and extensibility, making the platform suitable for rapid prototyping and in-the-loop verification of motor drive control systems.

    中文摘要 I Abstract II 致謝 XVIII 目錄 XIX 表目錄 XXII 圖目錄 XXIII 符號表 XXVII 第一章 緒論 1 1.1 研究背景與動機 1 1.2 文獻回顧 3 1.3 研究方法 6 1.3.1 V-Model系統開發流程 6 1.3.2 在環驗證技術 8 1.3.3 自動化驗證工具 9 1.4 本文架構 11 第二章 永磁同步馬達驅動系統 12 2.1 永磁同步馬達物理結構與特性 12 2.2 座標軸轉換 13 2.3 永磁同步馬達數學模型 16 2.3.1 磁交鏈與電壓方程式 16 2.3.2 電磁轉矩與機械動態方程式 23 2.4 磁場導向控制 26 2.4.1 基本原理與發展歷史 26 2.4.2 系統架構 27 2.5 空間向量脈波寬度調變 29 2.6 Maximum Torque Per Ampere(MTPA) 38 2.6.1 控制目標與約束條件 39 2.7 控制器離散化 42 2.7.1 前向尤拉法(Forward Euler Method) 42 2.7.2 PI控制器離散化 44 第三章 模組化架構與V-Model在環驗證平台 47 3.1 模組化架構設計 47 3.2 V-Model架構 50 3.2.1 模型在環 51 3.2.2 軟體在環 51 3.2.3 處理器在環 54 3.2.4 硬體在環 56 3.3 在環驗證平台架構 59 3.3.1 數學域與物理訊號之介面轉換 61 3.4 MATLAB App架構 63 3.5 程式碼自動生成與部署 66 第四章 模擬與實作結果 68 4.1 SPMSM驅動系統 68 4.1.1 MIL驗證 69 4.1.2 SIL驗證 71 4.1.3 PIL驗證 73 4.1.4 HIL驗證 75 4.2 IPMSM驅動系統 78 4.2.1 MIL驗證 79 4.2.2 SIL驗證 82 4.2.3 PIL驗證 84 4.2.4 HIL驗證 86 4.3 MATLAB App設計 89 第五章 結論與未來展望 94 5.1 結論 94 5.2 未來研究建議 95 參考文獻 96

    [1] Clarus Concept of Operations. Publication No. FHWA-JPO-05-072,Federal Highway Administration (FHWA), 2005.
    [2] J. Jing and J. Zhang, "Design of a Rapid Control Prototype System for Permanent Magnet Synchronous Motor Based on SimulLAB," 2024 IEEE 10th International Power Electronics and Motion Control Conference (IPEMC2024-ECCE Asia), Chengdu, China, 2024, pp. 7-18.
    [3] A. Kang, J. Lee and J. S. Lee, "Development of PMSM drive system using a real time machine and software," 2022 IEEE 5th Student Conference on Electric Machines and Systems (SCEMS), Busan, Korea, Republic of, 2022, pp. 1-4.
    [4] G. Zhao and S. Zhang, "Development of Permanent Magnet Synchronous Motor RCP Based on Hardware-in-the-loop Simulation," 2018 IEEE International Conference on Mechatronics and Automation (ICMA), Changchun, China, 2018, pp. 264-269.
    [5] 林竣泓,「線上參數識別之內藏式永磁同步馬達單位功率因數控制」,碩士論文,國立成功大學電機工程研究所,2024。
    [6] 張啟洋,「交流馬達建模與分析」,碩士論文,國立成功大學電機工程研究所,2023。
    [7] 凱登智動科技,「MR2 硬體迴路測試系統使用說明書」,檢索日期:2026/06/13
    [8] 袁雷,「現代永磁同步電機控制原理及MATLAB仿真」,北京航空航天大學出版社, 2016.
    [9] Motahhir, Saad, Abdelaziz El Ghzizal, Souad Sebti, and Aziz Derouich. “MIL and SIL and PIL Tests for MPPT Algorithm.” Cogent Engineering 4 (1), 2017.
    [10] J. Lee and J. S. Lee, "Rapid control prototyping for PMSM drives using DSPs and PLECS," 2021 24th International Conference on Electrical Machines and Systems (ICEMS), Gyeongju, Korea, Republic of, 2021, pp. 1865-1868.
    [11] C. Rusu, M. M. Radulescu, S. Enikö, R. K. Melinda and Z. L. Jakab, "Embedded motor drive prototype platform for testing control algorithms," 2014 International Conference on Applied and Theoretical Electricity (ICATE), Craiova, Romania, 2014, pp. 1-6.
    [12] C. Dufour, V. Lapointe, J. Belanger and S. Abourida, "Hardware-in-the-loop closed-loop experiments with an FPGA-based permanent magnet synchronous motor drive system and a rapidly prototyped controller," 2008 IEEE International Symposium on Industrial Electronics, Cambridge, UK, 2008, pp. 2152-2158.
    [13] G. L. Mello, Í. S. S. Silva, A. C. B. Figueiredo de, M. Sotero and L. G. B. Rolim, "Microcontroller-Based Hardware-in-the-Loop Modeling and Simulation of a PMSM Drive System for Subsea Oil Production Applications," 2025 Brazilian Power Electronics Conference (COBEP), Vitoria, Brazil, 2025, pp. 1-6.
    [14] V. K. Awaar, N. Anjali, M. N. S. Rani, S. Bannuru, S. Tangallapally and A. Siri, "Parameter Estimation and Speed Control of FOC Based PMSM Drive Using F28379D," 2022 IEEE 2nd International Conference on Sustainable Energy and Future Electric Transportation (SeFeT), Hyderabad, India, 2022, pp. 1-6.
    [15] Y. Zhu, Y. Zhang, J. Kang and X. Wang, "MotorAST: a Low-Cost High-Performance Rapid Control Prototype Platform for Electric Drives," 2023 IEEE International Conference on Predictive Control of Electrical Drives and Power Electronics (PRECEDE), Wuhan, China, 2023, pp. 1-6.
    [16] D. Hercog, M. Curkovic and K. Jezernik, "DSP based rapid control prototyping systems for engineering education and research," 2006 IEEE Conference on Computer Aided Control System Design, 2006 IEEE International Conference on Control Applications, 2006 IEEE International Symposium on Intelligent Control, Munich, Germany, 2006, pp. 2292-2297.
    [17] J. Mina, Z. Flores, E. López, A. Pérez and J. . -H. Calleja, "Processor-in-the-loop and hardware-in-the-loop simulation of electric systems based in FPGA," 2016 13th International Conference on Power Electronics (CIEP), Guanajuato, Mexico, 2016, pp. 172-177.
    [18] A. Deep, N. K. Pilli, A. K. Chauhan and S. K. Singh, "Design and development of rapid prototype controlled PMSM drive," 2015 IEEE IAS Joint Industrial and Commercial Power Systems / Petroleum and Chemical Industry Conference (ICPSPCIC), Hyderabad, India, 2015, pp. 134-139.
    [19] S. Chang and F. Chao, "Simscape-Based Modeling and Analysis of a Permanent Magnet Synchronous Motor and Its Control System," 2025 IEEE 4th International Conference of Safe Production and Informatization (IICSPI), Chongqing, China, 2025, pp. 444-449.
    [20] Wang, P., Lin, K., Lin, M., Yang, A., Fu, F. and Ai, J. (2021), Online multi-parameter estimation of permanent magnet synchronous machine with step-pulse injection. IET Electr. Power Appl, 15: 186-199.
    [21] MATLAB Help Center, "Field-Oriented Control," Available from:https://ww2.mathworks.cn/help/mcb/gs/implement-motor-speed-control-by-using-field-oriented-control-foc.html, 檢索日期:2026/06/17.
    [22] MATLAB Help Center, "MTPA Control Reference," Available from: https://ww2.mathworks.cn/help/mcb/ref/mtpacontrolreference.html, 檢索日期:2026/06/20.
    [23] MATLAB Help Center, "Discrete PID Controller," Available from:https://ww2.mathworks.cn/help/simulink/slref/discretepidcontroller.html, 檢索日期:2026/06/20.
    [24] Texas Instruments, "TMS320F2837xD Microcontrollers datasheet," Available from : https://www.ti.com/product/zh-tw/TMS320F28379D, 檢索日期:2026/07/15.

    下載圖示
    校外:立即公開
    QR CODE