电子设计大赛论文基于温度传感器DS18B20的水温控制系统.doc
文本预览下载声明
水温控制系统(C题)
重庆大学光电工程学院 参赛队员:吴 蔡 傅
摘要 本水温控制系统是基于MSP430单片机为主控芯片,键盘输入设定温度,并在LCD1602上显示设定温度和实时温度。通过DS18B20温度传感器对水温进行采样,将采得的数字温度信号送给单片机,单片机对温度进行PID算法,通过改变加热控制方波的占空比达到精确控制温度的目的。本水温控制系统的静态误差≤0.2°C,当设定的温度比实时温度高0.12°C时,则启动风扇降温,10分钟左右到达稳定状态。本系统能够很精确地实现水温控制,是一个很好的水温控制方案。
关键字 MSP430 PID算法 DS18B20温度传感器
Abstract:The temperature control system is based on the MSP430 microcontroller as the master chip, control temperature is set through keyboard and the LCD1602 display the control temperature and the real-time temperature. Temperature sensor DS18B20 samples the water temperature and sents the digital signal to the microcontroller, the microcontroller on the temperature of PID algorithm changes the duty cycle of heating control square wave to achieve precise control of temperature. The temperature control system of static error ≤ 0.2 ° C.when the set temperature higher than the real-time temperature 0.12 ° C, then the fan starts to cool , reaching the steady state cost about 10 minutes. The system can achieve a very precise temperature control, this temperature control is a good program.
Keywords: MSP430 PID algorithm temperature sensor DS18B20
TOC \o 1-3 \h \z \u HYPERLINK \l _Toc299978293 摘要 PAGEREF _Toc299978293 \h 1
HYPERLINK \l _Toc299978294 1 方案论证与比较 PAGEREF _Toc299978294 \h 4
HYPERLINK \l _Toc299978295 1.1 温度传感器的比较与选择 PAGEREF _Toc299978295 \h 4
HYPERLINK \l _Toc299978296 1.2 控制器的选择 PAGEREF _Toc299978296 \h 4
HYPERLINK \l _Toc299978297 1.3 加热器的比较与选择 PAGEREF _Toc299978297 \h 4
HYPERLINK \l _Toc299978298 1.4 显示器的比较与选择 PAGEREF _Toc299978298 \h 5
HYPERLINK \l _Toc299978299 2 系统设计 PAGEREF _Toc299978299 \h 5
HYPERLINK \l _Toc299978300 2.1总体设计 PAGEREF _Toc299978300 \h 5
HYPERLINK \l _Toc299978301 2.2 单元电路设计 PAGEREF _Toc299978301 \h 6
HYPERLINK \l _Toc299978302 2.2.1 温度传感器电路设计 PAGEREF _Toc299978302 \h 6
HYPERLINK \l _Toc299978303 2.2.2 键盘电路设计 PAGEREF _Toc299978303 \h 7
HYPERLINK \l _Toc299978304 2.2.3 电热杯加热电路设计 PAGEREF _Toc299978304 \h 8
HYPERL
显示全部