Electronic – Long term effect of over-voltage on clamping diodes and ADC reference voltage

adcdiodesmicrocontrollervoltage-reference

I am contemplating building a small voltage/current monitoring circuit that needs to monitor a wide range of voltages and currents. Currents will just be a single low-side shunt.

Monitoring will be done by a number of ADC inputs on an MCU at 3.3V.

Input voltages for both voltage monitoring and current shunt will be 0-24V.

Now, not only do I want to measure the 0-24V (through simple voltage divider), but also the lower portion of that same voltage range (0-3.3V) in greater resolution, so directly connected without the voltage divider. Similar arrangement for the current shunt – different voltage dividers to measure different current ranges at different resolutions.

So I am thinking the simplest input stage for the over-voltage inputs will be a simple resistor and clamping diodes to +3.3V:

schematic

simulate this circuit – Schematic created using CircuitLab

Now the 10KΩ will limit the diode current to a maximum of around 2mA, so the diodes won't care much about it. My question is, what will happen to the power supply voltage and, more importantly, the ADC reference voltage (I could use an external reference, but for this I will probably just use Vdd) when 24V is applied for an extended period of time (I'm talking hours or even days here).

Should I be considering adding extra decoupling to the input of the MCU? Maybe an additional small resistance? To the input of the MCU (A), or to the diode->Vdd connection (B)?

schematic

simulate this circuit

Would either of those be recommended, necessary, or pointless? Given the small (2mA) current, would there even be an issue to worry about?

(The simulations I have run, though crude [falstad], have all shown Vdd staying at 3.3V, but I don't trust it, and I don't have PSpice).

Best Answer

If you're already pulling more than 2mA from the supply, then the 2mA from the clamping diode will simply reduce the load on the supply by that much.

From a DC standpoint, it only matters when you normally draw less than the clamping current because then you're backfeeding the supply, which may allow the voltage to rise.

From an AC standpoint, you might need some filtering depending on what the 24V input is actually doing and how sensitive the circuit is to that kind of supply noise.

Other than that, I think the first version is good.