waqar86
Junior Member level 2
Hi,
I am working on a High Frequency (3-4MHZ range) Half-Bridge SMPS where i have to drive high side and low side gates with PWM from dspic33f. Currently i am trying to minimize the power consumption by dspic33fj16gs502 controller by changing the PWM resolution as is stated by Microchip in TB062 document (page 5). But i am running into a problem that the output pwm is not stable, it deviates from its mean value which is highly undesirable in my case. Below is a snapshot attached of one of the PWM line output.
I tried to alter pwm resolution by two methods and both gave me the same result. following are the moethods used one at a time
1) by setting ACLKCONbits.APSTSCLR = 6 to divide auxiliary clock output by 2 while initializing auxiliary clock for PWM.
2) by using PTCON2bits.PCLKDIV = 1; to change pwm resolution to 2.08ns
Any help in this regard will be highly appreciated thanks,
I am working on a High Frequency (3-4MHZ range) Half-Bridge SMPS where i have to drive high side and low side gates with PWM from dspic33f. Currently i am trying to minimize the power consumption by dspic33fj16gs502 controller by changing the PWM resolution as is stated by Microchip in TB062 document (page 5). But i am running into a problem that the output pwm is not stable, it deviates from its mean value which is highly undesirable in my case. Below is a snapshot attached of one of the PWM line output.
I tried to alter pwm resolution by two methods and both gave me the same result. following are the moethods used one at a time
1) by setting ACLKCONbits.APSTSCLR = 6 to divide auxiliary clock output by 2 while initializing auxiliary clock for PWM.
2) by using PTCON2bits.PCLKDIV = 1; to change pwm resolution to 2.08ns
Any help in this regard will be highly appreciated thanks,