基于单片机的智能声光控开关毕业设计 下载本文

内容发布更新时间 : 2024/4/30 16:36:37星期一 下面是文章的全部内容请认真阅读。

学 院

本科毕业论文(设计)

基于单片机的智能声光控开关

李波 XXXXX

专 业 名 称 电气工程及其自动化

申请学士学位所属学科 工科 指导教师姓名、职称 XXXXXXXX 2011 年 6 月 8 日

摘要

摘 要

声光控开关的原理是只有在天黑以后,当有人走过楼梯通道,发出脚步声或其它声音时,楼道灯会自动点亮,提供照明,当人们进入家门或走出公寓,楼道灯延时几分钟后会自动熄灭。在白天,即使有声音,楼道灯也不会亮,可以达到节能的目的。

本文以LGS公司生产的GMS97C2051单片机为核心,研究声光控开关的设计,采用串行A/D对声音信号的采集,可以通过软件来调节对声音的灵敏度。单片机软件实施对光度的判断,使开关在白天时即使有声音也不工作。文章应用了过零启动技术,开关工作在频繁的开关状态时不易损坏可控硅,延长了声控开关的使用寿命。文章中还加入了看门狗电路,在工作中可以起到抗干扰的作用,大大加强了开关的可靠性。

关键词:声光控,智能,节能,可靠性。

I

Abstract

ABSTRACT

The principle of acoustic optical switch is only after dark, when someone pass stair channel, issued, or other sounds of footsteps will provide automatic lit corridor, lighting, when people enter the house or apartment corridor lights out several minutes automatically delay extinguished. During the day, even a voice, corridor lights also will not light, can achieve the purpose of saving energy. In this paper GMS97C2051 LGS company production, the single-chip microcomputer is thedesign of acoustic light-activated switch, the serial A/D for sound signal collection, by software to adjust the sensitivity to sound. Single-chip microcomputer software implementation on photometric judgment to make the switch in the daytime, even though there is voice doesn't work. Article applied zero start up technology, switch work in frequent switch to thyyistoy andextendedofsound-controlled. Article also joined watch-dog circuit, in the work plays a role of anti-interference, the reliability of switches is greatly enhanced.

Keywords: sound, the intelligent controller,energy-saving, reliability.

II