摘 要
本设计是以数字集成电路技术为基础,以8051单片机为核心,软件、硬件相结合,组成洗衣机控制电路。实现了洗衣机进水、洗涤、漂洗、脱水、排水等功能的自动进行,并且设计了指示灯,用来指示洗衣机的工作状态。
基于单片机的自动洗衣机控制系统具有精度高、功能强﹑经济性好的特点。无论在提高产品质量还是产品数量,节约能源还是改善劳动条件等方面都显示出无比的优越性。
关键词:洗衣机;单片机;集成电路;控制系统
Ⅰ
ABSTRACT
This design mainly introdcts the washing machine control circuit whichis based on the digital integrated circuit technology , using the single chip microcomputer 8051 as the core, with combining software with hardware . The washing machine control circuit realizes the function of washing machine water, washing, rinse, dehydration and drainage.
Besides we design the indicator light which can indicate the working state of the washing machine.Based on single chip microcomputer,the automatic washing machine control system has the property of high precision, strong function, good economy and so on. No matter in the aspect of increasing the quality and quantity of products, saving energy or improving working conditions, the automatic washing machine control system has clinking superiorities.
Key words:The washing machine; 8051MCU; Integrated circuit ;Control system
Ⅱ
目 录
摘 要 ............................................................. Ⅰ ABSTRACT ........................................................... Ⅱ 第1章 引 言 ........................................................ 1
1.1 研究背景、目的与意义 ........................................ 1 1.2 洗衣机的分类 ................................................ 2 1.3 洗衣机的工作原理 ............................................ 3
1.3.1普通型波轮洗衣机: ..................................... 3 1.3.2机械全自动洗衣机: ..................................... 4 1.4国内外洗衣机应用现状及发展趋势 ............................... 4 第2章 方案的论证与选择 ............................................. 6
2.1 设计要求 .................................................... 6 2.2设计方案与比较 ............................................... 6
2.2.1方案设计 ............................................... 6 2.2.2 方案比较 ............................................... 7 2.3控制功能要求 ................................................. 8 2.4实现方法 ..................................................... 8 第3章 硬件电路的设计 ............................................... 9
3.1 系统的整体框图 .............................................. 9 3.2 8051单片机 ................................................. 11
3.2.1管脚说明 .............................................. 11 3.2.2 单片机最小系统复位电路 ................................ 13 3.3 电源电路 ................................................... 14 3.4 标准时钟电路 ............................................... 15 3.5键盘输入及显示电路 .......................................... 16 3.6数码管显示电路 .............................................. 18 3.7水位检测电路 ................................................ 20
3.7.1.水位开关 .............................................. 20 3.7.2.水位监测模块 .......................................... 21 3.8报警电路设计 ................................................ 22 3.9 电机控制系统 ............................................... 22
3.11硬件系统整体电路图 ......................................... 23 第4章 系统软件设计 ................................................ 25
4.1 主程序设计 ................................................. 25 4.2洗涤程序设计 ................................................ 26 4.3计时程序设计 ................................................ 27 第5章 洗衣机功能的仿真 ............................................ 29
5.1 仿真流程 ................................................... 29 5.2 仿真图 ..................................................... 31 结束语 ............................................................. 32 致 谢 ............................................................. 33 参考文献 ........................................................... 34 附录Ⅰ 整体电路图 .................................................. 35 附录Ⅱ 源程序 ..................................................... 36

