Arduino-FOC
Arduino-FOC copied to clipboard
Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
**Describe the bug** When trying for example the **Inline current sensing test**, the ESP32-S3 (esp32-s3-devkitc-1 v1.0), the esp32 is not printing anything. After some debugging, we discovered that it is...
Hi, When using simpleFOC with PlatformIO one currently has to set `lib_archive = false` in the platformio.ini file. This is a little bug-prone, as forgetting that line leads to some...
This adds the option to use the StepDirListener velocity, as calculated by measuring the time between pulses, with the velocity feed forward feature. In initial testing this reduced position error...
Hi, A topic has been on my mind last few days, thought I would socialize it to see if it's worth exploring it. A few months back I measured it...
I want to just lay out the foundation for a possible improvement, and also get feedback to verify the idea. ### Issue Lemma 1 Current is proportional to forward torque...
**Issue 1** Unless I'm missing something, the `getRawCount()` method should be made public, otherwise it is not possible, in client code, to measure the `_min` and `_max` values required by...
This is just about moving Ualpha and Ubeta to FOCMotor so it's available to the flux observer sensor.
like this  can someone check my math make sure im not crazy lol Change the sqrt(2) to sqrt(3) and it should be ok. But maybe put the sqrt(3) somewhere...
At the moment in voltage mode, if information like phase_resistance, phase_inductance and KV_rating are provided, q and d currents are used as target and the q and d voltages are...
Using very simple setup. Actually, limited it to just ESP32, trying various drivers and AS5600 sensor. Motor running ok in velocity mode and angle open-loop. Even though in the open...