Hello,
I have inherited a project that uses a few odrives that was developed about 1.5 years ago on firmware 0.4
I’m trying to transition the code to work with the latest 0.5.4 firmware but am having a lot of problems with that. I’ve gone through the migration guide and updated all the configuration values accordingly. However when I try and run the motor after applying the configuration values it wont even calibrate. It immediately gives me a CONTROLLER_ERROR_OVERSPEED error.
If I use the default values and just change the torque_constant accordingly and change the input mode to trap_traj i can get it to move. however when it gets to decellerating, it stops and gives me a ODRIVE_ERROR_DC_BUS_OVER_REGEN_CURRENT error.
I do not have a break resistor. I understand the point of it, but this setup was up and running fine for about 6 months without one, so am unsure why it wont work anymore now.
If i change the odrv0.config.dc_max_negative_current from -0.0099 to -0.099 it seems to work, but i dont want to test too much in case it harms my power supply.
How can i find out how much (if any) regen current my power supply can handle? (MeanWell HEP-320-36A)
and if i need a brake resistor, how do i know what resistance to use?
thanks for anyone who can help.
Dom