基于LabVIEW和單片機(jī)的空調(diào)溫度場(chǎng)測(cè)量系統(tǒng)的研究:室內(nèi)溫度是空調(diào)系統(tǒng)舒適性的重要指標(biāo),對(duì)其及時(shí)、準(zhǔn)確地測(cè)量顯得非常重要。介紹單片機(jī)AT89C51 和數(shù)字式、單總線型溫度傳感器DS18B20 組成矩形測(cè)量網(wǎng)絡(luò)采集空調(diào)室內(nèi)40 點(diǎn)溫度,LabVIEW作為開發(fā)平臺(tái),二者之間通過串口實(shí)現(xiàn)數(shù)據(jù)通信,利用LabVIEW強(qiáng)大的數(shù)據(jù)處理和顯示功能對(duì)采集的空調(diào)溫度場(chǎng)數(shù)據(jù)進(jìn)行實(shí)時(shí)處理、分析和顯示,詳細(xì)介紹了系統(tǒng)的硬件結(jié)構(gòu)和軟件模塊的設(shè)計(jì)方案。關(guān)鍵詞:單片機(jī);DS18B20 ;LabVIEW;串行通信
Abstract : Temperature is a very important criterion of air condition system′s comfort , so it is very significant to measure it accurately and real timely. This paper int roduces a data acquisition system of measuring 40 point s temperature for air condition room based on single wire digital sensor DS18B20 and microcont roller AT89C51 which are composed of rectangle measuring meshwork. The data communication between LabVIEW and microcont roller is executed via serial port ,and the temperature field data of air condition room are processed analyzed and displayed on LabVIEW. The hardware and software modules are also given in detail.Keywords : single chip ;DS18B20 ;LabVIEW; serial communication
The LabVIEW Development Guidelines describe many of the issues that
arise when developing large applications. The guidelines are based on the
advice of LabVIEW developers, and provide a basic survey of software
engineering techniques you might find useful when developing your
own projects.
There is also a discussion of style for creating VIs. Developers who have
used LabVIEW and are comfortable in the LabVIEW environment can use
the LabVIEW Development Guidelines to maintain a consistent and
effective style in their projects.
設(shè)計(jì)了自動(dòng)控制系統(tǒng)綜合實(shí)驗(yàn)案例“基于LabVIEW和單片機(jī)的溫度控制系統(tǒng)設(shè)計(jì)”。實(shí)驗(yàn)系統(tǒng)硬件部分由單片機(jī)、溫度傳感器、D/A轉(zhuǎn)換模塊、調(diào)壓模塊和電烤箱組成,設(shè)計(jì)了單片機(jī)與各個(gè)模塊之間的接口電路。軟件部分采用LabVIEW軟件實(shí)現(xiàn)控制算法,并設(shè)計(jì)監(jiān)控界面實(shí)現(xiàn)參數(shù)設(shè)定、溫度數(shù)據(jù)實(shí)時(shí)監(jiān)控等功能。設(shè)計(jì)了單片機(jī)與LabVIEW軟件之間的串口通信程序,實(shí)現(xiàn)了輸入、輸出數(shù)據(jù)的傳輸。通過綜合實(shí)驗(yàn)系統(tǒng)設(shè)計(jì),使學(xué)生得到控制系統(tǒng)設(shè)計(jì)和實(shí)驗(yàn)調(diào)試等綜合能力的訓(xùn)練。A comprehensive experimental case of the automatic control system is presented,which is the design of the temperature control system based on LabVIEW and SCM.The hardware part of the experimental system is composed of the SCM,temperature sensor,D/A conversion module,voltage regulating module and electric oven.The interface circuit between the SCM and each module is designed.In the software part,LabVIEW software is used to realize the control algorithm,and the monitoring interface is designed to realize the functions of parameter setting,temperature data real-time monitoring,etc.The serial communication program between the SCM and LabVIEW software is designed to realize the transmission of input and output data.Through the design of this comprehensive experimental system,students can get the comprehensive ability training for the control system design,experiment debugging,etc.