- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
智能控制大作业
第一次大作业
姓名: 周庆强
学号: 1140810106
哈尔滨工业大学
2017年5月25日
题目:
对一个系统Gs=110s+1,假设给系统一个阶跃值r=30,采样时间为1s,系统的初始值
思路:
在仿真系统中,不需要考虑信号的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],隶属度函数如下。
同理,将偏差的变化量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 ,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. If (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) and (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) 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 NB) 。
4、进行模糊决策
我们最终需要获得的控制量u即为模糊控制的输出,u可由两个输入量(偏差矩阵e和偏差矩阵ec)和模糊关系矩阵R合成得到。
u
?
根据制定的模糊规则,通过相应的模糊集合运算,可得到模糊关系集合R。R定
原创力文档


文档评论(0)