摘要
针对目前越来越多的控制系统以个人计算机为控制核心和虚拟仪器技术的快速发展等特点,为了使温度采集系统实现系统与计算机的高度融合,设计了一种基于实验室虚拟仪器工程平台和单片机的温度采集系统,将虚拟仪器技术应用到温度采集系统中.系统由STC系列单片机和数字温度传感器DS18B20搭建下位机系统进行实时温度采集,应用图形化编程软件LabVIEW和个人计算机构成上位机系统进行采集温度数据的实时处理、分析以及存储等操作.多次测试实验的结果表明,系统运行良好,实验结果理想.较传统基于单片机设计的温度采集系统,其设计实现了系统与计算机的高度融合,虚拟仪器技术在温度采集系统中的应用很大程度上提高了系统的灵敏性,降低了硬件制作的复杂度;与采用数据采集卡搭建的系统相比,应用串口通信极大程度上降低了成本.系统结构简单,直观形象、操作简单方便,人机交互界面友好美观,具有成本低、实时保存数据、抗干扰能力强等特点.
Aimed at the present control systems using the personal computer as the control core and the rapid development of the virtual instrument technology,the design and implementation of a temperature acquisition system based on laboratory virtual instrument engineering workbench(LabVIEW) and micro control unit(MCU) was put forward to make the temperature acquisition system and the computer to achieve a high degree of integration.Virtual instrument technology was applied to the temperature acq-uisition system.The system contained the lower computer and the upper computer.The lower computer was hold by STC series MCU and DS18B20 as a temperature acquisition system,the upper computer was a personal computer with graphical programming software LabVIEW for the temperature real-time processing,analysis and storage.Many times test experiment results show that the system is running well,the experimental results are ideal.Compared with traditional temperature acquisition system only based on MCU,the design is a integrated system with computer,the application of virtual instrument technology in the system greatly improves the system sensitivity,reduces the complexity of hardware production;the application of serial communication largely reduces the cost compared with using data acquisition card to build system.The system has characteristics of simple structure,intuitive image,convenient operation,beautiful and friendly man-machine interface;and low cost,real-time data storage,strong anti-interference ability.
出处
《武汉工程大学学报》
CAS
2013年第7期81-86,共6页
Journal of Wuhan Institute of Technology
基金
安徽高校省级自然科学研究产学研重点项目(KJ2011A035)
安徽省教育厅为本文提供了科研经费支持
关键词
虚拟仪器
温度
单片机
virtual instrument
temperature
micro control unit