srjth.m1
Full Member level 3
i have a circuit whenever a.c fails dc should get activated (like a ups)am using IRF9540N,how this possible with the pwm signals of mcu?how can i set pwm duty cycles
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Then why do you need PWM? You can just use a relay to switch on your battery of 20v when ac fails. step down your ac to 5v ac and convert it to dc and give it to mcu. if that pin is high then it means ac is present, if ac fails that pin goes low, so mcu will operate the relay and swirch on the battery.
I think he want to avoid general usage of relay. PIC sense is there AC power, if there is AC then PIC drive MosFETs for inverter, in case of AC power outage PIC start to drive MosFETs of inverter. I'm I right?