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