文档介绍:西安科技大学
硕士学位论文
-CAN嵌入式网关的研究与设计
姓名:唐晓帅
申请学位级别:硕士
专业:通信与信息系统
指导教师:张敏瑞
@
论文题目:基于 ARM 的-CAN 嵌入式网关的研究与设计
专业:通信与信息系统
硕士生:唐晓帅(签名)
指导老师:张敏瑞(签名)
摘要
军用飞机的武器携带通常是通过炸弹挂架完成的。在挂弹架的设计中,安全、精准、
有效的测试挂弹架的性能来保证其装备作战飞机后稳定运行很关键。挂弹架在投弹测试
实验中,各部位参数数据通过现场总线 CAN 节点采集后传递到测控中心,同时测控中
心局域网内的计算机也可根据权限对整个实验过程进行全方位监视,以实现远程投放控
制和现场检测。如何将投弹实验现场繁多的 CAN 节点数据传送到测控中心局域网内,
实现 CAN 网络与以太网这两种异构网络的互联有着极其重要的军事应用意义。本课题
正是针对这种应用提出解决方案。
本文在对现有以太网和 CAN 总线网络理论研究的基础上,给出一种基于
ARM-Linux 的 CAN 总线与以太网互连系统设计方案,在硬件上采用 32 位的
S3C2440A40-YQ8N 工业级处理器作为嵌入网关设计中的核心芯片,它具有 MMU,可
支持 Linux 操作系统。在软件上利用 Linux 操作系统,降低了程序开发难度,程序可移
植性好。硬件设计中根据方案实现了各个接口电路,软件设计主要包括 Linux 程序的建
立、配置、移植等工作,完成对 CAN 控制器硬件驱动的开发,编写了 Linux 下 CAN 应
用程序,实现了 CAN 模块的数据通信。利用所选 Linux 内核已有的 CS9800 网卡驱动支
持,通过 Linux 下的基于 TCP/IP 协议栈的 socket 调用实现了网络模块的数据通信。
关键词:以太网网关;-CAN;ARM;嵌入式网关
研究类型:应用研究
Subject : Design and Research of a -CAN Gateway Based on
ARM
Specialty : Communication and Information System
Name : Tang Xiaoshuai (Signature)
Instructor: Zhang Minrui (Signature)
ABSTRACT
The military aircraft load weapons through bomb rack. How to design a safe, accurate,
and effective bomb rack, and ensure it loaded on bat aircraft works stablely is very
important. When in the experimental field, the different parts of parameter datas are collected
through the node of CAN(Controller work)and then transfer to control center. At the
same time puters under the authority in a local work in the control center can
make the entire experiment under a long-range control and on-site inspection. How to
transmit datas form CAN to the the LAN, and achieve the interconnection of the two different
networks has an important significance of military applications. This topic was just specific to
this application and gives the design scheme.
After studying over the theories of and CAN, this topic proposes a design based
on ARM-Linux for the interconnection of CAN and , In hardware design, we use a
32-bit S3C2440A40-YQ8N i