It's been quite a few years since my last physics class, but here I am trying to measure a current without putting anything in the circuit being measured. I'm talking about measuring 60Hz AC currents in the range of 0-20A or so, preferrably with close to +/-1% accuracy through the whole range. I ultimately need to get the signal into a DC voltage to feed into an ADC and then to a microcontroller (which can perform whatever calculations are necessary).
Last time I messed with this sort of thing (many years ago), you used a simple coil and passed the current-carrying wire through the middle of it. If I remember correctly, this induces a current in the coil proportional to the current passing through the wire and the number of turns in the coil, right? I don't remember the exact formulas... perhaps it is actually also dependent on the rate of change of the current, so that measuring AC is different than DC. I'm guessing that an AC primary current generates AC current in the coil as well, so I'll need to figure out how to turn that into a DC voltage signal. (I'm thinking maybe just run it across a resistor with one leg pinned to +Vcc/2, then I get a zero reading at +Vcc/2, with negative currents below that and positive above? Need to choose the resistor value right to get the right range, of course.)
But browsing through catalogs these days, I mostly see Hall Effect sensors, which is something I vaguely recall being new, nifty, and expensive a few years ago. They seem to be down into the $20+ range now, but that still seems expensive for what I'm trying to do. Then again, looking at CTs (which seem to be what I described above), those are in the $10+ range -- why so expensive? It's just a coil of wire in a plastic housing, right? Am I missing something?
Also, is there any reason to use a Hall Effect for the sort of application I described? Perhaps the output will be easier to condition for feeding into the ADC? Or maybe the concern is that the coil would have an effect on the circuit being measured -- probably adds an impedance some way or another (boy, I wish I remembered something from physics).
Thanks for any advice.