當前位置:首頁 > 工業(yè)控制 > 工業(yè)控制
[導讀]燈光控制系統(tǒng)電路,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

燈光控制系統(tǒng)電路,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. 

 

 


本站聲明: 本文章由作者或相關機構授權發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點,本站亦不保證或承諾內容真實性等。需要轉載請聯(lián)系該專欄作者,如若文章內容侵犯您的權益,請及時聯(lián)系本站刪除。
換一批
延伸閱讀

9月2日消息,不造車的華為或將催生出更大的獨角獸公司,隨著阿維塔和賽力斯的入局,華為引望愈發(fā)顯得引人矚目。

關鍵字: 阿維塔 塞力斯 華為

加利福尼亞州圣克拉拉縣2024年8月30日 /美通社/ -- 數(shù)字化轉型技術解決方案公司Trianz今天宣布,該公司與Amazon Web Services (AWS)簽訂了...

關鍵字: AWS AN BSP 數(shù)字化

倫敦2024年8月29日 /美通社/ -- 英國汽車技術公司SODA.Auto推出其旗艦產(chǎn)品SODA V,這是全球首款涵蓋汽車工程師從創(chuàng)意到認證的所有需求的工具,可用于創(chuàng)建軟件定義汽車。 SODA V工具的開發(fā)耗時1.5...

關鍵字: 汽車 人工智能 智能驅動 BSP

北京2024年8月28日 /美通社/ -- 越來越多用戶希望企業(yè)業(yè)務能7×24不間斷運行,同時企業(yè)卻面臨越來越多業(yè)務中斷的風險,如企業(yè)系統(tǒng)復雜性的增加,頻繁的功能更新和發(fā)布等。如何確保業(yè)務連續(xù)性,提升韌性,成...

關鍵字: 亞馬遜 解密 控制平面 BSP

8月30日消息,據(jù)媒體報道,騰訊和網(wǎng)易近期正在縮減他們對日本游戲市場的投資。

關鍵字: 騰訊 編碼器 CPU

8月28日消息,今天上午,2024中國國際大數(shù)據(jù)產(chǎn)業(yè)博覽會開幕式在貴陽舉行,華為董事、質量流程IT總裁陶景文發(fā)表了演講。

關鍵字: 華為 12nm EDA 半導體

8月28日消息,在2024中國國際大數(shù)據(jù)產(chǎn)業(yè)博覽會上,華為常務董事、華為云CEO張平安發(fā)表演講稱,數(shù)字世界的話語權最終是由生態(tài)的繁榮決定的。

關鍵字: 華為 12nm 手機 衛(wèi)星通信

要點: 有效應對環(huán)境變化,經(jīng)營業(yè)績穩(wěn)中有升 落實提質增效舉措,毛利潤率延續(xù)升勢 戰(zhàn)略布局成效顯著,戰(zhàn)新業(yè)務引領增長 以科技創(chuàng)新為引領,提升企業(yè)核心競爭力 堅持高質量發(fā)展策略,塑強核心競爭優(yōu)勢...

關鍵字: 通信 BSP 電信運營商 數(shù)字經(jīng)濟

北京2024年8月27日 /美通社/ -- 8月21日,由中央廣播電視總臺與中國電影電視技術學會聯(lián)合牽頭組建的NVI技術創(chuàng)新聯(lián)盟在BIRTV2024超高清全產(chǎn)業(yè)鏈發(fā)展研討會上宣布正式成立。 活動現(xiàn)場 NVI技術創(chuàng)新聯(lián)...

關鍵字: VI 傳輸協(xié)議 音頻 BSP

北京2024年8月27日 /美通社/ -- 在8月23日舉辦的2024年長三角生態(tài)綠色一體化發(fā)展示范區(qū)聯(lián)合招商會上,軟通動力信息技術(集團)股份有限公司(以下簡稱"軟通動力")與長三角投資(上海)有限...

關鍵字: BSP 信息技術
關閉
關閉