在PC机上进行了软件生成时间间隔的对比实验

Nuo Li, M. Ai, Yanghai Jiang, Tianshu Wei
{"title":"在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":"{\"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}","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

摘要

计算机软件生成的时间间隔的准确性对数据采集系统至关重要。这种误差会引起采样数的不稳定等问题。通常我们用PC机编程语言编写的软件来创建时间间隔。在本文中,我们想比较7种方法在PC上产生的时间间隔的精度。为了精确地校准时间间隔,首先,我们使用串口产生正脉冲;其次,用两个上升沿之间的时间空间表示软件生成的时间间隔;第三,使用7个方法(sleep函数、WM_TIMER消息映射、COleDateTime类、GetTickCount函数、multimediatimer、callback函数和queryperformancecounter函数)创建时间间隔,并通过通用计数器进行测量。最后对实验数据进行了分析,发现基于multimediatimer的回调函数方法具有较高的准确率和较低的CPU占用率,适合于创建时间间隔。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A comparison experiment about time interval created by software in PC
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信