| 研究生: |
張櫂祺 Chao-Chi Chang |
|---|---|
| 論文名稱: |
應用於TCP資料傳輸之AMP雙核心感測系統設計與實作 |
| 指導教授: |
董必正
Pi-Cheng Tung |
| 口試委員: | |
| 學位類別: |
碩士 Master |
| 系所名稱: |
工學院 - 機械工程學系 Department of Mechanical Engineering |
| 論文出版年: | 2025 |
| 畢業學年度: | 113 |
| 語文別: | 中文 |
| 論文頁數: | 85 |
| 中文關鍵詞: | FPGA 、Zynq-7000 SoC 、OpenAMP 、非對稱多核心(AMP) |
| 外文關鍵詞: | FPGA, Zynq-7000 SoC, OpenAMP, Asymmetric multiprocessing (AMP) |
| 相關次數: | 點閱:14 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
隨著感測技術與邊緣運算需求提升,嵌入式系統在即時資料處理與高速通訊上的設計挑戰日益增加。為此,本研究提出一套基於 Zynq-7000 系列SoC的AMP(非對稱多核心)雙核心嵌入式架構,結合裸機與 Linux 作業環境,以達成高速資料擷取與即時網路傳輸之應用目標。
在本研究的系統設計中,CPU1(裸機)負責控制Zmod ADC 1410 模組,透過 AXI DMA 將資料搬移至 OCM;CPU0(Linux)則透過 mmap 讀取 OCM 資料,並透過TCP將資料傳送至遠端伺服器。雙核心間採用 OpenAMP 通訊機制,實作 RPMsg 虛擬訊息通道,並搭配自訂核心驅動簡化資料交換流程。
本研究完成系統整合與多項測試,包括 OCM 傳輸效能、同步延遲與 TCP 穩定性等,結果顯示本系統具備良好之即時性與擴充彈性,適用於工業感測、智慧裝置等高速資料處理應用場域,亦為多核心嵌入式系統整合提供實用參考。
With the advancement of sensing technologies and the growing demand for edge computing, embedded systems face increasing design challenges in real-time data processing and high-speed communication. To address this, this study proposes an AMP (Asymmetric Multiprocessing) dual-core embedded architecture based on the Zynq-7000 series SoC. By combining bare-metal and Linux environments, the system aims to achieve high-speed data acquisition and real-time network transmission.
In the system design presented in this study, CPU1 (bare-metal) is responsible for controlling the Zmod ADC 1410 module and transferring data to OCM via AXI DMA. CPU0 (Linux) reads the OCM data through mmap and transmits it to a remote server over TCP. Communication between the two cores is handled using the OpenAMP framework, implementing an RPMsg virtual messaging channel along with a custom kernel driver to simplify the data exchange process.
The study completes full system integration and conducts multiple tests, including OCM transfer performance, synchronization latency, and TCP stability. Results demonstrate that the system offers strong real-time performance and flexible scalability, making it suitable for high-speed data processing applications such as industrial sensing and smart devices. It also provides practical insights for integrating multi-core embedded systems.
[1] Trimberger, Steven, et al. "A time-multiplexed FPGA." Proceedings. The 5th Annual IEEE Symposium on Field-Programmable Custom Computing Machines Cat. No. 97TB100186). IEEE, 1997.
[2] de Souza, Rodrigo Neri, Daiana Nascimento Muniz, and Andre Vaz da Silva Fidalgo. "Ethernet communication platform for synthesized devices in Xilinx FPGA." 2011 IEEE EUROCON-International Conference on Computer as a Tool. IEEE, 2011.
[3] Costas, Lucía, et al. "Characterization of FPGA-master ARM communication delays in zynq devices." 2017 IEEE International Conference on Industrial Technology (ICIT). IEEE, 2017.
[4] Ramagond, Sunita, Siva Yellampalli, and C. Kanagasabapathi. "A review and analysis of communication logic between PL and PS in ZYNQ AP SoC." 2017 International Conference On Smart Technologies For Smart Nation (SmartTechCon). IEEE, 2017.
[5] Akram, Wasim, Tassadaq Hussain, and Eduard Ayguade. "FPGA and ARM processor based supercomputing." 2018 International Conference on Computing, Mathematics and Engineering Technologies (iCoMET). IEEE, 2018.
[6] Hernández, Selenia María Medina, et al. "SoC FPGA-based Multichannel Data Acquisition System with Linux-Baremetal AMP for Applications in the Field of Astrophysics." 2023 38th Conference on Design of Circuits and Integrated Systems (DCIS). IEEE, 2023.
[7] 曾國翔, “FPGA應用於5G智慧化加工之實時品質監控”, 國立中央大學機械與機電工程學系碩士班,碩士論文, 民國112年6月。
[8] Whitney Knitter. Hello ZMODS on the Eclypse Z7. https://www.hackster.io/whitney-knitter/hello-zmods-on-the-eclypse-z7-99107d#overview. 2024.06.19
[9] Alex Bucknall. Intro to Zedboard and Xilinx Zynq SoC. https://bucknalla.dev/2017/12/15/intro-zed-zynq/. 2025.07.05
[10] Mouser Electronic. Digilent Zmod ADC 1410 Module. https://www.mouser.tw/new/digilent/digilent-zmod-adc1410/. 2025.04.16
[11] CSDN, 07 基于OpenAMP的核间通信方案, https://blog.csdn.net/lf282481431/article/details/144787219
[12] Xilinx, Libmetal and OpenAMP User Guide, UG1186 (v2021.1) June 30, 2021
[13] Digilent. Zmod Scope Reference Manual. https://digilent.com/reference/zmod/scope/reference-manual
[14] Xilinx, Vitis Unified Software Platform Documentation―Embedded Software Development, UG1400 (v2021.1) June 16, 2021
[15] Xilinx, PetaLinux Tools Documentation, UG1144 (v2021.1) June 16, 2021
[16] Xilinx, Zynq-7000 SoC: Embedded Design Tutorial―A Hands-On Guide to Effective Embedded System Design, UG1165 (v2020.1) June 10, 2020
[17] Xilinx, Simple AMP Running Linux and Bare-Metal System on Both Zynq SoC Processors, XAPP1078 (v1.0) February 14, 2013