Position and velocity integral in Simulink

22 次查看(过去 30 天)
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