ÈÈËÑÒªº¦´Ê£º µçÉÌÒ»¼þ´ú·¢ ÀäÁ´ÅäËÍ ÉçÇøÍŹº²ÖÅä ʳƷ²Ö´¢´ú·¢»õ ÔöֵЧÀÍ
½üÄêÀ´, µç×ÓÉÌÎñÒѳÉΪÎÒ¹ú¾¼ÃÔö³¤µÄÖØÒªÒýÇæ, ²¢ÒѾ½øÈëÃܼ¯Á¢ÒìºÍ¿ìËÙÉú³¤µÄн׶Ρ£2015Äê, ÎÒ¹úµÄµç×ÓÉÌÎñ½»Ò׶îΪ16.2ÍòÒÚÔª, ͬ±ÈÔö³¤21.2%¡£µç×ÓÉÌÎñÊг¡µÄ¿ìËÙÉú³¤, Ò²´øÀ´ÁË¿ìµÝÒµ±¬·¢Ê½Ôö³¤¡£¾Ýͳ¼Æ, 2015Äê, ¿ìµÝÆóÒµÒµÎñÁ¿µÖ´ï2 016.7ÒÚ¼þ, ͬ±ÈÔö³¤48%[1]¡£Òò´Ë, Ëæ×ÅÄ¿Ç°ÍøÂ繺ÎïµÄ¿ìËÙÔö³¤, ÌرðÊÇ¡°»¥ÁªÍø+¡±µÄÐÂÐÍÏû·ÑģʽÌá³ö, ¿ÉÒÔÔ¤¼ûδÀ´ÎïÁ÷ÒµÎñÁ¿»¹½«½øÒ»²½Ôö³¤¡£È»¶øÎïÁ÷½»Ò×Á¿µÄÔö¼Ó, Ò²¸øÎïÁ÷»õ²Ö´æ´¢´øÀ´½Ï´óµÄÖÎÀí±¾Ç®, ÖÆÔ¼×ÅÎïÁ÷ÆóÒµµÄ½øÒ»²½Éú³¤¡£Òò´Ë, ÆÈÇÐÐèÒª½øÒ»²½Ìá¸ßÎïÁ÷ÆóÒµµÄ×Ô¶¯»¯ÖÎÀíˮƽ, ´Ó¶ø¿ÉÒÔÓÐЧµØ½µµÍÆóÒµµÄÔËÓªÖÎÀí±¾Ç®¡£¶øÀûÓô«¸ÐÐÅÏ¢¼¼Êõ¼à²âÎïÁ÷»õ²ÖµÄÎÂʪ¶ÈÊÇÒ»ÖÖÓÐЧµÄÖÎÀíÊֶΡ£ÓÐÑо¿ÈËÔ±ÀûÓÃÎÞÏßÍøÂç¼¼ÊõʵÏÖÁ˶ԹûÊß²úÆ·È«³ÌÀäÁ´µÄ¼à¿Ø, ʹµÃ¹ûÊß²úÆ·µÄ±£ÏÊÆ·ÖÊ»ñµÃÓÐЧ¿ØÖÆ[2,3]¡£ÀîÇÚ¹ú[4]Ìá³öÁËÀûÓÃÀä²Ø¼¯×°Ïä¶ÔÀäÁ´²úÆ·½øÐб£ÏÊ¡£µ«¹Å°åµÄÀäÁ´ÒªÁìÖ÷ÒªÔÚÔËÊäÖжԲúƷ״̬½øÐмà²â, ¶øδÄÜÓÐЧµØ¶Ô²Ö´¢Çé¿ö½øÐÐ×Ô¶¯»¯¼à²â¡£
ÔÚÕâÖÖÅä¾°ÏÂ, ±¾ÎÄÌá³öÁËÒ»ÖÖ»ùÓÚZig Bee¼¼ÊõµÄÎïÁ÷»õ²ÖÎÂʪ¶È¼à¿Øϵͳ¡£¸Ãϵͳ½«³£ÓõÄÎÂʪ¶È´«¸ÐÆ÷ºÍÎÞÏß´«¸ÐÆ÷ÍøÂçÏà½áºÏ, ÀûÓÃÎÞÏß´«¸ÐÆ÷ÍøÂçÒƶ¯ÐÔÇ¿¡¢ÊµÊ±ÐԺá¢×éÍø±ãµ±µÈÓŵã, ¿ÉÒÔ¶ÔÎïÁ÷»õ²ÖÖеÄζȺÍʪ¶ÈµÄ¼à²âÊý¾Ý½øÐÐÎÞÏß´«Êä, ²¢Í¨¹ý¿ØÖƳÌÐò¶ÔοغÍʪ¿ØÉ豸½øÐÐ×Ô¶¯¿ØÖÆ¡£±¾ÎÄÉè¼ÆµÄϵͳ¿ÉÒÔÓÐЧµØ½µµÍ»õ²ÖµÄÖÎÀí±¾Ç®, ϵͳ¿ìËÙ°²ÅÅ, ¼õÉÙ²¼Ïߵı¾Ç®¡£
»ùÓÚZig Bee¼¼ÊõµÄÎïÁ÷»õ²Ö¼à¿ØϵͳÉè¼Æ¼Æ»®Èçͼ1Ëùʾ¡£¾ßÌå¿ÉÒÔ·ÖΪÈý²¿·Ö, µÚÒ»²¿·ÖÊÇÎÂʪ¶È´«¸ÐÆ÷ÊÕÂÞ½Úµã, µÚ¶þ²¿·ÖÊÇ»ã¾Û½ÚµãºÍǶÈëʽÉ豸, µÚÈý²¿·ÖÊǼà¿ØÖÐÐÄ¡£´«¸ÐÆ÷ÊÕÂÞ½ÚµãÂôÁ¦Î¶ȺÍʪ¶ÈÊÕÂÞ, Æä°üÀ¨ÃÀ¹úµÂÖÝÒÇÆ÷¹«Ë¾ (TI) Éú²úµÄCC2530оƬģ¿éºÍÎÂʪ¶È´«¸ÐÆ÷¡£»ã¾Û½ÚµãÂôÁ¦¶ÔÊÕÂÞ½ÚµãµÄÊý¾Ý½øÐлã¾Û, Æä°üÀ¨CC2530оƬģ¿é¡£Ç¶ÈëʽÍø¹ØÉ豸ÂôÁ¦½«»ã¾Û½ÚµãµÄÊý¾ÝÐÅÏ¢½øÐнâÎö´¦Àí¡¢´æ´¢ºÍת·¢ÖÁ¼à¿ØÖÐÐÄ, Æä°üÀ¨1 GHz Cortex TM-A8 ARM´¦ÀíÆ÷¡¢Android 2.3²Ù×÷ϵͳºÍÏà¹ØÍâ½ÓÉ豸¡£½ÚµãÖ®¼äµÄͨÐÅ·½·¨½ÓÄÉZig BeeÐÒé½øÐÐÎÞÏß´«Êä, »ã¾Û½ÚµãºÍǶÈëʽÍø¹Ø½ÓÄÉRS232´®¿ÚͨÐÅ·½·¨, ǶÈëʽÍø¹ØÓë¼à¿ØÖÐÐĽÓÄÉ485×ÜÏß·½·¨½øÐÐÊý¾ÝͨÐÅ¡£¼à¿ØÖÐÐÄ¿ÉÒÔʵʱÏÔʾ°²ÅÅÔÚÎïÁ÷»õ²ÖÖÐÿһ´¦Î»ÖõĴ«¸ÐÆ÷¼à²â״̬¡£Í¼1ÖÐ, ÐòºÅ1¡¢2¡¢3´ú±íZig BeeÍøÂç·ÓÉÌøÊý²½³¤¡£
ͼ1 »ùÓÚZig Bee¼¼ÊõµÄÎïÁ÷»õ²ÖÎÂʪ¶È¼à¿Øϵͳ¿òͼFig.1 Temperature and humidity monitoring system for logistics warehouse based on Zig Bee technology
±¾ÏµÍ³µÄÓ²¼þÉè¼Æ°üÀ¨Á½²¿·Ö, »®·ÖΪÊÕÂÞ½ÚµãÓ²¼þÉè¼Æ¡¢»ã¾Û½Úµã¼°Ç¶ÈëʽÍø¹ØµÄÉè¼Æ¡£
ÊÕÂÞ½Úµã½ÓÄÉTI¹«Ë¾Éú²úµÄCC2530оƬ, ÆäÌصãÊǵͱ¾Ç®¡¢½ü¾àÀë¡¢µÍÅÓƯºó¡¢×Ô×éÖ¯¡¢µÍ¹¦ºÄ[5,6]¡£CC2530ÊÇ»ùÓÚ2.4 GHz IEEE802.15.4ºÍZig BeeÐÒéµÄоƬ, ¸ÃоƬ°üÀ¨ÉäƵÊÕ·¢Æ÷¡¢ÔöÇ¿ÐÍ8051 CPU¡¢¿É±à³Ìflash¡¢8 k B RAMºÍÐí¶àÆäËû¸¨Öú¹¦Ð§Ä£¿é¡£Í¬Ê±CC2530ÔËÐÐģʽ֮¼äµÄת»»Ê±¼äºÜ¶Ì, ʹÆä½øÒ»²½½µµÍÄÜÔ´ÏûºÄ[7,8]¡£
ÊÕÂÞ½ÚµãµÄ´«¸ÐÆ÷ʹÓÃSHT10ÎÂʪ¶È´«¸ÐÆ÷[9,10]¡£´«¸ÐÆ÷SHT10¼È¿ÉÒÔÊÕÂÞζÈÊý¾ÝÒ²¿ÉÒÔÊÕÂÞʪ¶ÈÊý¾Ý, ͨ¹ýдÈë²î±ðÃüÁî»®·Ö½øÐÐζȺÍʪ¶ÈµÄÊÕÂÞÓë·¢ËÍ¡£SHT10´«¸ÐÆ÷ÓÃÓÚÊÕÂÞÖÜΧÇé¿öÖеÄζȺÍʪ¶È, ÆäÊÂÇéµçѹΪ2.4~5.5 V, 25¡æʱ²âÈΪ¡À0.5¡æ, ²âʪ¾«¶ÈΪ¡À4.5%¡£´«¸ÐÆ÷·â×°½ÓÄÉÌùƬ·â×°, ¾ßÓÐÌå»ýСµÄÌص㡣ͼ2ÖÐJ12Ϊ´«¸ÐÆ÷Ä£×éÓëCC2530µÄ½Ó¿Ú, C25ΪÂ˲¨µçÈÝ, R36ºÍR37Ϊµç×è, ´«¸ÐÆ÷µÄ2Òý½ÅΪÊä³öÒý½Å¡£
ͼ2 SHT10ÎÂʪ¶È´«¸ÐÆ÷Ó²¼þÁ¬½Óµç·ͼFig.2 Hardware circuit diagram for SHT10 temperature and humidity sensor
ǶÈëʽÍø¹ØÓ²¼þÉè¼ÆÈçͼ3Ëùʾ¡£Ç¶ÈëʽÍø¹Ø½ÓÄÉTiny 210¿ª·¢°å, ¸Ã¿ª·¢°åÖÐÑë´¦ÀíÆ÷ (CPU) ½ÓÄÉ»ùÓÚCortex-A8µÄÈýÐÇCPU, ÔËÐÐÖ÷Ƶ1 GHz¡£Æä´æ´¢¿Õ¼ä°üÀ¨512 MBµÄRAMºÍ512 MB NAND flash¡£7´çÒº¾§ÏÔʾÆ÷ (LCD) Ö§³Ö´¥ÆÁ²Ù×÷, ÓÃÓÚAndroid³ÌÐòÏÔʾºÍÊäÈë[11]¡£Íⲿ½Ó¿ÚÖ§³ÖÁ½¸ö´®¿Ú, ÁªºÏ²âÊÔÊÂÇé×é (JTAG) ½Ó¿ÚºÍͨÓô®ÐÐ×ܽá (USB) ½Ó¿Ú¡£Á½¸ö´®¿Ú»®·ÖÓÃÓÚCPUºÍ»ã¾Û½ÚµãµÄ232ͨÐÅ¡¢CPUºÍ¼à¿ØÖÐÐÄͨÐŵÄ485ͨÐÅ¡£»ã¾Û½Úµã½ÓÄÉTI¹«Ë¾µÄCC2530оƬ, ͨ¹ýRS232´®¿ÚͨÐÅ·½·¨ÓëǶÈëʽÍø¹Ø½øÐÐÊý¾Ý´«Êä¡£
ͼ3 ǶÈëʽÍø¹ØÓ²¼þÉè¼ÆFig.3 Hardware design of embedded gateway
±¾ÏµÍ³µÄÈí¼þÉè¼Æ°üÀ¨Èý¸ö²¿·Ö, »®·ÖΪÊÕÂÞ½ÚµãµÄ³ÌÐòÉè¼Æ¡¢»ã¾Û½ÚµãµÄ³ÌÐòÉè¼Æ¡¢Ç¶ÈëʽÍø¹ØµÄ³ÌÐòÉè¼Æ¡£ÊÕÂÞ½ÚµãµÄ³ÌÐòÉè¼ÆÓÃÓÚÍê³ÉÊý¾ÝÊÕÂ޺ͷ¢ËÍ, »ã¾Û½ÚµãµÄ³ÌÐòÉè¼ÆÓÃÓÚת·¢ÊÕÂÞµÄÊý¾ÝÖÁǶÈëʽÍø¹Ø, ǶÈëʽÍø¹ØµÄ³ÌÐòÉè¼ÆÓÃÓÚÊý¾Ý´æ´¢¡¢½âÎöºÍת·¢¡£
ÓÉͼ4¿ÉÒÔ¿´³ö, ÊÕÂÞ½ÚµãµÄ³ÌÐòÖ÷ÒªÍê³ÉCC2530ºÍSHT10´«¸ÐÆ÷µÄÃüÁîдÈëºÍÊý¾Ý¶ÁÈ¡¡£ÊÕÂÞ½ÚµãÊÂÇéÁ÷³ÌΪ:Ê×ÏȶÔSHT10ÄÚ²¿¼Ä´æÆ÷½øÐгõʼ»¯, ½Ó×ÅÉèÖÃÕÉÁ¿¾«¶È, Ö®ºóдÈëζÈÕÉÁ¿»òÕßʪ¶ÈÕÉÁ¿ÃüÁî, ×îºó½«Î¶ȻòÕßʪ¶ÈÕÉÁ¿Êý¾Ýת»»²¢½«Æä¶Á³ö¡£
ͼ4 ÎÂʪ¶È´«¸ÐÆ÷³ÌÐòÁ÷³ÌͼFig.4 Program flow diagram of temperature and humidity sensor
SHT10ÊÕÂ޽ڵ㴫¸ÐÆ÷Êý¾Ý¶ÁÈ¡Òªº¦´úÂëÈçÏÂËùʾ:
»ã¾Û½Úµãͨ¹ý¿ª·¢°åµÄ´®¿Ú1ʵÏÖCC2530оƬÓëǶÈëʽÍø¹ØÉ豸µÄ232ͨÐÅ¡£ÓÉͼ5¿ÉÒÔ¿´³ö, »ã¾Û½ÚµãÊ×ÏȽøÐгõʼ»¯, ɨÃèÎÞÏßÐŵÀÄÚµÄÊý¾ÝͨÐÅÖ¡, Èç¹ûÅÌÎʵ½ÓÐÊÕÂÞ½Úµã¼ÓÈëÖÁZig BeeÍøÂç, Ôò½¨Á¢ÏàÓ¦µÄ·ÓÉÐÅÏ¢¡£»ã¾Û½ÚµãÏòÒѼÓÈëÍøÂçµÄÊÕÂ޽ڵ㷢ËÍÎÕÊÖÃüÁî, Èç¹û»ã¾Û½ÚµãÊÕµ½ÊÕÂÞ½ÚµãµÄÎÕÊÖ·´ÏìÏûÏ¢, ÔòÎÕÊÖÀÖ³É, ÊÕÂÞ½Úµã¿ÉÒÔÉÏ´«Êý¾ÝÖÁ»ã¾Û½Úµã¡£·´Ö®, »ã¾Û½Úµã¼ÌÐø׼ʱ·¢ËÍÎÕÊÖÃüÁî, Ö±µ½ÊÕµ½·´ÏìÏûÏ¢¡£
ͼ5 »ã¾Û½Úµã³ÌÐòÁ÷³ÌͼFig.5 Program flow diagram of sink nodes
±¾ÏµÍ³µÄǶÈëʽÍø¹Ø½ÓÄÉAndroidƽ̨½øÐпª·¢[12], Ö÷Òª°üÀ¨½çÃæÏÔʾ, Êý¾Ý½ÓÊÕ¡¢·¢ËÍÏ¢ÕùÎö´¦Àí¹¦Ð§, ͨ¹ýŲÓõײã·â×°¿âº¯Êý½øÐÐË«´®¿ÚͨÐÅ, Ò»¸öΪRS232, ÁíÒ»¸öΪRS485¡£RS232ÓÃÓÚǶÈëʽÍø¹ØÓë»ã¾Û½ÚµãµÄ¶Ì¾àÀëͨÐÅ, RS485ÓÃÓÚǶÈëʽÍø¹ØºÍ¼à¿ØÖÐÐĵij¤¾àÀë¿É¿¿Í¨ÐÅ¡£
ΪÑéÖ¤±¾ÎÄËùÉè¼ÆµÄ¼ìÑéϵͳµÄ¿ÉÐÐÐÔºÍÕýÈ·ÐÔ, ¶Ô±¾ÏµÍ³½øÐÐʵ¼ÊÔËÐвâÊÔ¡£±¾ÏµÍ³½ÓÄÉ»ùÓÚAndroidϵͳµÄ¿ª·¢°å½øÐÐÍø¹ØÈíÓ²¼þ¿ª·¢, ³ä·ÖÀûÓÃAndroidϵͳ½çÃæµÄÓѺÃÐԺͱã½ÝÐÔ, ͬʱ½ÚµãÈí¼þÉè¼Æ½ÓÄÉCÓïÑÔ¿ª·¢, ½øÐÐÐźÅÊÕÂ޺ʹ«Êä¡£±¾ÏµÍ³µÄ¿ª·¢°åϵͳÈçͼ6Ëùʾ, ÊÕÂÞ½ÚµãÈçͼ7Ëùʾ¡£
ͼ6 ϵͳ¿ª·¢°åFig.6 System development kit
ͼ7 ´«¸ÐÆ÷ÊÕÂÞ½ÚµãFig.7 Sensor acquisition node
±¾ÎĶԱ¾ÏµÍ³µÄZig BeeÍøÂç´«ÊäÐÔÄܽøÐÐÁ˲âÊÔºÍÆÊÎö, ÒÔ²î±ð½ÚµãÊýÁ¿ºÍ²î±ð´«Êä¾àÀë½øÐÐÁËÍøÂç´«Êäʱ¼äµÄ²âÊÔ¡£ÊÔÑéÐÔÄÜÈçͼ8Ëùʾ¡£ÔÚÊÔÑéÖÐ, ÒÔ200Ö¡/sµÄËÙÂÊ´«ÊäÊý¾ÝÖ¡, ÔÚ»ã¾Û½Úµã¶ÔÊÕÂÞ½ÚµãµÄ´«Êäʱ¼ä½øÐвâÊÔͳ¼Æ¡£Í¨¹ýÊÔÑéÆÊÎö¿ÉÖª, Zig BeeÐÒéµÄÍøÂçÐÔÄÜÖ÷ÒªÊܽڵãÊýÁ¿ºÍ´«Êä¾àÀëÓ°Ïì¡£Ëæ׿ÓÈëÍøÂçµÄ½ÚµãÔö¼Ó, µ¼ÖÂÔÚ»ã¾Û½Úµã½ÓÊÜÊý¾ÝµÄʱ¼äÔö¼Ó¡£ÁíÍâ´«Êä¾àÀëµÄÔö¼Ó, Ò²»áµ¼Ö´«Êäʱ¼äµÄÔö¼Ó¡£´ÓÊä³öʱ¼äÉÏ¿ÉÒÔ¿´³ö, ±¾ÏµÍ³µÄ´«Êäʱ¼ä¼á³ÖÔÚºÁÃ뼶, ¿ÉÒԽϺõØÂú×ãʵʱµÄÐèÇó¡£
ͼ8 Zig BeeÍøÂçÐÔÄܱÈÕÕFig.8 Comparison of network performance for Zig Bee
¼à¿ØÖÐÐÄ¿ÉÒÔʵʱÏÔʾÓÉǶÈëʽÍø¹Øת·¢À´µÄ´«¸ÐÆ÷ÊÕÂÞµ½µÄζȺÍʪ¶ÈÊý¾Ý, Æäʵ¼ÊÔËÐÐЧ¹ûÈçͼ9Ëùʾ¡£ÏÔʾÐÅÏ¢°üÀ¨Ã¿Ò»´¦Î»Öô«¸ÐÆ÷µÄÉ豸ֵ¡¢µØµã¡¢ÊÕÂÞʱ¼ä¡¢Î¶ÈÖµºÍʪ¶ÈÖµ¡£Í¬Ê±, µ±¼ì²âµ½µÄ´«¸ÐÆ÷Êý¾ÝÁè¼ÝÕý³£ÖµÊ±, ϵͳ¿ÉÒÔ×Ô¶¯±¨¾¯ºÍ¿ªÆôÏà¹ØµÄ¿ØÖÆÉ豸, ¶ÔÎïÁ÷»õ²Ö½øÐÐζȺÍʪ¶Èµ÷½â¡£
ͼ9 ¼à¿ØÖÐÐÄʵ¼ÊÔËÐÐЧ¹ûFig.9 Actual operation results of monitoring processing center
±¾ÎÄÌá³öÁËÒ»ÖÖ»ùÓÚZig Bee¼¼ÊõµÄÎïÁ÷»õ²ÖÎÂʪ¶È¼à¿ØϵͳÉè¼Æ¼Æ»®, ¶ÔÎïÁ÷»õ²ÖµÄζȺÍʪ¶È״̬½øÐмà²â, ²¢Í¨¹ýZig Bee¼¼Êõ½«´«¸ÐÆ÷Êý¾Ý´«ÊäÖÁ»ã¾Û½ÚµãºÍǶÈëʽÍø¹ØÉ豸, ²¢ÓÉǶÈëʽÍø¹ØÉ豸½«Êý¾Ýת·¢ÖÁ¼à¿ØÖÐÐÄ;ͬʱ¼à¿ØÖÐÐÄ¿ÉÒÔƾ¾Ý»õ²Ö״̬×Ô¶¯¿ªÆôÏà¹Ø¿ØκͿØʪÉ豸¡£½á¹ûÖ¤Ã÷, ±¾ÎÄÉè¼ÆµÄϵͳ¿ÉÒÔÓÐЧÌáÉýÎïÁ÷ÆóÒµµÄ»õ²Ö״̬¼à¿ØЧÂÊ, ½µµÍ»õ²ÖµÄÖÎÀí±¾Ç®, µÖ´ïÖÇÄÜ»¯ÖÎÀíÒªÇó¡£
¡¾±¾ÎıêÇ©¡¿
¡¾ÔðÈα༡¿yd2333Ôƶ¥µç×ÓÓÎÏ·ÔƲÖ