Please tell me, how to use 6-channel PWM wave to control the switch of MOS tube?

sunny2020
Offline
Зарегистрирован: 29.09.2021

Normal output of 6 channels of PWM is possible, but the 6 channels of signals are all synchronized. If the three-phase full-bridge inverter circuit is controlled, the difference between the three phases must be 120 degrees. How should this be reflected in the program? 3 Stagger the output of pwm for a period of time, and output alternately according to the difference of 1/3 of the cycle?

b707
Offline
Зарегистрирован: 26.05.2017

sunny2020 пишет:

Normal output of 6 channels of PWM is possible, but the 6 channels of signals are all synchronized.

no, 6 PWMs are managed by 3 Timers, two channels for each. Channels of same timer are synchronized, but channels from distinct timers are not

sadman41
Offline
Зарегистрирован: 19.10.2016

Однако есть возможность запустить их на ATMEGA328 синхронно, но большинство просто берут STM32, как я понимаю, где данный функционал работает "из коробки".