I have two N-channel MOSFETs. I want to make a simple bidirectional solid state relay by using them. I want to place them back to back as seen in the schematic below, and drive them with a controlled gate signal. I will have two isolated voltage sources: \$V_g\$ and \$V_s\$.
I have no doubt that the simpler circuit in the below would work. But, in my circuit, the supply grounds are not shorted, and it is making me unsure. Consider swapping places of \$V_s\$ and the load in this second circuit, then a similar question arises.