文档介绍:该【2025年ControllerDesignofIntelligentLightingNetwork外文文献 】是由【非学无以广才】上传分享,文档一共【6】页,该文档可以免费在线阅读,需要了解更多关于【2025年ControllerDesignofIntelligentLightingNetwork外文文献 】的内容,可以使用淘豆网的站内搜索功能,选择自己适合的文档,以下文字是截取该文章内的部分文字,如需要获得完整电子版,请下载此文档到您的设备,方便您编辑和打印。Controller Design of Intelligent Lighting Network
RON 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. 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 wireless control of
intelligent lighting in families.
Key words : intelligent lighting control ; Zigbee module ; GSM module ; lighting network controller
CLC number : TN431 Document code : A Article ID : 1007 - 0206 () 03 - 0179 - 05
1 Introduction
In recent years , t he digital home , wireless communications , 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 great 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 communication , 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 . Intelligent 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 Lighting
The effect s of intelligent lighting cont rol system are 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 program is flexible in mend and change is propitious to ensure t he quality of lighting[1 ] .
(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 control ‘s the on off into 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 . According 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 effectively[2 ] .
(4) Extending t he service life of lamp s. As we all know , t he life of lighting depends on t he grid voltage. As a result 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 , preventing over2voltage and reducing t he operating voltage is an effective way to extend t he life of lamps[3 ] .
(5) Protective environment . The use of intelligent lighting cont rol can reduce the human body injury caused by lighting.
3 System Components
Wireless intelligent lighting cont rol system includes a SIM300C module , a XBEE module and a number of general2p urpose port s. As shown in Fig11. The indoor wireless network uses Zigbee network and the outdoor wireless network uses GSM network. The indoor cont rol module uses Tips MSP430F123 processor , which has the advantages of low power consumption , fast inst ruction execution time , etc.
MSP430F123 single2chip microcomp 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 optional , which is set up to facilitate debugging. We can see t he sit uation of the communication data in the port UART through t he serial debugging. XBEE module sends light cont rol directives by t he use of Zigbee agreement .
4 Hardware Circuit
4. 1 Single2chip Microcomputer
MSP430F123 external circuit is shown in Fig. 2 , which mainly has t he following characteristics :
(1) Very low supply voltage. The minimum can be 1. 8 V and t he scope of it s power supply is
1. 8 V~3. 6 V.
( 2 ) Ultra-low power consumption. When it works under t he condition of hibernation , the
current is only 0. 8μA. Even when it is 2. 2 V and the f requency is 1 MHz , the current is only 280μA.
(3) Ultra-short time to wake up . Waking up f rom hibernation only takes 6μs.
(4) The fast inst ruction execution time. It is 162bit RISC st ruct ure. The inst ruction execution time
only needs 150 ns , which is much faster than a traditional single2chip microcomputer .
(5) Having a flexible set ting. There are a number of ways to set : 32 kHz crystal mode , high2
f requency crystal mode , resonator mode and external clock source mode. In t hese ways , we can have a flexible speed clock set ting according to t he power and speed requirement s. 162bit timer has three capturing/ comparing register s. Chip provides t he analog comparator or a single hypotenuse A/ D
converter .
(6) Serial communication module : USART0. Two serial port s can be configured into UART or SPI mode by software.
(7) Code protection. Single2chip microcomputer security f use can protect code so as to protect
intellect ual property. This system has J TA G debugging emulation port , which facilitate debugging t hat is connected to t he software.
4. 2 SIM300C Module Design
GSM( Global System for Mobile Communication) system is a mobile communication system based onTime Division Multiple Address ( TDMA) technology , which is a mature and the most widely used system. So far t he nationwide GSM digital cellular mobile communication network is a major way for public mobile communication network in China[4 ] .
GSM communication system is composed of Mobile Switching Subsystem ( MSS) , Base Station Subsystem(BSS) and Mobile Station (MS) . The port between MSS and BSS is A port . The port between BSS and MS is Um port . GSM specification gives t he system port s , bot h Um port and A port ,clear definitions. That is to say , A port and Um port are open port s[4 ] .
SIM300C module is p roduced by SIMCOM company for GSM communication[5 ] . It can work in t het hree f requency bands , namely : EGSM900MHz , DCS1800MHz and PCS1900MHz , the size of which isonly 50 mm ×33 mm ×6. 2 mm. It is usually used in indust rial applications 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 , antenna 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 , if 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 it 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 af ter the system is on t he network.
4. 3 XBee/ XBee2PRO Module Design
Xbee/ 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 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 the 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 20 kb/ s (1 channel) transmission rate. It s transmission range generally around 30 m[6 ] 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 distance 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 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 Design
5. 1 SIM300C Initialization
SIM300C initialization includes SIM300C power 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 current 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 SIM300C 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 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 microcomp 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 message transmission.
5. 2 XBee/ XBee2PRO Initialization
To 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 : 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 642bit long address. If MY< 0xfffe , t he module is 162bit short addre