1、 1 本科毕业设计(本科毕业设计( 论文论文 ) 题题 目:目:信号灯报警监控系统信号灯报警监控系统 学学 号:号: 姓姓 名:名: 班班 级:级: 专专 业:业: 机械电子工程机械电子工程 学学 院:院: 机电工程学院机电工程学院 入学时间:入学时间: 指导教师:指导教师: 日日 期:期: 2014 2014 年年 3 3 月月 1212 日日 2 信号灯报警监控系统 摘要 如今,铁路已经遍及世界各地,贯穿了我们的生活。而信号灯是用来保障铁 路正常运营的必不可少的设备。因此如果在运营中信号灯发生故障,将可能使铁 路无法正常运行甚至发生事故。 本课题的研究目的和意义就是设计一套信号灯报 警监控
2、系统,用来自动化的及时发现铁路中发生故障的信号灯,使维修人员能第 一时间对发生故障的信号灯进行维修,以保障铁路的正常运营。 本系统将使用单片机来对其进行控制, 使用仿真系统来模拟整个监控系统的 运行情况。 关键词:信号灯;监控;故障报警 3 Light alarm monitoring system ABSTRACT Today,the railway has been around the world,throughout our lives. The lights are the essential equipment which are used to guarantee the nor
3、mal operation of the railway.So if the lights are broken down, the railway may not operate properly or even make the railway accident.The purpose of the research is to design a light alarm monitoring system which is used to find the broken light timely and automatically.By this way,the maintainer ca
4、n repair the broken light in first time and guarantee the normal operation of the railway. The system will use microcontroller to control it,and use the simulation system to simulate the operation of the monitoring system. Key words:light;monitoring;failure warning 4 目录目录 1 绪论1 1.1 课题背景1 1.2 课题完成的功能 2 1.3 课题设计的方案2 2 单片机简介5 2.1 单片机的发展与应用5 2.1.1 单片机的发展5 2.1.2 单片机的应用5 2.2 AT89C51 的特性6 3 系统硬件设计9 3.1 总硬件电路设计9 3.2 电流互感器10 3.3 电压比较器10 3.4 时钟电路的设计10 3.5 复位电路的设计12 3.6 时钟芯片电路的设计13 3.6.1 DS1302 时钟芯片的简介13 3.6.2 DS1302 的工作原理13 3.6.3 DS1302 的引脚功能及结构