A comparison experiment about time interval created by software in PC

Nuo Li, M. Ai, Yanghai Jiang, Tianshu Wei
{"title":"A comparison experiment about time interval created by software in PC","authors":"Nuo Li, M. Ai, Yanghai Jiang, Tianshu Wei","doi":"10.1109/BMEI.2015.7401597","DOIUrl":null,"url":null,"abstract":"The accuracy of time interval created by software in PC is crucial for data acquisition system. The inaccuracy can cause the unstable of sampling number and some other problems. Usually we create time interval by the software which is made by programming language in PC. In this paper, we want to compare the accuracy of time interval created by seven methods in PC. In order to calibrate the time interval precisely, first, we use the serial port to create positive pulse; second, use the space of time between two rising edge to represent the time interval created by software; third, use seven methods (sleep function, WM_TIMER message mapping, COleDateTime class, GetTickCount function, multimediatimer, callback function and QueryPerformance-Counter function) to create time interval and measure it by universal counter. In the end, we analyze the experiment data and find that the callback function method based on multimediatimer is suitable for creating time interval for its high accuracy and low CPU occupancy rate.","PeriodicalId":119361,"journal":{"name":"2015 8th International Conference on Biomedical Engineering and Informatics (BMEI)","volume":"40 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 8th International Conference on Biomedical Engineering and Informatics (BMEI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/BMEI.2015.7401597","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The accuracy of time interval created by software in PC is crucial for data acquisition system. The inaccuracy can cause the unstable of sampling number and some other problems. Usually we create time interval by the software which is made by programming language in PC. In this paper, we want to compare the accuracy of time interval created by seven methods in PC. In order to calibrate the time interval precisely, first, we use the serial port to create positive pulse; second, use the space of time between two rising edge to represent the time interval created by software; third, use seven methods (sleep function, WM_TIMER message mapping, COleDateTime class, GetTickCount function, multimediatimer, callback function and QueryPerformance-Counter function) to create time interval and measure it by universal counter. In the end, we analyze the experiment data and find that the callback function method based on multimediatimer is suitable for creating time interval for its high accuracy and low CPU occupancy rate.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在PC机上进行了软件生成时间间隔的对比实验
计算机软件生成的时间间隔的准确性对数据采集系统至关重要。这种误差会引起采样数的不稳定等问题。通常我们用PC机编程语言编写的软件来创建时间间隔。在本文中,我们想比较7种方法在PC上产生的时间间隔的精度。为了精确地校准时间间隔,首先,我们使用串口产生正脉冲;其次,用两个上升沿之间的时间空间表示软件生成的时间间隔;第三,使用7个方法(sleep函数、WM_TIMER消息映射、COleDateTime类、GetTickCount函数、multimediatimer、callback函数和queryperformancecounter函数)创建时间间隔,并通过通用计数器进行测量。最后对实验数据进行了分析,发现基于multimediatimer的回调函数方法具有较高的准确率和较低的CPU占用率,适合于创建时间间隔。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
ECG signal compressed sensing using the wavelet tree model Development of a quantifiable optical reader for lateral flow immunoassay A tightly secure multi-party-signature protocol in the plain model Breast mass detection with kernelized supervised hashing 3D reconstruction of human enamel Ex vivo using high frequency ultrasound
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1