广东工业大学学报
廣東工業大學學報
엄동공업대학학보
JOURNAL OF GUANGDONG UNIVERSITY OF TECHNOLOGY
2013年
3期
37-44
,共8页
杜玉晓%张浩腾%陈汶育%黄学彬%蔡振典%卓杰
杜玉曉%張浩騰%陳汶育%黃學彬%蔡振典%卓傑
두옥효%장호등%진문육%황학빈%채진전%탁걸
256导联脑电图机%高速多通道采集%实时同步技术%FPGA
256導聯腦電圖機%高速多通道採集%實時同步技術%FPGA
256도련뇌전도궤%고속다통도채집%실시동보기술%FPGA
256-lead EEG%the high-speed multi-channel sampling%the technique of real-time synchro-nization%FPGA
鉴于传统的多导联脑电图机双核控制采集系统中主控器ARM与SDRAM及FPGA的通讯流程繁琐重复,传输效率低,数据吞吐量小等缺陷,提出了一种基于FPGA的高速多通道实时同步采集系统方案,将缓存SDRAM交由FPGA控制并通过程序将其“内部FIFO化”,通过SDRAM前后两对FIFO的乒乓操作实现SDRAM的异步时钟同时读写,保证FPGA与ARM接口处数据的不间断,并通过简洁严谨的并行接口协议实现FPGA和ARM的高效率通信,最终将FPGA和SDRAM从物理上等效成一块“可自动采集数据的SDRAM”。测试表明,该方案避免了数据转移过程中的重复拷贝以及数据转移复杂的操作缺陷,提高数据吞吐量以及转移速率,满足了256导联脑电图的各项设计指标,采样频率可达20 kHz,甚至更高。
鑒于傳統的多導聯腦電圖機雙覈控製採集繫統中主控器ARM與SDRAM及FPGA的通訊流程繁瑣重複,傳輸效率低,數據吞吐量小等缺陷,提齣瞭一種基于FPGA的高速多通道實時同步採集繫統方案,將緩存SDRAM交由FPGA控製併通過程序將其“內部FIFO化”,通過SDRAM前後兩對FIFO的乒乓操作實現SDRAM的異步時鐘同時讀寫,保證FPGA與ARM接口處數據的不間斷,併通過簡潔嚴謹的併行接口協議實現FPGA和ARM的高效率通信,最終將FPGA和SDRAM從物理上等效成一塊“可自動採集數據的SDRAM”。測試錶明,該方案避免瞭數據轉移過程中的重複拷貝以及數據轉移複雜的操作缺陷,提高數據吞吐量以及轉移速率,滿足瞭256導聯腦電圖的各項設計指標,採樣頻率可達20 kHz,甚至更高。
감우전통적다도련뇌전도궤쌍핵공제채집계통중주공기ARM여SDRAM급FPGA적통신류정번쇄중복,전수효솔저,수거탄토량소등결함,제출료일충기우FPGA적고속다통도실시동보채집계통방안,장완존SDRAM교유FPGA공제병통과정서장기“내부FIFO화”,통과SDRAM전후량대FIFO적핑퐁조작실현SDRAM적이보시종동시독사,보증FPGA여ARM접구처수거적불간단,병통과간길엄근적병행접구협의실현FPGA화ARM적고효솔통신,최종장FPGA화SDRAM종물리상등효성일괴“가자동채집수거적SDRAM”。측시표명,해방안피면료수거전이과정중적중복고패이급수거전이복잡적조작결함,제고수거탄토량이급전이속솔,만족료256도련뇌전도적각항설계지표,채양빈솔가체20 kHz,심지경고。
In view of the flaws of repeated and cumbersome communication process , inefficiency and small data throughput of the traditional dual-core control acquisition system of multi-lead EEG machine , it advances a high speed , multi-channel and real-time synchronous acquisition system , based on FPGA . The SDRAM is mainly controlled by FPGA which FIFO-internalizes the SDRAM via the program to a-chieve the asynchronous clock reading-while-writing of the SDRAM by the ping pong operation of two pairs of FIFO of SDRAM, which ensures the ongoing of interface's data transmission between FPGA and ARM and efficient communication by concise and rigorous parallel interface agreements .The FPGA and SDRAM can be equivalent to a SDRAM which can automatically collect data .Tests show that this system avoids the repeated copy of transfer process and redundant complex data transfer operation , and improves the data throughput and transfer rate , which meets the requirement for the design indexes of 256-lead EEG machine with the sample frequency up to 20 kHz or even higher .