casainho
10 GW
- Joined
- Feb 14, 2011
- Messages
- 6,045
I think experts in PWM schemes, motor controller algorithms, regen, etc, may understand what is happening.
I am trying to develop OpenSource firmware for Kuteng motor controllers with STM8S105 microcontroller. With 6 steps the motor runs ok. With original firmware that implements sinewave, the motor makes more noise, asks a bit more current and increases power supply voltage. Then I tried to implement 4Q Bipolar PWM and after some days debugging, I am pretty sure the waves are correctly however, the motor asks to much current, (like 4 times more than original firmware), makes a lot of noise and increases a lot the power supply voltage (like from 30V to 36V) -- the current and voltage increases when increasing the PWM duty-cycle.
Can someone help me to understand what may be happen??
Project thread: https://endless-sphere.com/forums/viewtopic.php?f=2&t=87870
Thanks in advance.
I am trying to develop OpenSource firmware for Kuteng motor controllers with STM8S105 microcontroller. With 6 steps the motor runs ok. With original firmware that implements sinewave, the motor makes more noise, asks a bit more current and increases power supply voltage. Then I tried to implement 4Q Bipolar PWM and after some days debugging, I am pretty sure the waves are correctly however, the motor asks to much current, (like 4 times more than original firmware), makes a lot of noise and increases a lot the power supply voltage (like from 30V to 36V) -- the current and voltage increases when increasing the PWM duty-cycle.
Can someone help me to understand what may be happen??
Project thread: https://endless-sphere.com/forums/viewtopic.php?f=2&t=87870
Thanks in advance.