I'm trying to design the isolated SMPS circuit. I'm a newbie on power electronics and I'm using a circuit design tool to design SMPS. I have confusion about grounding and earthing. My system will have a PE(Protective Earth) connection but I'm not clear to where I must connect it?
The auto-created circuit designed by the tool is below. As schema shows that Y1/Y2 safety capacitor is connected through the rectifier ground (I called it Primary Ground)
I got and SMPS and investigated the circuit. They connected safety capacitors to PE not to Primary Ground. And they made connection between all grounds and PE by other safety capacitors.
Which way to I use? As I guess the auto-created circuit for Class 2 applications. My design will be Class 1 (PE connected) so I must design something like the second one. I need expert advice about this grounding issue.