I’m looking to fab some PCBs, and the place I’m looking at offers cheap assembly, as long as you stick to a limited set of components (a few thousand).
One of the things I need is input voltage protection. I want to clamp inputs up to around 12 v down to 3.3 v (the limit of the microcontroller I’m using).
My first thought was a Zener diode, but looking at the datasheets (and also doing some benchtop experimentation), I’m not too happy with them. They need a fairly high current to stay in their constant voltage zone, but limiting the current means a resistor–and I have to pick the resistor based on the worst case. Which means an excessively high current for high voltages. It doesn’t doesn’t seem to work out that well.
I then thought about a linear regulator, like an LM7833. I did some quick experiments with a 7805 I had handy and it actually seems to work well, even with little or no load on the output pin. Datasheets say I need capacitance for stability, though. And it does have a significant voltage drop, though I know LDOs are available.
But then I remembered voltage reference ICs, like the TL431/432. These are 2.5v, but I can work with that (the inputs are digital). They can operate in a couple of different modes. One is just like a Zener: tie the reference and cathode pins together, and connect them to the input with a resistor. The chip then passes enough current to keep the reference at 2.5v. Alternatively (and slightly better, I think), I can tie the cathode directly to the input (it handles up to 37v), and then tie the reference to ground with 470kohm resistor (it just needs 4 uA to operate). I’m not sure what it does at <2.5v input but I don’t care too much (ideally it would just output that voltage, but it’s not a big deal).
Oh, right: I don’t need a great frequency response. This is for sampling really low bandwidth signals. 1 kHz is fine. Though it’s sort of a multipurpose device so I wouldn’t say no to higher bandwidth.
Any ideas? Remember, no uber-fancy ICs, since the fab place isn’t going to stock those among their common parts. They have all the obvious passive components and a decent selection of basic semiconductors (including Zeners, LDOs, and voltage references), but nothing esoteric.