



下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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中gwI * 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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 中级消防设施操作员测试题(附答案)
- 网络安全管理员高级工试题库含答案
- 高级企业人力资源管理师三级题库+参考答案
- 通信网络管理员高级题库含参考答案
- 第八单元几分之一(教学设计)-2024-2025学年三年级上册数学人教版
- 2024国家能源集团第一纪检中心系统内招聘拟录用人员笔试参考题库附带答案详解
- 2024国家电投福建公司招聘2人(福建福州)笔试参考题库附带答案详解
- 19《大雁归来》教学设计-2024-2025学年七年级语文上册同步课堂(统编版2024)
- 2025年硫代硫酸盐项目合作计划书
- 《测量长度-综合与实践 小小测量员》(教学设计)-2024-2025学年二年级上册数学西师大版
- 光伏电站运维安全风险管控清单
- 保安员考核评分标准与细则
- 四年级竖式计算大全100道
- 履行法定义务纠正违法行为的模板
- 越剧基本知识讲座
- 岗位绩效奖励制度
- JGT161-2016 无粘结预应力钢绞线
- Visual Studio 2019(C#)Windows数据库项目开发高职全套教学课件
- 深圳中考自主招生简历
- 寿光金远东变性淀粉有限公司年产2万吨乳酸、丙交酯、聚乳酸项目环境影响报告表
- 美术社团活动记录
评论
0/150
提交评论