設(shè)計了自動控制系統(tǒng)綜合實驗案例“基于LabVIEW和單片機的溫度控制系統(tǒng)設(shè)計”。實驗系統(tǒng)硬件部分由單片機、溫度傳感器、D/A轉(zhuǎn)換模塊、調(diào)壓模塊和電烤箱組成,設(shè)計了單片機與各個模塊之間的接口電路。軟件部分采用LabVIEW軟件實現(xiàn)控制算法,并設(shè)計監(jiān)控界面實現(xiàn)參數(shù)設(shè)定、溫度數(shù)據(jù)實時監(jiān)控等功能。設(shè)計了單片機與LabVIEW軟件之間的串口通信程序,實現(xiàn)了輸入、輸出數(shù)據(jù)的傳輸。通過綜合實驗系統(tǒng)設(shè)計,使學(xué)生得到控制系統(tǒng)設(shè)計和實驗調(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.