1、 毕毕 业业 论论 文文 题目 基于 CAN 总线的温度测控系统的设计 姓 名: 所在学院:计算机与电气自动化学院 所学专业: 电气工程及其自动化 班 级: 09 电气工程 01 班 学 号: 指导教师: xx 完成时间: 2013 年 5 月 基于 CAN 总线的温度测控系统的设计 摘要摘要 温度控制系统是通过各种仪器设备,保证所控制的环境温度保持在规定的范围 内,以满足所需要求的调控设备。传统的多点温控系统虽然相较于单点温控系统,误 差小、速度快、精度高、工作强度低、效率高、节省了人力物力,但由于集散式控制 系统大多采用 RS485 总线来连接多个节点,虽然能够一对多通信,但挂载的节点少
2、且节点越多、通信效率越低。另外,随着计算机和微处理器的飞速发展,人们对温度 控制要求更高、所需要的单片机也在不停的更新换代中,传统控制系统中所用的 8 位或 16 位单片机的容量、 效率、 速度已经不能满足高质量控制温度的要求。 利用 CAN 总线,我们可以实现多节点、高精度、高效率的温度控制。 本论文利用所学单片机、自动控制原理、以及现代检测技术及其相关知识并结合 CAN 总线通讯相关资料,设计了基于 CAN 总线的温度控制系统。论文的主要工作如 下:第一,以 ARM 处理器作为控制的主体,实现了温度测量、数据采集和传输、调 节温度的下位机;第二,利用 CAN 总线的通信模块实现了 PC 机
3、与下位机的传输; 第三,利用 PC 机的各种软件实现了温度的动态曲线显示功能;第四,通过 PID 控制 即比例微分控制,实现温度的控制与调整。通过 CAN 总线的温度控制,实现温控的 智能化。 关键词关键词:温度控制系统,CAN 总线,ARM 处理器,PID 控制 ABSTRACT The temperature control system is through a variety of instruments and equipment, to ensure that the control of the environment temperature is kept within spe
4、cified limits, to meet the needs of control equipment requirements. Multi-point temperature control system of traditional although compared with a single point temperature control system, the error is small, fast speed, high precision, low work intensity, high efficiency, save manpower and material
5、resources, but because of the distributed control system mostly adopts RS485 bus to connect to multiple nodes, although the one-to-many communication, but the node less and more nodes, communication efficiency is low. In addition, along with the rapid development of computer and microprocessor, the
6、higher the temperature control requirements, the SCM are constantly updated, capacity, efficiency, speed of 8 or 16 bits MCU used in traditional control system has been unable to meet the high quality control temperature requirements. Using CAN bus, we can realize multiple nodes, high precision, high temperature control. In this paper, using the single-chip microcomputer, automatic control theory, and modern testing technology and the r