没有合适的资源?快使用搜索试试~ 我知道了~
基于CAN总线的远程数据毕业设计论文.doc
0 下载量 38 浏览量
2023-07-03
23:01:09
上传
评论
收藏 2.63MB DOC 举报
温馨提示
试读
100页
基于CAN总线的远程数据毕业设计论文.doc
资源推荐
资源详情
资源评论
毕业设计说明书
题 目:基于 CAN 总线的远程数据
采集系统--下位机部分
内蒙古科技大学毕业设计说明书(毕业论文)
I
基于 CAN 总线的远程数据采集系统
--下位机部分
摘 要
CAN 总线作为一种有效支持分布式控制和实时控制的技术,以其稳定性好、可靠性
高、抗干扰能力强、通讯速率高、维护成本低及其独特的设计越来越受到人们的重视,
并被公认为是最有前途的现场总线之一。
基于 CAN 总线的远程数据采集系统分为上位机、CAN 总线和下位机三个部分。上
位机建立友好的人机交互界面;CAN 总线采用总线型拓扑结构,通信电缆采用双绞线;
下位机部分是两个传感器节点。
本论文重点介绍了下位机传感器节点的设计。首先介绍了系统总体设计方案,然后
对温度传感器节点使用的 K 型热电偶、温度传感器 AD590 和压力传感器节点使用的
MPX53DP 做简要介绍,并分析设计放大电路;接着介绍单片机 AT89C52 及其附属电路,
特别对键盘做了重点分析介绍;分析软件算法,使用 C51 语言编程;最后介绍系统调试。
本设计实现了下位机对现场温度信号和压力信号的采集,通过键盘在线更改测量范围、
报警值等参数。
关键词:CAN 总线;数据采集;下位机;AT89C52 单片机
内蒙古科技大学毕业设计说明书(毕业论文)
II
The Long-distance Data Collection Based on CAN Bus
-- The Lower Computer
Abstract
CAN bus technology, which efficiently supports distributed real-time with a very high
level of security, attract attention with a very high level of capability. CAN bus has some
advantages such as high level of security, strong anti-interference, high communication speed
and low of maintenance cost. It is a particular design, and it is regarded a field-bus with
expansibility.
The long-distance data collection based on CAN bus is divided into three parts: upper
computer and CAN bus and lower computer. The upper computer is established friendly
Human-Machine Interface.CAN bus uses bus topology structure, and use UTP cable
communications. The lower computer uses two sensor nodes.
This paper’s emphasis is to introduce the design of the lower computer sensor node.This
design firstly introduced the system overall project design. It introduced briefly the
K-thermocouple which uses temperature sensor node, and the MPX53DP which uses
temperature sensor AD590 and pressure sensor node.It analyzed the design enlargement
electric circuit. It also introduced AT89C52 MCU and its subsidiary circuit, especially focused
on analyzing the keyboard.Then it analyzed software algorithm, and used the C51 language for
its programming. It introduced the system debugging finally. This design has realized the
lower computer to the scene temperature signal and pressure signal collection; through the
keyboard it can change online measurement range and alarms and so on.
Key words: CAN bus; data collection; lower computer; AT89C52 MCU
内蒙古科技大学毕业设计说明书(毕业论文)
III
目 录
摘 要...........................................................................................................................................I
Abstract........................................................................................................................................II
第一章 基于 CAN 总线的远程数据采集系统总体方案 .....................................................1
1.1 研究背景.......................................................................................................................1
1.2 方案的选择...................................................................................................................1
1.2.1 数据采集分析.....................................................................................................1
1.2.2 现场总线概述....................................................................................................2
1.2.3 CAN 总线 ...........................................................................................................3
1.3 系统设计方案................................................................................................................4
第二章 温度传感器节点..........................................................................................................7
2.1 热电偶及其放大电路...................................................................................................7
2.1.1 热电偶测温原理................................................................................................7
2.1.2 热电偶的种类及结构形成................................................................................8
2.1.3 热电偶的选择及其放大电路............................................................................9
2.2 热电偶的冷端温度补偿.............................................................................................11
2.2.1 热电偶的冷端温度补偿方法...........................................................................11
2.2.2 AD590 及其放大电路......................................................................................12
第三章 压力传感器节点........................................................................................................15
3.1 压力传感器及其测温原理..........................................................................................15
3.2 放大电路.....................................................................................................................16
第四章 单片机数据处理模块..................................................................................................18
内蒙古科技大学毕业设计说明书(毕业论文)
IV
4.1 芯片选择.....................................................................................................................18
4.1.1 单片机的选择...................................................................................................18
4.1.2 A/D 芯片的选择............................................................................................18
4.1.3 看门狗选择.......................................................................................................18
4.2 硬件电路连接..............................................................................................................19
4.3 显示方式.....................................................................................................................20
4.4 键盘.............................................................................................................................22
4.4.1 键盘接口技术..................................................................................................22
4.4.2 键盘设置..........................................................................................................22
4.5 看门狗及复位电路......................................................................................................24
第五章 软件编程......................................................................................................................26
5.1 软件编程概述.............................................................................................................26
5.2 温度传感器节点软件设计.........................................................................................26
5.3 压力传感器节点软件设计.........................................................................................36
5.4 编程心得.....................................................................................................................42
第六章 系统调试......................................................................................................................44
6.1 下位机节点调试..........................................................................................................44
6.1.1 模拟放大电路调试..........................................................................................44
6.1.2 显示电路调试................................................................................................45
6.1.3 单片机模块调试..............................................................................................45
6.1.4 键盘调试..........................................................................................................46
6.2 综合调试.....................................................................................................................46
6.3 设计结果.....................................................................................................................47
剩余99页未读,继续阅读
资源评论
黑色的迷迭香
- 粉丝: 718
- 资源: 4万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Typescript的兔子饭店经营类游戏源码设计免费送cocoscreator
- 基于Java的web快速开发数据权限管理脚手架wonder-server设计源码
- 基于Apache Log4cxx的C++日志库设计源码
- 基于Vue3的likeadmin免费任意商用管理后台设计源码
- 基于JavaScript的Chrome扩展WeNote分享插件设计源码
- 基于C++的中泰EM9108S动态库开发示例源码
- gxlx2-p291-1g.dts和gxlx2-p291-1g.dtb
- STM32WBxx Keil芯片包
- 基于CNN+Bi-LSTM+Attention 的自动对对联系统
- 基于Java的IndexBar Android字母索引栏设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功