LIN总线系统仿真平台开发+源代码 摘要:LIN(Local Interconnect Network)是由LIN协会在1999年推出的新型A类串行总线,主要用于汽车电子控制系统,构成CAN(Controller Area Network)、TTP/C等高速总线的辅助网络,实现汽车网络的分级制结构,以达到简化线束、合理利用网络资源、节约成本的目的。LIN协议是面向车辆低端分布式应用的一类串行通信协议。LIN设计目标作为CAN的下层网络,同CAN相结合可构成车辆应用中的分层网络结构。LIN总线网络设计中关键问题是LIN总线接口的软件和硬件设计。
本课题实现了LIN总线网络、LIN总线系统仿真实现多模块互测。通过VS平台开发LIN系统子节点测试程序,通过设计来模拟LIN总线数据帧以及通过网络实现LIN总线的通信方式。通过该课题,加深了对于LIN总线这一串行通讯网络理解的同时,也能进一步加强对于C#的理解和掌握,因此对于该课题的研究是十分有意义的。本文对LIN总线进行了介绍,设计了LIN总线网络拓扑结构图,并设计了一款简单的基于UDP协议的网络通讯软件,对LIN节点的软件进行了调试。
关键词: LIN总线;LIN协议;网络;通讯;UDP;C#
LIN Bus System Simulation Platform Development
Abstract: LIN ( Local Interconnect Network ) is determined by the LIN Association in 1999 introduced a new type of a serial bus, mainly used in automotive electronic control system consists of CAN( Controller Area Network ), TTP/C, such as high-speed bus auxiliary network, car network grading system structure, so as to simplify wiring harness, reasonable use cyber source, the purpose of saving the cost. The LIN protocol is used in vehicle low-end distributed applications of a class of serial communication protocol. LIN design goal of CAN as the underlying network, combined with CAN can constitute a vehicle in the application of hierarchical network structure. Design of LIN bus network is the key problem in LIN bus interface of the software and hardware design.
This issue requires students to master the LIN bus, LIN bus network system simulation multi module mutual test. Through the VS platform to develop LIN system node test program, through the design of analog LIN bus data frame and the network to realize the LIN bus communication mode. Through the research, to deepen our understanding of the LIN bus in a serial communication network understanding at the same time, also we can further strengthen the C# for the understanding and grasp, so the research of this topic is of great significance. Here introduces the design of LIN bus, LIN bus topological structure of network, and design a simple UDP protocol based on network communication software, the LIN node software debugging.
Keywords: LIN bus; LIN protocol; Network; Communication;UDP;C#
目录
摘要 i
Abstract i
目录 iii
1 绪论 1
1.1 引言 1
1.2 LIN总线的背景和意义 1
1.3 LIN总线的应用 4
1.4 研究现状和水平 5
1.5 发展趋势 5
1.6 仿真 6
2 系统设计 7
2.1 功能分析 7
2.2 功能描述 10
2.3 仿真方案 11
3 详细设计 12
3.1 拓扑设计 12
3.2 硬件设计 13
3.3 软件设计 14
3.4 错误检测 15
3.5 设计结论 16
4 功能实现与调试 17
4.1 仿真软件界面与功能简介 17
4.2 LIN模块数据通信测试 18
4.3 基于仿真多LIN模块的简易车身通信协议测试 19
5 总结 24
致谢 26
参考文献 27
附录 28,3507
[1] [2] [3] [4] [5] [6] [7] 下一页