登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

全自动洗衣机控制器的设计与仿真毕业论文

 2022-06-26 11:06  

论文总字数:29418字

摘 要

随着社会和经济的发展,人民生活水平大大提高。省时、省力的设备正迅速进入寻常百姓家。在普通百姓家里,洗衣服通常是一个耗时繁琐的劳动。而可以帮助人们完成这一复杂的任务的机器也被迫切的需求着。自1901年,美国人阿尔瓦•D •费舍尔设计和制造了世界上第一台电动洗衣机以来,洗衣机逐渐取代了传统的洗衣工作。

本设计是通过对全自动洗衣机原理的认识,来对全自动洗衣机的控制器进行相应的设计与仿真。为此,采用MCS-51系列单片机AT89C51为中心器件来设计全自动洗衣机控制电路,使得系统实用性强、操作简单、扩展性强,实现了通过开关设置洗衣机工作方式,进而自动实现进水、洗涤、排水、进水、漂洗、脱水的一套完整的洗衣流程;在LCD显示器上显示实时水位值、当前工作方式等;可以控制电机响应运转;脱水结束后用蜂鸣器进行报警提示等功能。在软件程序的设计方面,本设计采用了C语言作为编程语言,使用Keil软件生成.hex文件。在实现方面,用Proteus软件进行仿真,仿真时使用总线形式用来节省空间。

关键词:单片机 全自动洗衣机 Proteus Keil 仿真

Design and simulation of automatic washing machine controller

Abstract

With the social and economic development, people's living standards greatly improved. Labor-saving appliances are rapidly entering the home province when ordinary people. The traditional life, clothes are usually a time-consuming tedious labor. It can help people accomplish this complex task machines also ready. Since 1901 Americans Alva • D • Fisher designed and manufactured the world's first electric washing machine, gradually replacing the traditional laundry work.

The design is by understanding the principles of automatic washing machines, to make the appropriate design and simulation of automatic washing machine controller. For this reason, the use of MCS-51 series MCU AT89C51-centric device designed automatic washing machine control circuit, making the system practical, simple, scalable, achieved through switch settings washing machines work, and then the water is automatically washed , drainage, water, rinsing, dehydration of a complete washing process; displayed on the LCD monitor real-time water level, current working methods; motor can be controlled in response to the operation; dehydration after the buzzer alarm functions. In terms of design software program, the design uses the C language as a programming language, using the Keil software generates .hex file. In achieving control, using Proteus software simulation, the simulation using the bus in the form used to save space.

Keywords:MCU; Automatic washing machine; Proteus ;Keil; Simulation

目 录

摘 要 i

Abstract ii

目 录 iii

第一章 绪论 1

1.1 全自动洗衣机的国内外现状 1

1.2 课题研究意义 1

1.3 单片机概述 2

1.4 相关软件介绍 2

1.4.1 Protues软件 2

1.4.2 Keil软件 3

第二章 设计任务及方案 4

2.1 设计任务 4

2.2 总体设计方案 4

2.2.1 系统主要模块 4

2.2.2 系统器材选择 5

2.2.3 主要芯片AT89C51简介 6

第三章 硬件电路设计 8

3.1 时钟电路与复位电路 8

3.1.1 时钟电路 8

3.1.2 复位电路 8

3.2 洗衣机电动机模块 9

3.2.1 洗衣机电动机状态 9

3.2.2 洗衣机电动机电路设计图 9

3.2.3 L298芯片简介 9

3.3 LCD液晶显示模块 10

3.3.1 LCD液晶显示器 10

3.3.2 LM044L字符型LCD简介 10

3.3.3 LCD液晶显示模块电路设计图 11

3.4 按键控制模块 12

3.4.1 按键功能 12

3.4.2 按键控制模块电路设计 12

3.5 水位检测(A/D转换)模块 13

3.5.1 水位检测模块功能 13

3.5.2 水位检测模块电路设计 13

3.5.3 ADC0808芯片简介 13

3.5.4 74LS373芯片简介 14

3.6 蜂鸣器模块 14

3.6.1 蜂鸣器模块功能 14

3.6.2 蜂鸣器模块设计电路图 14

3.7系统电路图 15

第四章 程序设计与流程图 16

4.1 主程序设计思路与流程图 16

4.1.1 全自动洗衣机控制器工作流程 16

4.1.2 主程序流程图 16

4.1.3 主程序核心代码 17

4.2 定时中断子程序设计 18

4.2.1 定时中断原理 18

4.2.2 定时中断子程序流程图 18

4.2.3 计数器T0初值的计算 19

4.2.4 计数器T1初值的计算 19

4.2.5 定时中断子程序核心代码 19

4.3 按键中断子程序设计 22

4.3.1 按键中断原理 22

4.3.2 按键中断子程序流程图 23

4.3.3 按键中断子程序核心代码 23

4.4 LCD显示子程序设计 24

4.4.1 LCD显示原理 24

4.4.2 LCD显示子程序流程图 25

4.4.3 LCD显示子程序核心代码 26

4.5 蜂鸣器控制子程序设计 28

4.5.1 蜂鸣器控制原理 28

4.5.2 蜂鸣器控制子程序核心代码 28

第五章 测试及结果分析 29

5.1 开机状态 29

5.2 按方式一进水状态(洗涤阶段) 29

5.3 按方式一洗涤状态 30

5.4 按方式一排水状态 30

5.5 按方式一进水状态(漂洗阶段) 31

5.6 按方式一漂洗状态 31

5.7 按方式一排水状态 32

5.8 按方式一脱水状态 32

5.9 工作结束状态 33

5.10 补充说明 33

第六章 总结与展望 34

参考文献 35

附 录 37

致 谢 40

请支付后下载全文,论文总字数:29418字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图