簡易檢索 / 詳目顯示

研究生: 黃威生
Widjaja, Wilhelmus Wincent
論文名稱: 具快速反應且穩定的耦合式自我診斷嵌入指引系統
Robust and Responsive Self Diagnosing Embedded Coupling Modules for Indicator Applications
指導教授: 周百祥
Chou, Pai H.
口試委員: 韓永楷
HON, WING KAI
王俊堯
WANG, CHUN-YAO
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2019
畢業學年度: 107
語文別: 英文
論文頁數: 41
中文關鍵詞: 具快速反應自我診斷嵌入指 引系統
外文關鍵詞: Responsive, Self Diagnosing, Embedded Coupling Modules
相關次數: 點閱:1下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文提出了一種具快速反應且操作穩定的耦合式自我診斷嵌入指引系統,提供LED燈
    條讓使用者可以自行組成網格或通用圖形拓撲,主要應用於藥物指示器,以協助藥劑師在配
    藥時避免取錯處方藥。我們的挑戰在於讓非專業用戶能夠在LED 燈條的約束下重新配置指
    示器系統的形狀以及尺寸。為了實現目標,我們設計一個耦合模組,用於連接多達四個市面
    上現成的LED燈條以形成網格。這些模組結合有線和無線通信協議來自動搜尋與建立圖形拓
    撲之後,使用者可以透過圖形界面(GUI)從主機端輕易地控制系統,而無需手動配置或任
    何編程。這套系統增強通信的穩定性,同時縮短反應時間以改進先前的設計。除此之外,它
    會在數據包丟失時重新傳輸數據包,並在發生問題時採取適當的措施。實驗結果顯示,我們
    的分佈式耦合方法直觀,性能開銷最小,同時具有可擴展性。


    This thesis presents a robust and responsive distributed coupling embedded modules that can be
    used to compose LED light strips in grid or general graph topologies. The main application is the
    medicine compartment indicator to help pharmacists avoid errors in dispensing prescription drugs.
    The challenge is to enable lay users to reconfigure the indicator system in the shape and size of their
    choice under the constraint of the LED light strip. To accomplish this, we design a coupling module
    for connecting up to four commercial off-the-shelf LED light strips each to form a grid. Together,
    these modules can discover the graph topology using a mix of wired and wireless communication
    protocols. The resulting system can be readily controlled from a host computer using a graphical
    user interface (GUI) with no manual configuration or any programming. It improves on a previous
    design by enhancing the robustness of communication in the composed system while enhancing the
    responsiveness. It retransmits packets on packet loss and self-recovers upon encountering problems.
    Experimental results show that our distributed coupling approach to be intuitive with minimal performance
    overhead while being scalable.

    Contents Contents i Acknowledgments vi 1 Introduction 1 1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2.1 CISP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2.2 EcoJimu v1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2.3 EcoJimu v2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 Thesis Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Background and Related Work 6 2.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1.1 LED Light Strip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1.2 I2S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.3 Programmable Peripheral Interconnect . . . . . . . . . . . . . . . . . . . . . 9 2.1.4 GPIO Tasks and Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1.5 Enhanced ShockBurst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2 Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.1 Reconfigurable System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2 Creative Ways of Utilizing LED Light Strip . . . . . . . . . . . . . . . . . . 13 3 Problem Statement 14 3.1 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 i 3.1.1 Functional Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.1.2 Administration Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.3 Indication Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2 Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2.1 Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3.1 Minimize Packet Loss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3.2 Responsive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.3.3 Scalable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.3.4 Accurate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4 Technical Approach 19 4.1 Inter-node Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.1.1 Packet Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.1.2 Firmware Mechanism (Polling) . . . . . . . . . . . . . . . . . . . . . . . . 20 4.1.3 Message Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.2 Shape Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.2.1 Node Identification Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.2.2 Neighborhood Exploration Stage . . . . . . . . . . . . . . . . . . . . . . . . 22 4.2.3 Data Collection Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.3 Graphical User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5 Implementation 28 5.1 Hardware Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.2 Software Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 6 Evaluation 34 6.1 Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.2 Experimental Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.1 Latency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.2 Success Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.3 Handling Packet Loss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 ii 6.3 Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 6.3.1 Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6.3.2 Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 7 Conclusions and Future Work 39 7.1 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.2 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Bibliography 41

    [1] H.-M. Tseng, “Cell indicator system for pharmacies,” Master’s thesis, National Tsing Hua University,
    2015.
    [2] T.-Y. Hsu, “Physically composable embedded systems with self-diagnostic capability,” Master’s
    thesis, National Tsing Hua University, 2017.
    [3] Y.-Y. Chen, “Distributed embedded coupling systems for composing led strip lights for indicator
    applications,” Master’s thesis, National Tsing Hua University, 2018.
    [4] “Programmable Peripheral Interconnect.” https://infocenter.nordicsemi.com/index.jsp?
    topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fppi.html.
    [5] “General Purpose Input Output Tasks and Events.” https://infocenter.nordicsemi.com/index.
    jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fgpiote.html.
    [6] C. Bobda and A. Ahmadinia, “Dynamic interconnection of reconfigurable modules on reconfigurable
    devices,” vol. 22, pp. 443–451, Sep. 2005.
    [7] H. ElGindy, H. Schroder, A. Spray, A. K. Somani, and H. Schmeck, “Rmb-a reconfigurable
    multiple bus network,” in Proceedings. Second International Symposium on High-Performance
    Computer Architecture, pp. 108–117, Feb 1996.
    [8] “Circuit Scribe.” https://www.circuitscribe.com.
    [9] S. Paszkiel and R. Kania, “Interactive, multifunctional mirror–part of a smart home,” Informatyka,
    Automatyka, Pomiary w Gospodarce i Ochronie ´ Srodowiska, 2016.
    [10] P. Chu, “Integrating computer engineering labs with "video theme",” 06 2017.

    QR CODE