河南理工大学毕业设计(论文)说明书
PAGE \* MERGEFORMAT 2
摘 要在人们日常的生产生活中,随时可以遇到需要对液体压力进行恒定控制的情况。例如,生活中,单个家庭自来水水压不稳或过低导致用水设备无法正常工作;工业上,液压系统的液压需要按照工作需要进行准确控制。然而,由于我国科技发展程度低,在恒压控制方面还存在着技术落后、能源浪费严重的问题。就拿个人家庭自来水水压的控制来说,为了保证对水压有严格要求的用水设备的正常使用,目前很多商家设计的加压设备都是简单地增添一个加压水泵,接通电源加压水泵就开始工作,关断电源系统就停止工作。这样,不仅不能有效地保证水压的恒定,而且在用水低谷时系统仍额定功率工作,浪费大量能源。为了响应国家节能减排的号召,解决供水行业自动化程度过低的问题,这里设计基于STM32的PID闭环恒压控制系统。 本恒压控制系统主要是由STM32微处理器组成的主控单元、电机驱动系统、加压系统、压力变送系统,人机交互系统等部分构成。压力变送系统实时检测水管管道压力;STM32作为中央处理芯片,使用PID控制算法,根据水压预设值和水压变送系统测量的实时水压数据进行算法处理,产生驱动PWM信号;电机驱动系统按照正比例关系,输出相应的驱动电压;加压设备在驱动电机控制下,稳定供水系统的水压;系统的人机交互系统主要采用2.8寸TFT320X240LCD液晶屏,使用CPU 的FSMC 功能提高刷新速度,数据的更改和界面的显示使用了UCGUI图像显示系统,能够方便、直观、实时地显示系统工作情况。
关键词:STM32微处理器 ; PID调节;恒压供水;UCGUI窗口系统。
AbstractIn people’s daily life, we could see the station everywhere in whitch the fluid pressure constant control. For example, single family instability or low water pressure cause water equipment does not work in our lives. In industry, hydraulic system requires work to be done in accordance with precise control. However, due to the low level of technological development, in the constant voltage control, there are still problems such as technology backwardness and serious waste of energy. As for the personal home water pressure control, in order to ensure the normal use of water equipment in witch there are strict requirements of water pressure, in the current designs of pressurized equipment, many businesses simply added a pressure pump, power supply pumps start working, turn off the power system to stop working. Thus, it not only can not effectively ensure constant water pressure, and the system is still operating at water trough, wasting a lot of energy. In response to the call of the national energy conservation, improving the low level automation of l water supply industries, this papert designs the closed-loop control system based on constant pressure regulator PID. The constant pressure control system is mainly composed of the STM32, motor drive systems, pres