Ideal position (translation/rotation) source in Matlab/SimScape?
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I'm would like to apply a defined displacement over time onto a Simscape Model.
It seems there's only a "velocity" and "force" source element. Is there a best practice for modelling a position source?
I've tried to simply use my time-position and connect it to a derrivation block to get a velocity-demand to use in a velocity-source. With a high amount of single position-exitations this leads to a drift in position due to small inaccuracies.
Best regards,
Daniel
0 comentarios
Respuestas (1)
Vidip
el 17 de En. de 2024
I understand that you are trying to differentiate your position signal to get a velocity signal and then feed that into a velocity source, but you are getting drifted position due to small inaccuracies.
While using the derivative block, the model needs to follow a specific set of guidelines which are mentioned in the below link and if not possible there are certain alternatives mentioned to reduce the number of inaccuracies which are observed in the results –
Also, try implementing a feedback control system that uses a PID controller to ensure the position tracks the desired trajectory by comparing the actual position with the desired position and adjusting the velocity input accordingly.
For further information, refer to the documentation links below:
0 comentarios
Ver también
Categorías
Más información sobre Simscape Multibody en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!