필터 지우기
필터 지우기

Ideal position (translation/rotation) source in Matlab/SimScape?

조회 수: 10 (최근 30일)
Daniel Jung
Daniel Jung 2022년 2월 17일
답변: Vidip 2024년 1월 17일
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

답변 (1개)

Vidip
Vidip 2024년 1월 17일
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:

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by