How to protect low current analog line from overvoltage - Page 1
Forum section: electronics / beginners

author: tarmogr
author_rank: Newbie
timestamp: April 09, 2025, 08:24:43 am
content: I want to reliably connect a small current source to a ADC pin of an MCU. I need to protect the MCU in case of overvoltage. First taught was to use a diode connected to supply, but most diodes have an unacceptable reverse leakage current. And If I go to low leakage diode (like BAS716) the forward drop becomes too large to protect anything.Some spec:Analog line is the Imon line of TPS1663https://www.ti.com/lit/ds/symlink/tps1663.pdf?ts=1744045354555The protection circuit shall not leak more than 300nA (-25C to +85C ambient).The TPS part has internal 5V zener, but my MCU runs at 3.3V. The abs max allowed on ADC pin is 4.0V and recommended is 3.6V

author: Ian.M
author_rank: Super Contributor
timestamp: April 09, 2025, 10:06:57 am
content: Replace RImonwith a potential divider to feed the ADC. Make the lower resistor whatever value you need for your ADC scaling, and the upper resistor half that value to limit the max. input voltage to 3.3V

author: Doctorandus_P
author_rank: Super Contributor
timestamp: April 09, 2025, 11:02:47 am
content: One method is to add an opamp.during normal operation, the opamp is configured as a voltage follower, and there is no voltage over the diode, and thus no current. During clamping, the voltage and current levels do not need to be accurate, so it's relatively easy do design something for that.

author: mtwieg
author_rank: Frequent Contributor
timestamp: April 09, 2025, 12:10:08 pm
content: You should definitely use an opamp to buffer the signal. The ADC input itself would likely draw more than your allowed 300nA.Though the 300nA spec seems excessively low, considering the poor starting accuracy of the IMON signal...

author: Ian.M
author_rank: Super Contributor
timestamp: April 09, 2025, 12:46:39 pm
content: Whether or not you need an OPAMP buffer depends on if RImonis less than your MCU's ADC's max. source impedance. If you do need a buffer amp, a low input bias current lowvoltage RRIO OPAMP configured as a unit gain buffer should do the job. The TPS1663's internal 5V Zener will clamp its Imon pin to 5V, so simply choose the upper resistor of the potential divider to limit the max. input voltage to the OPAMP. It may be preferable to limit the input voltage to slightly over 3.3V so that the Zener doesnt start conducting before the desired 3.3V FSD is reached.

author: David Hess
author_rank: Super Contributor
timestamp: April 09, 2025, 02:52:13 pm
content: A pair of diodes, or even better transistors or a diode and transistor, can be used to avoid the forward voltage drop of the diode. One junction provides a voltage offset so that the other junction starts conducting at the negative or positive supply voltage.

author: radiolistener
author_rank: Super Contributor
timestamp: April 10, 2025, 12:56:25 am
content: To safeguard the ADC input from voltage transients exceeding the recommended input range, it is common practice to implement an external clamp circuit using two diodes connected in an anti-parallel configuration. The forward voltage drop of typical fast recovery diodes ranges from approximately 0.2 V to 0.7 V, depending on the selected diode technology (e.g., Schottky diodes for lower forward voltage and minimal capacitance).When the input voltage exceeds this threshold, the corresponding diode conducts according to the input polarity, effectively redirecting the excessive current away from the ADC input to a safe reference potential (such as ground or the ADC supply rail). Consequently, the voltage seen by the ADC input remains within safe operating limits, determined primarily by the forward voltage of the conducting diode.For high-speed or high-precision ADCs, it is critical to use protection diodes with ultra-low junction capacitance to minimize impact on signal integrity at high frequencies.In applications requiring higher clamping voltages (e.g., up to 4 V), it is advisable to select protection devices specifically rated for the desired breakdown voltage, such as TVS diodes or integrated protection ICs, rather than connecting multiple diodes in series, which may degrade performance due to increased capacitance and reduced response speed.

author: tszaboo
author_rank: Super Contributor
timestamp: April 10, 2025, 08:03:01 am
content: Quote from: tarmogr on April 09, 2025, 08:24:43 amThat doesn't happen in my experience. You need some power, and not voltage alone to damage an IO pin of a microcontroller or an ADC pin. BAV199 would be my default choice for this. You can also add a zener to the power supply of the ADC, if you route some current into the supply. It depends on the voltage levels and current consumption.

author: tarmogr
author_rank: Newbie
timestamp: June 04, 2025, 12:30:57 pm
content: This project was on hold for a while, but im back on it now. Thank you for all your suggestions.It seems that the first suggestion by Ian is the simplest and most effective, I will add a voltage divider so that 5V limit now becomes 3.3VI also did some tests to check whether there are any short lived spikes coming from Imon pin. Nothing, it is really clean. With hard short the voltage is capped perfectly at 4.08V, even lower than zener.