Having trouble getting absolute or quadrature position working
Posted: Thu Aug 26, 2021 10:52 am
I know this question may have asked several times before, but it is hard to use the search feature to narrow search for a specific topic. My issue is trying to do position control with either an absolute encoder (5K pot) or via using a servocity yellow jacket motor with built-in quadrature encoder.
Following the instructions if surmised the QPPS value from the PWM Settings from motion studio enter that value in position setting screen, select PIV from the dropdown and click tune. The motor oscillates for a few seconds but never stop running. I have tried 4 different yellow jacket motors and two amazon bought motors first using quadrature encoders but all behave the same. So I thought made the encoders are bad based on what I have read in some postings here, so I resolved to trying using absolute encoders using 5K pots with a 7.5K resistor hooked to the 5V line, still the same issue and now I have some pots that are useless as the motor(s) drove beyond their stop limits.
What could I be doing wrong, it is hard to believe that all these motors have faulty encoders?
The motor controllers in question are RoboClaw 2x7A and the RoboClaw 2x60A hooked to a 12v power supply.
Following the instructions if surmised the QPPS value from the PWM Settings from motion studio enter that value in position setting screen, select PIV from the dropdown and click tune. The motor oscillates for a few seconds but never stop running. I have tried 4 different yellow jacket motors and two amazon bought motors first using quadrature encoders but all behave the same. So I thought made the encoders are bad based on what I have read in some postings here, so I resolved to trying using absolute encoders using 5K pots with a 7.5K resistor hooked to the 5V line, still the same issue and now I have some pots that are useless as the motor(s) drove beyond their stop limits.
What could I be doing wrong, it is hard to believe that all these motors have faulty encoders?
The motor controllers in question are RoboClaw 2x7A and the RoboClaw 2x60A hooked to a 12v power supply.