毕业设计说明书基于CAN总线的汽车组合电子仪表系统设计专业电气工程及其自动化学生姓名王江龙班级B自动化074学号0710603420指导教师闫奇瑾完成日期2011年6月8日盐城工学院本科生毕业设计说明书(2011)基于CAN总线的汽车组合电子仪表系统设计摘要:由于汽车排放、节能、安全和舒适性等使用性能不断提高,使得汽车电子控制程度也越来越高。汽车电子控制装置必须迅速、准确地处理各种信息,并通过仪表显示出来,使驾驶员及时了解并掌握汽车的运行状态,妥善处理各种情况。基于CAN总线的汽车组合电子仪表系统采用的是TI的LM3S8962芯片为核心处理器,以CAN总线通讯协议为基本协议,并且使用步进电机作为汽车指针仪表的驱动器,同时辅以软件编程来实现各项功能。仪表所需的各种信息均由CAN总线来进行传递,从而大大降低了系统的设计复杂性以及布线难度。同时,仪器与整个车身CAN网络相连接,形成了一个完整的汽车一体化网络控制系统。本课题利用总线技术设计汽车仪表通讯,使汽车仪表能够接收传感器的车速,油量,发动机转速,开关量等信号并实时显示出来,所设计的仪表主要应用于重型运输车等领域。同时系统能节省空间,节省成本,并且加快了数据传送,并且使得系统更稳定,安全,简便,快捷,是汽车仪表通讯未来的发展方向,有着相当广阔的市场空间。关键词:CAN;汽车仪表;LM3S8962;步进电机;LCD显示盐城工学院本科生毕业设计说明书(2011)ThesystemBasedontheAutomotiveCANBuscombinationofelectronicinstrumentAbstract:Asaresultofimprovementofvehicleemissions,energysaving,safetyandcomfort,automotiveelectroniccontrolisbecomingbarerandbeaver.Automotiveelectroniccontroldevicemustquicklyandaccuratelyhandleavarietyofinformation,anddisplaythroughtheinstrumentsothatthedriverhassufficienttimetounderstandandmastertheoperationofmotorvehicles,andproperlyhandlethevarioussituations.AutomotiveCANbusbasedoncombinationofelectronicinstrumentationsystemuseTI'schipasthecoreprocessorLM3S8962,theCANbuscommunicationprotocolasthebasicagreement,andusethesteppermotorasamotordrivepointerinstrument,supplementedbysoftwareprogrammingtoimplementvariousfunctions.InstrumentationrequiredforavarietyofinformationtobepassedbytheCANbus,whichgreatlyreducessystemdesigncomplexityandwiringdifficult.Meanwhile,theinstrumentsandthewholebodyisconnectedtoCANnetworktoformacompleteintegratednetworkofautomotivecontrolsystems.Technicaldesignofthesubjectautomobileinstrumentusebuscommunication,thecardashboardtoreceivethespeedsensor,enginespeed,switchsignalsandreal-timedisplay,etc;themaininstrumentdesignforheavydutytrucksandotherfields.Atthesametimethesystemcansavespace,savecostsandspeedupdatatransfer,andmakesthesystemmorestable,secure,simple,fast,acarthefuturedevelopmentofcommunicationinstruments,hasaverybroadmarketspace.KeyWords:CAN;cardashboard;LM3S8962;signaltransmission;steppermotor;LCDdisplay盐城工学院本科生毕业设计说明书(2011)目录1.概述...........................................................................................................................11.1课题的来源与意义..............................................................................................11.2国内外的发展现状..............................................................................................11.3课题研究的主要内容..........................................................................................32.系统总体设计与主芯片选型.......................................................................................52.1系统总体方案设计..............................................................................................52.2主芯片...................................................................................................................52.2.1主芯片选择................................................................................................52.2.2LM3S8962芯片介绍..................................................................................63.系统硬件模块设计与元器件选型...............................................................................93.1系统晶振模块设计..............................................................................................93.2电源模块设计......................................................................................................93.2.1初始电源模块设计....................................................................................93.2.2MC34063芯片介绍..................................................................................103.2.3芯片供电模块..........................................................................................103.3CAN总线通讯模块设计....................................................................................113.3.1CAN总线基本概述..................................................................................113.3.2CAN总线的特点......................................................................................123.3.3CAN总线的功能描述..............................................................................123.3.4CAN2.0B规范..........................................................................................133.3.5CAN模块电路具体设计..........................................................................143.3.6TJA1040介绍..........................................................................................143.4JTAG通讯模块设计..........................................................................................153.5信号调理模块设计............................................................................................163.5.1光耦合器功能..........................................................................................163.5.2光耦合器的特点......................................................................................173.6电机驱动模块设计............................................................................................173.6.1步进电机驱动仪表的原理......................................................................173.6.2VID6606芯片介绍....................