Inverter Firmware v4.57.R
Posted: Tue Oct 01, 2019 7:16 pm
And yet another release. It contains many changes in the FOC code. Also I configured the CAN interface for automatic retransmission which makes it more reliable in large CAN networks. On the downside this made it impossible to view messages on my Analog Discovery as it continuously repeated the very first message.
Download: https://github.com/jsphuebner/stm32-sin ... ag/v4.57.R
Download: https://github.com/jsphuebner/stm32-sin ... ag/v4.57.R
- Detecting rotor direction in encoder module/resolver mode
- Using direction information to trigger regen with correct polarity
- Turned on CAN automatic retransmission (This may cause problems when debugging CAN but solves problems when on a larger CAN network)- Calculating frequency less often but more accurate
- Removed unused parameters in FOC implementation
- Added parameter "dmargin" that configures how much margin there is for q current at full amplitude
- Consolidated parameters for current controllers
- Corrected bug in CAN SDO handling