摘要

随着社会的发展,科学技术的进步和人们生活水平的逐步提高,各种方便生活的自动控制系统开始进入人们的生活,以单片机为核心的自动门系统是其中的一个。本文设计了基于单片机的地铁自动门,以单片机系统为主体,以直流电机转速测量为核心,实现对地铁车站门的自动控制。

本设计以8051为核心的直流电机控制系统,红外传感器,磁力开关组合。直流伺服电机的正反转,用单片机逆旋转控制程序,打开和关闭控制,直流电机由桥驱动。充分发挥单芯片的性能。该电路的优点是简单,软件功能完善,控制系统可靠,价格高,具有一定的使用和参考价值。

 

关键词:地铁自动门;直流电机;红外传感器;转速测量

 

 

Abstract

With the development of society, the progress of science and technology and people’s life level gradually improve, all sorts of convenience life automatic control system began to enter into people’s lives, the automatic door systems with SCM as the core is one of them. This paper introduces the design of metro automatic door, based on single chip microcomputer as the subject in this system, dc motor, speed measurement as the core, realize the automatic control to iron.

This design is mainly used the 8051 as control core, combin of DC motors, infrared sensors, magnetic switch.Making full use of the microcontroller performance. Through the microcontroller program control the dc servo motor foreward or inversion, thus control the door open or close; and close Dc motor driven  adopt H bridge.Its advantage is the circuit is simple, software’s function is consummation, the control system is reliable, cost-effective is high,it has a certain use and reference value.

 

Keywords: Metro automatic door;DC motor;Infrared sensors;Speed measurement

目  录

1  绪论…………………………………………………… 1

1.1  课题背景…………………………………………… 1

1.2  研究的意义…………………………………………. 1

1.3  研究的目的…………………………………………. 1

1.4  国内外相关研究情况………………………………….. 2

2  自动门系统方案………………………………………….. 3

2.1  设计思想和整体框图………………………………….. 3

2.2  器件选型…………………………………………… 3

3  自动门系统的硬件设计…………………………………….. 6

3.1  系统硬件整体逻辑设计………………………………… 6

3.2  控制器单元的硬件设计………………………………… 6

3.3  直流电机驱动模块…………………………………… 12

3.4  检测模块………………………………………….. 16

3.5  转速测量模块………………………………………. 17

4  软件设计………………………………………………. 20

4.1  整体程序流程图…………………………………….. 20

4.2  功能模块设计………………………………………. 20

4.2.1  PWM信号发生程序设计…………………………… 20

4.2.2  转速测量模块程序设计………………………….. 23

4.2.3  检测开关程序设计……………………………… 25

5  设计仿真与分析…………………………………………. 26

5.1  仿真软件介绍………………………………………. 26

5.2  整体分析………………………………………….. 27

5.3  软件调试………………………………………….. 28

5.4  硬件仿真………………………………………….. 29

总  结…………………………………………………… 30

致  谢…………………………………………………… 31

参考文献…………………………………………………. 32

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源