And for 3 phase Power Control PWM, using a bit of Bruce's 18F2431 example :
PTPERL = 206 'for 21.6khz
PTPERH = 1
Let me just how to calculate
And timerone = 60950 ;gives about 60 htz sine
Let me just how to calculate 60950
And if I declare : PTCON0 = 0x00 ’Postscale 1:1, Prescale 1:1, Free Running
PTCON1 = 0x80 ’PWM time base is on, count up!
PWMCON0 = 0x20 ’Enable PWM0-1, Complementary
PWMCON1 = 0x40
I give 6 pwm (pwm(0-5)) connected to 6 IRG4PH50UD (3 phase inverter bridge)is ok ? Thank a lot!
![Quote](images/misc/quote_icon.png)
Originally Posted by
ScaleRobotics
Bookmarks