Friday, 28 September 2018

operational amplifier - How to measure line voltage (220V) with an arduino?


I'm a Electrical Engineering student and I want to sense and sample the voltage signal coming from a wall socket (110V - 220V). I came up with the following circuit using a voltage divider with high impedance and a diferential amplifier. I would like to avoid using a transformer because of weight constraints.


Is there a better way to solve this problem? Should I use a capacitor divider instead?


Circuit I came up with




Answer



Regular transformers don't have to be heavy.


enter image description here


Figure 1. Miniature transformers.


Hammond Manufacturing, for example, make 0.5 VA transformers smaller than a 25 mm / 1" cube. This provides isolation from mains (which your circuit does not).


schematic


simulate this circuit – Schematic created using CircuitLab


Figure 2. Analog interface.


To read AC with your micro you'll need to bias the transformer to mid-DC supply as shown. R1, R2 and C2 provide this function.


R3 and R4 provide a potential divider to attenuate the transformer signal into the range suitable for your ADC.



No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...