Just as a side though I had whilst reading this, when it comes to isolating the voltage measurement, has anyone tried putting a micro with adc on the primary side and isolating a digital comms signal coming from that? Its not something I've tried, I just always find isolating digital signals a lot more preferable to analogue ones