Speed feedback fault when rev-up (B-G431B-ESC1 board and BR2804-1700 kV motor)
- December 13, 2020
- 5 replies
- 2823 views
Hello,
I am trying to get a BR2804-1700 kV motor running utilizing a B-G431B-ESC1 board. Till now I managed to get the motor starting to rev-up, but in the middle/at the end of the rev-up process I receive a "speed feedback"-error in the Motor Control Dashboard. Running the motor from Motor Profiler works without any problem.
I have already applied two fixes from the forum:
To fix ADC2 warning when generating Code, which did work https://community.st.com/s/question/0D53W00000JM31XSAT/adc2-warning-when-generating-project-for-bg431besc1
And I tried following fix, which had no effect eighter positive nor negative: https://community.st.com/s/question/0D53W00000HwV8RSAV/bg431besc1-motor-profiler-not-working-moderator-note-this-post-contains-now-a-bugfix-patch-on-provided-example
I have also tried to adapt the parameters as suggested in the STM32 PMSM FOC SDK
Frequently-asked questions (FAQ) document, e.g. decreasing the C2 gain, but it still does not work.
Is there any fix I missed?
If not, is there any way I can find the right parameter configuration without tens of hours of trial and error, which I have already tried (current parameters attached)?
When I run the motor using the Motor Profiler I get a PWM frequency of 30kHz(measured with oscilloscope), but when I try to use that frequency in my generated code I receive a "FOC-duration"-error and I have to change it to 16kHz. Why is there a difference?
I am currently using the STMCubeMX version 5.4.0 and MCSDK 5.4.4.
Many Thanks!
BR,
Alexander
