PIV autotune doesn't respect position limits

Questions about using encoders with the Roboclaw product line
Post Reply
MikeRover
Posts: 2
Joined: Tue Mar 15, 2022 3:17 am
PIV autotune doesn't respect position limits

Post by MikeRover »

I have a Roboclaw 2x30 with a potentiometer position encoder.

The limits were set to 600 / 1700.

When I did a PIV tune, it drove the motors to 42 which locked it up. I would have thought that a position tune should stop short of the limits set - given that they would be set for a reason.

Is this the intended behaviour?
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: PIV autotune doesn't respect position limits

Post by Basicmicro Support »

Position Limits are only respected by the position commands. The Autotuner is not controlling position. It is using the minimum space and time it can to measure the motors capabilities so it can calculate proper PID values. Some setups will not have enough room for that. In that case you will have no choice but to manually tune the PID.

Post Reply