跳到主要內容

臺灣博碩士論文加值系統

(44.220.247.152) 您好!臺灣時間:2024/09/12 03:08
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:林靖捷
研究生(外文):LIN, CHING-CHINE
論文名稱:設計具工業網路通信功能的無刷直流馬達驅動器系統
論文名稱(外文):Design of the Brushless DC Motor Driver System with Industrial Network Communication Function
指導教授:張凱雄
指導教授(外文):CHANG, KAI-HSIUNG
口試委員:溫志群黃譯興
口試委員(外文):WUN, JHIH-CYUNHUANG, YI-SING
口試日期:2024-07-18
學位類別:碩士
校院名稱:國立虎尾科技大學
系所名稱:電機工程系碩士班
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2024
畢業學年度:112
語文別:中文
論文頁數:91
中文關鍵詞:直流無刷馬達驅動器工業物聯網Modbus TCPSQL資料庫
外文關鍵詞:Brushless DC Motor DriverIndustrial Internet of ThingsModbus TCPSQL Database
數位影音連結:設計具網路通訊功能的無刷馬達驅動器系統
相關次數:
  • 被引用被引用:0
  • 點閱點閱:5
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
本論文以意法半導體所開發生產的32位元微處理器STM32F103為控制核心,設計出一套具有工業網路通信介面的無刷直流馬達驅動器。能夠遠端控制馬達,並設定其參數,同時監控馬達的轉速、電流和轉矩等數據。系統還能將這些數據存入SQL資料庫,供使用者觀察分析,提前預測馬達異常狀態特徵,提升生產效率並降低成本。
隨著資訊科技的快速發展,工業製造業逐漸向智能自動化轉型。直流無刷馬達因其運轉穩定和壽命長等特性,成為工業自動化領域的重要設備之一。然而,傳統無刷直流馬達驅動器缺乏網路通訊功能,限制了其在遠端監控和數據記錄方面的應用,對於大規模生產的工廠,在管理上會非常困難。為了解決這問題,本論文將開發一套具有遠端控制和監控功能的無刷馬達驅動器系統。本論文系統設計開發將從瞭解無刷直流馬達的驅動原理入手。透過霍爾元件檢測轉子換相訊號,量測馬達轉速,並使用六步方波驅動馬達,利用PID控制器調整PWM 來控制馬達轉速,實現閉迴路控制。此外,系統採用電阻分流法和OPA放大器,利用STM32F103內部的類比數位轉換器(Analog to Digital Converter, ADC)測量馬達電流。所有馬達數據均存入Modbus暫存器,並透過Modbus TCP或RTU協議傳送到自行設計的人機介面中。
同時開發人機介面提供了馬達控制介面、即時數據圖表、馬達參數設定和每日報表等功能,即使使用者不熟悉PLC,也能輕鬆地操作和設定馬達。同時將長時間的馬達運轉數據紀錄在SQL資料庫裡。幫助使用者及早發現馬達異常狀態,實現對生產過程的全面優化和成本控制。在系統製作完成後,本文將利用自行開發的無刷直流馬達驅動器進行實驗測試,以驗證馬達波形是否正確和轉速控制的精確度。同時,展示如何透過自行開發的人機介面遠端控制馬達,並利用第三方軟體Modbus Poll進行長時間通訊測試,以驗證遠端通訊的穩定性,並證明系統符合工業物聯網的可行性。
This thesis proposes the Design of a Brushless DC Motor Driver System with an Industrial Network Communication Function based on the 32-bit STM32F103 microprocessor developed by STMicroelectronics, serving as the control core. This system enables remote motor control and parameter setting while monitoring data such as motor speed, current, and torque. Additionally, the system can store this data in an SQL database for user observation and analysis, enabling early prediction of motor abnormalities to enhance production efficiency and reduce costs.
With the rapid development of information technology, the industrial manufacturing sector is gradually transitioning towards intelligent automation. Brushless DC motors, due to their stable operation and long lifespan, have become essential equipment in the field of industrial automation. However, traditional brushless DC motor drivers lack network communication functions, limiting their application in remote monitoring and data recording, which presents significant management challenges for large-scale production factories. To address this issue, this thesis develops a brushless motor driver system with remote control and monitoring functions.
The system design and development in this thesis begin by understanding the driving principles of brushless DC motors. By detecting the rotor commutation signal with Hall sensors and measuring the motor speed, using six-step square wave driving for the motor, and utilizing a PID controller to adjust the PWM duty cycle to control the motor speed, closed-loop control is achieved. Additionally, the system uses the shunt resistor method and an OPA amplifier to measure motor current via the STM32F103's internal Analog to Digital Converter (ADC). All motor data is stored in Modbus registers and transmitted to a custom- designed human-machine interface via Modbus TCP or RTU protocol.
Furthermore, the developed human-machine interface provides a motor control interface, real-time data charts, motor parameter settings, and daily reports, making it easy for users unfamiliar with PLCs to operate and set up the motor. Long-term motor operation data is recorded in the SQL database, helping users detect motor abnormal states early, optimizing the production process comprehensively and controlling costs. After the system is completed, this thesis will use the self-developed brushless DC motor driver for experimental testing to verify the accuracy of motor waveforms and speed control. Simultaneously, it will demonstrate how to remotely control the motor through the self-developed human-machine interface and conduct long-term communication tests using third-party software Modbus Poll to verify the stability of remote communication, proving the system's feasibility in the industrial IoT.
摘要.............................i
Abstract.........................ii
誌謝.............................iv
目錄.............................v
表目錄...........................ix
圖目錄...........................xi
第一章 緒論.......................1
1.1 研究動機與目的................1
1.2 研究方法......................2
1.3 論文架構......................3
第二章 系統原理與技術..............4
2.1 無刷直流馬達介紹...............4
2.2 無刷直流馬達等效電路...........5
2.3 霍爾效應感測器.................7
2.4 馬達驅動原理...................8
2.5 馬達量測與計算.................9
2.5.1 馬達轉速量測.................10
2.5.2 馬達電流量測.................11
2.5.3 馬達轉矩計算.................11
2.6 PID控制器......................12
2.7 Modbus........................17
2.7.1 Modbus RTU..................19
2.7.2 Modbus TCP..................20
第三章 系統架構與設計...............23
3.1 系統架構.......................23
3.2 硬體電路設計...................24
3.2.1 系統電源設計.................24
3.2.2 STM32微處理器電路............25
3.2.3 馬達驅動電路.................27
3.2.4 霍爾訊號量測電路.............29
3.2.5 電流量測電路.................30
3.2.6 RS485通訊電路................31
3.2.7 網路通訊電路.................32
3.2.8 其他周邊電路.................33
3.3 韌體程式開發...................36
3.3.1 馬達驅動方法.................36
3.3.2 馬達轉速控制.................38
3.3.3 PID參數調整..................40
3.3.4 馬達電流量測..................41
3.3.5 Modbus暫存器規劃..............43
3.3.6 SQL資料庫....................47
3.4 人機介面設計...................48
3.4.1 馬達控制介面設計..............49
3.4.2 通訊參數設定介面設計..........50
3.4.3 即時數據顯示介面設計..........50
3.4.4 馬達參數設定介面設計..........51
3.4.5 每日報表介面設計..............51
3.5 驅動器外觀設計..................52
3.6 系統流程........................53
第四章 實驗結果與討論................62
4.1 實驗環境........................62
4.2 馬達驅動器測試..................62
4.3 馬達實驗結果....................67
4.3.1 馬達轉速控制實驗...............67
4.3.2 馬達多段速控制實驗.............74
4.4 Modbus通訊穩定度實驗.............78
4.5 系統操作說明.....................79
第五章 結論與未來展望.................80
5.1 論文結論.........................80
5.2 未來展望.........................80
參考文獻.............................81
附錄一...............................86
Extended Abstract...................87
Abstract............................87
1. System Architecture..............89
2. Human-Machine Interface (HMI)....90
3. System Appearance................91
4. Experimental Results.............92


