I have a 3.6v board and have successfully calibrated the motor and encoder. I have checked the errors before and after the closed loop state and no errors appear. But when I turn on the closed loop state the motor shakes as if trying to find the correct position and it doesn’t accept any command to rotate to a certain position. Other than that, the motor was humming.What are some possible solutions to this problem?
Neil ,Thanks for your reply, I am really frustrated, I still tried all kinds of ways and still can’t get my motor to work!Now the motor can go into a closed loop state, but it still can’t move.
Neil!thanks for your reply! I refreshed the firmware ODrive control utility v0.4.11 ,and recalibrated it, but I found that the encoder never found the index! I used 24V 3.6 control panel, the motor is D5065 ! Here are my parameter Settings,I sincerely hope you can give me some advice!
This is a little puzzling, not being an expert on the ODrive.
It may be worth trying to simplify it as much as possible to get confidence in each element first.
the motor must be working ok along with the 3 motor phase outputs, otherwise, I guess, it wouldn’t go into Closed Loop Control mode. I think this issue may be with the encoder, encoder cable, fixture or commands being sent.
Are you using “odrivetool” to control initially? If not, it’s worth going back to basics first such as this and then increase your systems complexity one stage at a time until you to get everything working.
have you tried sensorless control just to see if the motor rotates as you want it to?
I’ll take a snapshot of my settings too and put it on here so you have something to compare it to.
Thank you very much Neil ! I used the configuration you gave me, and I found that the motor works well in sensorless mode, but the encoder index is still not found. Next, I plan to replace with a new encoder, I’ll tell you ,if there is good news!
It may be worth connecting the encoder to a microcontroller separately, so you can see if it is the board or encoder. You could also use the ODrive for this and use the following from python command whilst turning the encoder by hand: -
If you swap the encoder physically from M0 to M1, the live plotter should show both inputs working and may aid diagnosis. Make sure you turn power off before swapping, it may affect something, just to be on the safe side.
It may be possible to measure the index pulse pin with a multimeter, although I haven’t looked into this.
Neil,
thanks for your valuable advice, I have solved all the problems successfully, and the motor works extremely well!I wish you good health !
Sincere blessing,
Kang.