摘要:为实现节能降耗,设计一个概念型路灯自动控制系统,实现车(人)到灯亮,车(人)过灯灭的功能。该模型用单片机做微控制器,干簧管在灯的下方做传感器,车模型上装有磁铁,小车行驶时,干簧管由于受到磁铁影响闭合,使信号发生变化,信号传输给单片机,单片机经过计算来判断车的速度和方向等,此时点亮车前方灯,当经过下一个传感器时,根据速度,灭掉车后方的灯。实验结果装置模型运行结果显示,车头距灯10厘米时灯亮,车头过灯5厘米时灯灭, 亮灯数在1-4盏间可手动调,也可自动调节,车速越快亮的灯数越多。该系统基本实现了设计目标要求,所采用的设计思路与设计方法,可推广到医院、仓库等需要“人在灯亮、人走灯灭”的同类场合,以及其他同类产品的研发提供参考和借鉴。4480
关键词: 节能路灯;单片机;自动控制
The design of Energy-saving street light control system model
Abstract: To achieve energy saving, design a conceptual street automatic control system, car (people) to the lights, the car (people) through the lamp off function. The model using single-chip microcontrollers, reed beneath the lamp to make the sensor, the car model is equipped with magnets, car driving, reed magnet affected due to closure, so that the signal changes, signal transmission to the microcontroller, the microcontroller through calculation to determine the vehicle's speed and direction, then the front of the vehicle lamp is lit, when after the next sensor, according to the speed, put out lights behind the vehicle. The experimental results showed that the model runs device, the front 10 cm away from the lamp lights, the front through the lamp 5 cm when the lamp is off, the number of lights between the lights at 1-4 can be manually adjusted, it can automatically adjust, the faster the speed the number of bright lights more. The system basically achieve the design objectives and requirements, using design ideas and design methods can be extended to hospitals, warehouses and other needs "in light, people take the lights off," the same occasion, as well as other similar product development provide reference .
Keywords:Energy-efficient;Single-chip;Automatic control
目 录
1 绪论 1
1.1 国内外发展现状 1
1.2 存在的问题 2
1.3 本课题研究内容 3
2 设计思想 4
2.1 现状反思 4
2.2 实现方案 4
2.3 系统框图 5
3 硬件设计 6
3.1单片机简介 6
3.2 7805三端稳压集成电路 8
3.3 74HC573数据锁存器 9
3.4 晶振 10
3.4.1 晶振的功能作用 10
3.4.2 晶振的工作原理 11
3.5 节能型路灯控制系统的组成 11
3.5.1 硬件部分概述 11
3.5.2 跑道和车模 12
3.5.3 LED灯 12
3.5.4 微控制器 13
3.5.5 感应装置 13
4 软件设计 16
4.1 软件简介 16
4.1.1 KEIL C51 16
4.1.2 C语言 17
4.1.3 ALTIUM DESIGNER 18
4.2 流程图 18
4.3 关键程序段 20
5 结果与分析 26
5.1 结果 26
5.1.1 模式0 26
5.1.2 模式1 27
5.1.3 模式2 28
5.1.4 复位 33
5.2 结论 33
5.3 改进展望 33
- 上一篇:Matlab的小功率感应加热电源的设计与仿真
- 下一篇:带机械臂的四轮足复合式机器人+CAD图纸
-
-
-
-
-
-
-
现代简约美式风格在室内家装中的运用
浅析中国古代宗法制度
高警觉工作人群的元情绪...
巴金《激流三部曲》高觉新的悲剧命运
C++最短路径算法研究和程序设计
江苏省某高中学生体质现状的调查研究
g-C3N4光催化剂的制备和光催化性能研究
NFC协议物理层的软件实现+文献综述
上市公司股权结构对经营绩效的影响研究
中国传统元素在游戏角色...