problem in simulation of active suspension system with actuator dynamics.
3 views (last 30 days)
Show older comments
senthil kumar
on 24 Aug 2015
Commented: Rishi Naik
on 9 Nov 2021
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 Comments
Accepted Answer
Sebastian Castro
on 24 Aug 2015
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 Comments
More Answers (0)
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!