基于CAN总线的汽车电动车窗控制系统设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

本科毕业设计说明书基于CAN总线的汽车电动车窗控制系统设计THEDESIGNOFCONTROLSYSTEMABOUTAUTOMOBILEPOWERWINDOWSBASEDONTHECANBUS学院(部):机械工程学院专业班级:学生姓名:指导教师:2013年06月06日毕业设计I基于CAN总线的汽车电动车窗控制系统设计摘要随着2009年汽车产销量突破1300万。我国已经一跃成为全球最大的汽车市场。据统计,电子元器件的价值平均占到整车价值的三成左右。概而观之,我国汽车电子的需求是巨大的。在这种巨大的需求求的拉动下,我国汽车电子市场也迎来了飞速发展的时代。当前,汽车电子的一个发展趋势就是网络化。由于电子装置和电子元件在汽车上的应用越来越多,使汽车的布线空间越来越小。在有线的空间内完成各个电子装置的有效连接,对于传统的点对点式的连接方式来说,是不可能完成的任务。因此,传统的连接方式成为制约汽车电子发展的一个瓶颈。这种情况下,汽车控制网络应时而生。汽车控制网络是把应用于互联网上很成熟的局域网技术应用到汽车上,这样,汽车上各个电子器件只要挂接在同一条总线上,就可以实现器件或装置之间的相互通信了。这样就解决了由于原件连接过多造成的线束臃肿问题,开创了汽车电子器件热插拔的先河,而且方便了汽车的升级和维护。本论文对应用于车身网络中的CAN协议进行了研究,基于CAN总线设计了一种电动车窗控制系统。关键词:CAN总线,汽车电子,电动车窗毕业设计IITHEDESIGNOFCONTROLSYSTEMABOUTAUTOMOBILEPOWERWINDOWSBASEDONTHECANBUSABSTRACTWithChina’sautomobileproductionandsalesin2009breaking13million,Chinahasbecometheworld’slargestautomobilemarket.Accordingtostatistics,theaveragevalueofelectroniccomponentscanaccountforthevalueofthevehicleaboutthreepercent.Overview,China’sdemandforautomotiveelectronicsishuge.Withthehugedemand,China’sautomotiveelectronicsmarketusheredintheeraofrapiddevelopment.Currently,atrendofautomotiveelectronicsisnetworking.Asmoreandmoreelectronicdevicesandelectroniccomponentsareusedinautomotive,theinsidespaceofautomotiveisbecomingsmallerandsmaller.Insuchalimitedspacetocompletetheconnectionofvariouselectronicdevices,itisimpossibleforthetraditionalpointtopointconnectiontype.Therefore,thetraditionalconnectionofelectronicdeviceshasbecomeabottleneckinthedevelopmentofautomotiveelectronics.Inthiscase,thevehiclecontrolnetworkhasemergedtosolvethisproblem.VehiclecontrolnetworkistoapplyaverysophisticatedInternettechnologytothecar,aslongasthevariouselectronicdevicesofthecararearticulatedinthesamebus,thedevicescancommunicatewitheachotherthroughthebus.Thiswillresolvetheproblemofconnectingtoomanyelectroniccomponentsasaresultofthecumbersomewiringharness,butalsocreatedavehicleelectronicdeviceshotswapoftheground,tofacilitatetheupgradingandmaintenanceofthevehicleeasily.ThisthesiswillintroduceappliedCANprotocolanddesignacontrolsystemofpowerwindowsbasedonCANbus.KEYWORDS:CANbus,automotiveelectronic,powerwindows毕业设计i目录摘要................................................................IABSTRACT...........................................................II1绪论..............................................................11.1研究背景....................................................11.2汽车车载网络技术概述........................................21.3电动车窗控制技术的发展概况..................................21.4课题的主要内容和意义........................................31.4.1课题的主要内容..........................................31.4.2课题的意义..............................................31.5本章小结....................................................32CAN总线..........................................................52.1CAN简介.....................................................52.2按照ISO/OSI参考模型CAN的分层结构..........................62.3CAN总线数值的特性...........................................62.4CAN协议的报文帧结构形式.....................................72.4.1数据帧..................................................72.4.2遥控帧..................................................92.4.3错误帧..................................................92.4.4过载帧..................................................92.4.5帧间隔..................................................92.5报文接收和仲裁.............................................102.6CAN的数据错误检测..........................................102.6.1错误处理...............................................102.6.2错误状态种类...........................................122.6.3错误检测规则...........................................122.7位时序.....................................................132.8本章小结...................................................143电动车窗的硬件设计...............................................153.1主控节点的硬件设计.........................................153.1.1微控制器介绍...........................................153.1.2CAN模块................................................173.2车窗节点的的设计...................................................................................................23毕业设计ii3.3本章小结...................................................274基于CAN的车窗控制系统软件设计...................................284.1软件开发的环境.............................................284.2CAN模块....................................................294.2.1系统主程序.............................................294.2.2系统的初始化...........................................294.2.3CAN报文的发送..........................................304.2.4CAN报文接收............................................314.3驱动模块...................................................324.4本章小结...................................................335车窗防夹功能模拟测试与分析.......................................346总结与展望.......................................................366.1总结.......................................................366.2展望.......................................................36参考文献...........................................................37致谢................................................错误!未定义书签。毕业设计11绪论1.1研究背景随着计算机技

1 / 43
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功