Inverter Firmware v4.55.R
Posted: Thu Sep 26, 2019 2:35 pm
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:
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"
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
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"