I hope someone can help me. I can’t get the torque it should have.
I’m doing some tests trying to have a god torque control from odrive. In my tests I’m using a Odrive 3.6 56V and a incremental encoder. I did the process described at hoverboard guide, change the encoder parameter to incremental and the cpr of course. You can find the process below.
The problem is that even if the drive delivers a lot of current, the final torque doesn’t pass 1.5 Nm when it should reach 10 Nm. If I switch to speed control mode, the control works well too, but still with very low torque.
Could this be a problem of the encoder type?
Are you certain that the encoder is exactly 2400cpr?
Why did you need to reduce the encoder and current controller bandwidth? I’d leave those at default unless you have a special reason to change them.
Requested current range is only applied on boot. If you want to change it, you should save config and reboot immediately. I don’t think it’s a good idea to use the 25A range if you need 20A, you would be nearing saturation of the current sensor.
If you’re using an incremental encoder, your encoder bandwidth should be ~ 1000 not 100. Current control bandwidth can stay 100, but you can experiment with changing that also.
“Are you certain that the encoder is exactly 2400cpr?”:
R:
R: I did some tests here, the encoder and reduction ratio seems to ok. No problems about this.
I changed the parameters, as you suggested.
odrv0.axis0.motor.config.current_lim = 12 # I’m not very confident about this value, but as the motor is 350W and receives a voltage of 36V, so I suppose we shouldn’t go much beyond 10A. The strange thing is that te current I measure on the input of odrive is much lower than the Iq_measured. Can someone explain to me the diference of this parameters? And which value should I use?
current_lim
current_lim_margin
requested_current_range
odrv0.axis0.encoder.config.bandwidth = 1000
Nothing changed until now. If anyone have a suggestion I will be very happy to test.
Another thing I didn’t told is I’m having the same problem when I used Hall sensor. this makes me think that it is not a sleeping problem.
That’s to be expected. The voltage required to push 12A through the winding resistance of a stopped motor is much lower than your supply voltage. e.g. at 0.1 Ohm it would be 1.2V and you would draw 14.5W from the power supply. As you raise the power supply voltage, the current required for 14.5W goes down.
Hello Towen. Sorry about this question. I think I’m missing something here. I understudy Ohm Low, but how do I find the 250W the manufacturer presents. what is the math?