資源描述:
《基于can總線的多點溫度監(jiān)測及報警系統(tǒng)設(shè)計設(shè)計》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、基于CAN總線的多點溫度監(jiān)測及報警系統(tǒng)設(shè)計摘要本文設(shè)計的是一套基于CAN總線的多點溫度檢測及報警系統(tǒng),主要是對糧倉的溫度監(jiān)控,以確保儲糧的安全。系統(tǒng)設(shè)計分為主控模塊和監(jiān)控模塊。主控監(jiān)控兩模塊的微處理器都采用AT89S52單片機。為了實現(xiàn)主控模塊對監(jiān)控模塊的實時監(jiān)測,在主控端和監(jiān)控端處都設(shè)計有CAN通信電路,由控制器SJA1000和收發(fā)器82C250組成CAN通信接口。另外,主控端的外圍電路部分包括時鐘電路功能模塊、EEPROM存儲電路模塊、串口通信電路模塊、譯碼電路功能模塊、液晶顯示屏模塊;監(jiān)控端的外圍電路部分為溫度傳感器。主控端的時鐘芯片選用DS12887,EEPROM存儲芯片選用
2、戶AT24C16,顯示屏采用FM12232B液晶模塊。監(jiān)控端的溫度傳感器采用數(shù)字傳感器DS18B20,系統(tǒng)設(shè)置溫度傳感器的闡值為50℃。本文給出了系統(tǒng)的結(jié)構(gòu)和軟硬件設(shè)計方案,可實現(xiàn)實時溫度測量、越限報警等功能。該系統(tǒng)具有可靠性好、通信速率高、抗干擾能力強等特點。本系統(tǒng)還適用于在糧倉、北方暖氣和熱水供應(yīng)中心、大面積水泥鋪建等多種場合。關(guān)鍵詞:CAN總線;DS18B20;AT89S52BASEDONCANBUSMULTIPOINTTEMPERATUREMONITORINGANDALARMINGSYSTEMDESIGNABSTRACTThispaperdesignsamulti-poin
3、ttemperaturedetectionandalarmsystembasedonCANbus,thissystemismainlyusedtomonitorthetemperatureofgranary,toensurethesafetyofthestoredgrain.Thissystemisdividedintothemaincontrolmoduleandthesurveillancemodule.ThemicroprocessorofthemaincontrolmoduleandthesurveillancemodulebothuseDSPAT89S52microcont
4、roller.Inordertoachievereal-timemonitoringandmeasuringofthesurveillancemodule,CANcommunicationscircuitsaredesignedattheportofthemaincontrolmoduleandthesurveillancemodule,whichiscomposedbythecontrollerSJA1000andthe82C250communicationsinterface.Inaddition,theexternalcircuitsectionofthemaincontrol
5、moduleincludestheclockcircuitmodules,EEPROMmemorycircuitmodule,serialcommunicationcircuitmodule,decodingcircuitmodules,LCDmodules;themainportionoftheexternalcircuitsectionofthesurveillancemoduleisthetemperaturesensor.TheclockchipofthemaincontrolmoduleusesDS12887,theEEPROMmemorychipcanselectAT24
6、C16,theLCDdisplaymodulecanselectFM12232B.ThetemperaturesensorofthesurveillancemoduleusethedigitalsensorDS18B20,thelininalvalueofthetemperaturesensorissettedat50℃bythesystem.Thispaperpresentsthearchitectureofthesystemandthehardwareandsoftwaredesignproposal,enablingthefunctionofreal-timetemperatu
7、remeasurementandtheoff-limitedalarm.Thesystemhasgoodreliability,hightransmissionrate,stronganti-interferenceandsoon.Thissystemcanalsobeappliedtothegranary,thenorthcentralheatingandhotwatersupplycenter,thecementpavingofalargeareaan