1、 学 号 毕业设计(论文) 题目:基于 VC 的模糊 PID 控制模块设计 日 I 摘 要 传统的 PID 调节算法,不可避免地存在非线性、滞后和时变现象。其中有 的参数未知或缓慢变化;有的带有延时和随机干扰;有的无法获得较精确的数学模 型或模型非常粗糙。 本系统采用微软公司的高级编程语言 Visual C+6.0 作为开发工具。用户设 置的参数经过模拟 PID 算法产生数据结果,模拟 PID 算法根据反馈回来的值来 确定输入参数,以达到精确控制的效果。 本系统开发完成后进行了测试,并根据输出结果绘制趋势图,均达到了预定 的效果,各模块和程序代码均正确。 关键词关键词: 模糊 PID,模糊规则
2、,模糊算法,PID 调节 II ABSTRACT The PID of algorithm traditional regulation exists nonlinear, slow and time-varying phenomena. Some of these parameters is unknown or slow changes with delay and random interference; Some can not get more accurate mathematical model or the model is very rough. The system use
3、s Microsofts high-level programming language Visual C + +6.0 as a development tool. After users set the parameters, PID algorithm generated simulation results and analog PID algorithm based on feedback back to determine the value of the input parameters to achieve the precise control of the effect.
4、The system was tested and the mapping trends in accordance with output has reached the intended effect . the modules and code are correct . Key words: Fuzzy PID, fuzzy rules, fuzzy algorithm, PID regulator 目录 摘 要 .I ABSTRACT . II 1 绪论 . 1 1.1 引言 . 1 1.2 模糊 PID 研究的基本形式 2 1.2 Visual C+ 6.0 中文版的简介 4 2 模糊控制概述 6 2.1 简介 . 6 2.2 基于 T-S 模型的模糊 PID 控制 . 7 3 软件设计 7 3.1 VC 工程文件的建立 . 7 3.2 界面设计 8 3.3 MSchart 控件的加载 . 9 3.4 MSchart 控件属性设置 . 10 3.5 MFC 类向导设置 11 3.6 菜单栏建立 . 12 3.7 Ti