研究生: |
蘇力昇 Li-Sheng Su |
---|---|
論文名稱: |
基於WoT 框架與GraphQL通訊協定之交流電源自動化測試模擬 Automatic Test Simulation based on WoT Framework and GraphQL Protocol for AC Power Source |
指導教授: |
蔡明忠
Ming-Jong Tsai |
口試委員: |
郭永麟
Yong-Lin Kuo 詹朝基 Chao-Chi Chan 楊棧雲 Chan-Yun Yang |
學位類別: |
碩士 Master |
系所名稱: |
工程學院 - 自動化及控制研究所 Graduate Institute of Automation and Control |
論文出版年: | 2023 |
畢業學年度: | 111 |
語文別: | 中文 |
論文頁數: | 82 |
中文關鍵詞: | 物聯網 、物聯網網路 、自動化測試設備 、可程式交流電源供應器 、REST 、GraphQL |
外文關鍵詞: | Internet of Things, Web of Things, Automatic Test Equipment, Programmable AC Power Supply, REST, GraphQL |
相關次數: | 點閱:238 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
在新能源技術與物聯網(Internet of Things, IoT)迅速發展的背景下,可程式交流電源自動化測試設備推陳出新。本研究運用網路物聯網(Web of Things, WoT),參照了可編程儀器標準命令 (Standard Commands for Programmable Instruments, SCPI)設計,為可程式交流電源提供一種通用的通訊協定,讓使用者可以針對所需要的資料做存取,以提供更高效的通訊傳輸。本研究利用嵌入式系統模擬可編程交流電源之特性與功能,且具備REST與GraphQL通訊協定。並為使用者設計一個自動化測試軟體,分別以REST與GraphQL語句進行自動化測試與效能比較。經五種功能之實驗測試結果顯示,在最高1 Gbps的有線網路傳輸環境操作中,GraphQL表現優於REST 1.38%。在最高433 Mbps的無線網路傳輸環境中,GraphQL的性能平均提升了10.49%,實驗結果證明GraphQL表現能優於REST。本研究模擬了網路物聯網在可程式交流電源的應用可行性,同時使用GraphQL語句時能更有結構化的設計,來提升使用者對通訊協定的理解,也能更有結構化的設計程式,在自動化整合過程中,能更快速有效的建立。本研究可望為新能源自動化測試與網路物聯網的發展,開創了新的可解決方案。
Under the background of the rapid development of new energy technology and the Internet of Things (IoT), programmable AC power automatic test equipment is updated rapidly. This study uses the Web of Things (WoT) and refers to the design of the Standard Commands for Programmable Instruments (SCPI) to provide a general communication protocol for programmable AC power supplies, allowing users to access to the required data to provide more efficient communication transmission. This study uses an embedded system to simulate the characteristics and functions of a programmable AC power supply, which has REST and GraphQL communication protocols. An automated testing software is also designed for users by using REST and GraphQL protocols for automated testing and performance comparison. Experimental results showed that, under 1 Gbps wired network transmission, GraphQL outperformed REST by an average of 1.38% across five test. In wireless transmission environment with 433 Mbps, GraphQL's performance was improved to an average of 10.49%, clearly demonstrating its superiority over REST. This study simulates the feasibility of applying WoT to programmable AC power supplies. The structured design offered by GraphQL not only enhances the user's understanding of the protocol but also facilitates more structured program design, enabling quicker and more effective development in automated integrated processes. This research paves the way for new solutions in the development of renewable energy automated testing and the Internet of Things.
[1] A. Alduraibi, J. Yaghoobi, F. Zare, and R. Sharma, “A New Technology to Reduce Harmonic Emission in Distribution Networks: Addressing IEC 61000-3-12,” 2018 Australasian Universities Power Engineering Conference (AUPEC), Nov. 2018, doi: 10.1109/aupec.2018.8758007.
[2] C. Nagle, J. Kelly, I. Sengor, and B. P. Hayes, “Power Quality Comparison of Wind Turbines and Oscillating Wave Columns Considering IEC 61000,” 2022 20th International Conference on Harmonics & Quality of Power (ICHQP), May 2022, doi: 10.1109/ichqp53011.2022.9808567.
[3] P. Arpaia, E. De Matteis, and V. Inglese, “Software for measurement automation: A review of the state of the art,” Measurement, vol. 66, pp. 10–25, Apr. 2015, doi: 10.1016/j.measurement.2015.01.020.
[4] Y. Huang and T. Chen, “Fault analysis for the same‐phase power supply scheme,” IEEJ Transactions on Electrical and Electronic Engineering, vol. 14, no. 6, pp. 825–835, Feb. 2019, doi: 10.1002/tee.22871.
[5] 朱育德, "基於語意WoT的M3框架之智慧家庭設備的設計與實作," 2019. [Online]. Available: https://hdl.handle.net/11296/fj35w6.
[6] M. Noura, M. Atiquzzaman, and M. Gaedke, “Interoperability in Internet of Things: Taxonomies and Open Challenges,” Mobile Networks and Applications, vol. 24, no. 3, pp. 796–809, Jul. 2018, doi: 10.1007/s11036-018-1089-9.
[7] L. Sciullo, L. Gigli, F. Montori, A. Trotta, and M. D. Felice, “A Survey on the Web of Things,” IEEE Access, vol. 10, pp. 47570–47596, 2022, doi: 10.1109/access.2022.3171575.
[8] "經濟部工業局 107 年度 專案計畫期末執行成果報告" 經濟部工業局, 2018.
[9] F. Paganelli, G. Mylonas, and G. Cuffaro, “A RESTful Rule Management Framework for Internet of Things Applications,” IEEE Access, vol. 8, pp. 217987–218001, 2020, doi: 10.1109/access.2020.3041321.
[10] H. Samet, F. Hashemi, and T. Ghanbari, “Islanding detection method for inverter‐based distributed generation with negligible non‐detection zone using energy of rate of change of voltage phase angle,” IET Generation, Transmission & Distribution, vol. 9, no. 15, pp. 2337–2350, Nov. 2015, doi: 10.1049/iet-gtd.2015.0638.
[11] F. Belloni, P. Groppelli, C. Chiappa, R. Chiumeo, and C. Gandolfi, “Test of anti-islanding protections according to IEC 62116: An experimental feasibility assessment,” 2013 48th International Universities’ Power Engineering Conference (UPEC), Sep. 2013, doi: 10.1109/upec.2013.6714863.
[12] "EMC Standards." Academy of EMC. https://www.academyofemc.com/emc-standards (accessed 2023).
[13] "Regenerative Grid Simulator Model 61809/61812/61815." Chroma ATE. https://www.chromaate.com/tw/product/regenerative_grid_simulator_61809_61812_61815_163 (accessed 2022).
[14] "AC6900 Series Power Sources." Keysight Technologies. https://www.keysight.com/tw/zh/assets/3121-1196/data-sheets/AC6900-Series-Power-Sources-A-Complete-Three-Phase-AC-Power-Solution.pdf (accessed 2022).
[15] "Tahoe Series." AMETEK Programmable Power. https://www.programmablepower.com/products/ac-power-sources/tahoe-series (accessed 2022).
[16] "IT7900P High Performance Regenerative Grid Simulator." ITECH ELECTRONIC. https://www.itechate.com/tw/product/ac-power-supply/IT7900.html (accessed 2022).
[17] "PCR-WEA/WEA2 Series." KIKUSUI ELECTRONICS. https://global.kikusui.co.jp/download/pcr-we-wea2/?wpdmdl=31867&refresh=6464360d34b511684289037 (accessed 2022).
[18] "APS-7000 Series Programmable Linear AC Power Sources." Good Will Instrument. https://www.gwinstek.com/en-global/products/detail/APS-7000 (accessed 2022).
[19] "CF•CIF-AP 系列可程式交流電源供應器 GPIB , RS-232 介面指令說明." HYNG HONG ELECTRONIC. https://www.idrc.com.tw/pdf/idrc/big5/pscpi02.pdf (accessed 2022).
[20] "High Power Programmable AC Power Source AFV+ Series." ac power corp. https://www.preenpower.com/en/product/1560842500046/1570413374606 (accessed 2022)
[21] "6300 Series High Power Programmable 3 Phase AC Power Source." Ikonix Taiwan. https://www.ikonixasia.com/eec/products/6300-series-high-power-programmable-3-phase-ac-power-source/ (accessed 2022).
[22] “IEC/IEEE International - Standard Digital Interface for Programmable Instrumentation - Part 2: Codes, formats, protocols and common commands”, doi: 10.1109/ieeestd.2004.95390.
[23] "Standard Commands for Programmable Instruments (SCPI) V1999.0," NI. Foundation, 1999. [Online]. Available: https://www.ivifoundation.org/docs/scpi-99.pdf.
[24] V. Muppavarapu, G. Ramesh, A. Gyrard, and M. Noura, “Knowledge extraction using semantic similarity of concepts from Web of Things knowledge bases,” Data & Knowledge Engineering, vol. 135, p. 101923, Sep. 2021, doi: 10.1016/j.datak.2021.101923.
[25] R. Lohiya and A. Thakkar, “Application Domains, Evaluation Data Sets, and Research Challenges of IoT: A Systematic Review,” IEEE Internet of Things Journal, vol. 8, no. 11, pp. 8774–8798, Jun. 2021, doi: 10.1109/jiot.2020.3048439.
[26] I. S. Udoh and G. Kotonya, “Developing IoT applications: challenges and frameworks,” IET Cyber-Physical Systems: Theory & Applications, vol. 3, no. 2, pp. 65–72, Mar. 2018, doi: 10.1049/iet-cps.2017.0068.
[27] https://webofthings.org/. "Web of Things org." https://webofthings.org/category/technology/ (accessed 2021).
[28] M. R. Faheem, T. Anees, and M. Hussain, “The Web of Things: Findability Taxonomy and Challenges,” IEEE Access, vol. 7, pp. 185028–185041, 2019, doi: 10.1109/access.2019.2960446.
[29] W. W. W. Consortium. "Web of Things (WoT) Architecture 1.1." https://www.w3.org/TR/wot-architecture11/ (accessed 2023).
[30] R. T. Fielding and R. N. Taylor, “Principled design of the modern Web architecture,” Proceedings of the 22nd international conference on Software engineering - ICSE ’00, 2000, doi: 10.1145/337180.337228.
[31] D. Guinard, “Towards opportunistic applications in a Web of Things,” 2010 8th IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops), Mar. 2010, doi: 10.1109/percomw.2010.5470567.
[32] 中華民國交通部. "公共運輸整合資訊流通服務平臺(PTX)." https://ptx.transportdata.tw/MOTC/v2#/CityBus/CityBusApi_RealTimeByFrequency_UDP_2046 (accessed 2022).
[33] S. S. Nikolas Burk. "GraphQL vs REST - A comparison." How to GraphQL. https://www.howtographql.com/basics/1-graphql-is-the-better-rest/ (accessed 2023).
[34] S. L. Vadlamani, B. Emdon, J. Arts, and O. Baysal, “Can GraphQL Replace REST? A Study of Their Efficiency and Viability,” 2021 IEEE/ACM 8th International Workshop on Software Engineering Research and Industrial Practice (SER&IP), Jun. 2021, doi: 10.1109/ser-ip52554.2021.00009.
[35] G. Foundation. "GraphQL Specification - October 2021." GraphQL Foundation. https://github.com/howtographql/howtographql (accessed 2023).
[36] A. B. Eve Porcello, Learning GraphQL. O'Reilly Media, 2018.
[37] A. J. Poulter, S. J. Johnston, and S. J. Cox, “Using the MEAN stack to implement a RESTful service for an Internet of Things application,” 2015 IEEE 2nd World Forum on Internet of Things (WF-IoT), Dec. 2015, doi: 10.1109/wf-iot.2015.7389066.
[38] "Express - Fast, unopinionated, minimalist web framework for Node.js." Express.js contributors. https://expressjs.com/ (accessed 2023).
[39] "Apollo Server - Apollo GraphQL." Apollo GraphQL contributors. https://www.apollographql.com/docs/apollo-server/ (accessed 2023).