1、 I 本本 科科 毕毕 业业 设设 计计 题目名称: 全自动洗衣机控制系统的设计 II 目目 录录 题目 . I 摘要及关键词 . I 1 绪 论 . 1 1.1 课题研究的背景和意义 1 1.1.1 各国洗衣机的发展历程 . 1 1.1.2 我国洗衣机的发展历程 . 1 1.1.3 洗衣机发展现状和趋势 . 2 1.1.4 新型洗衣机控制技术 . 3 1.2 课题的意义 3 1.3 设计内容 3 2 系统硬件设计 . 4 2.1 方案选择 4 2.1.1 PLC 控制方案 4 2.1.2 PIC 系列单片机方案 4 2.1.3 51 系列单片机方案 4 2.2 系统总体结构设计 5 2.3
2、模块电路设计与元件选择 6 2.3.1 电源设计 . 6 2.3.2 主控芯片 AT89C52 6 2.3.3 LED 灯显示与 74HC573 锁存器 7 2.3.4 七段数码管显示 . 8 2.3.5 浊度检测模块设计 . 9 2.3.6 电机控制 11 2.3.7 水阀 . 13 2.3.8 水位传感器 . 14 III 3 系统软件设计 . 15 3.1 系统主程序 15 3.2 计算时间子程序 15 3.4 显示时间子程序 18 3.5 浊度数据 AD 转换及漂洗控制子程序 18 3.6 键盘扫描子程序 19 3.7 键盘服务子程序 20 3.8 工作模式设定程序 21 3.8.1厚
3、物洗涤与薄物洗涤子程序 22 3.8.2漂洗子程序 23 3.8.3脱水子程序 25 3.9 系统动作服务程序 25 4 系统调试与分析 . 26 5 结论与总结 . 27 参考文献 28 致 谢 29 附录一 系统电路图 30 附录二 源程序 31 I 全自动洗衣机控制系统的设计 姓 名:郭运峰 专 业:电子信息科学与技术 指导教师:郭颖 摘要摘要:自动化和节能化是目前洗衣机发展的主流趋势。本文根据对洗衣机节能指标的要 求,通过方案对比,选择 AT89C52 单片机作为控制核心,实施以节水为主要目标的节能 洗衣机理念的设计与实现。 本文详细阐述了系统的各个功能模块及其工作过程。洗衣机由键盘设
4、定洗衣模式, 并采用传感器检测洗衣过程中的水量、水的混浊程度等参数,通过单片机的八个子程序 的处理,实现对洗衣机自动识别水量,自动识别浊度,自动决定漂洗时间和漂洗次数等 功能的控制。 关键词:关键词:洗衣机;单片机;浊度检测;节水 The design of the automatic washing machine control system Name:GuoYunfeng Major:Electronic information science and technology Tutor: GuoYing Abstract: The automation and the energy sa
5、ving is the target of the new washing machine. According to the target, the paper focus on realizing the idea of water saving for the washing machine by the singlechip AT89C52. This paper elaborates on the systems functions and its working process. The keyboard is used for setting workmode, and the
6、sensors are to get the information in the working process, such as the water level, the turbidity, etc According to the keyboard and the sensors,the singlechip, focusing on the turbidity of the water and based on the eight subprocedures, determines the washing time and the times of washing. Keywords: Washing machine ;Singlechip ;Turbidity detection ;Water saving 1 1 绪 论 1.1 课题研究的背景和意义 全自动洗衣机的发展首先表现在洗涤方式发生巨大变化。原先大多侧重于水流的改 变、动力的加大。现在,使洗衣机的去污能力从单纯依靠洗涤剂的化学作用和强弱变化 水流的机械作用,向更