你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

基于CAN通讯的客车仪表节点_电气工程论文范文

发布时间:2014-12-01 来源:人大经济论坛
电气工程论文 目录 摘 要III AbstractIV 前 言1 1 绪论2 1.1汽车现代汽车电子的发展概况2 1.1.1什么是汽车电子2 1.1.2汽车电子的发展历史2 1.1.3我国汽车市场现状与汽车电子发展前景2 1.1.4目前汽车电子中存在的问题和相关解决方案3 1.2 CAN总线在汽车中的应用4 1.2.1汽车总线的主要特点4 1.2.2汽车总线的主要优点4 1.2.3汽车总线系统与传统汽车电器控制系统比较5 1.2.4 控制器局域网CAN5 1.3 本课题的内容与任务6 2 仪表系统方案论证7 2.1 方案可行性论证7 2.2 设计方案介绍8 3 液晶模块10 3.1 液晶控制芯片分类10 3.2液晶控制芯片选择11 3.3 RA8835控制字11 3.4 杭鹏G320240A液晶控制电路14 4 主控芯片DSPIC16 4.1 DSPIC简述16 4.2 DSPIC中使用到的功能模块17 4.2.1 中断模块17 4.2.2 定时器模块19 4.2.3 SPI通讯模块20 4.2.4 CAN通讯模块21 4.2.5 EEPROM模块22 4.2.6 看门狗模块24 4.3 DSPIC电源电路25 4.4 DSPIC按键电路26 5 步进电机驱动27 5.1 仪表用两相步进电机27 5.1.1 仪表两相步进电机简述27 5.1.2 仪表两相步进电机工作原理27 5.2 仪表两相步进电机驱动芯片29 5.3 仪表两相步进电机驱动电路设计30 6 程序32 6.1 DSPIC配置程序32 6.1.1 中断配置及初始化32 6.1.2 I/O口配置及初始化33 6.1.3 定时器配置及初始化33 6.1.4 SPI通讯配置及初始化34 6.1.5 CAN通讯配置及初始化35 6.2 液晶控制程序35 6.2.1 液晶上电配置及初始化35 6.2.2 液晶显示数据获取37 6.2.3 液晶显示函数39 6.3 按键扫描程序40 6.4 步进电机驱动程序42 6.4.1 脉冲式驱动程序段42 6.4.2 SPI方式驱动程序段43 7 总结45 致谢46 参考文献47 摘 要 传统仪表是机电式模拟仪表,一般只能显示车速、转速、油量、电池电压、轮胎气压等数据。只能给驾驶员提供汽车运行中必要而又少量的数据信息,已远远不能满足现代汽车新技术、高速度的要求。如当今国外发达国家普遍使用全数字式汽车仪表显示装置,而且绝大部分是步进电动机式汽车仪表,并准备向更高方向发展。基于上述原因,设计一套基于CAN总线的车辆数字仪表系统已迫在眉睫。这次我所设计的基于CAN总线的车辆仪表系统不仅采用了全数字化处理,而且在某些方面还增加了原先的模拟部分,比如转速表、气压表。我的这套系统采用了DSPIC,具备了双CAN模块,提高了系统的稳定性。同时在这次设计中我增加了菜单功能,增加了人机界面的可操作性,丰富了操作的趣味性。 关键词:CAN总线 数字化仪表 DSPIC 脉冲驱动 SPI驱动 Abstract Traditional electromechanical meter is analog instrumentation, Generally only shows the speed, speed, fuel, battery voltage, such as tire pressure data. Only to provide the operation of the driver and a small amount of data necessary information, has been far from enough to meet the new technology of modern automobiles, high-speed requirements. Developed countries such as commonly used in today's all-digital display devices car dashboard, the vast majority of car instrumentation stepper motor, and is ready to develop to a higher. For these reasons,design a vehicle based on CAN bus digital instrumentation system is imminent. I designed this based on the CAN bus system is not only the vehicle dashboard using all digital processing, and in some ways also an increase of the analog part of the original.for example, tachometer, barometer. I used this system with DSPIC,has double CAN module, improve the stability of the system. At the same time I am in the design of an increase of menu functions, add man-machine interface operability, enriched interesting operation. Keywords:CAN Bus、Digital Instrumentation DSPIC Pulse-driven SPIdriven
经管之家“学道会”小程序
  • 扫码加入“考研学习笔记群”
推荐阅读
经济学相关文章
标签云
经管之家精彩文章推荐