基于LabVIEW的多路时序控制脉冲发生器设计
2010-05-13王奎龙
王奎龙
摘 要:为了解决过程控制和自动化过程中时序控制的问题,较为详细地介绍了基于LabVIEW和数据采集卡的虚拟脉冲信号产生方法,采用多路数字信号序列同步输出的方式,设计并实现一种通用的多路时序控制脉冲信号发生器。相比于传统的时序信号发生器,具有路数多,参数调节方便,精度较高,容易升级等特点。实际测试和应用表明,可以广泛应用于各种过程控制和自动化过程中。
关键词:LabVIEW;时序脉冲;信号发生器;过程控制
中图分类号:TP273.5文献标识码:B
文章编号:1004-373X(2009)20-181-03
Design of Multi-channel Sequential Controlling Pulse Generator Based on LabVIEW
WANG Kuilong
(Hangzhou Normal University,Hangzhou,310036,China)
Abstract:To resolve the sequential control problem in the process control and automated process.The method of virtual pulse signal generator based on LabVIEW and data acquisition card are introduced in detail.Using the way of multi-channel digital signal sequence synchronization output,a kind of general multi-channel sequential controlling pulse signal generator is developed and designed.Comparing to traditional sequential signal generator,it has more channels to output pulse signal,and its parameters can be adjusted easily,its precision is higher,and update easily.The result of measurement and application shows that it can be widely applied to many kinds of process control and the automated process.
Keywords:LabVIEW;sequence pulse;signal generator;process control
0 引 言
在过程控制和自动测量中,经常需要一些时序控制脉冲来触发和关闭不同的控制单元和功能部件的工作。时序脉冲信号的产生,传统上一般采用硬件方式实现,早期大多采用计数器和寄存器进行设计,近年普遍采用可编程逻辑器件(PFGA)或数字信号处理器(DSA)[1]。采用硬件方式实现的时序脉冲信号发生器存在仪器功能单一,信号输出通道路数较少,参数调节不方便,仪器的升级换代困难等缺点;而采用基于LabVIEW的“虚拟仪器”概念设计制作的时序脉冲发生器却具有界面直观、功能多样、参数调节方便、容易升级换代等特点。
1 LabVIEW简介
实验室虚拟仪器集成环境[2,3](Laboratory Virtual Instrument Engineering Workbench,LabVIEW)是美国国家仪器(National Instruments,NI)公司推出的一种基于“图形”方式的虚拟仪器开发软件。它具备强大的信号采集、信号发生、数据分析与存储显示等功能,集开发、调试、运行于一体,广泛应用于测试测量和过程控制系统中。基于LabVIEW软件和计……
