论域自调整模糊PID控制器仿真错误
仿真的时候出现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 LogicController/FIS Wizard/Defuzzification1/Averaging (COA)'.
Warning: Division by zero in 'hyh/Fuzzy LogicController/FIS Wizard/Defuzzification2/Averaging (COA)'.
第一个按他说的解决了,后面两个什么意思?反模糊化时除了零?该怎么处理?
望高手指教
QQ:182483939 你这个主要是那个Stopping simulation的问题,调整一下相关参数。 改变FUZZY的反模糊化方法后能够运行了,但效果很差。能帮我看看吗?
下面是修改后的模型。 效果不满意可以调整下规则 及参数
页:
[1]