Associate III
February 11, 2018
Question
Poly-phase PWM
- February 11, 2018
- 3 replies
- 781 views
Posted on February 11, 2018 at 12:36
I'm need to generate N channel (N>1) PWM output in a such a way that one channel is main 'governor' lets say ch0. Every other channel repeats the same duty, but with time shift (or or phase shift).
Ch1 need to set pulse ch0_duty after ch0 set the pulse. Ch2 need to set pulse ch0_duty after ch1 set the pulse (or 2*ch0_duty after ch0 set pulse). Special case would be to generate symmetrical three-phase signal if duty=50% and N=3. Constraints are: duty <= 50%*2/N; N*Ton=T.Iv'e attached drawing to be more clarifying.Is there any STM32 microcontroller which can generate such kind of signals using only PWM/timer/counter module, without ISR? Or maybe some kind of other integrated circuit which can generate such PWM signals?
Please advice.#phase-shift #pwm