Position and velocity integral in Simulink

조회 수: 21 (최근 30일)
Rasmus
Rasmus 2013년 11월 26일
답변: Guy Rouleau 2013년 11월 27일
Hello, my problem is as follows:
When I use two integrals to compute velocity and position from an acceleration, and I have limits on the position integral, I need the velocity integral to not 'windup' when the position is limited. That is, the velocity should be reset to 0 as long as the position is limited. However, if I do this using the saturation port of the position integral and a hold level reset on the vel. integral, the position will stick to the limit as the velocity is unable to change from 0 again.
How do I accomplish this?
Thank you
Rasmus Larsen

채택된 답변

Guy Rouleau
Guy Rouleau 2013년 11월 27일
The Second Order Integrator is designed especially for that:

추가 답변 (1개)

Rasmus
Rasmus 2013년 11월 26일
편집: Rasmus 2013년 11월 26일
I seem to have been able to do it using the saturation port and an 'either' reset port. However the simulation grinds to an absolute halt with this setup. Any advice?
Edit: No, it still does not work. It's really not possible to use the saturation port in any simple way to fix this..

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by