資源描述:
《can總線智能節(jié)點(diǎn)設(shè)計(jì)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、哈爾濱理工大學(xué)碩士學(xué)位論文CAN總線智能節(jié)點(diǎn)設(shè)計(jì)姓名:吳立松申請(qǐng)學(xué)位級(jí)別:碩士專(zhuān)業(yè):控制理論與控制工程指導(dǎo)教師:宋清昆20090101哈爾濱理T大學(xué)工學(xué)碩上學(xué)位論文CAN總線智能節(jié)點(diǎn)設(shè)計(jì)摘要現(xiàn)場(chǎng)總線是自動(dòng)化領(lǐng)域的計(jì)算機(jī)網(wǎng)絡(luò),是當(dāng)今自動(dòng)化領(lǐng)域技術(shù)發(fā)展的熱點(diǎn)之一。它以總線為紐帶,將現(xiàn)場(chǎng)設(shè)備連接起來(lái)成為一個(gè)能夠相互交換信息的控制網(wǎng)絡(luò),是一種雙向串行多節(jié)點(diǎn)數(shù)字通信的系統(tǒng)。CAN總線也是現(xiàn)場(chǎng)總線的一種,它最初被應(yīng)用于汽車(chē)的控制系統(tǒng)中。由于其卓越的性能,CAN總線的應(yīng)用范圍已不再局限于汽車(chē)工業(yè),被廣泛應(yīng)用到自動(dòng)控制、樓宇自動(dòng)化
2、、醫(yī)學(xué)設(shè)備等各個(gè)領(lǐng)域。本文設(shè)計(jì)的CAN智能節(jié)點(diǎn)由數(shù)據(jù)采集電路和通信電路兩部分組成。數(shù)據(jù)采集系統(tǒng)采用了八路信號(hào)采集,并且根據(jù)工業(yè)現(xiàn)場(chǎng)的情況采用了一種新的高精度信號(hào)調(diào)理電路,通過(guò)此種信號(hào)調(diào)理電路增強(qiáng)了節(jié)點(diǎn)的抗干擾性和穩(wěn)定性。單片機(jī)對(duì)CAN總線控制芯片SJAl000進(jìn)行正確初始化后,將要發(fā)送的數(shù)據(jù)通過(guò)82C250輸出至CAN總線。接收過(guò)程中,通過(guò)選擇將要索取信息的節(jié)點(diǎn)及其相關(guān)信息的選項(xiàng),數(shù)據(jù)流按照上述發(fā)送過(guò)程通過(guò)總線到達(dá)被索取節(jié)點(diǎn),再由該節(jié)點(diǎn)分析數(shù)據(jù)包,返回相應(yīng)數(shù)據(jù)信息。所有數(shù)據(jù)都由SJAl000打包,再按CAN2.0B
3、的BISCICAN模式發(fā)送和接收。本文從課題的研究背景、CAN總線協(xié)議、CAN節(jié)點(diǎn)以及CAN總線節(jié)點(diǎn)之間的通信等方面對(duì)CAN總線技術(shù)的應(yīng)用進(jìn)行了詳細(xì)闡述,并對(duì)CAN總線數(shù)據(jù)采集節(jié)點(diǎn)的硬件設(shè)計(jì)和軟件編程進(jìn)行了詳盡介紹,并且針對(duì)系統(tǒng)設(shè)計(jì)過(guò)程中出現(xiàn)的問(wèn)題,并對(duì)其進(jìn)行了一定的分析。關(guān)鍵詞智能節(jié)點(diǎn);CAN總線;低功耗哈爾濱理工大學(xué)T學(xué)碩1:學(xué)位論文DesignofCANbusintelligentnodeAbstractFieldbusiSakindofcomputernetworkinautomatizationfield
4、andithasbeenoneofthehotspotsofautomatizationfields’techniquedevelopment.Fieldbusconnersthefieldequipmentswithabusandmakesitanetworkthroughwhichinformationcanbcexchangedmutually.Sofieldbusisasystemwhichcantransmitdigitalsignalsintwodirectionsamongmanynodes.CANi
5、salsoonekindoffieldbus.Originally,it’Sappliedinthecontrolsystemsofcars.Butitsapplicationisnotlimitedinautomobileindustryforitsexcellentperformance.now.It’Salsoappliedinautocontr01.buildingautomatization,mechanicaltreatmentequipments,andSOon.CAN.BUSnodeincludec
6、ircuitofsignalcollectiongandcircuitofCAN-BUScommunicationg.samplesystemuse8signalsinputtechnology.a(chǎn)ccordingtoindustrycontrolacquisitionanewsignalconditionerisused.FirstlySCCneedstoinitializeCANprotocolchipSJAl000correctly,thenthedatafromSJAl000willbeoutputCANB
7、usthroughdriver82C250.Inreceivingprocess,thenodeinformationconcernedwillbefirsttransporttothisnodeasaboveandthenthedatafromthisnodewillbesentbacktohostthroughCANBus.AllthedataiSpackedinaspecialwayinsidetheSJA1000,andwillbesentorreceivedunderpelicanmodeofCAN2.0
8、B.TheapplicationofCAN.BUStechnologyisdiscussedindetailonresearchbackground,CAN.BUSprotocol,theCAN—BUSnodeandthecommunicationamongnodesonCAN-BUS.Thecircuitsdesignandsoftwareprogramm