文档来源为:从网络收集整理.word 版本可编辑.欢迎下载支持.
【关键字】设计
模拟路灯控制系统设计报告
摘要
本文详细描述了路灯模拟控制系统的设计方法。本系统全部用数字控制,分个五个模
块:单片机控制及显示模块、红外感应模块、恒流驱动电源模块、路灯单元控制模块、毛
病检测与报警模块。单片机控制模块以 STC12C5A60S2 为核心,主要由各感应器件采集信
号,通过单片机处理各种接受信号(包括光电检测信号),从而控制 LED 灯各种模式下的
亮和灭,并用 LCD 液晶显示屏显示各类数据;红外感应模块通过红外控制技术检测物体的
运动位置;恒流源模块采用 PWM 波数字调节恒流源输出功率;路灯单元控制模块使用最
小型单片机 AT89C2051 去控制恒流源模块输出,从而控制 LED 路灯的输出功率。路灯毛
病检测与报警模块可以检测各路灯单元电路的工作状态。
关键词:数字控制 红外感应 路灯控制
Abstract
This system uses digitally control.It includes five modules: MCU control and displaym,
infrared sensor module, constant current drive power module, lamp control module, detection
and alarm module.The MCU STC12C5A60S2 mainly detects some sensing signals(including the
optical detection signal) and handles them according to them to open or close the LED lamp. We
adopt LCD to display the various types of data. Infrared sensor module to detect objects through
infrared control movement of position. Constant current source modules uses digital adjustable
PWM wave to output power to control the output power of LED lamps.The PWM wave is
producted by AT89C2051 microcontroller.The detection and alarm module can detect the
working state of the lamp circuit.
Keywords: digitally control infrared sensor module lamp control
目 录
1 方案比较与论证
1.1 总体设计方案与比较
方案一:
采用超声波测距,可以检测小车与 LED 灯之间的距离,但电路比较复杂,程序比较麻
烦,而且很难达到测距误差≤。