基于STM32的pH自动控制加液机的设计

 2022-09-24 10:09

论文总字数:23552字

摘 要

近年来随着经济不断地迅速发展,水资源的需要和供给产生了很大的问题,水资源的利用合理化引起了广大人们的关注。此外,随着人们生活水平的不断提高,以及生活用水的污染的不断加重,从而导致了生活用水的缺乏,工业用水污染处问题的处理方法和再利用问题引起了广大人们的关注,因此pH控制技术在次方面应用越来越广泛了。另外pH值自动控制过程还主要应用在化学制造类,石油提取类,纸的制造业,药物生产类,给水再利用以及废水再利用之中,在工业加工过程中务必要让pH值在合适的范围之内,在这方面要有严格的要求,不然将有极大概率会出现生产产品不合格,原材料损失,加工过程不能够顺利完成,经济利润下滑,更严重会产生生活环境严重下降,因此将pH值限制在合理的标准内是具有及其大的意义的。

本文首先对pH自动控制加液机的研究背影及意义以及其国内外的发展现状、介绍了stm2、pH自动控制加液机的工作原理、pH自动控制加液机的适应场合、pH自动控制加液机的特点进行了比较全面的分析;其次又对stm32芯片、电源电路、滤波电路、A/D、步进电机、TFT_LCD显示屏、JTAG调试、阻抗匹配、LED、按键等硬件进行了设计;最后对A/D、步进电机、PID控制、TFT_LCD显示屏、LED、按键等软件进行了程序的编写。最主要的是对pH自动控制的主程序进行了调试,并经过多次的调试取得设定的相应值,使得实验圆满成功。与此同时这个实验也为以后的pH值控制加液机系统的创新设想出了另外一条新的思维方式。

关键词:pH值; STM32; PID控制; 过程控制

窗体底端

Stm32 Automatic Control of pH Dosing Machine-based Design

Abstract

In recent years, with the continuous economic development and the needs and supply of water resources produced a lot of problems, the utilization of water resources reasonable attracted the attention of the broad masses of the people. In addition, with the continuous improvement of people's living standard, and the continuous deterioration of water pollution, which leads to the living water lack method to deal with the problem of industrial water pollution and reuse problem has aroused the concern of the majority of people, so pH control technology in time application more and more widespread in the. Also pH value automatic control process is mainly used in chemical manufacturing, oil extraction, paper manufacturing industry, drug production, water reuse and the waste of reuse among, in industrial processes provided necessary let pH within the appropriate range, in this regard to have strict requirements, otherwise there will be a great probability that there will be a production of substandard products, loss of raw materials, processing can not successfully completed, economic decline in profits, more serious will causes a serious decline in the living environment, so the pH conditions in a reasonable standard is and its significance.

Firstly the pH automatic control liquid filling machine the research background and significance and development status of inside and outside the country, the stm2, pH liquid filling machine working principle of automatic control, automatic pH control liquid filling machine to suit the occasion, a pH automatic control characteristics of liquid filling machine was analyzed in more comprehensive; secondly the STM32 chip, power supply circuit, filter circuit, a / D, step into motors, TFT LCD display, JTAG debug, impedance matching, led, buttons and other hardware design; finally to the A / D, step motor, PID control, TFT LCD display, led, buttons and other software into the program. The most important is the automatic control of the pH of the main program debugging, and after several debugging has set the corresponding value, make the experiment successfully. At the same time this experiment for the future pH value innovation control liquid machine system out of another new way of thinking.

Keywords: pH Value; STM32; PID Control; Process Control

目录

摘 要 I

Abstract II

第一章 绪论 1

1.1pH自动控制的背景及意义 1

1.2stm32的简介 1

1.3pH自动控制系统国内外的现状 2

1.3.1pH自动控制国外的发展现状 2

1.3.2pH自动控制国内的发展现状 2

1.4pH自动控制加液机的简介 2

1.4.1pH自动控制加液机的工作原理 2

1.4.2pH自动控制加液机的特点 3

第二章 系统控制设计 4

2.1pH自动控制加液机的课题任务 4

2.2pH自动控制加液机的内容 4

2.3硬件部分 4

2.4软件部分 4

2.5stm32f103芯片 4

第三章 硬件的设计 6

3.1STM32芯片的设计 6

3.2电源的设计 7

3.3A/D的设计 7

3.4进步电机驱动的设计 8

3.5显示LCD的设计 8

3.6JTAG调试的设计 9

3.7阻抗匹配的设计 10

3.8LED的设计 11

3.9按键的设计 11

3.10本章小结 12

第四章 控制器软件的设计 13

4.1A/D软件的设计 13

4.2进步电机软件的设计 14

4.3显示TFT-LCD软件的设计 15

4.4LED软件的设计 21

4.5按键软件的设计 21

4.6本章小结 22

第五章 程序-pH自动控制加液机的调试 23

5.1调试内容 23

5.2调试主程序 23

5.3调试结果 24

第六章 总结 25

6.1本文总结 25

6.2展望 25

致谢 26

参考文献(References) 27

附录 28

附录一 28

剩余内容已隐藏,请支付后下载全文,论文总字数:23552字

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

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;