五、 測試結果與討論
5.4 系統整合與討論
我們已於 5.2 中比較過使用多工排程與不使用多工排程在執行時間上的差異,由 測試結果可以發現在時間效能上,使用多工排程的執行時間與延遲時間都縮短許多。
另外於 5.3 中比較使多個服務與單一服務的差異,由測試結果可以發現在時間效能上 多個服務能提供較即時的處理效能。除了縮短時間外,使用多工排程具有以下幾項優 點:1.使程式模組化,將程式分離可以縮短程式規劃的時間。此外,由於程式模組化,
所以,在開發時間較短,也有助於多種不同功能程式的整合。模組化的程式設計亦有 助於程式的再次使用。2.讓系統在週邊裝置的控制上更即時,由於整套資料接收與處 理的流程都必須即時,我們以多工排程的方法來克服,以讓整個系統能準確符合資料 接收所需要的頻率。3.讓系統更有效利用系統資源,在許多排程的研究上,就是為了 能善用系統的資源,本論文所發展的系統亦有這個優點,在實現上可以減少系統等待 時間時的浪費。
六、 結論與未來展望
本論文所使用的腦波放大器是由電池供應,由於目前的電路設計限制電池只能使 用約3 個小時,並不足以供現實環境的使用需求。故未來可以朝電路縮小化、使用低 耗電量的元件、以及使用更高效率的電池著手,來提高系統的使用時間。
隨著這一套系統的誕生,我們看到了『未來生活環境』,也希望有朝一日可以將 這套系統應用於日常生活中,使得未來的環境更能符合人類的需求。未來我們將努力 讓這套系統更加人性化,為人類帶來更多進步與舒適的生活。
參考文獻
[1]
http://ibru.vghtpe.gov.tw/chinese/eeg.htm
[2] http://ibru.vghtpe.gov.tw/chinese/bci.htm[3] Ming Cheng, Xiaorong Gao, Shangkai Gao, and Dingfeng Xu, “Design and implementation of a brain-computer interface with high transfer rates,” IEEE Trans.
on biomedical Eng., vol. 49, no. 10, pp. 1181-1186, 2002.
[4] Obermaier B, Design and implementation of an EEG Based Virtual Keyboardusing Hidden Markov Models, Ph.D. dissertation, Technical University-Graz, Graz, Austria, 2001.
[5] Obermaier B, Neuper C, and Pfurtscheller G, “Information transfer rate in a five-classes brain-computer interface,” IEEE Trans. on Rehab. Eng., vol. 9, pp.
283-288, Sept. 2001.
[6] Xiaorong Gao, Dingfeng Xu, Ming Cheng, and Shangkai Gao, “A BCI-Based Environmental Controller for the Motion-Disabled,” IEEE Trans. on Neural Syst. and
Rehab. Eng., vol. 11, no. 2, pp. 137-140, June 2003.
[7] G. Edlinger, G. Krausz, F. Laundl, I. Niedermayer, C. Guger, “Architectures of Laboratory-PC and Mobile Pocket PC Brain-Computer Interfaces,” Proceedings of the
2 International IEEE EMBS Conference on Neural Engineering, Arlington, Virginia,
March 16 - 19, 2005.[8] Ashwin K. Whitchurch, B. Han Ashok, R. Vinod Kumaar and K. Sarukesi, and Vijay K. Varadan, “Wireless system for long term EEG monitoring of Absence Epilepsy,”
Biomedical Applications of Micro- and Nanoengineering, Proceedings of SPIE, vol.
4937, pp. 343-349, November 2002.
[9] Chin-Teng Lin, Ruei-Cheng Wu, Sheng-Fu Liang, Te-Yi Huang, Yu-Chieh Chen,;
Tzyy-Ping Jung, “Estimating driving performance based on EEG spectrum analysis, ”
EURASIP Journal on Applied Signal Processing, vol. 2005, no. 19, pp. 3165-3174,
Mar. 2005.[10] Chin-Teng Lin, Ruei-Cheng Wu, Sheng-Fu Liang, Wen-Hung Chao, Yu-Jie Chen,
independent component analysis,” IEEE Transactions on Circuits and Systems I, vol.
52, no. 12, pp. 2726-2738, Dec. 2005.
[11] Young Han Nam, Zeehun Halm, Young Joon Chee, Kwang Suk Park, “Development of remote diagnosis system integrating digital telemetry for medicine,” Proceedings of
the 20th Annual Znternational Conference of the IEEE Engineering in Medicine and Biology Society, vol. 20, no. 3, pp. 1170- 1173, 1998.
[12] Wen-Chung Kao, Wei-Hsin Chen, Chun-Kuo Yu, Chin-Ming Hong, and Sheng-Yuan Lin, “A real-time systemfor portable homecare applications,” Consumer Electronics,
2005, pp. 369- 374, June 14-16, 2005.
[13] F. Lamberti, C. Demartini,“ Low-Cost Home Monitoring Using a Java-Based Embedded Computer,” Proceeding of the 4th Annual IEEE Conf. on Information
Technology Applications in Biomedicine, UK, pp 342-345.
[14] 林琨皓,“即時擷取與分析生醫信號之可攜式記錄器:肌電圖之應用”,臺灣大學/
[20]
http://www.taconet.com.tw/psychiat
[21]
http://www.edah.org.tw/ped/web_inter/teaching/sleep.htm
[22]http://www.taiwanheadache.com.tw/teach_16.asp
[23] 謝弘義,“具備多工排程功能之無線嵌入式腦機介面系統及其在即時汽車駕駛員疲 勞狀態偵測與提醒之應用”,國立交通大學,碩士論文,民國九十五年。
[24] http://faculty.washington.edu/chudler/1020.html [25] http://www.ancher.com.tw/rf3105.html
國九十一年
[27] 陳慶逸、林柏辰,”VHDL 數位電路實習與專題設計”,文魁資訊股份有限公司,
民國九十二年。
[28] W. Richard Stevens, Advanced Programming in the UNIX Environment, Addison-Wesley, June 1992.
[29] GNU Compiler Collection, http://gcc.gnu.org
[30] Code Composer Studio Getting Started Guide Rev C(SPRU509C), Texas Instruments.
[31] Toshihiro Kobayashi, Kiyotaka Takahashi, Linux DSP Gateway Specification Rev2.0, Nokia Corporation, November 13, 2003.
附錄一、 縮寫對照(按字母排序)
縮寫 原文 中文翻譯
A/D Analog to Digital 類比數位訊轉換
API Application Program Interface 應用程式介面
ARM Advance RSIC Machines
BCI Brain Computer Interface 大腦人機介面 CPLD Complex Programmable Logic Device
DMA Direct Memory Access 直接記憶體存取
DSP Digital Signal Processor 數位訊號處理器
ECG electrocardiogram 心電圖
EEG electroencephalogram 腦電波
EMG electromyogram 肌電圖
EOG electro-oculogram 眼電圖
FHSS Frequency Hopping Spread Spectrum 跳頻展頻
FPGA Field Programmable Array
FSK Frequency Shift Keying 頻率鍵移
GCC GNU Compiler Collection
GSM Global System for Mobile Communication 全球行動通訊系統
縮寫 原文 中文翻譯
GPRS General Packet Radio Service 通用分組無線服務
HCI Host Control Interface 主機控制介面
IDE Integrated Development Environment 整合發展環境
IP Internet Protocol 網際網路通訊協定
IPC inter-process communication 處理程序之間的溝通機制
MMU Memory Management Unit 記憶體管理單元 MPU Micro Processor Unit
OMAP Open Multimedia Architecture Platform
OS Operating System 作業系統
PDA Personal Digital Assistant 個人數位助理
PLC Programmable Logic Controller 可程式邏輯控制器
RF Radio Frequency 射頻
RISC Reduce Instruction Set Computer 精簡指令集電腦
SDP S ervice Discovery Protocol 服務發現協定
SoC System on Chip 系統晶片
縮寫 原文 中文翻譯
STFFT Short-Time FFT 短時快速傅立葉轉換
TCP Transmission Control Protocol 傳輸控制協定
TCS Telephone Control Service 電話傳送控制協定
UART Universal Asynchronous Receiver Transmitter 通用異步收發器
USB Universal Serial Bus 通用串列匯流排
附錄二、 簡介 OMAP 5912
OMAP 是德州儀器公司推出一項由 RISC(Reduce Instruction Set Computer,精簡指 令集電腦)整合 DSP 的 SoC(System on Chip,系統晶片)嵌入式系統微處理器,其應用 定位主要是在於即時的多媒體影音資料處理、語音辨識系統、網際網路通訊及無線通 訊等訊號分析應用。OMAP 的最大特點在整合了 TI DSP 核心及 ARM 的 RISC 架構和 各種週邊控制器的設計,而這也是本論文利用OMAP 的原因,我們需要 ARM 對周邊 控制以及支援嵌入式作業系統的能力,也需要數位訊號處理器的數學運算能力。
圖B.1、OMAP 5912 OSK外觀 資料來源: Start Kit for the OMAP 5912