系统的模糊控制MATLAB实现.doc
《系统的模糊控制MATLAB实现.doc》由会员分享,可在线阅读,更多相关《系统的模糊控制MATLAB实现.doc(9页珍藏版)》请在课桌文档上搜索。
1、智能控制题目:对一个系统,假设给系统一个阶跃值r=30,采样时间为1s,系统的初始值为r(0)=0,利用常规的模糊控制器对系统进展控制。思路:在仿真系统中,不需要考虑信号的A/D和D/A转换,模糊控制系统框图如下:1、选择观测量和控制量将偏差e,即当前位置-目标目标,作为观察量输入量1,%将偏差的变化量ec,即e(t)-e(t-1),作为观察量输入量2,选取阀门开度u为控制量。2、输入量和输出量的模糊化将偏差e划分为5个模糊集,负大(NB)、负小(NS)、零(ZO)、正小(PS)、正大(PB),e为负表示当前水位低于目标水位,e为正表示当前水位高于目标水位。设定e的取值围为-3,3,隶属度函数
2、如下。同理,将偏差的变化量ec划分为5个模糊集,负大(NB)、负小(NS)、零(ZO)、正小(PS)、正大(PB),ec为负表示该时刻水位比上一时刻水位小,ec为表示该时刻水位比上一时刻水位大,。设定ec的取值围为-3,3,隶属度函数如下。同样将控制量u划分为5个模糊集,负大(NB)、负小(NS)、零(ZO)、正小(PS)、正大(PB),u为负表示减小控制量,u为正表示增大控制量。设定u的取值围为-4,4,隶属度函数如下。3、制定模糊规如此模糊规如此的制定是模糊控制的核心容,控制性能的好坏很大程度上由模糊规如此决定,本文主要是根据经验来制定相应的规如此。将上述用语言描述的规如此转化为“IF A
3、 ,THEN B的语句如下:1. If (e is NB) and (ec is NB) then (u is PB) 。2. If (e is NB) and (ec is NS) then (u is PB) 。3. If (e is NB) and (ec is ZO) then (u is PB) 。4. If (e is NB) and (ec is PS) then (u is PB) 。5. If (e is NB) and (ec is PB) then (u is PB) 。6. If (e is NS) and (ec is NB) then (u is PB) 。7. I
4、f (e is NS) and (ec is NS) then (u is PB) 。8. If (e is NS) and (ec is ZO) then (u is PS) 。9. If (e is NS) and (ec is PS) then (u is PS) 。10. If (e is NS) and (ec is PB) then (u is ZO) 。11. If (e is ZO) and (ec is NB) then (u is PB) 。12. If (e is ZO) and (ec is NS) then (u is PS) 。13. If (e is ZO) an
5、d (ec is ZO) then (u is ZO) 。14. If (e is ZO) and (ec is PS) then (u is NS) 。15. If (e is ZO) and (ec is PB) then (u is NB) 。16. If (e is PS) and (ec is NB) then (u is ZO) 。17. If (e is PS) and (ec is NS) then (u is PS) 。18. If (e is PS) and (ec is ZO) then (u is NS) 。19. If (e is PS) and (ec is PS)
6、 then (u is NB) 。20. If (e is PS) and (ec is PB) then (u is NB) 。21. If (e is PB) and (ec is NB) then (u is NB) 。22. If (e is PB) and (ec is NS) then (u is NB) 。23. If (e is PB) and (ec is ZO) then (u is NB) 。24. If (e is PB) and (ec is PS) then (u is NB) 。25. If (e is PB) and (ec is PB) then (u is
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 系统 模糊 控制 MATLAB 实现

链接地址:https://www.desk33.com/p-15152.html