1206.sachin
Newbie level 5
50hz pushpull
I am making Push Pull type 50Hz inverter using PIC16F883
I configured uC in half bridge mode for 20 mSec. period
1) Signals I am getting on P1A & P1b is just complement of each other.
Suppose for 30 % duty cycle without any deadtime what I am getting
is some thing like this
I CHECKED THIS ON MPLAB Logic Analyser.
I am sending my test code for PWM.
For 6 mSec. P1A is on & P1B is off
For 14 mSec. P1A is off & P1B is on
Whereas What I need is for 20 Msec. periode 30 % duty cycle is like this
3 mSec. P1A ON & P1B OFF - 7 mSec BOTH OFF - 3 mSec. P1A OFF & P1B
ON - 7 mSec BOTH OFF
2) I want to shudown in systematic way means to complete current cycle for
both chanels P1A & P1B. & then stop.
Can I set / Clr ECCPASS bit through software, I am using ADC for
measuring load current I don't want to use comparator.
I am making Push Pull type 50Hz inverter using PIC16F883
I configured uC in half bridge mode for 20 mSec. period
1) Signals I am getting on P1A & P1b is just complement of each other.
Suppose for 30 % duty cycle without any deadtime what I am getting
is some thing like this
I CHECKED THIS ON MPLAB Logic Analyser.
I am sending my test code for PWM.
For 6 mSec. P1A is on & P1B is off
For 14 mSec. P1A is off & P1B is on
Whereas What I need is for 20 Msec. periode 30 % duty cycle is like this
3 mSec. P1A ON & P1B OFF - 7 mSec BOTH OFF - 3 mSec. P1A OFF & P1B
ON - 7 mSec BOTH OFF
2) I want to shudown in systematic way means to complete current cycle for
both chanels P1A & P1B. & then stop.
Can I set / Clr ECCPASS bit through software, I am using ADC for
measuring load current I don't want to use comparator.