



下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、Controller Design of Intelligent Lighting NetworkRON G Xue2juan , NIU Ping2juan , XU Xiu2zhi( School of Information and Communication Engineering , Tianjin Polytechnic University , Tianjin 300160 , CHN)Abstract : Studied are the cont roller design and basic principles of intelligent lighting network
2、. TI s MSP430F123 is used as a main cont roller. By using the ZigBee modules (Xbee/ Xbee-PRO) and the GSM module (SIM300C) for wireless communications , the lighting control is enabled to access wireless network. This system uses a mobile phone to achieve light on-off directly , which can accomplish
3、 wireless control of intelligent lighting in families.Key words : intelligent lighting control ; Zigbee module ; GSM module ; lighting network controllerCLC number : TN431Document code : AArticle ID : 1007 - 0206 (2009) 03 - 0179 - 051 IntroductionIn recent years , t he digital home , wireless commu
4、nications , wireless control , wireless location ,wireless network and mobile connections have run into our life. Because of the rapid development of IT industry , the popularity of networks , intelligent home appliances and the powerful functions of a singlechip microcomputer , we can enjoy these g
5、reat changes. Increasing coverage of t he relevant information is sufficient to ensure these new things to have a strong vitality and great prospects.So far , the intelligent lighting does not have a specific definition. Usually it refers to t he technology that uses advanced computer , network comm
6、unication , or integrated wiring technology. It can be combined with life and home lighting systems , making simply life more comfortable , warmer , and more protective to environment . Simple understanding of the intelligent lighting is to make t he lighting informative and intelligent . Intelligen
7、t lighting simply includes two aspects : remote control of household electricity supply and lighting indoor scenes. Therefore , intelligent lighting control system will be the focus of t he future research.2 Excellence of Intell igent LightingThe effect s of intelligent lighting cont rol system are
8、as follows :(1) The achievement of the humanized lighting. Due to t he different lighting quality requirements in different areas , we need to adjust the cont rol of illumination in order to achieve t he control program such as t he scene control , timing control , multi2point control and so on. The
9、 program is flexible in mend and change is propitious to ensure t he quality of lighting1 .(2) Raising t he level of management . To ensure t he quality of lighting , it is necessary to use high quality management system and to transform the traditional lighting switch which controlsthe on off into
10、the intelligent management .(3) Energy conservation. The smart sensor is used to adjust t he bright ness of outdoor lighting automatically , which maintains a constant indoor illumination. It will not only bring the best lighting indoor environment , but al so realize t he energy saving effect . Acc
11、ording to t he work of t he regions ,illumination settings is operated and the system automatically on or off on time , enabling the system to conserve energy effectively2 .(4) Exte nding t he service life of lamp s. As we all know , t he life of light ing depe nds on t he grid voltage. As a result
12、of t he higher grid over-voltage , t he life of lamp s will be reduced greatly , while on the ot her case t hat will be multiplied. Therefore , preve nti ng over2voltage and reducing t he operating voltage is an effective way to extend t he life of lamps3 .(5) Protective environment. The use of inte
13、lligent lighting cont rol can reduce the human body injury caused by lighti ng.3 System ComponentsHlL.HIlli AB 11弋站別 KK 一*F XRFEXRtb Y LEDFie. 1 System coupon亡nt5Wireless intelligent lighting cont rol system includes a SIM300C module , a XBEE module and a nu mber of gen eral2p urpose port s. As show
14、 n in Fig11. The in door wireless n etwork uses Zigbee n etwork and the outdoor wireless n etwork uses GSM n etwork. The in door cont rol module uses Tips MSP430F123 processor , which has the adva ntages of low power con sumpti on , fast inst ruction execution time , etc.MSP430F123 sin gle2chip micr
15、ocomp uter which uses t he two serial port s (one of which is simulative) is linked up to SIM300C module and XBEE modules. It set s J TA G debugging port , RS232 port . RS232 port is opti onal , which is set up to facilitate debuggi ng. We can see t he sit uatio n of the com muni cati on data in the
16、 port UART through t he serial debuggi ng. XBEE module sends light cont rol directives by t he use of Zigbee agreeme nt .4 Hardware Circuit4. 1Single2chip Microcomputer tIJ-t中g(shù)wI * r Bi VCC PI 4 TA I TU il 住 ih:卍r aji jX.4H TriW.fl M4I4,4 1Um* UM h-MI 撲 I T.M _7-u -Ml_l 6.2 mm. It is usually used in
17、 in dust rialapplications such as mobile datacommunication system. There is a charging port in it , which is very suitable for bat tery application. It s physical port for mobile applications is connected to pin 60. The module al so contains six port s : UARTport , audio port , SIM card port , anten
18、na port , charging port , LCD port and so on. It has five operating modes : normal operating mode , power2down mode , minimum power consumption mode , alarm mode ,and GHOST mode.Normal operating mode includes the sleep mode , call mode , idle mode and data transfer mode. In normal operating mode , i
19、f t he DTR pin is set to high and there is no call , no interruption of any hardware , such as GPIO interrupt or UART interrupt , t hen , SIM300C will automatically enter sleep mode. In sleep mode , t he current will be reduced to 2. 5 mA and t he lowest power consumption happen. But in t his mode i
20、t can still accept t he short packet of information and inst ruction.We design t he power indicator light , t he search network , t he single2chip microcomp uter , and t he SIM card port in this system. When t he system searches network , the indicator light flashes rapidly , which would slow blink
21、af ter the system is on t he network.4. 3XBee/ XBee 2PRO Module DesignXbee/ Xbee2PRO modules are ZigBee modules produced by t he MaxSt ream Corporation , which are inline wit h t he specification IEEE802. 15. 4. It provides a wireless sensor networking solution wit h lowcost , low-power . Only very
22、small power consumption on t he various devices can provide reliable data transmission.ZigBee is based on IEEE802. 15. 4 , which is a standard known as IEEE802. 15. 4 (ZigBee) technology which is developed by t he IEEE Wireless Personal Area Network Working Group . ZigBee2compliant product s work in
23、hte PH Y on IEEE802. 15. 4. It has three free open-bands , for t he 2. 4 GHz ( Global) ,915 MHz (U. S. ) and 868 MHz ( Europe) , respectively. The uses of ZigBee technology in the 2. 4 GHz provide 250 kb/ s (16 channel s) , in t he 915 MHz provide 40 kb/ s ( 10 channel s) and in t he 868 MHz provide
24、 20 kb/ s (1 channel) transmission rate. It s transmission range generally around 30 m6 depends on t he outp ut power and channel environment .Xbee s the transmission distance , indoors or in t he villages , can reach 100 m. While outdoors , Xbee has 300-meter-long straight-line transmission distanc
25、e and the transmission power is 1 mW (0 dbm) .Xbee-PROs t he transmission distance , indoor s or in the villages , is 300 m , while outdoor Xbee-PROs the transmission straight-line distance is up to 1 mile (1 500 meters) and t he transmit power is 100 mW(20 dbm) . The systemps t ransmission rate is
26、250 kbps , supporting t he f unctions : research , response mechanisms , taking DSSS modulation , each network support s up to 65 000 , addressing a destination address. Module power supply range is 2.8 V 3. 4 V.5 Sof tware Design5. 1 SIM300C InitializationSIM300C initialization includes SIM300C pow
27、er initialization , set ting the serial baud rate , network registration , setting up SMS center number , set ting t he format to send and receive text messages ,setting up terminal encoding character and so on.SIM300C requires high voltage that can not be less than 3. 4 V and t he provision of curr
28、ent must achieve more than 2 A. SIM300C achieves power initialization through PWRKEYpin. By setting the Pin PWRKEY a high voltage , we can complete power initialization such as power on-off or restart in SIM300C. In order to ensure the power in SIM300C , software is designed to be the method that SI
29、M300C take off at first and t hen t he power is on. SIM300C s power commands can also achieve restart through the resumption of some commands.SIM300C UART 1 support s t he baud rate 1200 , 2 400 , 4800 , 9600 , 19200 , 38400 , 57600 , 115200bps , default value is 115 200 bps. The single-chip microco
30、mp uterps baud rate is 9 600. So we need to set up SIM300C.Message center number is based on SIM card s address and identified by t he SIM card rat her than the current location of SIM. SMS center of each province or citiy has different number s. Incorrect settings will result in t he failure of mes
31、sage transmission.5. 2XBee/ XBee 2PRO InitializationTo make two XBee/ XBee2PRO modules be able to communicate with each other , we must set the following parameters.CH : Channel , zigbee data t ransmission channel ;ID : PAN indentity , Personal Area Network logo ;DH : Destination Address High ;DL :
32、Destination Address Low ;MY: 162bit Source Address , 16 bit source address.CH and ID parameter s must be consistent in order to communicate with each other . By setting a different ID , it prevent s interference wit h other ZigBee networks. Module has two kinds of ways : 16-bit short address and 642
33、bit long address. If MY 0xfffe , t he module is 162bit short address. Otherwise it is 642bit long address. Short addressps DH is set to 0 and DL must be consistent to MY parameter in order to make communications. Long Address s DH , DL must be consistent to SH , and SL parameters is to make communic
34、ations. XBee/ XBee2PRO initialization parameter s must be set above. PWM light control receives data and t hen processes through XBEE/ XBee2PRO module. Then it outputs the corresponding lighting control information f rom the Port PWM1.Here is a set of channel 2. 4 GHz , as a result of t he uniquenes
35、s of t he long address setting. So we just set up in accordance with the requirement s of several short addresses PWM modes.6 ConclusionWe combine Zigebe module and GSM module in lighting control module , giving new meaning to intelligent lighting control . Wit h Zigbee agreement version development in norm , more attention and researc
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 護(hù)士資格證考試護(hù)理論文寫作技能試題及答案
- 家裝標(biāo)準(zhǔn)版合同協(xié)議
- 賓館承租經(jīng)營合同協(xié)議
- 2024年圖書管理員考試傳播理論與實踐試題及答案
- 學(xué)校點心配送合同協(xié)議
- 學(xué)校保潔勞動合同協(xié)議
- 教師資格考試綜合測評及試題及答案概述
- 委托公司加工合同協(xié)議
- 初級藥師考試復(fù)習(xí)中常見誤區(qū)試題及答案
- 激光工程師資格考試準(zhǔn)備技巧試題及答案
- 文化行業(yè)非物質(zhì)文化遺產(chǎn)保護(hù)傳承方案
- 小學(xué)生交友主題班會課件
- 2025屆高考政治核心知識梳理提綱
- 【MOOC】光學(xué)發(fā)展與人類文明-華南師范大學(xué) 中國大學(xué)慕課MOOC答案
- 《異常子宮出血診斷與治療指南(2022版)》解讀
- 中小學(xué)思政課課件
- 兒童牙齒分齡護(hù)理方案
- 蒼虬閣詩集完整版本
- 2023-2024學(xué)年廣東省深圳市寶安區(qū)七年級(下)期中英語試卷
- DB43T 2558-2023 城鎮(zhèn)低效用地識別技術(shù)指南
- 任務(wù)2 比亞迪·秦混合動力汽車控制系統(tǒng)構(gòu)造與檢修
評論
0/150
提交評論