EDA365电子论坛网

标题: 对一个控制系统进行simulink仿真时出现错误、错误显示为“Derivative of state [打印本页]

作者: choose521    时间: 2022-7-22 16:48
标题: 对一个控制系统进行simulink仿真时出现错误、错误显示为“Derivative of state
对一个控制系统进行simulink仿真时出现错误、错误显示为“Derivative of state '1' in block 'Simulin/Controller Subsystem/Integrator' at time 0.84166799753954546 is not finite. The simulation will be stopped. 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)”。我调节了步长还是不行、请问是哪里出了问题?怎么解决?
/ c: f0 f2 n0 Z5 q1 i/ h
作者: dsgh    时间: 2022-7-22 17:10
在某些积分器中设置初始值就可以了。仿真报错的积分器却不是我修改的积分器
1 o8 F# ^# ^9 L  G1 x+ H) _( R. e
作者: land    时间: 2022-7-22 18:10
解决方法一般有以下几种,可以逐个尝试:
& S2 H6 h6 ^! C) ?! q
/ _: j, ?- T/ u$ n' A* U4 e1、在simulation下拉菜单中congfiguration parameters减小步长& x! F9 N, k6 X' e; y0 Q& K
" r* y8 H# [% J5 n5 ~2 d
2、给积分模块赋予初值,取一个极小数(如0.0001),不影响全局7 ]  R2 s# ^9 h( A. B

) ^, d2 v7 d8 ~! w3、如果在仿真模块中含有控制器,可以在控制器的输出值后面增加一个限幅环节,这样可防止出现刚开始仿真时就出现过冲的现象。& C, n, K6 X& N; ^

作者: ldezgr    时间: 2022-7-24 15:00
看看大佬门怎么说




欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/) Powered by Discuz! X3.2