单片机技术的发展日新月异,应用单片机来对温度控制领域的应用已经成为人们越来越关注的焦点,另外单片机具有集成度高、性能好、容量大、功耗低、价格便宜等优点,所以本系统,即基于模糊控制的电热毯控制系统应运而生了。64797
本文主要分为硬件系统仿真和软件系统设计两大部分。以硬件设计为主,介绍单片机的基本原理及其基本的单片机控制模块、按键设定模块、温度采集模块、液晶显示及指示灯模块、温度控制模块和报警模块的电路设计。软件部分主要运用汇编语言进行编程。
由于本系统主要使用的是AT89C51单片机和各种简单元件进行设计和测量,所以该系统相对比较简单而且价格便宜,非常易于实现和掌握,芯片扩展简单,可以应用于同种类型的测量场合中。
关键词:AT89C51单片机 模糊控制 单片机控制模块 芯片扩展
Title Blanket Control Based on Fuzzy Control System Design
Abstract
The rapid development of the single-chip technology, the application of single-chip temperature control applications have become the focus of growing concern, the other single-chip with high integration, good performance, large capacity, low power consumption, the advantages of cheap, so the systemthe electric blanket control system based on fuzzy control is adopted.
The paper is pided into hardware system simulation and software system design of two parts. To hardware design to introduce MCU basic principles and its basic single-chip control module, the buttons to set the module temperature acquisition module, LCD display and indicator module, temperature control and alarm modules circuit design. The software part of the main use of assembly language programming.
AT89C51 microcontroller and a variety of simple element design and measurement because this system is mainly used, so the system is relatively simple and inexpensive and very easy to implement and master chip extension is simple, can be applied to the same types of measurement occasions.
Keywords:AT89C51 microcontroller fuzzy control single-chip control module chip expansion
目 次
1 绪论 1
1.1选题背景 1
1.2研究内容及要求 2
2 方案论证 3
2.1 系统工作模块选择论证 3
2.1.1 显示模块方案选择和论证 3
2.1.2 键盘模块方案选择和论证 3
2.1.3 温度传感器方案选择和论证 4
2.2系统方案论证 4
2.3温度控制方案说明 5
3 系统硬件电路设计 5
3.1单片机的历史及现状 5
3.2单片机控制模块 6
3.2.1单片机内部结构 7
3.2.2 8051的内部结构与引脚 8
3.2.3单片机最小系统 10
3.3键盘控制模块 11
3.4温度采集模块 12
3.4.1 DS18B20性能简介 12
3.4.2 DS18B20结构简介 13
3.4.3 DS18B20与单片机的接口电路