簡易檢索 / 詳目顯示

研究生: 蘇哲玄
Che-Hsuan Su
論文名稱: 基於嵌入式平台之移動工業用影像擷取介面設計與實現
The Design and Implementation of MIPI Module for Embedded Platform
指導教授: 沈中安
Chung-An Shen
口試委員: 沈中安
Chung-An Shen
林淵翔
Yuan-Hsiang Lin
花凱龍
Kai-Lung Hua
陳永耀
Yung-Yao Chen
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2022
畢業學年度: 110
語文別: 中文
論文頁數: 121
中文關鍵詞: 影像處理系統MIPI D-PHY/C-PHY嵌入式平台RAW Bayer DataVideo4Linux2Kernel Driver
外文關鍵詞: Image Processing System, MIPI D-PHY/C-PHY, Embedded Platform, RAW Bayer Data, Video4Linux2, Kernel Driver
相關次數: 點閱:166下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 近年來,影像處理在解決醫療、工業、安全、汽車應用等領域發揮著關鍵作用。然而,大多數影像處理系統是基於具有大量運算與儲存資源的計算機系統所開發。此類系統更適用於影像處理應用程式的執行,而可能無法滿足對即時性有要求而運算資源相對缺乏的應用。本論文開發基於嵌入式平台之即時影像處理系統,使其擷取影像並進行數位影像訊號處理運算,對於工業應用具有重要意義。本論文在嵌入式平台中設計與實現基於移動工業用影像擷取介面 (Mobile Industry Processor Ineterface ; MIPI)所制定的CSI (Camera Serial Interface)影像傳輸協議。本論文設計的影像擷取介面可直接讀取透過外部設備初始化後的MIPI D-PHY/C-PHY相機所傳輸的原始影像資料,擷取後的原始影像資料則在嵌入式平台中進行數位訊號處理相關運算。本論文設計的系統能以嵌入式平台實現影像擷取卡的功能,使相機不受嵌入式平台的限制,直接接收影像資料。透過多工平行運算開發平台來加速影像擷取及數位訊號處理,在共用記憶體上直接進行讀取及運算,得以實現不受嵌入式平台限制、更快的影像處理速度及節省設備成本之目的。本篇論文研發過程包含應用軟體開發及最佳化、Linux系統架構的研究與驅動程式開發、MIPI D-PHY/C-PHY傳輸協定的研究與軟硬體整合、及研發完成後的驗證測試。


    Image processing has played an essential role in industrial applications such as medical, industrial control, security, and automotive applications. However, most image processing systems are developed based on computer systems with large computing and storage resources. Such systems are more suitable for the execution of image processing applications, but may not be able to meet the requirements of real-time requirements with limited resources. This thesis presents the design and development of a real-time image processing system based on an embedded platform, so that it can capture images and perform digital image signal processing operations, which is of great significance for industrial applications. This thesis designs and implements the CSI (Camera Serial Interface) image transmission protocol based on the Mobile Industry Processor Ineterface (MIPI) in the embedded platform. The image capture interface designed in this theis can directly read the raw image data transmitted by the MIPI D-PHY/C-PHY camera that is initialized by the external device. The captured raw image data is processed in the embedded platform for digital signal processing related operations. The system designed in this thesis can realize the function of image capture card with embedded platform, so that the camera is not restricted by the embedded platform and can directly receive image data. This system directly reads and calculates raw image data in the way of shared memory, which can achieve the purpose of not being limited by embedded platform, faster image processing speed and saving equipment cost. Theis thesis presents the development and optimization of application software, the study and development of Linux system architecture and device driver, the study and development of MIPI D-PHY/C-PHY transmission protocol, and verification testing for the designed software.

    摘要 Abstract 目錄 圖目錄 第一章 緒論 1.1 研究動機與目的 1.2 論文架構 第二章 相關理論與研究 2.1相關理論介紹 2.1.1 CSI介紹 2.1.2 V4L2介紹 2.1.3 Sensor Driver介紹 2.1.4 Device Tree介紹 2.1.5 Gstreamer介紹 2.1.6 OpenCV介紹 2.1.7色彩格式介紹 2.2 相關研究 2.2.1影像處理系統 2.2.2 MIPI影像擷取系統 第三章 設計目標與初始架構 3.1 研究內容及研究方向 3.2 初始環境建構 3.2.1 PC燒錄端環境建構 3.2.2 Xavier端環境建構 第四章 系統設計與實現結果 4.1 研發過程及系統架構 4.2 移除 I/O及重新設計架構 4.2.1 相機模組測試 4.2.2 指令工作流程 4.2.3 移除 Sensor Driver中 I/O相關 4.2.4 Device Tree生成 4.2.5 Device Tree內容 4.2.6 硬體配置及連接 4.2.7 實際量測及成果 4.3 將影像進行 DSP運算處理並輸出或儲存 4.3.1 第一階段程式架構 4.3.2 第一階段程式撰寫 4.3.3 第一階段驗證過程及執行時間 4.4 讀取 RAW Bayer Data 4.4.1 第二階段程式架構 4.4.2 第二階段 001_make_staticLib程式撰寫 4.4.3 第二階段 002_make_staticLib程式撰寫 4.4.4 第二階段驗證過程 4.5 驗證 MIPI Module最高規格 4.5.1 驗證項目及結果 4.6 驗證 MIPI Module衍生問題及重新設計架構 4.6.1 重新設計架構使其支援 C-PHY 4.6.2 重新設計架構使其支援更多 RAW格式 4.6.3 重新排列 Byte Order 4.6.4 重新對 VI設定及擷取 Data 第五章 結論 參考文獻 Download Link

    [1] Ashraf Takla, C.K. Lee "MIPI C-PHYSM/D-PHYSM Dual Mode Subsystem Performance & Use Cases", MIPI Alliance Developers Conference 2017. Available: https://www.mipi.org/sites/default/files/Bangalore-Mixel-C-PHY-D-PHY-Combo-Implementation.pdf
    [2] NVIDIA Corporation. Jetson_AGX_Xavier_Series_Camera_Module_Hardware_Design_Guide_DG-09364-001_v1.2, May 2020. Available: https://developer.nvidia.com/embedded/downloads
    [3] The Linux Kernel’s documentation, 2016. Available: https://www.kernel.org/doc/html/v4.9/index.html
    [4] Gstreamer Introduction. Available: https://gstreamer.freedesktop.org/documentation/plugin-development/introduction/index.html?gi-language=c
    [5] Bayer Format Introduction. Available: https://blog.csdn.net/qq_42261630/article/details/102922737
    [6] Color Format Introduction. Available:
    https://blog.csdn.net/tao475824827/article/details/119141811
    [7] Bayer Filter Introduction. Available: https://en.wikipedia.org/wiki/Bayer_filter
    [8] D. Jinghong, D. Yaling and L. Kun, "Development of Image Processing System Based on DSP and FPGA," 2007 8th International Conference on Electronic Measurement and Instruments, 2007, pp. 2-791-2-794, doi: 10.1109/ICEMI.2007.4350799.
    [9] M. V. G. Rao, P. R. Kumar and A. M. Prasad, "Implementation of real time image processing system with FPGA and DSP," 2016 International Conference on Microelectronics, Computing and Communications (MicroCom), 2016, pp. 1-4, doi: 10.1109/MicroCom.2016.7522496.
    [10] Zhanchao Wang, Min Huang, Guifeng Zhang, and Lulu Qian "The design of MIPI image processing based on FPGA", Proc. SPIE 11028, Optical Sensors 2019, 110282A (13 April 2019) Available : https://doi.org/10.1117/12.2521433
    [11] F. Liu, L. Wang and Y. Yang, "A UHD MIPI CSI-2 image acquisition system based on FPGA," 2021 40th Chinese Control Conference (CCC), 2021, pp. 5668-5673, doi: 10.23919/CCC52363.2021.9550077.
    [12] NVIDIA Corporation. Sensor Software Driver Programming Guide, July 2020.
    Available: https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3243/index.html
    [13] NVIDIA Corporation. P3326_A01_Concept_schematics, 2015. Available: https://developer.nvidia.com/embedded/downloads
    [14] NVIDIA Corporation. ACCELERATED GSTREAMER USER GUIDE, March 2019.
    Available: https://developer.download.nvidia.com/embedded/L4T/r32_Release_v1.0/Docs/Accelerated_GStreamer_User_Guide.pdf
    [15] NVIDIA Corporation. Jetson_Xavier_TX2_Camera_Module_Driver_Guide_Release_JP_4.4, 2017. Available: https://developer.nvidia.com/embedded/downloads
    [16] Sony Corporation. IMX290LQR-C DATASHEET, 2015.
    Available: http://static6.arrow.com/aropdfconversion/c0c7efde6571c768020a72f59b226308b9669e45/sony_imx290lqr-c_datasheet.pdf

    無法下載圖示 全文公開日期 2024/08/18 (校內網路)
    全文公開日期 2024/08/18 (校外網路)
    全文公開日期 2024/08/18 (國家圖書館:臺灣博碩士論文系統)
    QR CODE