福建工程学院学报
福建工程學院學報
복건공정학원학보
Journal of FuJian University of Technology
2015年
4期
381-387
,共7页
心电信号%数据存储%SDIO 接口%数据压缩%变长编码
心電信號%數據存儲%SDIO 接口%數據壓縮%變長編碼
심전신호%수거존저%SDIO 접구%수거압축%변장편마
ECG signal%data storage%SDIO interface%data compression%variant-length coding
针对便携式心电仪数据存储需求,设计基于 SDIO 接口的 SD 卡底层驱动程序,并移植 FatFS 文件系统。同时,为降低存储开销,设计2-4-8-16变长码近似 Huffman 算法对一阶差分后的心电数据进行无损压缩;针对实验所用心电仪采集的一些心电数据,利用该算法平均可节省3/4以上的存储空间。实验结果表明,基于 SD 卡的文件存储机制通用性好,心电数据压缩算法时空开销小,可较好地满足便携式心电仪的数据存储需求。
針對便攜式心電儀數據存儲需求,設計基于 SDIO 接口的 SD 卡底層驅動程序,併移植 FatFS 文件繫統。同時,為降低存儲開銷,設計2-4-8-16變長碼近似 Huffman 算法對一階差分後的心電數據進行無損壓縮;針對實驗所用心電儀採集的一些心電數據,利用該算法平均可節省3/4以上的存儲空間。實驗結果錶明,基于 SD 卡的文件存儲機製通用性好,心電數據壓縮算法時空開銷小,可較好地滿足便攜式心電儀的數據存儲需求。
침대편휴식심전의수거존저수구,설계기우 SDIO 접구적 SD 잡저층구동정서,병이식 FatFS 문건계통。동시,위강저존저개소,설계2-4-8-16변장마근사 Huffman 산법대일계차분후적심전수거진행무손압축;침대실험소용심전의채집적일사심전수거,이용해산법평균가절성3/4이상적존저공간。실험결과표명,기우 SD 잡적문건존저궤제통용성호,심전수거압축산법시공개소소,가교호지만족편휴식심전의적수거존저수구。
A SD card driver based on SDIO interface was implemented and the FatFS file system was transplanted onto the driver to satisfy the data storage requirement in portable ECG instrument.A variant-length coding algorithm of 2 -4 -8 -16 bits that is similar to Huffman algorithm was de-signed to reduce the storage cost.When storing the compressed ECG data rather than the raw ECG data collected by the experimental ECG instrument,over three-quarters of the storage space can be saved in average.With the versatility of file storage mechanism based on SD card and low space-time costs of the compress algorithm,the proposed storage mechanism can well fulfill the demand of the portable ECG data storage.