隨著汽車電子技術的不斷發展,現代汽車中所使用的電子控制系統和通訊系統越來越多,巨大的數據交換量,如仍然采用傳統數據交換的方法,即用導線進行點對點的連接的傳輸方式將是難以想象的。CAN(Controller Area Network)作為汽車環境中的微控制器通訊總線,解決了這一問題,它在車載各電子控制裝置 ECU之間交換信息,形成了汽車電子控制網絡。而目前,幾乎所有大巴中的空調空調系統,仍用導線經行點對點的連接,導線連接復雜,通訊不可靠,而且與車身CAN-bus系統無法實現互連,不能實現信息共享,與汽車電子的現有技術水平不相匹配。
鑒于此,本設計采用CAN-bus通信技術,選用集成有CAN控制器的單片機PIC18F2580作為主控制器,實現大巴空調控制系統CAN-bus通訊。該系統節約了導線的使用量,降低了線路發熱損耗,提高控制系統的檢測精度與控制的穩定性,并可以與車身CAN-bus系統實現直接對接。
關鍵詞:汽車電子,CAN-bus,空調控制,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.