沈阳理工大学硕士学位论文基于ARM的智能家居综合控制系统设计与实现姓名:靳江伟申请学位级别:硕士专业:@指导教师:刘勇2011ZigBee2440_ARM9LinuxBoaWebCGIZigBee//GSMZigBeeWi-FiARMLinuxZigBeeAbstractWiththeprogressofscienceandtechnology,allkindsofautomaticandintelligentproductemergeinendlessly.Itgreatlychangedpeople'slifestyleandthinkingmode.Inthiscontext,thepeopleonresidentialconcepthaschangedalotandputforwardhigherrequestonlivingenvironment.SmartHomeconceptemergedatthehistoricmoment.BasedontheexistingSmartHomesystemastheresearchobject,thispaperanalysesthecurrentSmartHomesolutioncharacteristicsanddeficiency.CombiningthecurrentdomesticSmartHomedevelopmentcircumstance,designakindoftraditionalresidencebasedSmartHomecomprehensivecontrolsystem.Thesystemwiththecentralcontrollerasthecore,adoptednewZigBeetechnologyascontrolnetworkmeansofcommunication,usingmodulardesignmethods,intheperipheralmodulescoordinates,realizedsuchas:remotecontrol,temperaturegathering,traditionalhouseholdappliancescontrol,lightingcontrolandsoonaseriesoffunction.ThispaperfirstanalyzesseveraltypicalSmartHomesolutions,inreferencetoandanalysisonthebasisofpresentproject,theauthorputsforwardhisownoverallschemeanddetaildesignedthefamilyinternalsubnet,thenproposedhisownimprovementplanonthesecurityofwirelesssensornetworktechnologyofZigBee.Inthecentralcontrollerdesign,itusedsamsung's2440_ARM9microprocessorashardwareplatform;usingtheembeddedLinuxoperatingsystemandBOAembeddedWebserverforsoftwareplatform.ThroughtheCommonGatewayInterface(CGI)realizedthefunctionsofunderstandingthehomesituationandvariousequipmentcontrolthroughwebbrowser.Peripheralmodulespartmainlyrealizestheinfraredforwardingmodule,temperatureacquisitionmodule,lighting/powerswitchcontrolmoduleindependent,meanwhilefinishingtheintegratedworkofnetworkmonitoring,GSMalarmmoduleandsuchon.Eachmodulethroughfamilysubnet,closelylinkedtogethertocentralcontroller,formacompletesetofsystem.Finally,throughcentralcontrollerforeachmoduleremotepracticaltesting,eachmodulefunctionisnormal,Basicallycomplywithexpectedresults.Keywords:SmartHome;ARM;EmbeddedLinux;ZigBee1-1-11.1ITSmartHome[1]1984(UnitedTechno1ogiesBuildingSystem)(Connecticut)(Hartford)CityPlaceBuilding[2]2090Internet-2-1.22090[3]1984[4]200010[5]1-3-1.31.3.11984[6]206070[7]X-107080LonWorksCEBus(ConsumerElectronicBus)SmartHouseEHS(EuropeanHomeSystem)EIB(EuropeanInstallationSystem)HBS(HomeBusSystem)[8]90BACnet1995ISOIBM(DreamSpace)HoneywellCiscoMotorolaInvensysMITWAVES-4-1.3.2[9]2000200420062007ITopHomee[10]1-5-1.3.3[11](1)(2)(3)(4)(5)6000·[12]-6-1.4(1)(2)(3)ZigBee(4)2440(5)ZigBee//(6)GSM(7)(1)ZigBee(2)WebCGIZigBee/Web(3)1.56121-7-345Web6-8-22.1(1)19992005628e(2)InternetPDA1)ITopHome2-9-ADSL2)3)(3)3C(COMPUTERCONSUMERELECTRONICCOMMUNICATION)(4)-10-2.2(1)(2)81)2-11-2)3)4)(3)-12-2.3(1)ZigBee(2)ZigBeeZigBee(DSSS)868MHz915MHz2.4GHzISM[13]ZigBee(3)Wi-FiZigBee2-13-2.4ZigBee-14-33.1GPRSInternetWebGSM/GPRSPC3.13.22/3-15-/ZigBeeZigBee/Internet-16-3-17-//3.23.3ZigBeeZigBeeZigBeeGSM-18-RJ45Wi-FiInternetZigbeeRS232ZigbeeZigbeeZigbeeZigbeeZigbeeRS232RS232RS232RS232GSMRS232RJ45INTERNETWi-FiRJ45ADSLPHONEMICPHONE3.33.44-19-44.14.1-20-4.2[14](1)720pHDTV8bit@1280x720@59.94fps=105MB370GB1080i1080pHDTVRGB(4:4:4)10bit@1920x1080@50i=198MB695GB(2)216Mbps(3)NTSC304:2:2YCrCb720×480165Mbps(4)CIF:352×2884:2:030/36.5Mbps4-21-10Mbps[15]100Mbps4.34.3.1(1)(Ethernet)1975(Xerox)XeroxIntelDECFDDIARCNET10Mbps100Mbps-22-G[16](2)(PLC)PLC[17](3)HomePNA90(HomePNA)HomePNAPCHomePNA10Mbps2.0MACMACHomePNAHomePNA[28]4-23-4.3.2(1)Wi-FiWi-FiIEEE802.112.4G100mWi-FiWebWi-FikbpsWi-FiWi-Fi[18](2)10m2.4GHz64kb/sZigBee(3)ZigBeeZigBee/IEEE802.15.4(DSSS)868MHz915MHz2.4GHzISM[19]2516-24ZigBeeWi-Fi1/108051832KB4KBZigBee2-24-ZigBee250kbps(2.4GHz)40kbps(915MHz)20kbps(868MHz)10-100mRF1-3kmZigBee15ms30ms3-10sWi-Fi3sZigBee25465000ZigBee(ACL)(AES128)ZigBee(ISM)2.4GHz915MHz868MHz1W4.4Wi-FiZigBee(1)Wi-FiPC4-25-(2)ZigBeeZigBee2516-24/ZigBeeZigBee4.5Wi-FiZigBeeWi-Fi(802.11)Wi-FiWi-FiZigBee802.15.4ZigBeeZigBee4.1-26-4.6ZigBeeZigBee(1)[20]TinyPKRSARSATinyPKTinyPKZ.Benenson[21]TinyPKECCRSAn(2)DoS(DenialofService)[22]nAn4-27-L:+AnAnt,AnT,)(,,LKTTAnsAn++=KK04.2A4.2AnsT,AnonnAoffnAKnA∆[23](3)abCAc4.2ID/(STATE)(PERMIT)(FORBID)-28-CAEPIPii{i(1-n)}UEPSicertuEPCATinyPKnonceiih()1)EPN1(U,certu)IDEP2)IPicertuUEPEP(Si,noncei)(a)EPEP(b)EPFORBIDIPiID3)EPIPih(U,Si,noncei)IPi4)IPiEPEPh(U,Si,noncei)h(U,Si,noncei)EPEPPERMITIPiID5)EPIPiMACEPEPn-tMACEPSTATEINEPEPSTATEOUTEPFORBID6)EPMACn-tEPEPSTATEOUTEPEPSTATEOUTEPPERMIT(4)4-29-EPIP1-IP3EPIP4EP1)IP1IP2IP3EPIP44.3EPDoSEPIP1-IP3EPIP1-IP3EPEPEPEPn-tMAC2)IP1EPIP44.4IP1EP-30-EPIP1EPtEPn-tMACEPIP1IP13)IP1EPIP44.5IP1EPIP1EPEPn-tEPn-tMACEPIP14)IP1EPIP44.6EPIP1IP44-31-IP1EPEPIP4EPEPIP13EPIP1IP4EPIP44.7ZigBee-32-55.1(1)(2)Webserver(3)WebServer(4)(5)WAV(6)AT(7)WEB5.2(1)5-33-(2)ARMARMRISC75%ARMARMDSPARMARMThumb(16)ARM(32)816RISCARMARM7ARM9-34-60M-133M200M-266M[24]S3C2440ARM9ARM2440LCD+SDRAMFLASHMICPHONE5.1(3)1)[25]ARMARMARM7TDMIARM940TS3C2500/2510Linux5-35-LinuxWinCELinuxWinCEVxWorksLinux2)CGICGICGI(4)Linux+Boa-36-Linux1991LinusTorvaldsLinuxLinux(EmbeddedLinux