现场总线设备链路层软件实时性分析与实现  

Analysis and implementation of field bus device link layer software real-time ability

在线阅读下载全文

作  者:余子玉[1,2] 郭亮[1] 刘晖 于佳晨 

机构地区:[1]中国科学院软件研究所基础软件国家工程研究中心,北京100190 [2]中国科学院研究生院,北京100190 [3]中科方德软件有限公司,北京100190

出  处:《计算机工程与设计》2011年第3期855-858,共4页Computer Engineering and Design

基  金:国家863高技术研究发展计划基金项目(2006AA010201;2007AA010601)

摘  要:为满足一种现场总线设备的实时性,分析了其链路层软件的实时性需求,并实现了链路层软件。链路层软件由设备驱动程序和和消息接收发送线程组成,通过设备驱动程序实现对FPGA板卡的控制以及中断处理,使用消息队列实现消息收发线程与用户线程的通信。对影响实时性的关键时间段进行分析,为精确测量时间,在关键模块进出口使用发送脉冲到示波器,使用示波器对软件的关键模块运行时间进行测量。测量结果表明,能够满足设备的实时性需求。In order to meet the real time requirement of a kind of field bus device,the real time requirement is analyzed and the link layer software is implemented.Link layer software consist of device driver,messages receive/transmit threads.Device driver controls the FPGA card and message queues are used to communicate between messages receive/transmit threads and user thread.To make time measure preciser,pulse signal at the entrance and exit of key modules are sent to oscilloscope.Employ oscilloscope to measure the runtime of key modules.The result shows the link layer software meets the real time requirement.

关 键 词:现场总线设备 实时多处理器系统 链路层 设备驱动程序 消息队列 

分 类 号:TP273.5[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象