跳到主要內容

臺灣博碩士論文加值系統

(44.222.82.133) 您好!臺灣時間:2024/09/07 19:49
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:周奕維
研究生(外文):ZHOU, YI-WEI
論文名稱:販賣設備管理與韌體更新系統
論文名稱(外文):The Management and Firmware Update System for Vending Equipments
指導教授:蔡忠和
指導教授(外文):TSAI, CHUNG-HO
口試委員:張英彬蘇志超蔡忠和
口試委員(外文):CHANG, YING-PINSU, JYE-CHAUTSAI, CHUNG-HO
口試日期:2024-07-18
學位類別:碩士
校院名稱:國立勤益科技大學
系所名稱:電子工程系
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2024
畢業學年度:112
語文別:中文
論文頁數:50
中文關鍵詞:嵌入式系統序列通訊韌體更新販賣設備封包
外文關鍵詞:Embedded SystemsPacketSerial CommunicationFirmware UpdatesVending equipments
相關次數:
  • 被引用被引用:0
  • 點閱點閱:19
  • 評分評分:
  • 下載下載:6
  • 收藏至我的研究室書目清單書目收藏:0
本論文採用嵌入式系統中的序列通訊進行傳輸,針對現有販賣設備來改善管理問題1.詢問後台狀態預期補貨狀況2.後台參數修改以防人員設置錯誤3.用韌體更新方法定期維護販賣設備,而研製提出一套販賣設備管理與韌體更新系統,使管理人員能夠即時查閱及更改參數,在同時可管理多部販賣設備。
此系統以UART通訊格式的封包進行傳輸,在販賣設備運作期間,少數管理人員需要即時查詢或更改後臺參數,無法即時地解決每一台販賣設備的問題,也缺少網路集中管理查詢與更改的功能,並在長期執行程式時有產生錯誤狀況,無法得到適當處理。透過此論文提出的販賣設備管理與韌體更新系統,販賣設備能夠迅速得到集中管理,並立即更正錯誤參數,也可以對程式中產生的錯誤,以升級韌體版本方法解決問題。

This paper adopts serial communication in embedded system for transmission, and focuses on the existing vending equipments to improve the management problems: 1. asking the backend status to expect the replenishment status 2. backend parameter modification to prevent the personnel from setting errors 3. using the firmware updating method to maintain the vending equipments regularly, and develops and proposes the management and firmware update system for vending equipments, which enables the management personnel to check and change the parameter in real time, and to manage multiple vending equipments in the same time.
This system uses UART packets for transmission, and during the operation of vending equipment, the managers may need to query or change the parameters of the backend in real time. But they usually cannot solve the problems of each vending equipment in real time, beacuae they lack the function of centralized management of querying and changing equipments over the network, and they may generate errors that cannot be handled appropriately in the long-term implementation of the system. The management and firmware update system for vending equipments proposed in this paper allows centralized management of vending devices and immediate correction of erroneous parameters, as well as upgrading of firmware to address errors in the program.

摘 要 i
Abstract ii
誌謝 iii
目錄 iv
圖目錄 vi
表目錄 vii
第一章 緒論 1
1.1 前言 1
1.2 研究動機及目的 2
1.3 章節概要 3
第二章 系統硬體架構及介紹 4
2.1 系統架構 4
2.2 通訊板介紹 5
2.3 通訊板硬體架構 6
2.4 通訊板及販賣設備電路介紹 7
2.4.1 嵌入式系統晶片介紹 7
2.4.2 Wi-Fi模組介紹 8
2.4.3 CAN BUS控制器介紹 9
2.4.4 RS-232收發器介紹 10
第三章 系統流程及程式設計 11
3.1傳輸協議 11
3.1.1通用非同步收發傳輸器 11
3.1.2控制器區域網路 12
3.1.3流量控制 13
3.1.4中斷優先權 14
3.2 MPC82內部Flash及STM32外部Flash分配 15
3.3 在系統引導編譯程式(ISP) 16
3.4通訊板程式流程 17
3.4.1 通訊程式啟動流程 17
3.4.2 通訊板韌體更新檔獲取流程 18
3.4.3 通訊板與販賣設備交握程式流程 19
3.4.4 通訊板對販賣設備請求更新流程 21
3.4.5通訊板對販賣設備傳送更新檔流程 23
3.4.6通訊板對販賣設備請求及更改後台參數流程 25
3.5販賣設備程式流程 28
3.5.1販賣設備主板ISP開機程式流程 28
3.5.2 販賣設備交握流程 29
3.5.3販賣設備開啟更新通道程式流程 30
3.5.4販賣設備進入更新狀態流程 31
3.5.5販賣設備回覆後台資訊及更改參數流程 33
第四章 實驗平台 35
4.1 Icp Programmer介紹 35
第五章 實驗方式及流程 36
5.1通訊板啟動流程 37
5.1.1通訊板下載更新韌體檔 37
5.1.2通訊板與販賣設備交握 42
5.1.3通訊板與販賣設備更新 43
5.1.4通訊板與販賣設備後台參數請求與更改 44
第六章 結論及未來展望 46
6.1結論 46
6.2未來論文方向 47
參考文獻 48


