When looking at the firmware code in order to develop a custom firmware version, I have found most of the code to be self expanatory.
But there are a few defines that are bugging me.
So firstly what is MCCONF_L_IN_CURRENT_MAX in mcconf? I am not sure if its for the max current from regen braking back to the battery or if its max current from the battery into the controller.
Its the max input current from the battery
#ifndef MCCONF_L_IN_CURRENT_MAX
#define MCCONF_L_IN_CURRENT_MAX 60.0 // Input current limit in Amperes (Upper)
#endif
#ifndef MCCONF_L_IN_CURRENT_MIN
#define MCCONF_L_IN_CURRENT_MIN -60.0 // Input current limit in Amperes (Lower)
#endif
Ahh, so the MCCONF_L_IN_CURRENT_MAX is the current from the battery and MCCONF_L_CURRENT_MAX is the current from vesc to motor?
So what are the MIN values for then?
thanks
JamieJackHerer
MCCONF_L_CURRENT_MAX its for the current going into the the motor
and MIN is for the minimal current input but if the value below 0 it will be for the max current for the regenerative braking