Arduino FOC Versions Save

Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library

v2.0.2

3 years ago

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

3 years ago

SimpleFOClibrary v2.0.1

  • ESP32 bugfix
    • frequency setting
    • pwm resolution
  • 2PWM stepper class added StepperMotor2PWM
  • some refactoring of examples

v2.0

3 years ago

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

3 years ago

SimpleFOClibrary v1.6.1

  • Bugfix Teensy hardware config
  • Bugfix ESP32/STM32 pwm frequency
  • Bugfix SPI bitmask by @owennewo
  • Fix - wrong library version in library.properties

v1.6.0

3 years ago

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 ๐Ÿ˜„

v.1.5.0

3 years ago

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

3 years ago

SimpleFOClibrary version v1.4.1

  • implemented ESP32 support
    • possible to run 4 motors
    • documentation provided
    • examples added
  • moved hardware writing of PWM to FOCutils such as analogWrite()
  • shrunk monitoring and motor commands prints due to the memory issues

v1.4.0

3 years ago

SimpleFOClibrary version 1.4.0

  • Implemented I2C communication for Magnetic sensors
  • Renamed MagneticSensor class and divided to MagneticSensorSPI and MagneticSensorI2C
  • Fully documentation provided

v1.3.1

3 years ago

SimpleFOC library version 1.3.1

v1.3.0

3 years ago

SimpleFOC library v1.3.0

  • Support for STM32 devices
    • tested Nucleo-64 and Bluepill
  • Full documentation updated
  • refactoring debugging to monitoring
  • added motor commands
  • added align voltage
  • removed index search PI parameters
  • added defauts.h
  • refactored examples