Nigel Goodwin said:
Your entire premise is wrong - the whole point of 'isolation' is to break the earth connection from the mains (nothing to do with lower voltages).
The incoming neutral is earthed at the sub-station, thus you can get a shock from touching just the live wire, through your body, down to ground, through the ground, and back to neutral at the substation.
Fitting a mains isolation transformer on the incoming supply breaks this earth connection, you don't have live and neutral any more, just two wires with mains between them. Obviously you can stil get a full mains shock by touching both mains wires, but you can on your opto-isolated design just the same.
...
This is really basic electrics 101 - and it worries me somewhat that you're playing with mains without knowing the absolute basics.
I admit that my knowledge of and experience with electronics to date, has been concerned with RF, SMPS, digital & analogue circuits all of which are powered by lower voltages than the mains.
This is my first mains project. But it has to be done. There has to be a beginning. If not now, then when?
I have designed & built Tesla coils & voltage multipliers which produce upto 15 kV, all of which incorporate the required safeguards, BUT these too are powered with 24V sources. So I am not a stranger to EHT and its precautions/dangers. But this project is my first direct mains powered one.
Obviously you can stil get a full mains shock by touching both mains wires...
This is the main danger in this project, which is why I am housing the load resistance in an stainless steel mesh enclosure whose door has a failsafe interlock switch. The electrodes connected to the resistance being the main point of high voltage electrical contact with the operator.
The control circuitry is housed in an earthed metal enclosure located outside the load resistor housing.
I had forgotten about the neutral being earthed at the substation - as knowledge not used is knowledge lost. Thank you for reminding me.