Page 1 of 1

Inverter Firmware v4.57.R

Posted: Tue Oct 01, 2019 7:16 pm
by johu
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
  • 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

Re: Inverter Firmware v4.57.R

Posted: Tue Oct 01, 2019 8:02 pm
by doobedoobedo
I've not looked at it yet, but can you turn off the CAN auto re-transmission via configuration?

Re: Inverter Firmware v4.57.R

Posted: Wed Oct 02, 2019 4:42 am
by johu
Yes I'm considering it if people out there are having issues