I'm interested in monitoring my energy consumption use at home and came across https://openenergymonitor.org. There they explain how to use a CT sensor with an Arduino to monitor a circuit (see image attachment). Conceptually I understand how the circuits work with the Arduino output used to bias the CT sensor output in order to get the voltage positive for the Arduino analog input. However, I would like to better understand the purpose of the capacitor in the circuit. To do this I tried modelling the circuit in a few simulators such as LTSpice and Partsim, but I am not getting expected results. To model the CT sensor I simply used a current source with sine wave at amplitude 0.0707A and frequency of 60Hz. But I am not seeing the signal output being offset by 2.5V as expected. Also, when I put a probe on line going into capacitor I am seeing a large voltage sine wave completely biased in negative. I'm wondering if someone is able to model this and show me how they were able to do it as I am at a loss to do so. Thanks in advance.
Hi Alec, thanks for the quick reply. Your circuit looks almost identical to the one I did so I'm not sure why results are not the same. But I will check when I get back home. Also, thanks for the info on the cap. So am I correct in saying the cap would be to filter out noise from the 5V supply to get a steady mid-point voltage of 2.5V to bias the signal coming from CT sensor?
Hi Alec, I did have additional grounds and that caused a problem. Placement of these is almost an art form I read somewhere that a good practice is to set a ground at every source, but in doing so at the current source I set mid point at 0 and that give me incorrect results.
Is it fair to say that it is more to filter out noise on 5v line that from the 60Hz current source as that source is on a closed loop with low impedance?
Is it fair to say that it is more to filter out noise on 5v line that from the 60Hz current source as that source is on a closed loop with low impedance?