I'm using IRM-30-12 for power supply for my PCB. This SMPS doesn't have an earthing connection pin as it has Class 2 isolation protection.There is an AC potential is generated at the circuit GND which is initially found out by using a tester. When I'm connecting the earthing pin(The earthing of the supply is left open as I'm using a plastic enclosure)directly to the circuit GND the AC potential is no longer exists. Is it the correct approach?
My question is
1. What might be the cause of the generated AC potential?
2. As I have gone through some possible solutions I have found the following LINK;
I have connected the circuit ground to a metal and again connected the earthing wire to the metal. What impact will it have on my PCB?