首页 | 本学科首页   官方微博 | 高级检索  
     

基于Visual C++的精确定时技术与应用
引用本文:冀荣华,祁力钧,傅泽田. 基于Visual C++的精确定时技术与应用[J]. 农机化研究, 2007, 0(5): 191-193
作者姓名:冀荣华  祁力钧  傅泽田
作者单位:中国农业大学,信息与电气工程学院,北京,100083;中国农业大学,精细农业系统集成技术重点实验室,北京,100083
摘    要:为了保证实时控制系统的控制精度,往往要求能精确定时。在Visual C++中提供多种定时方案,对常见的几种定时方法进行了对比、分析。针对精准施药系统的定时要求,分别采用Ouery Performance—Frequency()和QueryPerformancecounter()函数及多媒体两种方法进行定时。经过测试,表明两种方法均能够满足系统提出的定时精度要求,但前者与计算机的硬件配置有关,因此在精准施药系统中采用基于多媒体的定时方法。

关 键 词:自动控制技术  精确定时  应用  Visual C++  多媒体定时  精准施药
文章编号:1003-188X(2007)05-0191-03
修稿时间:2006-08-31

Precise Timing Technology and Application Based on Visual C++
JI Rong-hua,QI Li-jun,FU Ze-tian. Precise Timing Technology and Application Based on Visual C++[J]. Journal of Agricultural Mechanization Research, 2007, 0(5): 191-193
Authors:JI Rong-hua  QI Li-jun  FU Ze-tian
Abstract:Many real-time control systems need precise timing in order to insure the control precision. It analyzes and contrasts several timers that Visual C++ offered in the paper. Base on the requirement of precise timing in the precision sprayer, It realizes the precise timing with two ways, which are multimedia timer and timer with functions of QueryPerformanceFrequency () and QueryPerformanceCounter (), in the precision sprayer. It can reach the control precision with two ways through testing. Because the timer, with functions of QueryPerformanceFrequency () and QueryPerformanceCounter (), realizes on the configuration of computer, the precision sprayer realize the precise timing with multimedia timer in this paper.
Keywords:auto-control technology  precise timing  application  Visual C++  multimedia timer  precise spray
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号