当前位置:首页 > 电源 > 数字电源
[导读]灯光控制系统电路,ht Control SystemIt is easy to install a couple of infrared emitter and receiver at the entrance of your room and maybe you connect them to the light, but you cannot control the light

灯光控制系统电路,ht Control System

It is easy to install a couple of infrared emitter and receiver at the entrance of your room and maybe you connect them to the light, but you cannot control the light in this way! You will never know how many person inside and if the room is empty or not. In this system, every thing is under control, because it is smart enough to know how many persons inside; and it can identify the direction of them, so the light will be turned OFF when the room is unoccupied; and ON otherwise! This tutorial will show you how.

Theorem of Operation:
As shown in Figure 1, Light Control System has five units:
1- Power supply to convert 240V AC into 5V DC.
2- Sensing units that convert body motion into analogue electrical signals.
3- Analogue comparator to convert analogue signals into digital signals.
4- Microcontroller to process these digital signals and send the appropriate command to the room light.
5- Relay to act as an interface between low voltage (control system and sensors) & high voltage (room light).

Sensing unit consists of infrared emitter OP295 to produce the infrared beam, & two detectors in front of the emitter to detect the infrared beam OP598. Since the main idea in this device is to know person direction; and so, to get this approach, we have to use tow pieces of infrared detector in order to

 A

Detectror

B

Detector

1   

 High

High

2  

 Low

High

3  

 Low

Low

4  

 High

Low

5  

 High

High


 Tip:
If you have a camcorder, or just a camera mobile phone, you can see the infrared light! Just point the infrared emitter at the camera then you will be able to see the infrared light in the viewfinder. If you point your remote at the camera and push a button, you will see flashing light!

identify the direction of the person as shown in Fig 2.


When Infrared beam become broken due to any body, the output signals from these detectors will be changed in unique sequence. Controller will identify the direction of the person by analyzing these signals as shown in the table at right "from 1 to 5 passed IN, 5 to 1 passed OUT":


Since detectors output signals are analogue while the controller can only process digital signals, these signals must be converted to digital through the analogue comparator LM393.

Controller will increase the number of the persons in side the room by one, or decrease it by one when the appropriate sequence of signals have occurred. If this number is greater than zero, light will be turned on otherwise it turned off.
After this, controller will stop scan sensors for one second to allow the whole body to pass. Fig 3 describe the whole algorithm

Sensors circuit is so sensitive in Light Control System, that mean any external noise or any small variation in voltage will change the sensors circuit status. While these signals are changing due to these reasons, microcontroller will assume that some one pass in front of sensor and so a fault will occur. In order to solve this problem I have used soft and hard components "capacitors" to make Light Control System stable as much as possible. A soft component is an algorithm in the control code to separate the noises signals from the real signals.



  Notes:
- You have to isolate detectors from any kind of light, except the infrared radiation.
- Use TIP110 to drive relay current; it has Base-Emitter Shunt Resistors built in. Diode D1 is acting as a freewheeling diode.
- Analogue reference voltage should be less than voltage produced by the detectors; otherwise, the system will not function properly . "Less than 0.1V is recommended"
- The maximum speed of the body to be detected by the Light control System is 1.67 metersecond = 0.462 KmHour this value is accurate only if the depth of the passing body in front of sensors is equal to the distance between these two infrared receiver, if this depth is more, the maximum speed will be increased.
- Light Control System is unable to detect any body with a depth less than the distance between 2 receiver.
- By adding an auxiliary switch, Light Control System can be disabled if any failure has occurred after installing. This auxiliary switch disables the functionality of Light Control System and restores the wall light switch to the previous state as shown in figure 4. 

 

 


本站声明: 本文章由作者或相关机构授权发布,目的在于传递更多信息,并不代表本站赞同其观点,本站亦不保证或承诺内容真实性等。需要转载请联系该专栏作者,如若文章内容侵犯您的权益,请及时联系本站删除。
换一批
延伸阅读

美国纽约州阿蒙克2022年10月20日 /美通社/ -- IBM(NYSE: IBM)发布 2022 年第三季度业绩报告。 IBM 董事长兼首席执行官 Arvind Kri...

关键字: IBM 软件 BSP 云平台

成都2022年10月19日 /美通社/ -- 近期,平安养老险积极筹备个人养老金的产品设计和系统开发工作,发展多样化的养老金融产品,推动商业养老保险、个人养老金、专属商业养老保险等产品供给。 搭养老政策东风 ...

关键字: 温度 BSP 东风 大众

广东佛山2022年10月19日 /美通社/ -- 空间是人居生活的基础单元,承载着生存与活动的最基本功能。而对于理想空间的解构意义却在物理性容器之外,体现出人们对于空间和生活深层关系的思考,同时也塑造着人与空间的新型连接...

关键字: 温度 BSP 智能化 进程

上海2022年10月19日 /美通社/ -- 10月17日晚间,安集科技披露业绩预告。今年前三季度,公司预计实现营业收入7.54亿元至8.33亿元,同比增长60.24%至77.03%;归母净利润预计为1.73亿...

关键字: 电子 安集科技 BSP EPS

北京2022年10月19日 /美通社/ -- 10月18日,北京市经济和信息化局发布2022年度第一批北京市市级企业技术中心创建名单的通知,诺诚健华正式获得"北京市企业技术中心"认定。 北京市企业技...

关键字: BSP ARMA COM 代码

北京2022年10月18日 /美通社/ -- 10月14日,国际数据公司(IDC)发布《2022Q2中国软件定义存储及超融合市场研究报告》,报告显示:2022年上半年浪潮超融合销售额同比增长59.4%,近5倍于...

关键字: IDC BSP 数字化 数据中心

上海2022年10月18日 /美通社/ -- 2022年9月5日,是首都银行集团成立60周年的纪念日。趁着首都银行集团成立60周年与首都银行(中国)在华深耕经营12年的“大日子”,围绕作为外资金融机构对在华战略的构想和业...

关键字: 数字化 BSP 供应链 控制

东京2022年10月18日  /美通社/ -- NIPPON EXPRESS HOLDINGS株式会社(NIPPON EXPRESS HOLDINGS, INC.)旗下集团公司上海通运国际物流有限公司(Nipp...

关键字: 温控 精密仪器 半导体制造 BSP

广州2022年10月18日 /美通社/ -- 10月15日,第 132 届中国进出口商品交易会("广交会")于"云端"开幕。本届广交会上高新技术企业云集,展出的智能产品超过140,...

关键字: 中国智造 BSP 手机 CAN

要问机器人公司哪家强,波士顿动力绝对是其中的佼佼者。近来年该公司在机器人研发方面获得的一些成果令人印象深刻,比如其开发的机器人会后空翻,自主爬楼梯等。这不,波士顿动力又发布了其机器人组团跳男团舞的新视频,表演的机器人包括...

关键字: 机器人 BSP 工业机器人 现代汽车

数字电源

15504 篇文章

关注

发布文章

编辑精选

技术子站

关闭