2021-04-15 05:00 AM
Hello all,
Currently I'm working with BLDC motor 6 step drive. I'm using complementary PWM channels.
Logic works good and working with well with the hardware.
But when ever i insert dead time its reducing on time of the Low side pulse (CHxN) but for my gate drive hardware hardware I want dead time should work on high side channel (CHx)
Please suggest how to debug this issue
thanks
Regards
Karthik DM
2021-05-27 10:36 PM
The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 SDK).
Best regards
Laurent Ca...
2021-05-28 01:28 AM
Which STM32?
As described in Complementary outputs and dead-time insertion subchapter of TIM chapter, and illustrated in Complementary output with dead-time insertion figure, dead-time reduces duration of *both* CHx and CHxN output. If you want to maintain one of them constant, you have to compensate for the deadtime by changing the pulse length (i.e. TIMx_CCRx content). Whether to increase or decrease TIMx_CCRx depends on the particular PWM mode you are using.
JW