為了提高傳統溫度控制系統的性能,將PID控制理論與嵌入式系統相結合,采用瑞薩電子公司的H8S/2166作為核心處理器,AD公司的AD7705以及熱敏電阻溫度傳感器作為溫度檢測單元,利用4×6小鍵盤、LCD顯示器和S1D13305液晶控制器達到良好的人機交互,設計出了一個應用于化工領域的嵌入式實時溫度控制系統。相比于傳統溫度控制系統,該系統提供了更強的計算能力和可擴展能力,采用增量PID控制算法實現復雜控制。通過實驗,該系統能達到0.1 ℃的溫度控制精度以及小于120 s的溫度穩定時間。
Abstract:
In order to improve the performance of conventional temperature control system, combining PID control theory with embedded systems, using the Renesas Electronics Corp. H8S/2166 micro-controller as a core processors, AD7705 and thermistor temperature sensor as a temperature detection unit and 4×6 small keyboard, LCD and S1D13305 LCD controller as a good human-computer interaction, this paper designed an embedded real-time temperature control system which is applied in chemical industry. Compared with conventional temperature control system, this system provides more computing power and extensibility, and adopts PID control algorithm for complex control. Through the experiment, the system can reach temperature control accuracy of 0.1 ℃ and temperature stabilization time of less than 120 seconds.
SPMC65系列單片機編程指南(中文版):SPMC65X系列是由凌陽公司設計開發的8位微控制器。每款芯片都獨具特色,同時凌陽公司還開發了一款仿真芯片ECMC653,專門用于SPMC65X系列的仿真。采用 SPMC65 CPU 核,凌陽公司新開發了功能強大的8位SPMC65系列CPU。該系列CPU 具有可編程的通用I/O端口、不同大小的ROM 和RAM 區、8位/16位定時/計數器、強大的CCP (Capture/Compare/PWM)功能模塊和看門狗復位電路等。并采用先進的微米制造工藝,保證了產品高的電磁兼容性和可靠性。除此之外,部分SPMC65X系列芯片具備高吸入電流和慢速輸出的端口、豐富的外部中斷源、低電壓復位、ADC、PWM、標準通訊接口和多種時鐘選擇。SPMC65X系列芯片適用于通用工控場合、計算機外圍控制和家電等。ECMC653采用8位SPMC65 CPU 核,具有928字節的RAM 和16k字節的ROM。同時還集成了1個時基、1個看門狗定時器、6個16位定時/計數器和9通道的ADC。為了降低整個仿真板的成本,該芯片還配有一個OTP ROM 的串行可編程接口。此外,為了幫助用戶加快程序的調試,并發現程序中隱藏的錯誤,該芯片內部專門有一RAM區域用于記錄程序最近一段時間執行的指令,用戶可以從中了解到程序是否正確執行。