太赫兹科学与电子信息学报, 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.
参考文献

[1] 陈宝江,米佳.基于 LabVIEW和 cRIO的大中型建筑机械嵌入式监控系统[J].起重运输机械, 2010(4):72-74. (CHEN Baojiang,MI Jia. A LabVIEW/cRIO-based embedded monitoring system for large and medium-scale construction machinery[J]. Hoisting and Conveying Machinery, 2010(4):72-74.)

[2] 何芝霞,黄昶,倪瑞萍.共享变量技术在 CompactRIO中的应用[J].计算机系统应用, 2008(12):121-123. (HE Zhixia, HUANG Chang,NI Ruiping. Shared variables used in CompactRIO[J]. Computer Systems&Applications, 2008(12):121-123.)

[3] 卢航,高峰,程刚. LabVIEW现场可编程门阵列模块数据采集系统仿真[J].太赫兹科学与电子信息学报, 2013,11(6): 977-980. (LU Hang,GAO Feng,CHENG Gang. Field Programmable Gate Array module data acquisition simulation system based on LabVIEW[J]. Journal of Terahertz Science and Electronic Information Technology, 2013,11(6):977-980.)

[4] 索长生,李振,李一波,等. TCP/IP技术在 CompactRIO系统中的应用[J].沈阳航空航天大学学报, 2011,28(2):39-42. (SUO Changsheng,LI Zhen,LI Yibo,et al. The application of TCP/IP technology in CompactRIO system[J]. Journal of Shenyang Aerospace University, 2011,28(2):39-42.)

[5] 贾军,梁述海.基于 NI cRIO的柴油机转速控制的半实物仿真[J].机电工程, 2011,28(11):1332-1335. (JIA Jun, LIANG Shuhai. Semi-physical simulation of speed control for diesel engine based on NI Crio[J]. Journal of Mechanical & Electrical Engineering, 2011,28(11):1332-1335.)

[6] 张蓉,邓浩,王磊.基于 PC104的时序控制系统设计[J].计算机工程, 2011,37(1):251-253. (ZHANG Rong,DENG Hao, WANG Lei. Design of time-sequence control system based on PC104[J]. Computer Engineering, 2011,37(1):251-253.)

[7] 叶枫桦,周新聪,白秀琴,等.基于 LabVIEW队列状态机的数据采集系统设计[J].现代电子技术, 2010(4):204-207. (YE Fenghua,ZHOU Xincong,BAI Xiuqin,et al. Design of data acquisition program based on queued state machine in LabVIEW[J]. Modern Electronics Technique, 2010(4):204-207.)

[8] 聂影,冯向军,廖瑛,等.基于 LabVIEW的状态机模型研究[J].计算机测量与控制, 2007,15(9):1166-1168. (NIEYing, FENG Xiangjun,LIAO Ying,et al. Research on State Machine Model based on LabVIEW[J]. Computer Measurement &Control, 2007,15(9):1166-1168)

宋海峰, 张敏, 张蓉, 赵平, 潘旭东. 基于 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 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!