Multi-voltage switch sensing
Multi-voltage switch sensing
(OP)
A regular problem in industrial controls is the range of voltages one must sense. Users may have 12Vdc, 24Vac, 120Vac, or 240Vac signals that need to be sensed.
Classically one uses two 1/2W resistors(240V), one in each leg feeding the input of an AC opto coupler. Then on the other other side of the coupler you have your micro looking at the level.
It's a pretty fine line to walk between 12V and 240V. It often results in a lot of power dissipation because the resistor values have to be low enough to work for the 12V and are cooking at the 240V level.
Does anyone have ideas for robust general sensing input?
Classically one uses two 1/2W resistors(240V), one in each leg feeding the input of an AC opto coupler. Then on the other other side of the coupler you have your micro looking at the level.
It's a pretty fine line to walk between 12V and 240V. It often results in a lot of power dissipation because the resistor values have to be low enough to work for the 12V and are cooking at the 240V level.
Does anyone have ideas for robust general sensing input?
Keith Cress
kcress - http://www.flaminsystems.com
RE: Multi-voltage switch sensing
Another option might be to reduce the duty cycle. Just turn on the voltage when the micro wants to make a measurement. I'd use a one shot to make it fail safe. Micro emits a transition, then has say 100 ms to make a measurement. Needs an optoisolated switch and is much more complicated.
How about a nonlinear device? Some Log type response where the current is limited, and the resultant signal is compressed and nonlinear.
Or just reduce the power, much smaller signal, but use more bits (16 should be plenty). Beware noise floor. Might need shielding etc.
Use a wee heater and measure temperature rise. Built in RMS.
RE: Multi-voltage switch sensing
RE: Multi-voltage switch sensing
The multipin input concept is still applicable.
The universal input On/Off detection circuit could be a bridge rectifier with filter cap, and a constant current source driving the optocoupler LED.
The problem with the overall concept would be that the limit would be the same for all inputs. So if the 240vac fell to 8vac, it might still register as being On. That's where a multipin input might be better.
RE: Multi-voltage switch sensing
RE: Multi-voltage switch sensing
This probably won't fly for several reasons.
1) Every screw terminal is another expense and incurs assembler "hand-time".
2) It requires decisional thinking (a modern disaster)
3) It makes a product a lot bigger.
Hmm. This might work but does seem a bit over-the-top. May consume precious CPU pins.
I like this! Maybe need a current limiter that limits to something low like 1mA..
Null and void as I'm only seeking a solution for ON/OFF detection.
Not a bad idea since we can get pretty dang cheap chip thermistors now. Isolation might be a problem.
Keith Cress
kcress - http://www.flaminsystems.com
RE: Multi-voltage switch sensing
Not seeing it since the diodes would still need to have current limited to them over the big span 12V to 339V(240V 0-pk)
Keith Cress
kcress - http://www.flaminsystems.com
RE: Multi-voltage switch sensing
Keith Cress
kcress - http://www.flaminsystems.com
RE: Multi-voltage switch sensing
TTFN

FAQ731-376: Eng-Tips.com Forum Policies
Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers
Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
RE: Multi-voltage switch sensing
Accuracy? I'm not following your inquiry.
Keith Cress
kcress - http://www.flaminsystems.com