【正文】
校準(zhǔn)結(jié)果 ——————————————————————————————— 設(shè)定值(℃) 顯示值(℃) 實際值(℃) 誤差( %) ——————————————————————————————— ——————————————————————————————— 6 結(jié)論 通過使用 16 比特 PWM 輸出,簡單濾波電路、轉(zhuǎn)換電路、軟件設(shè)計及 浮點操作 ,這個系統(tǒng)實現(xiàn)了普通 MCU 難以實現(xiàn)的 16比特 D/A轉(zhuǎn)換,系統(tǒng)溫度控制范圍為 16℃ ~80℃,并且 16比特控制信號的精度達(dá) 1‰。 片上資源 TM32F103 能夠工作在 40℃ ~105℃的溫度范圍內(nèi),這符合工業(yè)環(huán)境的要求,它整合了工作頻率為 72MHz的高性能 ARM CortexM3 32 比特 RSIC核心、用來存儲數(shù)據(jù)和程 序的告訴嵌入式存儲器(高達(dá) 128K 字節(jié)的閃存和高達(dá) 20K 字節(jié)的 SRAM 靜態(tài)只讀存儲器)以及更多增強的 I/O 口,這些接口中的大部分可以工作在不同功能下并且具有連接到 2 個 APB 總線的外圍設(shè)備。 ℃ . The application shows that this system has the realtime, flexible, stable highprecision, and low cost advantages, and can meet the industrial requirements of high accuracy, high stability and reliability. References [1] Zhaojun Li, Ping Ji, Xiangguang Lou, 2020, Design of high precision temperature control system. Electronic Measurement Technology. (2): 146148. [2] ST Microelectronics Corporation, 2020. STM32F103XX Data sheet. [3] Dayong Xia, Xiaohui Zhou, Zeng Zhao, Bofeng Chen, Endian Hu,2020. Temperature control system of singlechip of model MCS51. Industrial Instrumentation amp。 ) , Shiguang LI( ) (School of Information and Electrical Engineering, Shandong University of Science and Technology, Qingdao 266510, China) Abstractthis paper introduced a thermo tank temperature control system based on STM32, Firstly, the temperature acquisition is realized by the highprecision electrical bridge based on constant current source. Then the augmented PID algorithm realized by software is adopted Butterworth filter is used to convert the output PWM of STM32 to current signal which is used to control the semiconductor control rectifier to adjust the temperature. Calibration check and practical application both indicated that the system was reliable, highprecision, practicable and could meet reality needs. Key wordsSTM32。溫度控制系統(tǒng)結(jié)構(gòu)示于圖 2 圖 2 系統(tǒng)結(jié)構(gòu) 溫度獲取和模擬 /數(shù)字轉(zhuǎn)換 在所有的熱敏電阻溫度傳感器中,鉑絲電阻因其高精度、穩(wěn)定性好、耐腐蝕以及易于使用的優(yōu)點而成為理想的溫度獲取原件并在工業(yè)環(huán)境和控制系統(tǒng)中得到了廣泛的應(yīng)用。實驗結(jié)果表明,這個系統(tǒng)確實達(dá)到了控制要求,其溫度精度優(yōu)于177。每個通道的 A/D 轉(zhuǎn)換均可工作在獨立、連續(xù)掃描或不連續(xù)模式下,而在這個系統(tǒng)中,我們使用連續(xù)模式, ADC 的轉(zhuǎn)換值存儲在 右排 16 比特數(shù)據(jù)寄存器中,從而提高了轉(zhuǎn)換速度,另外,模擬監(jiān)測機構(gòu)能夠在輸入電壓超過用戶定義的高門限或低門限時進行監(jiān)測。s software design flow chart is shown in . Fig 5 Touch screen flow chart Use