基于CAN总线的温度检测系统36页

上传人:文库****9 文档编号:173996182 上传时间:2021-03-15 格式:DOC 页数:36 大小:634.50KB
返回 下载 相关 举报
基于CAN总线的温度检测系统36页_第1页
第1页 / 共36页
基于CAN总线的温度检测系统36页_第2页
第2页 / 共36页
基于CAN总线的温度检测系统36页_第3页
第3页 / 共36页
基于CAN总线的温度检测系统36页_第4页
第4页 / 共36页
基于CAN总线的温度检测系统36页_第5页
第5页 / 共36页
点击查看更多>>
资源描述

《基于CAN总线的温度检测系统36页》由会员分享,可在线阅读,更多相关《基于CAN总线的温度检测系统36页(36页珍藏版)》请在金锄头文库上搜索。

1、基于CAN总线的温度检测系统摘 要 本设计以AT89S51单片机为核心的温度控制系统的工作原理和设计方法来研究CAN总线测控系统间数据通信、结构灵活、通用性号。我们还采用了单总线型数字式的温度传感器DS18B20,使系统具有测温误差小、分辨率高、抗干扰能力强,动态显示的方式等特点。选用SJA1000作为CAN总线的控制器与82C250芯片设计了CAN总线接口模块。82C250可以提供对总线的差动发送和接收功能,提高系统总线的节点驱动能力,增大通信距离,降低干扰。 传感器电路将感应到的温度信号以电压的形式输出到信号调理电路,信号经过调理后输入到A/D采样电路,由ADC将数字量值送给单片机系统,最

2、后单片机将采集到的数据送到CAN总线控制器,通过CAN总线收发器传上总线,完成数据采集从而实现温度控制的目的。温度检测无论在医疗电子领域还是工业控制领域应用都非常广泛,人们都需要对各类加热炉、热处理炉、反应炉和锅炉中的温度进行检测和控制,医疗电子领域的生化分析仪等,内部都涉及到温度控制,具有特别广阔的前景。关键字:AT89S51单片机 温度传感器DS18B20 SJA1000控制器 温度检测Based on CAN main lines temperature examination systemPicking Wanting 窗体底端窗体顶端This design studies betwe

3、en the CAN main line observation system take at89S51 monolithic integrated circuit as the core temperature control systems principle of work and the design method the data communication, the structure nimble, the versatile numbers. We have also used single main line type number character style tempe

4、rature sensor DS18B20, enables the system to have the temperature measurement error to be small, the resolution is high, ant jamming ability, dynamic demonstration characteristics and so on way. Selected SJA1000 has designed the CAN bus interface module as the CAN main lines controller and the 82C25

5、0 chip. 82C250 may provide to main lines differential motion transmission and the receive function, sharpens system buss node driving force, increases the signal distance, reduces the disturbance The sensor electric circuit will induce the temperature signal outputs the signal recuperation electric

6、circuit by the voltage form, the signal after the recuperation inputs to a/D sampling circuit, gives by ADC the digital size the monolithic integrated circuit system, finally the monolithic integrated circuit will gather the data delivers the CAN bus control unit, passes on the main line through the

7、 CAN main line transceiver, completes the data acquisition, thus realizes the temperature control goal.窗体顶端 Regardless of the temperature examination is widespread in the medical electron domain or the industrial control domain application, the people need to each kind of heating furnace, the heat-t

8、reatment furnace, the reactor and boilers temperature carry on the examination and the control, the medical electron domain biochemistry analyzer and so on, the interior involve to the temperature control, has the specially broad prospect.Key words: AT89S51 monolithic integrated circuit temperature

9、sensor DS18B20 SJA1000 controller temperature examination目录引言 1第一章 绪 论 21.1 本设计研究的背景和实际意义 21.2 研究设计相关内容 21. 3 课题完成功能 3第二章 系统设计的基本方案 42.1 设计的主要思路 42.2 温度检测的总体方案设计 4第三章 CAN总线温度检测系统的硬件及设计 53.1 AT89S51单片机介绍 53.2 传感器的选用DS18B20传感器 83.3 PCA82C250收发器,控制器SJAl000与6N137光耦合器 103.4 CAN总线接口电路设计 153.5 单片机的接口电路 16第

10、四章 软件设计 194.1 软件总流程图 204.2 系统程序设计 204.3主程序及子程序 20结论与展望 29致谢 30参考文献 31附录设计原理图32- 29-引 言 自动控制系统在各个领域尤其是工业领域中有着及其广泛的应用,温度控制是控制系统中最为常见的控制类型之一。随着单片机技术的飞速发展,通过单片机对被控对象进行控制日益成为今后自动控制领域的一个重要发展方向。温度控制系统广泛应用于社会生活的各个领域 ,如家电、汽车、材料、电力电子等 ,常用的控制电路根据应用场合和所要求的性能指标有所不同 , 在工业企业中,如何提高温度控制对象的运行性能一直以来都是控制人员和现场技术人员努力解决的问

11、题。 数字温度传感器DS18B20只用一个引脚即可与单片机进行通信,大大减少了接线的麻烦,使得单片机更加具有扩展性。由于DS18B20芯片的小型化,更加可以通过单跳数据线就可以和主电路连接,故可以把数字温度传感器DS18B20做成探头,探入到狭小的地方,增加了实用性。更能串接多个数字温度传感器DS18B20进行范围的温度检测。采用单片机AT89S51对温度进行控制,不仅具有控制方便、组态简单和灵活性大等优点,而且可以大幅度提高被控温度的技术指标,从而能够大大提高产品的质量和数量。 本文采用DS18B20测温芯片作为传感器,使用CAN总线标准,设计温度测试体统,该系统精度高,可靠性好,结构简单,成本底,用于各种检测温度场合。 窗体底端 第一章 绪 论1.1 本设计研究的背景和实际意义CAN总线是德国一家公司在20世纪80年代初为解决汽车中大量的控制与测试仪器之间的数据交换而开发的一种串行数据通信协议。CAN能灵活有效地支持具有较高安全等级的分布式控制其数据传输速度可达1Mbps,在汽车、煤矿安全检测、自动化仪表、智能楼宇、机械制造等领域应用广泛。本文介绍了一种基于CAN总线的智能温、湿度检测系统,可应用于

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号