毕 业 设 计 (论 文 ) 学 生 姓 名 : 学 号 : 所 在 学 院 : 自 动 化 与 电 气 工 程 学 院 专 业 : 自 动 化 设 计 ( 论 文 ) 题 目 : 基 于 STM32 的 pH 自 动 控 制 加 液 机 的 设 计 指 导 老 师 : 基于 STM32 的 pH 自动控制加液机的设计摘 要pH 值的控制过程广泛存在于石油、化工、造纸、制药、废水处理及给水处理中,在工业生产过程中必须将 pH 值严格控制在某特定范围之内,否则将会造成产品质量的下降,原料的浪费,导致生产不能运行,经济效益下降,环境污染。因此 pH 值的控制有着非常重要的意义。本文的核心在于基于 ARM 的 pH 值自动控制系统,该系统的 pH 采样部分采纳高精度的 pH 传感器将 pH 值转化为电压值,采纳高性能的 A/D 转换模块将采集到的电压值转化为数字量,该数字量一部分通过显示模块显示,另一部分进入 PID 控制器控制蠕动泵加酸或加碱,最终使 pH 值控制在设定范围之内。该系统通过建立闭环控制系统以实现对 pH 值的控制。由于闭环控制可以有效地抑制闭环中各种扰动的影响,这将使得被控量趋近于设定值。关键词:PID 控制器 ARM A/D 转换The design of pH automatic control liquid filling machine based on STM32AbstractpH control process widely in petroleum, chemical, pHarmaceutical, paper , wastewater treatment and water treatment, the pH value in the industrial production must be strictly controlled within a specified range, otherwise may cause the decline in product quality, raw material waste,production cannot be carried out smoothly, economic decline, or even cause environmental pollution, so the pH within a certain range of great significance. The core of this article is the pH automatic control system based on ARM. The pH sampling parts of the system uses the high-precision pH sensors to converted pH value into voltage values and uses the high performance A/D conversion module to collected voltage into digital quantity. The one part of the digital is displayed by the display ...