基于P87 C591的CAN總線系統(tǒng)智能節(jié)點設計Design of CAN System Intelligent Node Based on P87C591
給出了基于帶CAN控制器的單片8位微控制器P87C591的智能節(jié)點的硬件電路及軟件結(jié)構,詳細介紹了設計中的難點及實現(xiàn)過程中應注意的問題。關鍵詞:CAN總線;智能節(jié)點
Abstract:A h ardc ircuita nds oftw arec onfigurationo fth ei ntelligentnode based on a microcontroller with CAN controller P87C591 arepresented.E speciallyt hec ruxi nd esigninga ndt hep roblemst hatshould be paid attention in realizing are discussed in details.Keyw ords:C AN;in telligentn ode
CA N 總線 是德國Bosch從20世紀80年代初為解決現(xiàn)代汽車中眾多的控制與測試儀器之間的數(shù)據(jù)交換而開發(fā)的一種串行數(shù)據(jù)通信協(xié)議,它是一種多主總線,通信介質(zhì)可以是雙絞線、同軸電纜或光導纖維。由于CAN總線具有較強的糾錯能力,支持差分收發(fā),因而適合高噪聲環(huán)境。并具有較遠的傳輸距離,適用于許多領域的分布式測控系統(tǒng)。目前已在工業(yè)自動化、建筑物環(huán)境控制、醫(yī)療設備等許多領域得到廣泛的應用。CAN已成為國際標準化組織IS011898標準。
CAN與RS232轉(zhuǎn)換節(jié)點的設計與實現(xiàn)
介紹將CAN總線接口與RS232總線接口相互轉(zhuǎn)換的設計方法和2種總線電平轉(zhuǎn)換關系,實現(xiàn)CAN總線與各模塊的接口設計,制定了相應的軟硬件設計方案,并給出軟件設計流程圖以及部分硬件設計原理圖。為CAN總線與RS232總線互聯(lián)提供了一種方法,對CAN總線與RS232總線接口設備的互聯(lián)和廣泛應用的實現(xiàn)具有重要意義。關鍵詞:CAN總線;RS-232總線;串行通信Design and Realization of CAN and RS232 Transformation NodeZHOU Wei, CHENG Xiao-hong(Information Institute, Wuhan University of Technology, Wuhan 430070)【Abstract】This paper introduces one design method of the CAN bus interface and the RS232 bus interface interconversion, emphasizes two kindof bus level transformation relations, realizes the CAN bus and various modules connection design, formulates the design proposal of correspondingsoftware and hardware, and gives the flow chart of software design as well as the partial schematic diagram of hardware design. It providesonemethod for the CAN bus and the RS232 bus interconnection, has the vital significance to widespread application realization of the CAN busand theRS232 bus interface equipment interconnection.【Key words】CAN bus; RS-232 bus; serial communication