# Differential Frontend Design for Mains Voltage Measurement

I am building a digital wattmeter intended for measurements on AC power lines. I have went through a lot of application notes and example designs, and stumbled upon a slightly confusing motif recurring in a number of designs from Texas Instruments' TI Designs.

They employ a similar frontend for voltage measurement, where the mains voltage is first scaled down using a voltage divider. The scaled-down voltage signal is then taken as differential and passed through some low pass filter before being fed to a differential-input amplifier or directly to a high-resolution differential-input ADC.

## Question 1

What is the purpose of the connection from Neutral to the reference ground, if it results in an impaired differential signal?

(simplified diagram of the input section from SimpleLink™ Wi-Fi® CC3200 Smart Plug Design Guide)

After running a simulation of this input circuit, I have found that the ground connection on the Neutral line renders V_SENSE- signal thousands of times smaller than the V_SENSE+ signal, and causes a non-180° phase difference between them, resulting in a suboptimal differential signal. On the contrary, if the connection is removed, V_SENSE+ and V_SENSE- signals are of the same magnitude and 180° relative to each other, creating a perfect differential signal.

What is the purpose of this connection from Neutral to the reference ground?

## Question 2

What is the purpose of using a smaller value for R5? Why is it that the previous configuration use the same value for both R5 and R6? How do I know when to use which?

(simplified diagram of the input circuit from Smart Plug with Remote Disconnect and Wi-Fi Connectivity)

This is largely the same as the previous configuration. Apart from the differences in component values, the most intriguing difference is in R5, which is 100Ω as opposed to 1kΩ for R6. According to the document, the justification for the smaller value is to make up for the much larger impedance at V_SENSE+. However, simulation results show that the outputs are almost identical to those of the previous configuration. Moreover, the magnitude mismatch and phase angle problems still exist.

What is the purpose of using a smaller value for R5? Why is it that the previous configuration use the same value for both R5 and R6? How do I know when to use which?

• Have you tried contacting TI? Aug 16 '16 at 17:50
• Yes. In fact, I've posted the same question on TI's forum 3 days ago. Aug 16 '16 at 18:04
• Here is the link to the question: link But it has rarely been read. This one of the many TI forums is so rarely visited that I fear I might not have the question answered any time soon. Also I notice that the TI technicians are more likely to answer questions directly related to their ICs and products. Aug 16 '16 at 18:10
• What chip to the V_Sence wires connect to? Aug 16 '16 at 18:22
• It could be connected to a differential-input ADC (VSENSE+ to Positve input and VSENSE- to Negative input) to directly measure the voltage. Example: ti.com/lit/df/tidrb17/tidrb17.pdf Or it could be fed to an instrumentation amplifier to produce an amplified single-ended output, which similarly will be read by an ADC, but this time without the need of a differential input. Example: ti.com/lit/df/tidrfq8/tidrfq8.pdf Aug 16 '16 at 18:29