cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 complimentary PWM dead-time insertion

Karthik DM
Associate III

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

2 REPLIES 2
Laurent Ca...
Lead II

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...

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