[1] 中華民國安全促進協會,2021,工具設備安全常識–有刷?無刷?關鍵在火花!https://www.atmegg.com/archives/653
[2] 機械工業雜誌,2018,直流無刷馬達市場及潛力產品介紹
https://www.automan.tw/magazine/magazineContent.aspx?id=2098
[3] D. Mohanraj et al., "A Review of BLDC Motor: State of Art, Advanced Control Techniques, and Applications," in IEEE Access, vol. 10, pp. 54833-54869, 2022
[4] M. Jaishree, P. Navina, V. Naumitha Prebha and P. Priyadharshini, "IoT Assisted Motor Monitoring System for Industries," International Conference on Advanced Computing and Communication Systems (ICACCS), vol. 1, no. 7, pp. 689-691, March 2021.
[5] D. Shyamala, D. Swathi, J. L. Prasanna and A. Ajitha, "IoT platform for condition monitoring of industrial motors," International Conference on Communication and Electronics Systems (ICCES), pp. 260-265, Oct 2017.
[6] H. A. Raja, H. Raval, T. Vaimann, A. Kallaste, A. Rassõlkin and A. Belahcen, “Cost-efficient real-time condition monitoring and fault diagnostics system for BLDC motor using IoT and Machine learning,” International Conference on Diagnostics in Electrical Engineering (Diagnostika), pp. 1-4, 2022.
[7] 張俊興,2014,無刷直流馬達技術,
https://vtedu.k12ea.gov.tw/uploads/1640742477416QZED4uy9.pdf
[8] 昇展科技股份有限公司,2016,有刷與無刷馬達控制系統簡介,
https://www.sunrise-tech.com.tw/faq/detail/9
[9] 機械工業雜誌,2014,直流無刷薄型馬達之熱流場分析技術,
https://www.automan.tw/magazine/magazineContent.aspx?id=647
[10] 台灣東方馬達,2019,技術手冊-無刷馬達篇,https://www.orientalmotor.com.tw/system/files/document/tech/technicalmanual_brushless_tw.pdf
[11] 施能義、高嘉隆,2010,直流無刷馬達之模糊PID控制器設計,資訊科技國際研討會論文
[12] 艾爾斯半導體股份有限公司,2018,什麼是Hall傳感器?
https://twcn.rs-online.com/web/content/m/hall-effect-sensors-guide.
[13] Texas Instruments,DRV5023-Datasheet,
https://www.ti.com/lit/ds/symlink/drv5023.pdf?ts=1718801693807&ref_url=https%253A%252F%252Fwww.google.com%252F.pdf
[14] R. Jauhar, N. Ismail and N. Sartika, “Design of Torque Controller Based on Field Oriented Control (FOC) Method on BLDC Motor,” International Conference on Telecommunication Systems, Services, and Applications (TSSA), pp. 1-5, 2022
[15] M. K. Waghmare and S. V. Patil, "Speed Control Strategy of Permanent Magnet Synchronous Motor Drive Using SPWM Technique," International Conference on Recent Trends on Electronics, Information, Communication & Technology (RTEICT), Bangalore, India, 2019, pp. 1328-1332, May 2019
[16] Y. Lee and J. Kim, "Analysis of the Three-Phase Inverter Power Efficiency of a BLDC Motor Drive Using Conventional Six-Step and Inverted Pulsewidth Modulation Driving Schemes," in Canadian Journal of Electrical and Computer Engineering, vol. 42, no. 1, pp. 34-40, winter 2019
[17] 三鋒儀器科技有限公司,2020,編碼器原理與分類
[18] K. M. Reshma and T. B. Isha, “A Back-EMF Based Sensorless Speed Control of Four Switch BLDC Motor Drive,” International Conference on Control, Power, Communication and Computing Technologies (ICCPCCT), pp. 283-287, March 2018
[19] M. D. P. Emilio,使用霍爾效應感測器控制馬達速度
https://www.eettaiwan.com/20200106ta31-motor-speed-control-using-hall-effect-sensors/
[20] 羅姆半導體集團,2016,何謂分流電阻?
https://www.rohm.com.tw/electronics-basics/resistors/r_what14
[21] P. Y. Huang and T. Shimizu, “High Power/Current Inductor Loss Measurement with Shunt Resistor Current-sensing Method,” International Power Electronics Conference (IPEC-Niigata 2018 -ECCE Asia), pp. 2165-2169, May 2018.
[22] 國立清華大學,電工機械總整理
https://ocw.nthu.edu.tw/ocw/upload/124/news/%E9%9B%BB%E5%B7%A5%E6%A9%9F%E6%A2%B0%E7%B8%BD%E6%95%B4%E7%90%86.pdf
[23] NI,2018,PID 理論說明
https://www.ni.com/zh-tw/shop/labview/pid-theory-explained.html
[24] 張道弘,1995, PID控制理論實務
[25] 周子逸,2021,設計具有Modbus-RTU通訊功能的直流有刷馬達運動控制器,國立虎尾科技大學電機工程系碩士班,碩士論文
[26] 微積分福音,2017,積分的定義
https://calcgospel.top/
[27] 物理學中的微積分,2017,
https://zetria.tw/physics/2d296cd71a
[28] 史廷揆,2010,以傳統PID控制器為基礎之類神經網路PID控制器設計與研究,中華大學機械工程學系碩士班,碩士論文
[29] 東勝物聯有限公司,2023,什麼是 Modbus 協議及其工作原理?
https://www.dusuniot.com/zh-TW/blog/what-is-the-modbus-protocol-and-how-does-it-work/
[30] 元米科技有限公司,2013,解讀 Modbus Coil/Register 編號與通訊資料位置與通訊碼,
https://www.icdt.com.tw/main/index.php/2013-07-09-05-19-03/315-aboutmodbusregisterid
[31] 力誠科技股份有限公司,2013,Modbus RTU 通訊協議介紹,
hmi.com/doc/Modbus%20RTU%20%E7%B0%A1%E4%BB%8B
[32] U. Waseem,2023,Modbus TCP: A Comprehensive Guide to the Protocol and Its Applications,
https://www.wevolver.com/article/modbus-tcp
[33] 王思元,2017,TCP 連線狀態機制與流程,
https://dev.twsiyuan.com/2017/09/tcp-states.html
[34] STMicroelectronics,STM32F103x8-Datasheet,
https://www.st.com/resource/en/datasheet/cd00161566.pdf
[35] STMicroelectronics,STM32CubeMX-STM32Cube initialization code generator,
https://www.st.com/en/development-tools/stm32cubemx.html
[36] STMicroelectronics,STM32CubeIDE-Integrated Development Environment for STM32,
https://www.st.com/en/development-tools/stm32cubeide.html
[37] Infineon Technologies,IR2101-Datasheet ,
https://www.digikey.fr/htmldatasheets/production/72699/0/0/1/ir2101-02-s-pbf-.html
[38] 德鍵電子工業股份有限公司,2022,電流檢測電阻選型與設計,
http://www.token.com.tw/big5/pdf/current-sense/b5_current_sense_design_selection.pdf.
[39] Wikipedia,RS485,https://en.wikipedia.org/wiki/RS-485
[40] C. Pinkle,2016,The Why and How of Differential Signaling,
https://www.allaboutcircuits.com/technical-articles/the-why-and-how-of-differential-signaling/
[41] WIZnet,W5500-Datasheet,
https://www.mouser.tw/pdfdocs/w5500_ds_v100e.PDF.
[42] STMicroelectronics,M24C64-Datasheet,
https://www.st.com/resource/en/datasheet/m24c64-f.pdf.
[43] Sensirion,SHT4x-Datasheet,
https://www.mouser.com/datasheet/2/682/Datasheet_SHT4x-1917879.pdf.
[44] 天微電子有限公司,TM1637-Datasheet,
https://www.puntoflotante.net/DATASHEET-TM1637.pdf.
[45] Lite-On,LTV354T-Datasheet,
https://www.mouser.com/datasheet/2/239/LTV-354T%20Series-1308-301538.pdf.
[46] A. Padalkar,“Speed and position control of BLDC motor using internal hall sensors and hardware design,”International Conference on Information Processing (ICIP), pp. 378-381, Dec 2015

[47] STMicroelectronics,PWM MANAGEMENT FOR 3-PHASE BLDC MOTOR DRIVES USING THE ST7MC,
https://www.st.com/resource/en/application_note/cd00041736-pwm-management-for-3-phase-bldc-motor-drives-using-the-st7mc-stmicroelectronics.pdf.
[48] Hung-Chi Chen , Tzu-Yang Tsai, “Comparisons of Six-Step Square-Wave PWMs,” Department of Electrical and Control Engineering,National Chiao Tung University, HsinChu, Taiwan., 2018

[49] C. R. Edwin Selva Rex, K. Neelima, P. Bhavana, Y. Gayathri, K. Bhargava and S. V. Kumar, “peed Control of BLDC Motor Using Trapezoidal Commutation & PWM Technique,” IEEE Global Conference for Advancement in Technology (GCAT), 編號 4, pp. 1-5, Oct 2023.
[50] D. A. Kumar, N. Chaudhary, S. Pathi, T. K. Sai Pandraju, S. Rani Depuru and M. N. Bhukya, “Fine Tuning of Closed Loop BLDC Motor using Traditional PID Control,” International Conference on Smart and Sustainable Technologies in Energy and Power Sectors (SSTEPS), pp. 277-281, Nov 2022
[51] 江炫奮,,2005,PID控制器參數調整方式之研究,國立高雄應用科技大學電機工程系碩士班,碩士論文
[52] 張杰,2023,無刷電機控制方法,
https://www.elecfans.com/kongzhijishu/2027378.html.
[53] 維基百科,平方平均數
https://zh.wikipedia.org/zh-tw/%E5%B9%B3%E6%96%B9%E5%B9%B3%E5%9D%87%E6%95%B0
[54] A. W. Services,什麼是 SQL?
https://aws.amazon.com/tw/what-is/sql/
[55] Microsoft,2023,使用 C# 在 Visual Studio 中建立 Windows Forms 應用程式
https://learn.microsoft.com/zh-tw/visualstudio/ide/create-csharp-winform-visual-studio?view=vs-2022

電子全文 電子全文(網際網路公開日期:20290801)
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top