[1]Aspesi and V. Zaccaria, "ConceptOS: A Micro-Kernel Approach to Firmware Updates of Always-On Resource-Constrained Hubris-Based IoT Systems," in IEEE Internet of Things Journal, vol. 11, no. 8, pp. 14472-14482, 15 April15, 2024, doi: 10.1109/JIOT.2023.3343459.
[2]W. Wang, "Optimization of UART Communication Protocol Based on Frequency Multiplier Sampling Technology and Asynchronous FIFO," 2023 IEEE 2nd International Conference on Electrical Engineering, Big Data and Algorithms (EEBDA), Changchun, China, 2023, pp. 280-285, doi: 10.1109/EEBDA56825.2023.10090630.
[3]N. Yee, P. Chand and S. Foehst, "Student Designed CANBus Simulator Used as Teaching Aid in Autotronics Course," 2017 4th Asia-Pacific World Congress on Computer Science and Engineering (APWC on CSE), Mana Island, Fiji, 2017, pp. 82-87, doi: 10.1109/APWConCSE.2017.00023.
[4]王維波,鄢志丹,王釗. STM32Cube 高效開發教程 (基礎篇),人民郵電,2021年.
[5]T. Vince, M. Sroka, B. Fecko, B. Peryvertailo, R. Yatsiuk and I. Anna, "A Universal DSP Module for Simultaneous Multiple RS232 Communication with Synchronous Measurements Reading Capability," 2023 IEEE 5th International Conference on Modern Electrical and Energy System (MEES), Kremenchuk, Ukraine, 2023, pp. 1-5, doi: 10.1109/MEES61502.2023.10402393.
[6]謝育倫(2022).透過Wi-Fi進行遠端販賣機台韌體更新之橋接系統研製.
[7]STMicroelectronics,”STM32F072CBT6 Data sheet”. Available:https://www.mouser.tw/datasheet/2/389/stm32f072c8-1851113.pdf
[8]Texas Instruments,“MAX232 Data sheet”. Available:https://www.ti.com/lit/ds/symlink/max232.pdf
[9]Winbond,”W25Q32FV Datasheet”. Available:https://www.winbond.com/resourcefiles/w25q32fv%20revj%2006032016.pdf
[10]Texas Instruments,“SN65HVD251D Data sheet”. Available:https://www.ti.com/product/SN65HVD251-Q1
[11]Ai-Thinker, “ESP-07 Data sheet”. Available:https://datasheet.lcsc.com/lcsc/1810010322_Ai-Thinker- ESP-07_C82894.pdf
[12]Abdelrahman, Ramia Babiker Mohammed, Amin Babiker A. Mustafa, and Ashraf A. Osman. "A Comparison between IEEE 802.11 a, b, g, n and ac Standards." IOSR Journal of Computer Engineering (IOSR-JEC) 17.5 (2015): 26-29.
[13]Kuongshun Electronic Limited. (2018, September 13). ESP32 vs ESP8266 – Pros and Cons. Kuongshun. https://www.kuongshun-ks.com/info/esp32-vs-esp8266-pros-and-cons-29182509.html
[14]DFRobot. (n.d.). Modbus vs CAN bus. DFRobot. Retrieved June 9, 2024, from https://wiki.dfrobot.com/Modbus_vs_CAN_bus
[15]W. -S. Jung, K. -W. Lim and Y. -B. Ko, "Reliable Packet Flow Control for Preventing Buffer Overflow in Wi-Fi Serial Bus," in IEEE Communications Letters, vol. 19, no. 6, pp. 1009-1012, June 2015, doi: 10.1109/LCOMM.2014.2382645.
[16]MEGAWIN, “8-bit microcontroller”, MPC82G516A datasheet, Dec. 2008.Available:https://www.keil.com/dd/docs/datashts/megawin/mpc82g516a_a4.pdf
[17]8051 ISP via COM port user manual. Available:https://www.agiant.com.tw/program_download/format/201508191103361982.pdf

QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top