ac to dc pwm voltage control


Joined Jul 17, 2007
You MUST NOT try to operate your projects directly from mains power.

You MUST use a transformer to provide isolation from the mains.

Otherwise, you have a very high probability of being injured or killed by the mains power.

Please do not try to connect this project to the mains power again.

Thread Starter


Joined Nov 15, 2009
yes, you are absolutely correct, but please explain.

when i apply a capacitor on a tranformer regulated 24 volts, supply it works fine.

then when i appled the same capacitor on mosfet regulated suppy, why this bang happened ?
Last edited:


Joined Jul 17, 2007
OK, you didn't mention that you were using a transformer.

Please post a complete schematic of your circuit. I can't figure out how it's wired the way you are trying to explain it.