| 研究生: |
沈時雨 Shih-Yu Shen |
|---|---|
| 論文名稱: |
四軸飛行器搭配機器視覺進行燈泡卸載 Quadcopter With Machine Vision For Bulb Uninstall |
| 指導教授: | 羅吉昌 |
| 口試委員: | |
| 學位類別: |
碩士 Master |
| 系所名稱: |
工學院 - 機械工程學系 Department of Mechanical Engineering |
| 論文出版年: | 2022 |
| 畢業學年度: | 110 |
| 語文別: | 中文 |
| 論文頁數: | 73 |
| 中文關鍵詞: | 四軸飛行器 、機器視覺 、STM32 、IMU 、IoT |
| 相關次數: | 點閱:11 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
本論文使用STM32F103C8T6 作為主控制器,透過慣性測量單元
(IMU) 配合尤拉角等數學公式取得無人機的俯仰(pitch)、翻滾(roll)、
偏擺(yaw) 之角度及加速度,最後使用PID 進行回授控制完成四軸飛
行器的平衡。機器視覺則是考慮大小、耗電量、價錢等問題,決定使
用ESP32-CAM 為本論文之影像處理裝置,將取得之影像透過Wi-Fi 傳
送到瀏覽器配合OpenCV.js 進行影像處理之運算,並傳送控制訊號回
ESP32-CAM,再透過I2C 將控制訊號傳送給主控制器STM32 進行位置
微調,完成定位後將會進入卸除或安裝燈泡的程序。
STM32F103C8T6 is used as the main controller in this thesis, and
use the inertial measurement unit (IMU) and mathematical formulas such
as the Euler angle to obtained the angle and acceleration of the UAV’s
pitch, roll, and yaw. Finally, use PID feedback control to complete the
balance of the quadcopter. For machine vision, considering the issues
of size, power consumption, and price, this thesis uses ESP32-CAM as
the image processing device, and transmits the obtained image to the
browser through Wi-Fi, to complete image processing with OpenCV.js,
and the control signal is sent to ESP32-CAM. Finally, the control signal
is sent to the main controller STM32 through I2C to complete the positioning
in air. After the positioning in air is completed, the procedure of
removing or installing the light bulb will be execute.
[1]Alaimo, A., Artale, V., Milazzo, C.L.R., Ricciardello, A.: Comparison
between euler and quaternion parametrization in uav dynamics. In:
AIP Conference Proceedings (2013)
[2]Kuipers, Jack B. Quaternions and rotation sequences: a primer
with applications to orbits, aerospace, and virtual reality. Princeton university
press, 1999.
[3]A.L. Salih, M. Moghavvemi, H.A.F. Mohamed and K.S. Gaeid,
”Modelling and PID controller design for a quadrotor unmanned air vehicle”,
Automation Quality and Testing Robotics (AQTR) 2010 IEEE International
conference on, vol. 1, 1–5, 28–30 May2010.
[4]J. Li and Y. Li, ”Dynamic analysis and PID control for a quadrotor”,
Proc. IEEE Int. Conf. Mechatronics Autom., pp. 573-578, Aug. 2011.
[5]Redmon, Joseph, et al. ”You only look once: Unified, real-time
object detection.” Proceedings of the IEEE conference on computer vision
and pattern recognition. 2016.
[6]U. Hunkeler, H. L. Truong and A. Stanford-Clark, ”MQTT-S —Apublish/subscribe protocol for Wireless Sensor Networks,” 2008 3rd International
Conference on Communication Systems Software and Middleware
and Workshops (COMSWARE ’08), 2008, pp. 791-798.
[7]OpenCV.js https://docs.opencv.org/4.x/
[8]I2C 裝置連接示意圖https://rexpighj123.pixnet.net/blog/post/219960237-
i2c
[9]Publish/Subscribe 訊息傳送示意圖https://medium.com/swift-iosapp-/
ios-x-iot-2-mqtt-e750aa420162
[10]Qos:0 訊息傳送示意圖https://medium.com/swift-ios-app-/iosx-
iot-2-mqtt-e750aa420162
[11]Qos:1 訊息傳送示意圖https://medium.com/swift-ios-app-/iosx-
iot-2-mqtt-e750aa420162
[12]Qos:2 訊息傳送示意圖https://medium.com/swift-ios-app-/iosx-
iot-2-mqtt-e750aa420162
[13] 尤拉角示意圖https://silverwind1982.pixnet.net/blog/post/258069682
[14]MPU-6050 晶片https://invensense.tdk.com/wp-content/uploads/
2015/02/MPU-6000-Datasheet1.pdf
[15]RGB 空間及HSV 空間示意圖https://docs.opencv.org/3.4/da/
d97/tutorialtˍhresholdˍinRange.html