Releases: simplefoc/Arduino-FOC
Releases · simplefoc/Arduino-FOC
v2.1
SimpleFOClibrary v2.1
- Initial current sensing support🎉
- Inline current sensors
- adaptive zero finding and shunt direction
- Implemented real torque control
- using voltage
- using current magnitude (one current)
- using FOC currents ( d-q currents ) - real foc control
- SVPWM full implementation d+q axis
- Simplified sensor implementation📢
- For new sensor implementation only one function necessary
getAngle()
- For new sensor implementation only one function necessary
- Upgrade of the HallSensor implementation by @owennewo
- Support for Arduino DUE - everything except the 6PWM mode
- Support for ATMega328pb
- bugfix for the Teensy boards ( setting 3pwm )
- extended support for 2PWM stepper drivers - by @zjor
- pull request #52
- included F macro for shrinking string memory usage - moved to programming memory
- disable phase support for 3pwm driver
- not yet for 6pwm
- rewritten
initFOC()
- can be skipped and outputs much more info
- align sensor: direction + zero offset + pole pair check
- align current sense
- sensor offset supported (
motor.sensor_offset
) - refactored motor commands interface
- much more flexible and easy to extend
- very easy to add new commands and function callbacks
- implemented motor+pid+lpf commands of-the-shelf
- Added step/dir interface
- integrated as an optional communication channel
- Added support for samd21 boards by @runger1101001
- pull request #56
BEWARE 📢 slight API changes included
ControlType
renamed intoMotionControlType
ControlType::voltage
does not exist any more now -MotionControlType::torque
v2.0.2
SimpleFOClibrary v2.0.2
- Arduino MEGA 2560 support
- OSC example project by @runger1101001
- floating point bug - open loop velocity by @ATILIUS-REGULUS
v2.0.1
v2.0
SimpleFOClibrary v2.0
- 6PWM support
- Arduino UNO (atmega328)
- stm32 boards
- esp32 boards
- BLDC driver code separated See in docs!
- BLDC: 6pwm and 3pwm
- Stepper: 4pwm
- Hardware specific code in separate files
- PWM config
- I2C and SPI sensors multiple busses support by @owennewo See in docs!
- Hall sensor refactoring @owennewo
- A lot of refactoring
Experimental features
- Initial implementation of Block commutation by @owennewo
- FOCModulationType::Trapezoid_120
- FOCModulationType::Trapezoid_150
- Added support for separate setting of Ud and Uq setting.
- Preparations for current control
- Working only for SinePWM modulation at the moment
v1.6.1
v1.6.0
SimpleFOClibrary version 1.6.0
- Stepper motor FOC support 🎨🎉 🎊
- Very easy to use and results are great, I love it!
- backdrivable,
- no losing steps
- short demo youtube video
- Pull requests by @cousinitt
- refactoring and c++11 improvements
- pid + low pass filter refactoring
- Extended configurability of the sensor classes @owennewo
- clock frequency
- pinout configuration
- quick config constructors
- configurable pwm frequency by Jürgen Frisch
- stm32,teensy,eps32 - not for Arduino
- stm32 added 12bit pwm resolution
- Teensy support by Christopher Parrott
- Huge refactoring done in the library 😄
v1.5.0
SimpleFOClibrary version 1.5.0
Features:
- Open-loop motor control
- Support Hall sensors
- Support for Analog interface Magnetic sensor
- New alignment procedure
- automatic sensor direction detection
- possibility to avoid alignment completely
- PI controller updated to PID controller
- Alignment and cogging test
- Refactored voltage and velocity limits
- Introduced absolute voltage limit
BUGFIXES:
- Space vector calculation
- time measurement - two times
_micros()
call
Big thanks to @owennewo for awesome suggestions and pull-requests!
v1.4.1
v1.4.0
v1.3.1
SimpleFOC library version 1.3.1
- Added support for DRV8302 baord Aliexpress link YouTube link
- Added an example of the configuration and usage