Hi all,
I am using an atmega328p ic and some 3 phase motor drivers. In the simpleFOC library, I am using this code snippet -
driver.voltage_power_supply = 8.4;
// limit the maximal dc voltage the driver can set
driver.voltage_limit = 4.2;
I am using a power supply to provide 8.4 V and current is limited to 1A.
When I use driver.voltage_limit = 8V, then the voltage on my power supply drops and maximum current is pulled from it. But when I use When I use driver.voltage_limit = 6V, then everything works fine. Why is this happening?
What is the exact use of driver.voltage_limit and how to choose its value?