检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.219.68.172