Electronic – Very wide range high voltage measurement with optical isolation

measurementmicrocontrolleropto-isolatorvoltage

I have a voltage source I'd like to measure, it is from 0V to 1kV, any value in that range. The accuracy isn't that important, but measuring with an accuracy with 1-5% would be perfect. This has to be then optically isolated, so I could read the voltage on a microcontroller. The second part is not hard at all, when using regular optoisolators. The problem is scaling the voltage down so that I can light up the diode of the optoisolator, and keeping the results semi-linear or semi-logarithmic so I could calculate the output voltage. Is using voltage dividers with a diode the only available option? With such a wide input voltage range getting good results with that method is not possible, because the voltage defines what resistor types and values to use. Any advice?

Best Answer

If you're REALLY careful with your choice of parts, you can resistively divide the 1kV input into something you can read directly. It won't be isolated that way, so you'd need to figure out some kind of protection in case a resistor comes loose or you drop a wire across it or something like that. Maybe a sacrificial buffer amp?

If you use an active buffer between the source and the ADC, you can also apply some gain and offset so that the expected range to measure fills up the entire range of the ADC (with some headroom for out-of-range detection). That might be a good idea by itself.