Hi,
first of hello to every one here at EEVBlog, special thanks to Dave for starting this great community.
Now on to my problem, part of my current project (AVR based 3V3) need to sense current (mains UE 230VAC) on 3 separate inputs. The current drawn by my detection circuit (below) is just few mA so most of the Hall sensors won't even detect it, meaning I'd have to run it threw amp and on to ADC input. The only Hall sensor that could potentially work is made by Melexis, sorry lost the partnumber somewere its range was 0...80 or 100mA. If there is a Hall sensor that would work just keep in mind that there are 3 detection circuits next to each other.
Any kind of relay mechanical (circuit needs to detect about 500k cycles/year) or SSR (fails colse, can't have that) is out of the question.
The only thing that I need is to know when the current is present don't need its value.
For now I'm using the attached circuit and it works just fine, the schematic only shows 1 of 3 identical circuits hence the 6-channel 7414. Right now I'm trying to moddify it so that it can also detect 24VDC. I am able to make it work in 24-230VAC range just by changing C8 value to something like 0.68uF but if I want to do DC detection I just omit C8 (in PCB assembly) and change the R11 to something like 2...7K. The solution is fine but I'd like the input to be universal AC/DC.
Hopefully someone out there has a brilliant idea or maybe I'm just missing some simple solution to this problem. Please don't suggest using trafo as it's bulky and would only work for AC.
Note: The pin 3 in C8 is there just to let me make a universal footprint for 2 capacitor packages