I'm building a device to, among other things, measure a few voltages from different power supplies that are expected to be floating. Because the user might do silly things like connecting them in series to get a negative voltage, the measurement circuit should not connect any of them to its own supply ground.
The measurement logic itself uses a voltage-to-PWM converter, which measures the voltage above its own supply ground, so I need a low-current supply for this IC and an optocoupler that can float together with the measured value.
Do I have to build a chopper+transformer+rectifier+comparator+optocoupler circuit for this, or is there a simpler/cheaper topology that allows me to supply 5V/20mA (my pessimistic estimate) without connecting the ground reference?