Inverter Firmware v4.55.R

Post Reply
User avatar
johu
Site Admin
Posts: 5769
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1011 times
Contact:

Inverter Firmware v4.55.R

Post by johu »

Finally I drafted a new release whose biggest fix is the quadrature encoder. If you're using one you should definitely upgrade.

https://github.com/jsphuebner/stm32-sine/tree/v4.55.R

Full change log:
  • Do not rely on ETR pin for single channel encoder (except rev1 hardware)
  • Fixed TMPHSMAX message
  • fmax derating now implemented as a smooth derater
  • Allow regen at rotor frequencies > fmax
  • Removed unused UVLO pin (fixes blue pill throttle issue)
  • Corrected error in quadrature encoder module that would lead to unwanted regen at higher speeds
  • Enable internal pull-up of timer break on Blue Pill board (spurious trips otherwise)
  • Timer break on blue pill always yields "Overcurrent" error (Blue Pill can distinguish)
  • brkpedalramp renamed to regenramp because it ramps all regen activity now
I've changed ramping a bit:
1. Throttle positive going is ALWAYS ramped with "throtramp"
2. Throttle negative going is NEVER ramped as long as above 0
3. Negative going, including brake pedal, below 0 is ramped with "regenramp"
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply