New motor in place!
125W Nema 23 mount BLDC motor with my own milled encoder wheel (200PPR)
All seems to work just fine.
Some significant changes in the firmware since last version:
1. PWM frequency got a bigger prescaler. Seems that with high loads the final mosfet and drivers are too slow to switch.
2. A power limiter has been added as a configuration parameter. PMax = 0 .. 100 %. I only have for now a 19VDC 3A power source that enters protection mode when in full power. I managed to obtain good results at max 70% power as you can see in the movie.
3. The PID process now works on int16 instead of int32 giving this way a better performance. (Theoretically all math calculation is done twice as fast).
I will keep you informed.
Mihai
https://www.youtube.com/watch?v=wSWapA9UW-k