1、 学学 院院 本科本科毕业论文(设计)毕业论文(设计) 基于单片机的智能声光控开关 XXXXX 专 业 名 称 电气工程及其自动化 申请学士学位所属学科 工科 指导教师姓名、职称 XXXXXXXX 2011 年 6 月 8 日 摘要 I 摘 要 声光控开关的原理是只有在天黑以后,当有人走过楼梯通道,发出脚步声或 其它声音时,楼道灯会自动点亮,提供照明,当人们进入家门或走出公寓,楼道 灯延时几分钟后会自动熄灭。在白天,即使有声音,楼道灯也不会亮,可以达到 节能的目的。 本文以 LGS 公司生产的 GMS97C2051 单片机为核心,研究声光控开关的设计, 采用串行 A/D 对声音信号的采集,可以
2、通过软件来调节对声音的灵敏度。单片机 软件实施对光度的判断,使开关在白天时即使有声音也不工作。文章应用了过零 启动技术,开关工作在频繁的开关状态时不易损坏可控硅,延长了声控开关的使 用寿命。文章中还加入了看门狗电路,在工作中可以起到抗干扰的作用,大大加 强了开关的可靠性。 关键词:声光控,智能,节能,可靠性。 Abstract II ABSTRACT The principle of acoustic optical switch is only after dark, when someone pass stair channel, issued, or other sounds of fo
3、otsteps 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
4、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 doesnt work. Article applied zero start up technology, switch work in frequent switch to thyyistoy andextendedofsound-con