登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 自动化 > 正文

基于ADT7320的温度控制系统设计毕业论文

 2022-06-05 21:51:03  

论文总字数:19534字

摘 要

温度是日常生活以及工业生产中必不可少的物理量,在不同的应用场合,测温元件的选择,所采取的控制策略和控制的手段往往也会不同。在不同的环境下,控制方案的选择不仅要考虑到周围环境这一外界因素,温度控制要求的精度,温度控制的及时性也一样决定着控制方案最终能否被采用。

ADT7320是一款16位数字SPI温度传感器,其内部温度传感器在额定温度范围内具有高精度和线性度,精度可达到0.25℃,此芯片可以满足较高的温度控制精度需求。本论文从采集温度与控制温度的基本概念出发,系统阐述了温度控制系统的背景、目的和意义、以及所要解决的问题,同时介绍了温度控制电路的基本组成和系统的软件设计方法。接着研究以芯片STM32F103RBT6为核心的ALIENTEK MiniSTM32开发板以及它与传感器、外部驱动电路的硬件连接,通过软件编程实现硬件通信。根据硬件电路初始化时存在的问题,运用程序流程图分析技巧,分析系统的程序,并对温度采集电路和温度控制电路的硬件连接进行改善,从而优化软件程序,并给出硬件电路的最终方案。单片机接收到ADT7320的温度值信号,并由软件程序控制硬件,保证控制电路、报警电路正常工作,实现温度采集,温度报警功能,通过制冷片实现对环境温度的控制。

关键词:温度控制 STM32 ADT7320

The design of temperature control system based on ADT7320

Abstract

Temperature is an essential physical quantity for daily life and industrial production, in different applications, the choice of measuring temperature element, the control strategy and control method you adopt are often different. In different environments, control scheme should not only consider the external factor-surrounding environment, precision of temperature control and timeliness of the temperature control also determines whether the control scheme can be used ultimately.

The ADT7320 is a 16-bit digital SPI temperature sensor, its internal temperature sensor has high accuracy and linearity within the rated temperature range, the accuracy can reach 0.25 degrees centigrade. The chip can meet the high temperature control precision. This paper started from the basic concept of temperature acquisition and temperature control, the background, purpose and significance of the temperature control system and the problems to be solved are expounded systematically, the basic components of the temperature control circuit and the software design method of the system are also introduced. Then this paper studied ALIENTEK MiniSTM32 Development Board based on the core chip STM32F103RBT, the hardware connection of the development board and sensor, the external drive circuit, achieved hardware communication through software programming. According to the problems existing in the Initialization of hardware circuit, this paper used the program flow chart analysis skills to analyze the system procedures and improved the hardware connections of temperature acquisition circuit and temperature control circuit, so as to optimize the software program, and the final scheme of hardware circuit is given. the MCU receives temperature signal by ADT7320,controls hardware through software program, ensure the control circuit and alarm circuit can work normally to realize the function of temperature acquisition and temperature alarm, through the work of refrigeration film to achieve environmental temperature regulation.

Key words: temperature control; STM32; ADT7320

目 录

摘要 I

Abstract II

第一章 绪论 1

1.1课题背景 1

1.2课题的目的和意义 2

1.3课题的内容和所要解决的问题 2

第二章 温度控制系统原理 3

2.1温度的采集 4

2.2驱动电路实现控制功能原理 4

2.3温度显示及报警 4

第三章 温度采集和驱动电路硬件设计 5

3.1 控制系统硬件总体介绍 5

3.2 温度信号采集系统 5

3.2.1 ADT7320芯片 5

3.2.2 STM32F103RBT6单片机芯片 6

3.2.3 STM32单片机与ADT7320接口设计 6

3.3 继电器驱动电路 7

3.4 温度过高报警电路 8

第四章 控制系统的软件设计 9

4.1软件开发环境及其工具 9

4.1.1 C语言编程 9

4.1.2 软件开发工具介绍 9

4.1.3 STM32工程创建与配置 10

4.2软件系统总体设计 15

4.2.1 软件程序结构 15

4.2.2 初始化程序设计 15

4.2.3 温度采集程序设计 16

4.2.4 温度显示程序设计 17

4.2.5 温度报警程序设计 18

4.2.6 温度控制程序设计 18

结语 19

参考文献 20

致谢 21

附录1:温度采集和驱动电路电路图 22

附录2:初始化程序 23

请支付后下载全文,论文总字数:19534字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图