关于温度控制系统毕业设计的外文翻译_第1页
关于温度控制系统毕业设计的外文翻译_第2页
关于温度控制系统毕业设计的外文翻译_第3页
关于温度控制系统毕业设计的外文翻译_第4页
关于温度控制系统毕业设计的外文翻译_第5页
已阅读5页,还剩8页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Thermo Tank Temperature Control System Based On STM32Biao QIU(···· , Shi-guang LI(····, Zheng-zhong GAO(····, Xu ZHANG(····, Yu RUI(····(School of Information and Electrical Engineering, Shandong Univ

2、ersity of Science and Technology, Qingdao 266510, ChinaAbstract-this paper introduced a thermo tank temperature control system based on STM32, Firstly, the temperature acquisition is realized by the high-precision electrical bridge based on constant current source. Then the augmented PID algorithm r

3、ealized 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, high-precisi

4、on, practicable and could meet reality needs.Key words-STM32; thermo tank; temperature acquisition; PIDManuscriptNumber:1674-8042(201101-0064-03Dio: 10.3969/j.issn.1674-8042.2011.01.161 introductionThermo tank can be divided into low temperature thermo tank and high temperature thermo tank according

5、 to temperature range. Heating control thermo tank is one kind of high temperature thermo tank and has a wide range of applications in industrial, medical and scientific areas. As some special thermo tank control system require high precision in temperature acquisition and control, the system design

6、ed in this paper can measure temperatures from 16to 80and its precision is superior to ±0.05. As ARM is gradually occupying the microelectronics market for its powerful function and low cost, it is of important practical significance and value to design a temperature control system based on ARM

7、 with high precision, simple structure and low cost. 2 Basic control principles of thermo tankIn this system, temperature acquisition of the inner thermo tank is realized by using platinum resistance as temperature sensor and bridge circuit based on constant current source. Then compare the actual t

8、emperature with the temperature set by touch screen. By using augmented PID algorithm to adjust, STM32 outputs 16-bit PWM signals. Then convert PWM signal to voltage signal to control the conduction angle of Semiconductor Control Rectifier(SCR which controls the heating tubes. System control princip

9、le is shown in Fig.1.Considering the system accuracy and stability requirements, features of this system include: powerful and high speed ARM STM32F103 as the controller, augmented PID algorithm, and full use of on-chip resources of microcomputer such as ADC, USART and 16-bit PWM output for great co

10、ntrol accuracy.Fig 1 System control principle3 hardware designThis system includes temperature acquisition bridge circuit, STM32F103, color LCD touch screen control circuit, filtering circuit and SCR. In addition, the system has a good man-machine interaction function and can realize real-time monit

11、oring and control by using 5.6 inches color LCD and touch screen. Temperature control system structure is shown in Fig.2.Fig 2 System structure3.1 temperature acquisition and A/D conversionAmong the thermal resistance temperature sensors, platinum resistance, with advantage as high precision, stable

12、 performance, corrosion resistance and easy to use, is the ideal temperature acquisition component widely used in industrial environments and control systems. As the temperature acquisition range is 16to 80, Pt1000 is chosen as temperature sensor, which resistance changes with temperature according

13、to certain rules and has good high precision and stable performance.Unbalanced bridge measurement is typical in detect circuits using platinum resistance as temperature sensors1. However, the nonlinearity between platinum resistance and temperature and nonlinearity of unbalanced bridge lead to acqui

14、sition error, thus we improved the temperature acquisition bridge circuit. Use constant current source to power the bridge, connect the two bridge arms with precise operational amplifier that is low noise and low temperature drift, use 4DH2 to constitute constant current source circuit which outputs

15、 0.5 A current, thus the current in platinum resistance is equal to constant current source.The ADC of STM32F103 is used to convert analog voltage of temperature into digital signal. The 12-bit ADC is a successive approximation analog-to-digital converter and has the function of self-calibration. D/

16、D conversion of each channel can be performed in single, continuous, scan or discontinuous mode, and in this system we use continuous mode. The result of ADC is stored in right-aligned 16-bit data register which improves the conversion speed. In addition, the analog watchdog feature allows the appli

17、cation to detect if the input voltage goes outside the user-defined high or low thresholds.3.2 TM32F103 on-chip resourcesTM32F103 can work in -40105and this meets the requirements of industrial environment. It incorporate the high performance ARM Cortex-M3 32-bits RISC core operating at a 72 MHz fre

18、quency, high speed embedded memories (Flash memory up to 128Kbytes and SRAM up to 20Kbytes to store data and program, and an extensive range of enhanced I/Os, most of which have alternate functions and peripherals connected to two APB buses. It has three general purpose 16-bit timers plus two watchd

19、ogs, as well as standard and advanced communication interface USART used to communicate with LCD2. More importantly, it offers two 12-bit ADCs with 1s conversion speed which make it suit for fast acquisition and fast processing. It is one of the important reasons for this system to choose TM32F103 a

20、s the core controller.3.3 Filtering and conversion circuitsIn order to realize the convention from PWM signal to analog output, we use the second order low pass filter to filter out the high frequency components and keep DC component and changing duty cycle of PWM signal so that the analog voltage o

21、utput is got then. Fig.3 shows the designed Butterworth filter. After filtering, convert P WM signal to 02.5 V to control thyristor conduction angle3. Thus we realized the precise control of heating temperature.Fig 3 Butterworth filter4 Software design4.1PID control algorithmThis system uses PID con

22、trol algorithm which is a basic control method widely used in industrial process control method widely used in industrial process control. Augmented PID control algorithm4 isu k - u k- 1 = K P ( e k - e k- 1 + K 1 e k + K D ( e k - 2e k- 1 + e k- 2 .However, if this algorithm was used directly, it c

23、ould generate a lare overshoot and cause integral saturation easily when starup, stop or adjust substantially. In order to inhibit the emergence of this phenomenon, we use integral separation as an improvement.Integral separation won't work until actual temperature is approaching the settings. W

24、hen it works, it can eliminate static error and improve precision5. Block diagram of integral separation PID is shown in Fig.4.Fig 4 Integral separate PID algorithm block diagram4.2 Touch screen software designIt makes human-computer interface much more friendly, more convenient and faster by using

25、touch screen. Use dedicated control chip ADS7843 to connect AMT9532, four-wire resistive touch screen, withSTM32F103, process the touch screen signals6. Touch screen's software design flow chart is shown in Fig.5. Fig 5 Touch screen flow chartUse standard thermometer with 0.001precision as calib

26、ration to check the experimental results. Specific methods: set different temperatures within the appropriate range though touch screen, wait until the temperatures shown in the LCD are stable, then calculate the errors based on the actual temperature of standard thermometer with formula:Error=|set-

27、actual|/set.The check results are shown in Tab.1. Tab.1 Calibration results6 conclusionBy using 16-bit PWM output, simple filtering circuit conversion circuit, software design and floating-point operations, this system realized 16-bit D/A. Conversion which is very hard for common MCU to realize.The

28、system temperature range is 680and the resolution of 16-bit control signal could reach to 10. The experimentalresults show that the system definitely can reach the control requirement that temperature accuracy is better than ±0.05. The application shows that this system has the real-time, flexi

29、ble, stable high-precision, and low cost advantages, and can meet the industrial requirements of high accuracy, high stability and reliability.References1 Zhaojun Li, Ping Ji, Xiangguang Lou, 2007, Design of high precision temperature control system. Electronic Measurement Technology. (2: 146-148.2

30、ST Microelectronics Corporation, 2007. STM32F103XX Data sheet.3 Dayong Xia, Xiaohui Zhou, Zeng Zhao, Bofeng Chen, Endian Hu,2007. Temperature control system of single-chip of model MCS-51. Industrial Instrumentation & Automation, (1:43-47.4 Lin Wu, Enping Lou, Dongqing Hou, Liang Xu, 2006, Wirel

31、ess temperature and humidity control system based on PID arithmetic. Chinese Journal of Scientific Instrument, 27(21:619-620.5 Y an Zhao, Guangzhi Y ang, 2006. Automatic measuring system in constant temperature for oxygen content based on singlechip. Chinese Journal of Scientific Instrument, s1.6 So

32、ngmei Zhang, Junkai Liang, Longji Liu, 2008. Deign of thermo tank temperature control system based on C8051F. Electronic Measurement Technology, 31(9: 147-149.基于STM32的恒温箱温度控制系统摘要这篇文章介绍了一个基于STM32的恒温箱温度控制系统,首先,由基于常流源的高精度电桥获取温度,然后,由软件实现的扩充型PID算法在这里得到应用,使用巴特沃兹滤波器(最平坦滤波器将STM32输出的PWM转换成电流信号来控制半导体整流器从而调节温度

33、,校准检测和实际应用都表明这个系统可靠、精度高、可行性好,并且能够满足现实需要。关键字STM32;恒温箱;温度获取;PID。原稿编号:1674-8042-(201101-0064-03Dio:10.3964/j.issn.1674-8042.2011.01.161 引言根据温度范围,恒温箱分为低温箱和高温箱两种,加热控制恒温箱是一种高温恒温箱,并且它在工业、医疗和科学领域有着广泛的应用,因为一些特殊恒温箱控制系统在温度测量及控制方面都要求很高的精度,所以这篇文章中所设计的系统能够测量1618的温度,并且它的精度高于±0.05。ARM因其强大的功能和低成本的优点正逐渐占领微电子市场,也

34、正因如此,设计一个基于ARM的高精、简单结构和低成本的温度控制系统便具有重要的实际意义和价值。2恒温箱控制的基本原理在这个系统中,为获取恒温箱内部的温度,使用铂丝电阻作为温度传感器和基于常流源的桥式电路。然后,将实际温度与通过触摸屏设定的温度作比较。通过使用扩充型PID算法来调节STM32输出的16比特脉冲宽度调制信号,然后将PWM信号转换成电压信号来控制半导体控制整流器(SCR的导通角,从而控制加热管,系统控制原理示于图1 图1 系统控制原理3硬件设计这个系统包括温度获取桥式电路、STM32F103、彩色LCD触摸屏控制电路、滤波电路和SCRC (半导体控制整流器,另外,这个系统使用5.6英

35、寸彩色LCD和触摸屏,有着优良的人机交互功能,并且能够实现实时监测和控制。温度控制系统结构示于图2图 2 系统结构 3.1 温度获取和模拟/数字转换 在所有的热敏电阻温度传感器中,铂丝电阻因其高精度、稳定性好、耐腐蚀以及易于使用的 优点而成为理想的温度获取原件并在工业环境和控制系统中得到了广泛的应用。 基于测温范 围为 1618,Pt1000 的组织依确定关系随温度的变化而变化,并且精度高、稳定性好, 所以选择它作为温度传感器。 在以铂丝电阻作为温度传感器的测量电路中,非平衡桥测量时一种典型应用。然而,铂丝电 阻的阻值与温度之间的非线性关系以及非平衡桥的非线性性会导致获取值出错, 因此, 我们

36、 改进了温度测量桥式电路。 使用常电流源给电桥供电, 使用具有低噪声和低温漂的高精度可 操作放大器连接两个网桥,使用 4DH2 组建恒流源以输出 0.5A 电流,因此,流经铂丝电阻 的电流等效于恒流源。 STM32F103 中的 ADC 用来将温度的模拟电压值转换成数字信号,这个 12 比特 ADC 是一 个连续近似模拟到数字的转换器,并且具有自我校准功能。每个通道的 A/D 转换均可工作 在独立、连续扫描或不连续模式下,而在这个系统中,我们使用连续模式,ADC 的转换值 存储在右排 16 比特数据寄存器中,从而提高了转换速度,另外,模拟监测机构能够在输入 电压超过用户定义的高门限或低门限时进

37、行监测。 3.2TM32F103 片上资源 TM32F103 能够工作在-40105的温度范围内,这符合工业环境的要求,它整合了工作 频率为 72MHz 的高性能 ARM Cortex-M3 32 比特 RSIC 核心、 用来存储数据和程序的告诉嵌 入式存储器(高达 128K 字节的闪存和高达 20K 字节的 SRAM 静态只读存储器)以及更多 增强的 I/O 口,这些接口中的大部分可以工作在不同功能下并且具有连接到 2 个 APB 总线 的外围设备。它包含 3 个通用 16 字节定时器,附加两个监测器。另外还有用来与 LCD 进行 通信的标准型和增强型交流交互 OSART,更重要的是,它提供 2 个转换速度为 1 S 的 12

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论