隨著汽車電子技術(shù)的不斷發(fā)展,現(xiàn)代汽車中所使用的電子控制系統(tǒng)和通訊系統(tǒng)越來越多,巨大的數(shù)據(jù)交換量,如仍然采用傳統(tǒng)數(shù)據(jù)交換的方法,即用導(dǎo)線進(jìn)行點(diǎn)對點(diǎn)的連接的傳輸方式將是難以想象的。CAN(Controller Area Network)作為汽車環(huán)境中的微控制器通訊總線,解決了這一問題,它在車載各電子控制裝置 ECU之間交換信息,形成了汽車電子控制網(wǎng)絡(luò)。而目前,幾乎所有大巴中的空調(diào)空調(diào)系統(tǒng),仍用導(dǎo)線經(jīng)行點(diǎn)對點(diǎn)的連接,導(dǎo)線連接復(fù)雜,通訊不可靠,而且與車身CAN-bus系統(tǒng)無法實(shí)現(xiàn)互連,不能實(shí)現(xiàn)信息共享,與汽車電子的現(xiàn)有技術(shù)水平不相匹配。
鑒于此,本設(shè)計(jì)采用CAN-bus通信技術(shù),選用集成有CAN控制器的單片機(jī)PIC18F2580作為主控制器,實(shí)現(xiàn)大巴空調(diào)控制系統(tǒng)CAN-bus通訊。該系統(tǒng)節(jié)約了導(dǎo)線的使用量,降低了線路發(fā)熱損耗,提高控制系統(tǒng)的檢測精度與控制的穩(wěn)定性,并可以與車身CAN-bus系統(tǒng)實(shí)現(xiàn)直接對接。
關(guān)鍵詞:汽車電子,CAN-bus,空調(diào)控制,PIC18F2580
Abstract
With the continuous development of Automotive Electronics Technology, electronic control system and communication system used in modern automotive is more and more. If we still use the traditional methods of data exchange, that is, transmission with wires connected to a point-to-point, the result will be unimaginable. The issue was resolved by CAN (Controller Area Network), as the micro-controller communication bus in automotive environment. Automotive electronic control devices (ECU) exchange information by CAN-bus which formed a network of automotive electronic control. While at present, almost all buses air-conditioning control system still use wire line to a point-to-point connection. If so, wire connection is complex, communication is unreliable, also it is unable to achieve interconnection to the CAN-bus system of automobile body, information sharing can not be achieved and it is not matched with the the existing level of Automotive Electronics Technology.
So the bus air-conditioning control system in this design used CAN-bus communication technology, selected single chip microcomputer PIC18F2580 integrating CAN-controller and realized CAN-bus communication. The system saved the use of wire, reduce heat loss of lines, improved detection accuracy and control stability of control system, also able to achieve interconnection to the CAN-bus system of automobile body.