I would like to know how to translate a voltage difference between two independent reference potentials, as accurately as possible.
backstory: We are building a active power measurement station for the European grid (240 VAC) for a school project, basically that thing you plug in between your outlet and your load.
We are using the MCP3911, a delta-sigma dual ADC, featuring a resolution of 24 bits, for measuring the current on the line and the voltage between line and neutral. That ADC has a maximum CHx to ground voltage of +/-2 V, so we need to scale the grid voltage down and for the current measurement we use a 10 mΩ shunt and measure the voltage between its two pins.
But there is a problem. Since we use a power supply containing a transformer with a primary and secondary side to power our electronics, it is inevitable that we will have to deal with two possibly totally different ground potentials. Assuming we know which of the wires is neutral and which is phase, which we can't know.
Now we have our ADC sitting on the secondary side of the power supply, tied to a ground level, that could greatly differ from the level of the neutral line on the primary side.
Is there a way of translating a voltage difference between those two sides, something like an opto-isolator, but highly accurate, and for high voltage levels?
Can we just use two opto-isolators for the positive and negative waves, or is there a better way?
edit: Would a coil on the primary side, inducing a voltage into a wire that sits on the secondary side be a viable solution? We could use the MCP3911s internal PGA to amplify the induced voltage, but we would have to account for the phase shift, when calculating active-power.
Doesn't the [PS] transformer already do that
Sort of, but it's a non-ideal transformer with a non-linear load. \$\endgroup\$