Skip to main content
Karthik DM
Associate III
April 15, 2021
Question

STM32 complimentary PWM dead-time insertion

  • April 15, 2021
  • 2 replies
  • 2219 views

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

This topic has been closed for replies.

2 replies

Laurent Ca...
Senior III
May 28, 2021

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

waclawek.jan
Super User
May 28, 2021

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