Outdoor lighting is usually switched on or off manually with a mechanical switch. Suppose, however, that you do not want to illuminate an area for the whole night. In that case, it would be advantageous to control the illumination more precisely so you can automatically switch the lighting off/on at a prescribed time.
A controller can sense ambient light, turn lights on when it gets dark, track a time interval, and automatically turn the lights off at a specified time. In the morning, the process can be reversed. If the ambient light level is under a preset lux threshold at a predetermined time, the system will turn on the light. It will turn the light off when the ambient gets bright enough to surpass the same lux threshold.
It is not difficult to design an intelligent lighting controller that senses and measures the ambient light level with an ambient light sensor (ALS). Equipped with a real-time clock (RTC), the controller also knows when to turn lighting on or off at specified times. The system presented here can be used to control all luminaires that are mains supply operated. The controller's lux-level threshold is fully programmable in single-lux steps. Controller software is provided in hex format.
The lighting controller in this design needs to measure the ambient light level, which is done with an ALS. There are two different kinds of ALS products in the market today: one outputs the analog voltage proportional to the ambient light level, and the other gives the output in digital format. This system uses the ALS with the digital output.
The controller needs to know the exact time, so a real-time clock (RTC) is used. To anticipate possible power loss, the time information needs battery backup.
A user interface is needed for setting time and other parameters. The user interface here consists of two 7-segment LED displays and one pushbutton. With a short button press, the system displays time and other parameters. With a long button press, the time and parameters can be adjusted.
The system has an auto/manual switch to enable switching the light on or off manually.
System power comes from the mains supply. Electricity to the luminaire is switched on/off through a relay. The digital portion of the system is isolated from mains supply.
The system block diagram is shown in Figure 1.
Figure 1. Lighting controller system.
Figure 2 further illustrates the system wiring to the mains supply voltage and to luminaire(s).
Figure 2. System wiring to the mains supply voltage and to luminaire(s).
When the system is used in manual mode, the auto/manual switch must be switched to manual. In manual mode, the relay is continuously on and the luminaires are switched on/off using a standard wall light switch.
When the auto/manual switch is in auto mode, the standard wall light switch must be switched on so the controller can function. If that wall switch is not on, the controller cannot switch the luminaires on.
One system can contain multiple luminaires.
!注意:请使用浏览器自带下载,迅雷等下载软件可能无法下载到有效资源。
器件 | 类型 | 描述 | 数据手册 |
---|---|---|---|
MAX44009 | 传感器接口IC | 业内功耗最低的环境光传感器,内置ADC | 点击下载 |
MAX16910 | MOSFET驱动器和控制器 | 200mA、超低静态电流、汽车应用线性稳压器 | 点击下载 |
MAX7375 | 延时线、定时器和计数器 | 3引脚硅振荡器 | 点击下载 |
DS1340C | 时钟发生器与分配器 | I²C RTC,带有涓流充电器 | 点击下载 |
MAX6958 | MOSFET驱动器和控制器 | 2线接口、3V至5.5V、4位、9段LED显示驱动器,带有键扫描 | 点击下载 |
欢迎加入EEWorld参考设计群,也许能碰到搞同一个设计的小伙伴,群聊设计经验和难点。 入群方式:微信搜索“helloeeworld”或者扫描二维码,备注:参考设计,即可被拉入群。 另外,如您在下载此设计遇到问题,也可以微信添加“helloeeworld”及时沟通。
EEWorld Datasheet 技术支持