HI,
I am trying to design a V-meter for a comercial product, that can accuratly measure voltages between 180-250V.
Since this is high voltage we are working with, the standards require that it has to be galvanicly isolated from the low-voltage section of the circuit with at least 4kV isolation strenght. The target precision doesnt need to be amazing. Errors of +-2V would still be acceptable
The current design i am using looks something like this:

It works reasonably well and can measure with +-2V precision, but it eventualy likes to drift over a long period and screws up the measurment.
This is the working principle:
the ZMPT101B transformer reduces the +-250V AC signal to +-15V AC and isolates the mains voltage from the circuit
this then goes on to an opamp, that removes the negative voltage values and outputs the difference between 12V dc and +-15V AC signals.
This outputs is 0-3V output voltage, which then goes to an ESP32 for adc conversion and measurment.
0V here represents 200V while 3V represents 250V. This way the sensitivity translates to +1V at mains = +60mV at output
I assume that the issue is with the transformer, because it saturates when its output voltage exceeds 2V already. This causes it to output spikes instead of a smooth sinus signal, which is a lot harder to measure the peaks of.

I have not been able to find a reasonable replacement part that would not saturate at 15V output voltage. If anyone has any recomendations i would highly appreciate.
I would also be open to any other solutions for isolated mains voltage measurment that you might have. I would also like to avoid using any niche IC chips, since they usualy have problem with stock availability, and this is a comercial product.
I am trying to design a V-meter for a comercial product, that can accuratly measure voltages between 180-250V.
Since this is high voltage we are working with, the standards require that it has to be galvanicly isolated from the low-voltage section of the circuit with at least 4kV isolation strenght. The target precision doesnt need to be amazing. Errors of +-2V would still be acceptable
The current design i am using looks something like this:

It works reasonably well and can measure with +-2V precision, but it eventualy likes to drift over a long period and screws up the measurment.
This is the working principle:
the ZMPT101B transformer reduces the +-250V AC signal to +-15V AC and isolates the mains voltage from the circuit
this then goes on to an opamp, that removes the negative voltage values and outputs the difference between 12V dc and +-15V AC signals.
This outputs is 0-3V output voltage, which then goes to an ESP32 for adc conversion and measurment.
0V here represents 200V while 3V represents 250V. This way the sensitivity translates to +1V at mains = +60mV at output
I assume that the issue is with the transformer, because it saturates when its output voltage exceeds 2V already. This causes it to output spikes instead of a smooth sinus signal, which is a lot harder to measure the peaks of.

I have not been able to find a reasonable replacement part that would not saturate at 15V output voltage. If anyone has any recomendations i would highly appreciate.
I would also be open to any other solutions for isolated mains voltage measurment that you might have. I would also like to avoid using any niche IC chips, since they usualy have problem with stock availability, and this is a comercial product.