Position and velocity integral in Simulink

16 vues (au cours des 30 derniers jours)
Rasmus
Rasmus le 26 Nov 2013
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

Réponse acceptée

Guy Rouleau
Guy Rouleau le 27 Nov 2013
The Second Order Integrator is designed especially for that:

Plus de réponses (1)

Rasmus
Rasmus le 26 Nov 2013
Modifié(e) : Rasmus le 26 Nov 2013
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..

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by