首先研究CAN總線和SAE J1939協議,提出一種基于MC9S12HZ256微控制器的總線式汽車數字儀表解決方案。詳細介紹SAE J1939協議的報文幀格式及應用層協議中發動機相關參數的定義,以及步進電機及其驅動和車速信號的處理方法。該數字儀表系統硬件平臺由微處理器和信號采集和信息處理及顯示等模塊組成。軟件設計部分編程實現了對CAN總線和各傳感器數據的讀取、處理。該系統能夠實時反映車輛工況。
Abstract:
In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.
標簽:
256
MC9
S12
MC
上傳時間:
2013-10-20
上傳用戶:huannan88