基于单片机自动门控制系统的设计

基于单片机自动门控制系统的设计
基于单片机自动门控制系统的设计

基于单片机自动门控制系统的设计

毕业论文(设计)

论文题目:基于单片机的自动门控制系统的设计

学生姓名:付2b

学号:

所在院系:电气信息工程学院

专业名称:通信工程

届次:

指导教师:

目录

前言 ........................................................................... 错误!未定义书签。

0.1 课题背景 ....................................................... 错误!未定义书签。

0.2 智能自动门的论依据.................................... 错误!未定义书签。

0.3 单片机的发展及89C51系列的运用 ............ 错误!未定义书签。

0.4 课题研究的目的和意义 ................................ 错误!未定义书签。

0.5 课题的设计要求............................................ 错误!未定义书签。

0.6 自动门的基本设计思路 ................................ 错误!未定义书签。

1 系统总体方案 ......................................................... 错误!未定义书签。

1.1 系统总体规划................................................ 错误!未定义书签。

1.2 单片机介绍 ................................................... 错误!未定义书签。

1.3 热释电红外传感器........................................ 错误!未定义书签。

1.4 步进电机 ....................................................... 错误!未定义书签。

1.5 故障检测及显示............................................ 错误!未定义书签。

1.6 门行程检测 ................................................... 错误!未定义书签。

2 系统硬件设计 ......................................................... 错误!未定义书签。

2.1 设计电路的电框图和原理 ............................ 错误!未定义书签。

2.2 系统硬件总体逻辑设计 ................................ 错误!未定义书签。

2.3 设计电路原理图............................................ 错误!未定义书签。

3 系统软件设计 ......................................................... 错误!未定义书签。

3.1 系统主程序流程图........................................ 错误!未定义书签。

3.2 开门子程序流程图........................................ 错误!未定义书签。

3.3 开门中断程序流程图.................................... 错误!未定义书签。

3.4 T1中断服务程序流程图 ............................... 错误!未定义书签。

3.5 程序源代码 ................................................... 错误!未定义书签。

4 调试与检测............................................................. 错误!未定义书签。

4.1 调试 ............................................................... 错误!未定义书签。

4.2 门行程检测及故障检测 ................................ 错误!未定义书签。结论 ........................................................................... 错误!未定义书签。参考文献.................................................................... 错误!未定义书签。致谢 ........................................................................... 错误!未定义书签。

基于单片机的自动门控制系统的设计

学生:付民(指导教师:王千春)

(淮南师范学院电气信息工程学院)

摘要:在当今社会随着经济的快速发展,人们对生活水平的要求越来越高,在这种大趋势下,自动门的应用也越来越广泛,在很多现代建筑中都能看到它的身影,如银行,宾馆、超市等。现在自动门在国内外的发展状况很不均衡,国外的产品性能比较优良但相正确其价格也比较昂贵,而国内的产品虽然价格比较便宜但性能比较差,容易出故障。因此在本文中

设计了一款性价比较高的自动门控制系统,它功能强大,价格适中,在市场上将会有较强的竞争力。

单片机SCM(Single Chip Microcomputer),是把微型计算机主要部分都集成在一个芯片上的单芯片微型计算机。主要包括了微处理器(CPU)、存储器(ROM、RAM)、输入/输出口(1/0口)和定时器/计数器、中断系统等功能部件。单片机自20世纪70年代问世以来,以其极高的性能价格比,受到人们的重视和关注,应用很广、发展很快。而51单片机是各单片机中最为典型和最有代表性的一种。本课题的另一个特点是使用复杂可编程逻辑器件(CPLD)控制电机的驱动,缩短了开发时间,提高了系统的灵活性和可靠性,降低了成本。经过单片机控制交流电机,使门自动打开,当人进门后又能够使门自动关闭。另

外,我们还设计了完善的故障监测电路来提高系统的可靠

性。

关键词:自动门控制系统;AT89C51;步进电机

Design of Micro Controller-Based Automatic Retractable Door

Control System

Student:FU Ming (Faculty Advise:WANG Qianchun)

(Electrical and Information Engineering Departmet, Huainan Normal

University)

Abstract:With the development of economy and living standard, automatic doors are being widely used. It is absolutely

necessary to a modern building such as hotel,supermarket.

As the controlling core of the automatic door, the automatic

door controller determines its performance. Most of

automatic door controllers that have been sold in our

country are made by foreign manufactures. The

performance of these products is high, but they are very

expensive. Our home-made automatic doorcontrollers are

not so expensive, however, the performance is unsatisfied

and the faulty rate is high. So we have developed a new kind

of automatic door controller based on MC68HC11K1. The

controller has good competitive ability because it’s powerful,

reliable, convenient and low-cost.SCM (performance Chip

cluster generator attempts, namely, the Microcomputer

Micro Controller, is the main part in a Chip are integrated on

the Single Chip Microcomputer. Mainly includes

microprocessor (CPU), memory (ROM, RAM), input/output

(1/0 mouth) and timer/counters, interrupt system function

components. SCM since the 1970s, since the advent of its

extremely high performance-price ratio, attention by people

and attention, it is widely used and fast development. And

51 SCM is the most typical and every SCM most

representative one.

Key words:Automatic door control system;AT89C51; Stepper motor 前言

0.1 课题背景

随着社会经济的快速发展和人们生活水平的提高,现代社会中智能化建筑越来越多,作为现代建筑智能化一个重要指标的自动门的应用也越来越广泛,在宾馆、银行等现代化建筑中都能看到其身影。

当前自动门发展的现状是国外一些大公司的产品性能比较优良功能也较多

但其价格也相对偏高,如德国的 BLASL,瑞士的 TORMAX,日本的National

相关主题
相关文档
最新文档