太赫兹科学与电子信息学报, 2015, 13 (4): 619, 网络出版: 2016-01-26  

基于 cRIO的时序控制软件架构设计

Architecture of time sequence control software design based on cRIO
宋海峰 1,2,*张敏 1,2张蓉 1,2赵平 1,2潘旭东 1,2
作者单位
1 中国工程物理研究院 a.高能激光科学与技术重点实验室
2 b.应用电子学研究所,四川绵阳 621999
摘要
面向时序控制的功能需求,基于 CompactRIO(cRIO)硬件系统,使用 LabVIEW软件作为编程语言,设计了时序控制软件的程序架构。软件划分为现场可编程逻辑门阵列 (FPGA)层和实时(RT)层 2个层次,2层之间通过先入先出直接内存访问( DMA FIFO)和前面板控件进行数据通信。时序控制和硬件指令交互功能在 FPGA层用状态机实现;RT层实现与上位机的人机交互功能,上报时序流程状态。经测试,时序控制软件的硬件指令响应时间小于 50 μs。
Abstract
Program architecture is designed to meet the requirements on time sequence control based on CompactRIO and LabVIEW. According to different requirements on instructions responses, the time sequence control software is divided into two layers:Field Programmable Gate Array(FPGA) layer and Real Time(RT) layer. Data communication is achieved by using Direct Memory Access First-In First-Out(DMA FIFO) and interface widget between the two layers. Function of time sequence control and hardware logical operations are achieved by using state machine in FPGA layer. Human-computer interaction is carried out in RT layer. The state of time sequence is passed to upper level computer. As a result of measurement, hardware operations response time is less than 50 μs.

宋海峰, 张敏, 张蓉, 赵平, 潘旭东. 基于 cRIO的时序控制软件架构设计[J]. 太赫兹科学与电子信息学报, 2015, 13(4): 619. SONG Haifeng, ZHANG Min, ZHANG Rong, ZHAO Ping, PAN Xudong. Architecture of time sequence control software design based on cRIO[J]. Journal of terahertz science and electronic information technology, 2015, 13(4): 619.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!