声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1386|回复: 3

[控制系统类] 论域自调整模糊PID控制器仿真错误

[复制链接]
发表于 2009-5-4 15:41 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
仿真的时候出现Derivative input 1 of 'hyh/Transfer Fcn' at time 1 is Inf or NaN.  Stopping simulation.  There may be a singularity in the solution.  If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).提示
和三个警告
Warning: Using a default value of 0.2 for maximum step size.  The simulation step size will be equal to or
less than this value.  You can disable this diagnostic by setting 'Automatic solver parameter selection'
diagnostic to 'none' in the Diagnostics page of the configuration parameters dialog.
Warning: Division by zero in 'hyh/Fuzzy Logic  Controller/FIS Wizard/Defuzzification1/Averaging (COA)'.
Warning: Division by zero in 'hyh/Fuzzy Logic  Controller/FIS Wizard/Defuzzification2/Averaging (COA)'.
第一个按他说的解决了,后面两个什么意思?反模糊化时除了零?该怎么处理?
望高手指教
QQ:182483939

hyh.mdl

38.44 KB, 下载次数: 15

simulink模型

HYH1.fis

2.62 KB, 下载次数: 11

第一个模糊控制器的fis

HYH2.fis

4.17 KB, 下载次数: 11

第二个模糊控制器的fis

回复
分享到:

使用道具 举报

发表于 2009-5-5 08:01 | 显示全部楼层
你这个主要是那个Stopping simulation的问题,调整一下相关参数。

评分

1

查看全部评分

 楼主| 发表于 2009-5-5 09:16 | 显示全部楼层
改变FUZZY的反模糊化方法后能够运行了,但效果很差。能帮我看看吗?
下面是修改后的模型。

hyh.mdl

45.24 KB, 下载次数: 25

HYH1.fis

2.58 KB, 下载次数: 16

HYH2.fis

4.38 KB, 下载次数: 16

发表于 2009-5-6 11:21 | 显示全部楼层
效果不满意可以调整下规则 及参数

评分

1

查看全部评分

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-29 23:32 , Processed in 0.053681 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表