Skip to main content
Explorer II
March 5, 2025
Solved

Complementary PWS signal

  • March 5, 2025
  • 3 replies
  • 768 views

the same intervalthe same intervalthere is lag between themthere is lag between themHi ,I use stm32f401rct6 board ,I need to generate two pairs of complemdntary pwm signal to drive 4 igbt for dc full bridge converter in soft switching way,

1000031310.jpg

How can achieve two pairs by some leg between them as shown in picture?

 

    This topic has been closed for replies.
    Best answer by AScha.3

    Hi,

    most simple way: just make/set a complementary output with deadtime and adjust the deadtime to get the "gap".

    (on advanced timer  )

     

    Other way would be "combined PWM" - but F4 dont have this. F303 can do this...or other ...F7 , H7 etc.

    3 replies

    AScha.3Answer
    Super User
    March 5, 2025

    Hi,

    most simple way: just make/set a complementary output with deadtime and adjust the deadtime to get the "gap".

    (on advanced timer  )

     

    Other way would be "combined PWM" - but F4 dont have this. F303 can do this...or other ...F7 , H7 etc.

    Explorer II
    March 5, 2025

    When set TIM1 CH1 and CH2 to generate two pair of complementary signal there is no lag between them, but I need to make lag as shown in picure

    Super User
    March 5, 2025

    Use two different advanced timers, set them to start at the same time through a trigger, but set CNT of one of them to 0 and the other to the delay you want between them.

    Can't do it with a single timer.

    Explorer II
    March 5, 2025

    Therefore, my stm32f4 must be changed to another board that has more than one advanced timer

    Super User
    March 6, 2025

    You need/want two complimentary signals with delay between them ,

    so need :

    - two timers with can have deadtime (maybe F303)

    - a very complex "advanced" timer , that can generate "combined mode" with complimentary channels

    - use your actual F401 and its timers to just make two 50:50 pwm signals, that can have phase shift from 0...100% between the output signals, and do the complimentary signal and deadtime with a gate driver, that have built in deadtime. (I used Si82394 for this, or IRS2008 ; or just look at mouser , there are many drivers to choose:

    https://www.mouser.de/c/semiconductors/power-management-ics/gate-drivers/?type=Half-Bridge&instock=y&sort=pricing

     

    AScha3_0-1741249618101.png