I think we may have another issue to work through. If the motor was spinning, but the list of RPMs after run-rotor-test was all zero, then I think the motor was running sensorlessly. It will still turn without an encoder, but not very fast. It turns slowly, like you describe. So.... I'm starting to think that the controller isn't receiving the encoder ticks. The values that were output from run-rotor-test was a bunch of RPMs, for different rotor time constant values. Then, the idea is to take the rotor time constant that corresponds to the fastest rpm, since it works the best. But all your RPMs were zero, which means there was no ticks coming from the encoder.
|