Hi,
I am trying to control the power delivered to a 100W lamp by pwm. First I rectify the AC signal by a full wave rectifier, then I use a power mosfet for pwm'ing the power, as in figure.
I am using a switching mode power supply that has its own GND, which is GND2 in the figure. The problem is when I connect the ground of the rectifier(GND1 in figure) with the ground of the power supply(GND2) I get 220V everywhere. I got electrocuted from the metal casing of the power supply. I just can't see what is the problem here, what do you think?
Thank you.
I am trying to control the power delivered to a 100W lamp by pwm. First I rectify the AC signal by a full wave rectifier, then I use a power mosfet for pwm'ing the power, as in figure.
I am using a switching mode power supply that has its own GND, which is GND2 in the figure. The problem is when I connect the ground of the rectifier(GND1 in figure) with the ground of the power supply(GND2) I get 220V everywhere. I got electrocuted from the metal casing of the power supply. I just can't see what is the problem here, what do you think?
Thank you.
Last edited: