文档介绍:摘要 I
Abstract II
1绪论 1
1. 1全自动洗衣机的介绍 1
1
1. 1
1. 1. 3全自动洗衣机的设计目的 2
1. 2
2全自动洗衣机的设计方案 3
. 1 按键 3
3
1. 2. 3 洗衣程序 3
2. 4 显示 4
4
2硬件电路介绍 5
1 CPU 选型 5
2. 289C51的存储器与寄存器 7
2. 3A/D转换器 7
2. 4传廳器 10
5显示器 11
3软件设计 14
1全自动洗衣机中的模糊控制 14
3. 1. 1模糊控制器 14
3. 14
3. 2软件流程图及代码 15
2. 1寄存器 15
3. 2. 2流程图及其代码 16
3. 3伟福仿真器 52
3. 52
3. 3. 2伟福仿真器特点 53
结论 54
致谢 55
参考文献 56
附录A程序代码 60
附录B原理图 69
摘要
基于模糊控制的全自动洗衣机自动控制系统,所有的电路都是在单片机的控制下工作的,目前 通常采用的是Motorola公司的MC6805系列的单片机,而木设计中采用了 Intel公司的89C51作为 控制核心,以单片机89C51为核心结合接口芯片及外围电路以实现洗衣机的智能控制。其中模糊控 制器的设计是关键环节,采用传感器检测洗衣过程必需的物理量,进入模糊控制器,通过模糊推理, 实现对洗衣机自动识别衣质、衣量,自动识别肮脏程度,自动决定水量,自动投入恰当的洗涤剂等 功能的控制。木设计在洗涤过程中采用了实时模糊控制,提高洗衣质量,节约能源。硬件结构框图及 软件流程图是该系统的重要组成部分,在整个控制过程中,模糊控制软件起了决定性的作用。
关键词: 模糊控制;单片机;全自动洗衣机
Abstract
Based on fuzzy control completely automatic washer automatic control system, All electric circuits are worked under the monolithic integrated circuit control, at present, usually uses monolithic integrated circuit is Motorola Corporation^ MC6805 series , but in this design ,it used Intel Corporation^ 8031 to take the control core, 8031 realizes the washer intelligent control, take the monolithic integrated circuit as the core unioning connection chip and the periphery electric circuit. Fuzzy controller^ design is the essential link. It uses the sensor to examine the essential physical quantity of the wash clothes process, they enter the fuzzy controller, through the fuzzy reasoning, realizes of the washer automatic diagnosing clothes nature, the clothes quantity, the automatic diagnosing dirty degree, automatically deciding the water volume, function , automatic investing appropriate detergent, and so on. In this design , the process of washing uses the real-time fuzzy control, enhanced the quality of washing clothes ,Saves the energy. The hardware architecture diagram and the software flow chart are the important constituent of