Problem with double derivative
1 次查看(过去 30 天)
显示 更早的评论
Hello, I have a simulink model where a signal is integrated twice, then some calculations are done and the output is derivated twice and fed back into the integrator. Now I got an error at the first integrator, that the signal is not finite. With only one derivative block it has no problem, therefore I think the second one produces a very high peak. With a delay block it is also working but I am not sure if that is the right way to do it. So do you have ideas how to solve this problem ? Greetings Lucas
3 个评论
Ameer Hamza
2018-7-3
@Lucas Maiß's answer moved here
What I do is that I have a clutch and I use the angular position and subtract the portion that is caused by the stiffness of the clutch. Afterwards I use my position to calculate the friction and inertia an subtract it from the input of the first integrator.
Ameer Hamza
2018-7-3
I don't completely understand the issue, because the simulation run fine even if I make the delay equal to 0, but removing delay block brings a singularity in the model. You might want to look at this answer: https://www.mathworks.com/matlabcentral/answers/99084-why-am-i-receiving-error-messages-about-singularities-in-my-simulink-model.
回答(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!