Re: Elevator Motion Profiling / PID Ramping
Quote:
Originally Posted by Aero
(Post 1452347)
Our elevator is way too fast.
We're currently using a standard PID loop, but it accelerates ridiculously quickly and throws totes.
I've looked into motion profiling, but can't see an easy way to (quickly) dynamically generate profiles between two arbitrary points on our elevator.
Is motion profiling the best solution here, or is there a simpler way to stop our elevator from accelerating too fast?
|
I have another stratagy... Our team had the same problem when we used straight PID, that it was way too fast. We solved it with about 30 seconds of coding though. (I'm not the team programmer but do know a good amount about it so this is my best pseudo code impression): If error (in PID) > .35 then set speed to .35 This worked out great and we have used it since. Before trying to go with motion profiling, I would try this. It caps the max speed to .35, when the error finally gets below that, it decelerates like normal.
|