Skip to content

The ultimate field weakening release

Compare
Choose a tag to compare
@jsphuebner jsphuebner released this 10 Sep 17:07
· 74 commits to master since this release

Long time, no release!
This release adds some bells and whistles but most of all it seems to fix all unwanted regen, unwanted acceleration and trip outs when operating at high motor speeds. Highly recommended for all sync motor/FOC users.
Many things have been added:

  • Hill hold functionality
  • Bidirectional throttle support, throttle sets torque and direction (e.g. for boats)
  • Throttle speed mode, throttle sets speed rather than torque (also for boats)
  • Regen parameters received hopefully more intuitive names
  • Pull down PWM pins already in bootloader when active high PWM selected
  • Never run idle speed controller in off mode, caused some issue, don't remember which one
  • Less ADC averaging in FOC mode for better transient response
  • MTPA motor variables are now parameters
  • Field weakening is now based on around limiting PWM amplitude
  • Torque command is limited in field weakening mode
  • Improved PI controller anti-windup