Problem with double derivative

2 views (last 30 days)
Lucas Maiß
Lucas Maiß on 2 Jul 2018
Commented: Ameer Hamza on 3 Jul 2018
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 Comments
Ameer Hamza
Ameer Hamza on 3 Jul 2018
@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
Ameer Hamza on 3 Jul 2018
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.

Sign in to comment.

Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!