problem in simulation of active suspension system with actuator dynamics.
3 次查看(过去 30 天)
显示 更早的评论
the state space equation for simulink simulation is shown below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148384/image.jpeg)
in the simulink file , i took some random value for PID, during simulation it showing error like this:
Derivative input 1 of 'suspmod/actuator/x5' at time 0.003 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)
the actuator block has some non linear function in it. how to solve this problem?
0 个评论
采纳的回答
Sebastian Castro
2015-8-24
This error message happens when you put an infinite value into an Integrator block.
You see how the error message points to the derivative of x5, and that expression has a (1/x6) term in it? I bet it's that -- you may want to protect for divisions by zero when x6 = 0.
- Sebastian
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!