本研究目的在於發展一套以FPGA(Field Programmable Gate Array, 現場可程式化邏輯閘陣列)為核心的SoC(System on Chip)系統平台,並控制整合周邊裝置MSP430微控制器、LCD、USB、Flash Memory,建構即時FFT(Fast Fourier Transform)頻譜分析生理訊號系統,達到可即時量測即時分析的效果。 本系統核心使用Altera cyclone II (EP2C35F484C6) FPGA晶片,完成心率變異度即時頻譜分析系統平台,其所有演算模組及周邊控制均由一顆系統核心FPGA晶片實現,生理資訊可以在系統裝置中儲存及顯示,也可以透過USB通訊傳輸介面與電腦溝通,經由Borland C++ Builder編輯撰寫視窗化軟體使用者介面程式,顯示系統平台的分析結果及儲存,所得結果與Matlab做演算驗證,其線性相關度R2值高達0.99以上。
The objective is to develop a real-time heart rate variability (HRV) processing platform using a FPGA as a testing prototype for System on Chip (SoC) design. The function of system was including peripheral devices control and a dedicated Real-Time Fast Fourier Transform (FFT). The system was using a Altera cyclone II FPGA chip to realize for prototyping. The peripheral devices were including (1) a flash memory system to record a real-time ECG and the result of HRV frequency distribution spectrum; (2) a USB bridge interface for download data to a PC; (3) a graphic LCD display for real-time ECG and HRV frequency spectral display; and (4) keypad control for system operational control. The data presentation was using self-developed software that designed with Borland C ++ Builder. The program can be interfaced with the device in real-time display the data collection and showing the result of HRV in spectrograph. The accuracy of the processed data was compared to the result that processed by Matlab. The correlation of R2 is 0.99.