Published June 26, 2022
| Version 2.2.2
Software
Open
SimpleFOC: A Field Oriented Control (FOC) Library for Controlling Brushless Direct Current (BLDC) and Stepper Motors
Authors/Creators
Description
SimpleFOClibrary v2.2.3
- stm32 low-side current sensing
- bugfixing
- leonardo
- mega2560 #190
- inline current sense without driver #188
- bg431b support current sense fix #210
StepperDriver4PWMwrong init #182- open loop back-emf voltage issue #219
- SAMD51 compile issue #217
- ESP32-S3 compile issue #198
- ESP32 compile issue #208, #207
- magnetic sensor direction finding more robust #173, #164
StepDirListenerimproved timing #169, #209HallSensorvelocity calculation fix #192
- API changes
setPhaseVoltageis now public functiongetVelocitycan now be called as many times as necessary - see in docs- it recalculates the velocity if the time between calls is longer then
min_elapsed_time- default 0.1ms
- it recalculates the velocity if the time between calls is longer then
HallSensorvelocity calculation outlier removal using max expected velocityvelocity_max- see in docs- BG431 board can be used only with
LowsideCurrentSenseclass! - see in docs initFOCfails if current sense not initialised - see in docs- driver and current sense have to be well initialised for
initFOCto start - see in docs cs.init()anddriver.init()return1if well initialised and0if failed
- driver and current sense have to be well initialised for
Notes
Files
simplefoc/Arduino-FOC-v2.2.3.zip
Files
(587.0 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:e71c699a59f9e1ec171773b2aca73447
|
587.0 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/simplefoc/Arduino-FOC/tree/v2.2.3 (URL)