6-Channel Phase Shift PWM is published HERE.
A 6-channel, 60-degree Phase Shift PWM project with Strategy, Code and wiring Diagram. The sketch has pre-processor directives allowing selection of Channel frequencies. They are; 50 Hz, 60 Hz, 300 Hz and 500 Hz. Runtime adjustable duty-cycle.
The Project uses delayed Timer enables to assure clean Start-Stop PSPWM operation. Other methods (like adjusting TCNT) likely can't achieve the well-behaved operation of this method. Complete details, code, schematic and performance images reveal how its done.
Created: Sep 14, 2022 Updated: Feb 9, 2024 |