首页 | 官方网站   微博 | 高级检索  
     

基于NTP的uIP协议栈改进与实现
引用本文:陈硕,于春海,潘丰. 基于NTP的uIP协议栈改进与实现[J]. 计算机工程与应用, 2011, 47(36): 76-79. DOI: 10.3778/j.issn.1002-8331.2011.36.021
作者姓名:陈硕  于春海  潘丰
作者单位:江南大学 轻工过程先进控制教育部重点实验室,江苏 无锡 214122
基金项目:国家高技术研究发展计划(863)(the National High-Tech Research and Development Plan of China under Grant No.2009AA05Z203)
摘    要:传统uIP协议栈使用系统定时器作为时钟信号,在面向同步控制时容易引起服务器端设备的循环读取。针对这一问题,引入NTP网络授时协议和估计误差系数k,并通过测试确定误差系数k。通过定制uIP协议栈中的UDP报文格式,实现了NTP客户端的功能。在AVR Network网络开发板上进行了时钟偏移测试。测试结果表明ping响应控制在1 ms以内,平均时钟精度提高至0.002 9 ms。

关 键 词:uIP协议栈  时钟同步  网络时间协议(NTP)局域网  高精度授时  
修稿时间: 

Improvement and implementation of uIP on network time protocol
CHEN Shuo,YU Chunhai,PAN Feng. Improvement and implementation of uIP on network time protocol[J]. Computer Engineering and Applications, 2011, 47(36): 76-79. DOI: 10.3778/j.issn.1002-8331.2011.36.021
Authors:CHEN Shuo  YU Chunhai  PAN Feng
Affiliation:Key Lab of Advanced Process Control for Light Industry(Ministry of Education),Jiangnan University,Wuxi,Jiangsu 214122,China
Abstract:Traditional uIP stack timer includes in system clock,and frequently leads to reading cycle in server.To solve this problem,some improvements such as network time protocol and estimation error k which is determined by test are done.A new UDP format in uIP stack is customized to carry out the NTP client function.The clock offset test is done on AVR network board,and the result shows that the ping response time and the average clock accuracy are less than 1 ms and 0.002,9 ms respectively.
Keywords:uIP stack  clock synchronization  Network Time Protoco(lNTP)local area network  high timing precision  
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号