文档介绍:上海交通大学
硕士学位论文
基于CAN/LIN总线的车灯和电动车窗控制研究
姓名:解友华
申请学位级别:硕士
专业:车辆工程
指导教师:殷承良
20071201
基于 CAN/LIN 总线的车灯和电动车窗控制研究
摘要
随着人们对汽车功能要求的提高,汽车车身附件所采用的各种开关不断增
加,导致车辆线束日益复杂化。采用总线技术能大量节省线束,节约布置空间,
提高系统的可靠性,并且具有易于升级换代和便于诊断等优点,使得它成为车
身电子控制最重要的发展方向。
本文详细介绍了基于 CAN/LIN 总线的车灯和电动车窗的网络控制原理以
及各种考虑因素。在基于 CAN 总线的前后车灯模块部分,论文阐述了功率芯片
的驱动控制、转向灯具体功能实现和 CAN 总线应用层协议的制定等;在基于
LIN 总线的电动车窗模块方面,论文详细地阐述了基于串行通信接口基础上 LIN
总线状态机的设计和控制,以及电动车窗自动下降、延时保护等功能的具体实
现等。考虑到功能提升的需要,论文最后对电动车窗的防夹功能做了一定程度
的方法研究。
目前,车灯模块已经达到预定的设计目标,并在“2006 年飞思卡尔上海技
术研讨会”和“2006 上海工业技术博览会”上展出;电动车窗模块原理样机已
经调试完毕,并通过装车测试。相对于传统线束控制方式,采用总线控制方式
减少了很多线束,增加了可靠性。试验也证明,所设计的 LIN 总线状态机及控
制机制是可靠的,采用 LIN 总线对各个车窗进行控制也是合适的,特别是基于
普通串行通信口的状态机设计,为 LIN 总线在低端芯片上的实现提供了基础。
论文对基于 CAN/LIN 总线的车灯和车窗控制的研究,对于车身电子控制开发具
有一定的参考价值。
本文获得了上海市“引逼工程”重大专项—“华普某车型整车电子电器优
化”的资助和支持。
关键词:CAN/LIN 总线车灯控制电动车窗车窗防夹
I
RESEARCH ON CAN/LIN BASED LIGHTNING AND
POWER WINDOW CONTROL
ABSTRACT
Catering for diversity functions of vehicles, more and more
switches adopted in the body accessories are the prime factors to
complicate the layout of harness in a vehicle. By employing bus
technique, this obstacle can be solved easily. Meanwhile, scalability and
diagnostic function make the bus technique a popular choice in body
electronics.
This thesis described the fundamentals and all factors that were
taken into consideration in the design of lights and motor-powered
windows based on the CAN /LIN buses. In the light module using CAN
bus, this study presents the driving control of power chips, the
realization of turning lights, and the implementation of CAN application
protocol, etc. In the LIN based power window module, this part involves
the design and control of LIN bus state machine on a SCI/UART basis.
In addition, the automatic descending and protection after a delay time in
the window operation are explained. At last, some research efforts are
made on the anti-pinch function of the power window system for the
sake